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/input/qcom,pm8941-pwrkey.txt

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 Qualcomm PM8941 PMIC Power Key
    2 
    3 PROPERTIES
    4 
    5 - compatible:
    6         Usage: required
    7         Value type: <string>
    8         Definition: must be one of:
    9                     "qcom,pm8941-pwrkey"
   10                     "qcom,pm8941-resin"
   11                     "qcom,pmk8350-pwrkey"
   12                     "qcom,pmk8350-resin"
   13 
   14 - reg:
   15         Usage: required
   16         Value type: <prop-encoded-array>
   17         Definition: base address of registers for block
   18 
   19 - interrupts:
   20         Usage: required
   21         Value type: <prop-encoded-array>
   22         Definition: key change interrupt; The format of the specifier is
   23                     defined by the binding document describing the node's
   24                     interrupt parent.
   25 
   26 - debounce:
   27         Usage: optional
   28         Value type: <u32>
   29         Definition: time in microseconds that key must be pressed or released
   30                     for state change interrupt to trigger.
   31 
   32 - bias-pull-up:
   33         Usage: optional
   34         Value type: <empty>
   35         Definition: presence of this property indicates that the KPDPWR_N pin
   36                     should be configured for pull up.
   37 
   38 - linux,code:
   39         Usage: optional
   40         Value type: <u32>
   41         Definition: The input key-code associated with the power key.
   42                     Use the linux event codes defined in
   43                     include/dt-bindings/input/linux-event-codes.h
   44                     When property is omitted KEY_POWER is assumed.
   45 
   46 EXAMPLE
   47 
   48         pwrkey@800 {
   49                 compatible = "qcom,pm8941-pwrkey";
   50                 reg = <0x800>;
   51                 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
   52                 debounce = <15625>;
   53                 bias-pull-up;
   54                 linux,code = <KEY_POWER>;
   55         };

Cache object: 0cfe090c58f20347c3244b5d7aa3b8c8


[ 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.