[PATCH] dt-bindings: input: Use consistent indentation in the example
From: Krzysztof Kozlowski
Date: Sun Sep 13 2026 - 08:33:30 EST
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@xxxxxxxxxxxxxxxx>
---
.../bindings/input/adc-joystick.yaml | 20 +++++++++----------
.../devicetree/bindings/input/cypress-sf.yaml | 14 ++++++-------
.../input/mediatek,mt6779-keypad.yaml | 10 +++++-----
.../bindings/input/microchip,cap11xx.yaml | 14 ++++++-------
.../input/touchscreen/eeti,exc3000.yaml | 16 +++++++--------
.../input/touchscreen/ti,tsc2007.yaml | 12 +++++------
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 20fa41f691ed..f10bd0f1d948 100644
--- a/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml
+++ b/Documentation/devicetree/bindings/input/mediatek,mt6779-keypad.yaml
@@ -79,10 +79,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>;
};
};
--
2.53.0