diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2026-09-13 14:33:11 +0200 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-09-21 12:31:46 -0700 |
| commit | b331b6d23cb7f0a957d89a4a1a9bf3f041784d94 (patch) | |
| tree | 949cf6bea1e093c77c31b5fed231c4ed0b7c281a | |
| parent | daae2ab46e0cb612f50ca1d86cf50e5962461ae5 (diff) | |
dt-bindings: input: Use consistent indentation in the example
Correct indentation in the examples to consistent 2- or 4-spaces
indentation to fix dt-check-style warnings ("example 0
[indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but
re-indenting entire example just for that is too much churn.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260913123310.100170-2-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
6 files changed, 43 insertions, 43 deletions
diff --git a/Documentation/devicetree/bindings/input/adc-joystick.yaml b/Documentation/devicetree/bindings/input/adc-joystick.yaml index 6c244d66f8ce..ac0ca5aa8212 100644 --- a/Documentation/devicetree/bindings/input/adc-joystick.yaml +++ b/Documentation/devicetree/bindings/input/adc-joystick.yaml @@ -111,17 +111,17 @@ examples: #size-cells = <0>; axis@0 { - reg = <0>; - linux,code = <ABS_X>; - abs-range = <3300 0>; - abs-fuzz = <4>; - abs-flat = <200>; + reg = <0>; + linux,code = <ABS_X>; + abs-range = <3300 0>; + abs-fuzz = <4>; + abs-flat = <200>; }; axis@1 { - reg = <1>; - linux,code = <ABS_Y>; - abs-range = <0 3300>; - abs-fuzz = <4>; - abs-flat = <200>; + reg = <1>; + linux,code = <ABS_Y>; + abs-range = <0 3300>; + abs-fuzz = <4>; + abs-flat = <200>; }; }; diff --git a/Documentation/devicetree/bindings/input/cypress-sf.yaml b/Documentation/devicetree/bindings/input/cypress-sf.yaml index c0b051466272..8492ffd84bfd 100644 --- a/Documentation/devicetree/bindings/input/cypress-sf.yaml +++ b/Documentation/devicetree/bindings/input/cypress-sf.yaml @@ -50,12 +50,12 @@ examples: #size-cells = <0>; touchkey@28 { - compatible = "cypress,sf3155"; - reg = <0x28>; - interrupt-parent = <&msmgpio>; - interrupts = <77 IRQ_TYPE_EDGE_FALLING>; - avdd-supply = <&vreg_l6a_1p8>; - vdd-supply = <&vdd_3v2_tp>; - linux,keycodes = <KEY_BACK KEY_MENU>; + compatible = "cypress,sf3155"; + reg = <0x28>; + interrupt-parent = <&msmgpio>; + interrupts = <77 IRQ_TYPE_EDGE_FALLING>; + avdd-supply = <&vreg_l6a_1p8>; + vdd-supply = <&vdd_3v2_tp>; + linux,keycodes = <KEY_BACK KEY_MENU>; }; }; diff --git a/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml b/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml index 914dd3283df3..83b83aaa6ad9 100644 --- a/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml +++ b/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml @@ -78,10 +78,10 @@ examples: #size-cells = <2>; keyboard@10010000 { - compatible = "mediatek,mt6779-keypad"; - reg = <0 0x10010000 0 0x1000>; - interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_FALLING>; - clocks = <&clk26m>; - clock-names = "kpd"; + compatible = "mediatek,mt6779-keypad"; + reg = <0 0x10010000 0 0x1000>; + interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_FALLING>; + clocks = <&clk26m>; + clock-names = "kpd"; }; }; diff --git a/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml b/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml index 983f4701b51e..fa95270ac2c2 100644 --- a/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml +++ b/Documentation/devicetree/bindings/input/microchip,cap11xx.yaml @@ -290,19 +290,19 @@ examples: #size-cells = <0>; led@0 { - label = "cap11xx:green:usr0"; - reg = <0>; + label = "cap11xx:green:usr0"; + reg = <0>; }; led@1 { - label = "cap11xx:green:usr1"; - reg = <1>; + label = "cap11xx:green:usr1"; + reg = <1>; }; led@2 { - label = "cap11xx:green:alive"; - reg = <2>; - linux,default-trigger = "heartbeat"; + label = "cap11xx:green:alive"; + reg = <2>; + linux,default-trigger = "heartbeat"; }; }; }; diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml index 930c70104b3f..00bd4062ebd7 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml @@ -82,13 +82,13 @@ examples: #address-cells = <1>; #size-cells = <0>; touchscreen@2a { - compatible = "eeti,exc3000"; - reg = <0x2a>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - touchscreen-size-x = <4096>; - touchscreen-size-y = <4096>; - touchscreen-inverted-x; - touchscreen-swapped-x-y; + compatible = "eeti,exc3000"; + reg = <0x2a>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + touchscreen-size-x = <4096>; + touchscreen-size-y = <4096>; + touchscreen-inverted-x; + touchscreen-swapped-x-y; }; }; diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml index d9cb53e86512..5ef38d24d6a9 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml @@ -70,11 +70,11 @@ examples: #size-cells = <0>; touch@49 { - compatible = "ti,tsc2007"; - reg = <0x49>; - interrupt-parent = <&gpio4>; - interrupts = <0x0 0x8>; - gpios = <&gpio4 0 0>; - ti,x-plate-ohms = <180>; + compatible = "ti,tsc2007"; + reg = <0x49>; + interrupt-parent = <&gpio4>; + interrupts = <0x0 0x8>; + gpios = <&gpio4 0 0>; + ti,x-plate-ohms = <180>; }; }; |
