1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/input/max77 4 $id: http://devicetree.org/schemas/input/max77650-onkey.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Onkey driver for MAX77650 PMIC from Max 7 title: Onkey driver for MAX77650 PMIC from Maxim Integrated. 8 8 9 maintainers: 9 maintainers: 10 - Bartosz Golaszewski <bgolaszewski@baylibre. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 11 11 12 description: | 12 description: | 13 This module is part of the MAX77650 MFD devi 13 This module is part of the MAX77650 MFD device. For more details 14 see Documentation/devicetree/bindings/mfd/ma 14 see Documentation/devicetree/bindings/mfd/max77650.yaml. 15 15 16 The onkey controller is represented as a sub 16 The onkey controller is represented as a sub-node of the PMIC node on 17 the device tree. 17 the device tree. 18 18 19 allOf: << 20 - $ref: input.yaml# << 21 << 22 properties: 19 properties: 23 compatible: 20 compatible: 24 const: maxim,max77650-onkey 21 const: maxim,max77650-onkey 25 22 26 linux,code: 23 linux,code: 27 default: 116 # KEY_POWER !! 24 $ref: /schemas/types.yaml#/definitions/uint32 >> 25 description: >> 26 The key-code to be reported when the key is pressed. Defaults >> 27 to KEY_POWER. 28 28 29 maxim,onkey-slide: 29 maxim,onkey-slide: 30 $ref: /schemas/types.yaml#/definitions/fla 30 $ref: /schemas/types.yaml#/definitions/flag 31 description: 31 description: 32 The system's button is a slide switch, n 32 The system's button is a slide switch, not the default push button. 33 33 34 required: 34 required: 35 - compatible 35 - compatible 36 additionalProperties: false 36 additionalProperties: false 37 37 38 ... 38 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.