Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: input: Convert da906{1,2,3} onkey to json-schema

Convert the da906{1,2,3} onkey device tree binding documentation to
json-schema.

Update MAINTAINERS entries, description and onkey property by
referring to dlg,da9062-onkey binding file.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20240131102656.3379-4-biju.das.jz@bp.renesas.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Biju Das and committed by
Lee Jones
e2fcaf4c 19c993f2

+42 -63
-47
Documentation/devicetree/bindings/input/da9062-onkey.txt
··· 1 - * Dialog DA9061/62/63 OnKey Module 2 - 3 - This module is part of the DA9061/DA9062/DA9063. For more details about entire 4 - DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt 5 - For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml 6 - 7 - This module provides the KEY_POWER event. 8 - 9 - Required properties: 10 - 11 - - compatible: should be one of the following valid compatible string lines: 12 - "dlg,da9061-onkey", "dlg,da9062-onkey" 13 - "dlg,da9062-onkey" 14 - "dlg,da9063-onkey" 15 - 16 - Optional properties: 17 - 18 - - dlg,disable-key-power : Disable power-down using a long key-press. If this 19 - entry exists the OnKey driver will remove support for the KEY_POWER key 20 - press when triggered using a long press of the OnKey. 21 - 22 - Example: DA9063 23 - 24 - pmic0: da9063@58 { 25 - onkey { 26 - compatible = "dlg,da9063-onkey"; 27 - dlg,disable-key-power; 28 - }; 29 - }; 30 - 31 - Example: DA9062 32 - 33 - pmic0: da9062@58 { 34 - onkey { 35 - compatible = "dlg,da9062-onkey"; 36 - dlg,disable-key-power; 37 - }; 38 - }; 39 - 40 - Example: DA9061 using a fall-back compatible for the DA9062 onkey driver 41 - 42 - pmic0: da9061@58 { 43 - onkey { 44 - compatible = "dlg,da9061-onkey", "dlg,da9062-onkey"; 45 - dlg,disable-key-power; 46 - }; 47 - };
+39
Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Dialog DA9061/62/63 OnKey Module 8 + 9 + maintainers: 10 + - Biju Das <biju.das.jz@bp.renesas.com> 11 + 12 + description: | 13 + This module is part of the DA9061/DA9062/DA9063. For more details about entire 14 + DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt 15 + For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml 16 + 17 + This module provides the KEY_POWER event. 18 + 19 + properties: 20 + compatible: 21 + oneOf: 22 + - enum: 23 + - dlg,da9062-onkey 24 + - dlg,da9063-onkey 25 + - items: 26 + - const: dlg,da9061-onkey 27 + - const: dlg,da9062-onkey 28 + 29 + dlg,disable-key-power: 30 + type: boolean 31 + description: 32 + Disable power-down using a long key-press. If this entry exists 33 + the OnKey driver will remove support for the KEY_POWER key press 34 + when triggered using a long press of the OnKey. 35 + 36 + required: 37 + - compatible 38 + 39 + additionalProperties: false
+1 -1
Documentation/devicetree/bindings/mfd/da9062.txt
··· 84 84 with the DA9062. There are currently no entries in this binding, however 85 85 compatible = "dlg,da9062-rtc" should be added if a node is created. 86 86 87 - - onkey : See ../input/da9062-onkey.txt 87 + - onkey : See ../input/dlg,da9062-onkey.yaml 88 88 89 89 - watchdog: See ../watchdog/dlg,da9062-watchdog.yaml 90 90
+1 -14
Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
··· 44 44 const: dlg,da9063-rtc 45 45 46 46 onkey: 47 - type: object 48 - $ref: /schemas/input/input.yaml# 49 - unevaluatedProperties: false 50 - properties: 51 - compatible: 52 - const: dlg,da9063-onkey 53 - 54 - dlg,disable-key-power: 55 - type: boolean 56 - description: | 57 - Disable power-down using a long key-press. 58 - If this entry does not exist then by default the key-press triggered 59 - power down is enabled and the OnKey will support both KEY_POWER and 60 - KEY_SLEEP. 47 + $ref: /schemas/input/dlg,da9062-onkey.yaml 61 48 62 49 regulators: 63 50 type: object
+1 -1
MAINTAINERS
··· 6146 6146 M: Support Opensource <support.opensource@diasemi.com> 6147 6147 S: Supported 6148 6148 W: http://www.dialog-semiconductor.com/products 6149 - F: Documentation/devicetree/bindings/input/da90??-onkey.txt 6150 6149 F: Documentation/devicetree/bindings/input/dlg,da72??.txt 6150 + F: Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml 6151 6151 F: Documentation/devicetree/bindings/mfd/da90*.txt 6152 6152 F: Documentation/devicetree/bindings/mfd/dlg,da90*.yaml 6153 6153 F: Documentation/devicetree/bindings/regulator/da92*.txt