summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/max77650-onkey.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/input/max77650-onkey.yaml')
-rw-r--r--dts/Bindings/input/max77650-onkey.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/dts/Bindings/input/max77650-onkey.yaml b/dts/Bindings/input/max77650-onkey.yaml
index 3a2ad6ec64..48edc0c8c1 100644
--- a/dts/Bindings/input/max77650-onkey.yaml
+++ b/dts/Bindings/input/max77650-onkey.yaml
@@ -16,15 +16,15 @@ description: |
The onkey controller is represented as a sub-node of the PMIC node on
the device tree.
+allOf:
+ - $ref: input.yaml#
+
properties:
compatible:
const: maxim,max77650-onkey
linux,code:
- $ref: /schemas/types.yaml#/definitions/uint32
- description:
- The key-code to be reported when the key is pressed. Defaults
- to KEY_POWER.
+ default: 116 # KEY_POWER
maxim,onkey-slide:
$ref: /schemas/types.yaml#/definitions/flag