1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/input/qcom, 4 $id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm PM8941 PMIC Power Key 7 title: Qualcomm PM8941 PMIC Power Key 8 8 9 maintainers: 9 maintainers: 10 - Courtney Cavin <courtney.cavin@sonymobile.c 10 - Courtney Cavin <courtney.cavin@sonymobile.com> 11 - Vinod Koul <vkoul@kernel.org> 11 - Vinod Koul <vkoul@kernel.org> 12 12 13 allOf: 13 allOf: 14 - $ref: input.yaml# 14 - $ref: input.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - qcom,pm8941-pwrkey 19 - qcom,pm8941-pwrkey 20 - qcom,pm8941-resin 20 - qcom,pm8941-resin 21 - qcom,pmk8350-pwrkey 21 - qcom,pmk8350-pwrkey 22 - qcom,pmk8350-resin 22 - qcom,pmk8350-resin 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 debounce: 27 debounce: 28 description: | 28 description: | 29 Time in microseconds that key must b 29 Time in microseconds that key must be pressed or 30 released for state change interrupt 30 released for state change interrupt to trigger. 31 $ref: /schemas/types.yaml#/definitions/uin 31 $ref: /schemas/types.yaml#/definitions/uint32 32 32 33 bias-pull-up: 33 bias-pull-up: 34 description: | 34 description: | 35 Presence of this property indicates 35 Presence of this property indicates that the KPDPWR_N 36 pin should be configured for pull u 36 pin should be configured for pull up. 37 $ref: /schemas/types.yaml#/definitions/fla 37 $ref: /schemas/types.yaml#/definitions/flag 38 38 39 linux,code: 39 linux,code: 40 description: | 40 description: | 41 The input key-code associated with 41 The input key-code associated with the power key. 42 Use the linux event codes defined i 42 Use the linux event codes defined in 43 include/dt-bindings/input/linux-eve 43 include/dt-bindings/input/linux-event-codes.h 44 When property is omitted KEY_POWER 44 When property is omitted KEY_POWER is assumed. 45 45 46 required: 46 required: 47 - compatible 47 - compatible 48 - interrupts 48 - interrupts 49 49 50 unevaluatedProperties: false 50 unevaluatedProperties: false 51 ... 51 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.