brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 62314a5 Raw
52 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/input/qcom,pm8941-pwrkey.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm PM8941 PMIC Power Key8 9maintainers:10  - Courtney Cavin <courtney.cavin@sonymobile.com>11  - Vinod Koul <vkoul@kernel.org>12 13allOf:14  - $ref: input.yaml#15 16properties:17  compatible:18    enum:19      - qcom,pm8941-pwrkey20      - qcom,pm8941-resin21      - qcom,pmk8350-pwrkey22      - qcom,pmk8350-resin23 24  interrupts:25    maxItems: 126 27  debounce:28    description: |29          Time in microseconds that key must be pressed or30          released for state change interrupt to trigger.31    $ref: /schemas/types.yaml#/definitions/uint3232 33  bias-pull-up:34    description: |35           Presence of this property indicates that the KPDPWR_N36           pin should be configured for pull up.37    $ref: /schemas/types.yaml#/definitions/flag38 39  linux,code:40    description: |41           The input key-code associated with the power key.42           Use the linux event codes defined in43           include/dt-bindings/input/linux-event-codes.h44           When property is omitted KEY_POWER is assumed.45 46required:47  - compatible48  - interrupts49 50unevaluatedProperties: false51...52