Skip to contentSkip to conversation

dt-bindings: mfd: cros-ec: Fix indentation in the example

PATCH In review Jonathan Neuschäfer 2 participants 3 messages Mar 5, 2020 – Mar 6, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mfd: cros-ec: Fix indentation in the example

Properties get one more level of indentation than the node they are in.

---
 Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/mfd/cros-ec.txt +3 -3
index 4860eabd0f72..3bf9d0868b98 100644
@@ -65,9 +65,9 @@ spi@131b0000 {
 		wakeup-source;
 		spi-max-frequency = <5000000>;
 		controller-data {
-		cs-gpio = <&gpf0 3 4 3 0>;
-		samsung,spi-cs;
-		samsung,spi-feedback-delay = <2>;
+			cs-gpio = <&gpf0 3 4 3 0>;
+			samsung,spi-cs;
+			samsung,spi-feedback-delay = <2>;
 		};
 	};
 };

--
2.20.1

#1 lore raw

Hi Jonathan,

Quoted 5 lines · Jonathan Neuschäfer

Properties get one more level of indentation than the node they are in.

---
 Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---

Thanks for sending the patch but the binding is in process to be converted to json-schema right now [1], and this change will not be needed.

Thanks,
Enric

[1] https://patchwork.ozlabs.org/patch/1250141/

Quoted 22 lines
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/mfd/cros-ec.txt +3 -4
index 4860eabd0f72..3bf9d0868b98 100644
@@ -65,9 +65,9 @@ spi@131b0000 {
 		wakeup-source;
 		spi-max-frequency = <5000000>;
 		controller-data {
-		cs-gpio = <&gpf0 3 4 3 0>;
-		samsung,spi-cs;
-		samsung,spi-feedback-delay = <2>;
+			cs-gpio = <&gpf0 3 4 3 0>;
+			samsung,spi-cs;
+			samsung,spi-feedback-delay = <2>;
 		};
 	};
 };
--

2.20.1

#2 lore raw
Quoted 11 lines · Enric Balletbo i Serra

Hi Jonathan,

Quoted 5 lines · Jonathan Neuschäfer

Properties get one more level of indentation than the node they are in.

---
 Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---

Thanks for sending the patch but the binding is in process to be converted to json-schema right now [1], and this change will not be needed.

Alright!

Jonathan