The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/power/reset/qcom,pon.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/power/reset/qcom,pon.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Qualcomm PON Device
    8 
    9 maintainers:
   10   - Vinod Koul <vkoul@kernel.org>
   11 
   12 description: |
   13   The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
   14   and resin along with the Android reboot-mode.
   15 
   16   This DT node has pwrkey and resin as sub nodes.
   17 
   18 allOf:
   19   - $ref: reboot-mode.yaml#
   20 
   21 properties:
   22   compatible:
   23     enum:
   24       - qcom,pm8916-pon
   25       - qcom,pms405-pon
   26       - qcom,pm8998-pon
   27 
   28   reg:
   29     maxItems: 1
   30 
   31   pwrkey:
   32     type: object
   33     $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
   34 
   35   resin:
   36     type: object
   37     $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
   38 
   39   watchdog:
   40     type: object
   41     $ref: /schemas/watchdog/qcom,pm8916-wdt.yaml
   42 
   43 required:
   44   - compatible
   45   - reg
   46 
   47 unevaluatedProperties: false
   48 
   49 examples:
   50   - |
   51    #include <dt-bindings/interrupt-controller/irq.h>
   52    #include <dt-bindings/input/linux-event-codes.h>
   53    #include <dt-bindings/spmi/spmi.h>
   54    spmi_bus: spmi@c440000 {
   55      reg = <0x0c440000 0x1100>;
   56      #address-cells = <2>;
   57      #size-cells = <0>;
   58      pmk8350: pmic@0 {
   59        reg = <0x0 SPMI_USID>;
   60        #address-cells = <1>;
   61        #size-cells = <0>;
   62        pmk8350_pon: pon_hlos@1300 {
   63          reg = <0x1300>;
   64          compatible = "qcom,pm8998-pon";
   65 
   66          pwrkey {
   67             compatible = "qcom,pm8941-pwrkey";
   68             interrupts = < 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH >;
   69             debounce = <15625>;
   70             bias-pull-up;
   71             linux,code = <KEY_POWER>;
   72          };
   73 
   74          resin {
   75             compatible = "qcom,pm8941-resin";
   76             interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
   77             debounce = <15625>;
   78             bias-pull-up;
   79             linux,code = <KEY_VOLUMEDOWN>;
   80          };
   81        };
   82      };
   83    };
   84 ...

Cache object: e542b8af34dbbe9fc835278b3971b2ca


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.