devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example
@ 2025-08-21  8:32 Krzysztof Kozlowski
  2025-08-21  9:23 ` Yixun Lan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-21  8:32 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Yixun Lan, Lukas Wunner,
	linux-gpio, devicetree, linux-kernel, linux-riscv, spacemit
  Cc: Krzysztof Kozlowski

The DTS code coding style expects exactly one space around '='
character.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/gpio/maxim,max31910.yaml  | 6 +++---
 .../devicetree/bindings/gpio/spacemit,k1-gpio.yaml          | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/maxim,max31910.yaml b/Documentation/devicetree/bindings/gpio/maxim,max31910.yaml
index 82a190a715f9..4d200f9dffd5 100644
--- a/Documentation/devicetree/bindings/gpio/maxim,max31910.yaml
+++ b/Documentation/devicetree/bindings/gpio/maxim,max31910.yaml
@@ -95,9 +95,9 @@ examples:
             #gpio-cells = <2>;
 
             maxim,modesel-gpios = <&gpio2 23>;
-            maxim,fault-gpios   = <&gpio2 24 GPIO_ACTIVE_LOW>;
-            maxim,db0-gpios     = <&gpio2 25>;
-            maxim,db1-gpios     = <&gpio2 26>;
+            maxim,fault-gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
+            maxim,db0-gpios = <&gpio2 25>;
+            maxim,db1-gpios = <&gpio2 26>;
 
             spi-max-frequency = <25000000>;
         };
diff --git a/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml b/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
index ec0232e72c71..83e0b2d14c9f 100644
--- a/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
@@ -80,7 +80,7 @@ examples:
     gpio@d4019000 {
       compatible = "spacemit,k1-gpio";
       reg = <0xd4019000 0x800>;
-      clocks =<&ccu 9>, <&ccu 61>;
+      clocks = <&ccu 9>, <&ccu 61>;
       clock-names = "core", "bus";
       gpio-controller;
       #gpio-cells = <3>;
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example
  2025-08-21  8:32 [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example Krzysztof Kozlowski
@ 2025-08-21  9:23 ` Yixun Lan
  2025-08-22 19:30 ` Rob Herring (Arm)
  2025-08-26 13:46 ` Bartosz Golaszewski
  2 siblings, 0 replies; 4+ messages in thread
From: Yixun Lan @ 2025-08-21  9:23 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Lukas Wunner, linux-gpio,
	devicetree, linux-kernel, linux-riscv, spacemit

Hi Krzysztof, 

On 10:32 Thu 21 Aug     , Krzysztof Kozlowski wrote:
> The DTS code coding style expects exactly one space around '='
> character.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/gpio/maxim,max31910.yaml  | 6 +++---
>  .../devicetree/bindings/gpio/spacemit,k1-gpio.yaml          | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
..
> diff --git a/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml b/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
> index ec0232e72c71..83e0b2d14c9f 100644
> --- a/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
> +++ b/Documentation/devicetree/bindings/gpio/spacemit,k1-gpio.yaml
> @@ -80,7 +80,7 @@ examples:
>      gpio@d4019000 {
>        compatible = "spacemit,k1-gpio";
>        reg = <0xd4019000 0x800>;
> -      clocks =<&ccu 9>, <&ccu 61>;
> +      clocks = <&ccu 9>, <&ccu 61>;
>        clock-names = "core", "bus";
>        gpio-controller;
>        #gpio-cells = <3>;
> -- 
> 2.48.1
> 

thanks, for spacemit,k1-gpio

Acked-by: Yixun Lan <dlan@gentoo.org>
-- 
Yixun Lan (dlan)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example
  2025-08-21  8:32 [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example Krzysztof Kozlowski
  2025-08-21  9:23 ` Yixun Lan
@ 2025-08-22 19:30 ` Rob Herring (Arm)
  2025-08-26 13:46 ` Bartosz Golaszewski
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-08-22 19:30 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-riscv, devicetree, linux-kernel, Yixun Lan, spacemit,
	Krzysztof Kozlowski, Lukas Wunner, Conor Dooley,
	Bartosz Golaszewski, Linus Walleij, linux-gpio


On Thu, 21 Aug 2025 10:32:14 +0200, Krzysztof Kozlowski wrote:
> The DTS code coding style expects exactly one space around '='
> character.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/gpio/maxim,max31910.yaml  | 6 +++---
>  .../devicetree/bindings/gpio/spacemit,k1-gpio.yaml          | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example
  2025-08-21  8:32 [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example Krzysztof Kozlowski
  2025-08-21  9:23 ` Yixun Lan
  2025-08-22 19:30 ` Rob Herring (Arm)
@ 2025-08-26 13:46 ` Bartosz Golaszewski
  2 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2025-08-26 13:46 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Yixun Lan, Lukas Wunner,
	linux-gpio, devicetree, linux-kernel, linux-riscv, spacemit,
	Krzysztof Kozlowski
  Cc: Bartosz Golaszewski

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Thu, 21 Aug 2025 10:32:14 +0200, Krzysztof Kozlowski wrote:
> The DTS code coding style expects exactly one space around '='
> character.
> 
> 

Applied, thanks!

[1/1] dt-bindings: gpio: Minor whitespace cleanup in example
      https://git.kernel.org/brgl/linux/c/604642fc148b5d98fbe5f55e4c2688f9ee0b5868

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-26 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21  8:32 [PATCH] dt-bindings: gpio: Minor whitespace cleanup in example Krzysztof Kozlowski
2025-08-21  9:23 ` Yixun Lan
2025-08-22 19:30 ` Rob Herring (Arm)
2025-08-26 13:46 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).