devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups
@ 2024-06-20 11:34 Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 1/7] dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema Krzysztof Kozlowski
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, stable,
	Krzysztof Kozlowski

Few fixes for I2C controller schemas. The third patch (atmel,at91sam)
depends on first, so I suggest not splitting this into fixes branch but
take as is via next branch.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (7):
      dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
      dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
      dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells
      dt-bindings: i2c: nvidia,tegra20: drop unneeded address/size-cells
      dt-bindings: i2c: samsung,s3c2410: drop unneeded address/size-cells
      dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema
      dt-bindings: i2c: adjust indentation in DTS example to coding style

 .../devicetree/bindings/i2c/atmel,at91sam-i2c.yaml |  10 +-
 .../devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml  |  28 +++---
 .../bindings/i2c/google,cros-ec-i2c-tunnel.yaml    |   2 +-
 .../devicetree/bindings/i2c/i2c-demux-pinctrl.yaml | 106 ++++++++++-----------
 .../bindings/i2c/nvidia,tegra20-i2c.yaml           |   6 --
 .../devicetree/bindings/i2c/renesas,iic-emev2.yaml |  14 +--
 .../devicetree/bindings/i2c/renesas,rcar-i2c.yaml  |  20 ++--
 .../devicetree/bindings/i2c/renesas,riic.yaml      |  34 +++----
 .../bindings/i2c/renesas,rmobile-iic.yaml          |  24 ++---
 .../bindings/i2c/samsung,s3c2410-i2c.yaml          |   6 --
 .../devicetree/bindings/i2c/st,stm32-i2c.yaml      |  66 ++++++-------
 .../devicetree/bindings/i2c/ti,omap4-i2c.yaml      |  64 +++++--------
 12 files changed, 174 insertions(+), 206 deletions(-)
---
base-commit: 76db4c64526c5e8ba0f56ad3d890dce8f9b00bbc
change-id: 20240620-dt-bindings-i2c-clean-b5a0b2dfdece

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

* [PATCH 1/7] dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: " Krzysztof Kozlowski
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, stable,
	Krzysztof Kozlowski

The referenced i2c-controller.yaml schema is provided by dtschema
package (outside of Linux kernel), so use full path to reference it.

Cc: <stable@vger.kernel.org>
Fixes: 7ea75dd386be ("dt-bindings: i2c: convert i2c-at91 to json-schema")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
index b1c13bab2472..b2d19cfb87ad 100644
--- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
@@ -77,7 +77,7 @@ required:
   - clocks
 
 allOf:
-  - $ref: i2c-controller.yaml
+  - $ref: /schemas/i2c/i2c-controller.yaml#
   - if:
       properties:
         compatible:

-- 
2.43.0


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

* [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 1/7] dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 16:06   ` Conor Dooley
  2024-06-20 11:34 ` [PATCH 3/7] dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells Krzysztof Kozlowski
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, stable,
	Krzysztof Kozlowski

The referenced i2c-controller.yaml schema is provided by dtschema
package (outside of Linux kernel), so use full path to reference it.

Cc: <stable@vger.kernel.org>
Fixes: 1acd4577a66f ("dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
index ab151c9db219..580003cdfff5 100644
--- a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
+++ b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
@@ -21,7 +21,7 @@ description: |
   google,cros-ec-spi or google,cros-ec-i2c.
 
 allOf:
-  - $ref: i2c-controller.yaml#
+  - $ref: /schemas/i2c/i2c-controller.yaml#
 
 properties:
   compatible:

-- 
2.43.0


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

* [PATCH 3/7] dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 1/7] dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: " Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 4/7] dt-bindings: i2c: nvidia,tegra20: " Krzysztof Kozlowski
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, Krzysztof Kozlowski

The reference i2c-controller.yaml already defines 'address-cells' and
'size-cells', so drop them from list of properties.  Drop them as well
from required properties, even though i2c-controller.yaml does not
require them, because I2C controller could be enabled without any
children in DTS for user-space usage.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
index b2d19cfb87ad..588478862bd1 100644
--- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml
@@ -36,12 +36,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  "#address-cells":
-    const: 1
-
-  "#size-cells":
-    const: 0
-
   clocks:
     maxItems: 1
 
@@ -72,8 +66,6 @@ required:
   - compatible
   - reg
   - interrupts
-  - "#address-cells"
-  - "#size-cells"
   - clocks
 
 allOf:

-- 
2.43.0


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

* [PATCH 4/7] dt-bindings: i2c: nvidia,tegra20: drop unneeded address/size-cells
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2024-06-20 11:34 ` [PATCH 3/7] dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 5/7] dt-bindings: i2c: samsung,s3c2410: " Krzysztof Kozlowski
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, Krzysztof Kozlowski

The reference i2c-controller.yaml already defines 'address-cells' and
'size-cells', so drop them from list of properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml
index 424a4fc218b6..92fbc1a2671a 100644
--- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml
@@ -87,12 +87,6 @@ properties:
   interrupts:
     maxItems: 1
 
-  '#address-cells':
-    const: 1
-
-  '#size-cells':
-    const: 0
-
   clocks:
     minItems: 1
     maxItems: 2

-- 
2.43.0


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

* [PATCH 5/7] dt-bindings: i2c: samsung,s3c2410: drop unneeded address/size-cells
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2024-06-20 11:34 ` [PATCH 4/7] dt-bindings: i2c: nvidia,tegra20: " Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 6/7] dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, Krzysztof Kozlowski

The reference i2c-controller.yaml already defines 'address-cells' and
'size-cells', so drop them from list of properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml b/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml
index 1303502cf265..bbc568485627 100644
--- a/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml
@@ -26,9 +26,6 @@ properties:
               - samsung,exynos850-i2c
           - const: samsung,s3c2440-i2c
 
-  '#address-cells':
-    const: 1
-
   clocks:
     maxItems: 1
 
@@ -73,9 +70,6 @@ properties:
     $ref: /schemas/types.yaml#/definitions/phandle
     description: Pandle to syscon used to control the system registers.
 
-  '#size-cells':
-    const: 0
-
 required:
   - compatible
   - reg

-- 
2.43.0


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

* [PATCH 6/7] dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
                   ` (4 preceding siblings ...)
  2024-06-20 11:34 ` [PATCH 5/7] dt-bindings: i2c: samsung,s3c2410: " Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 11:34 ` [PATCH 7/7] dt-bindings: i2c: adjust indentation in DTS example to coding style Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, Krzysztof Kozlowski

Reference the core I2C controller schema to properly define common
properties.  This allows to drop several (now redundant) properties.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/i2c/ti,omap4-i2c.yaml      | 52 +++++++++-------------
 1 file changed, 20 insertions(+), 32 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
index 781108ae1ce3..c9d1030e9857 100644
--- a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
@@ -37,16 +37,8 @@ properties:
   clock-names:
     const: fck
 
-  clock-frequency: true
-
   power-domains: true
 
-  "#address-cells":
-    const: 1
-
-  "#size-cells":
-    const: 0
-
   ti,hwmods:
     description:
       Must be "i2c<n>", n being the instance number (1-based).
@@ -55,38 +47,34 @@ properties:
     $ref: /schemas/types.yaml#/definitions/string
     deprecated: true
 
-# subnode's properties
-patternProperties:
-  "@[0-9a-f]+$":
-    type: object
-    description:
-      Flash device uses the below defined properties in the subnode.
-
 required:
   - compatible
   - reg
   - interrupts
 
-additionalProperties: false
+allOf:
+  - $ref: /schemas/i2c/i2c-controller.yaml#
 
-if:
-  properties:
-    compatible:
-      enum:
-        - ti,omap2420-i2c
-        - ti,omap2430-i2c
-        - ti,omap3-i2c
-        - ti,omap4-i2c
+  - if:
+      properties:
+        compatible:
+          enum:
+            - ti,omap2420-i2c
+            - ti,omap2430-i2c
+            - ti,omap3-i2c
+            - ti,omap4-i2c
 
-then:
-  properties:
-    ti,hwmods:
-      items:
-        - pattern: "^i2c([1-9])$"
+    then:
+      properties:
+        ti,hwmods:
+          items:
+            - pattern: "^i2c([1-9])$"
 
-else:
-  properties:
-    ti,hwmods: false
+    else:
+      properties:
+        ti,hwmods: false
+
+unevaluatedProperties: false
 
 examples:
   - |

-- 
2.43.0


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

* [PATCH 7/7] dt-bindings: i2c: adjust indentation in DTS example to coding style
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
                   ` (5 preceding siblings ...)
  2024-06-20 11:34 ` [PATCH 6/7] dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema Krzysztof Kozlowski
@ 2024-06-20 11:34 ` Krzysztof Kozlowski
  2024-06-20 16:06 ` [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Conor Dooley
  2024-06-20 23:05 ` Andi Shyti
  8 siblings, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-20 11:34 UTC (permalink / raw)
  To: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET
  Cc: linux-i2c, devicetree, linux-arm-kernel, linux-kernel,
	chrome-platform, linux-tegra, Krzysztof Kozlowski, linux-omap,
	Kamal Dasu, linux-renesas-soc, linux-stm32, Krzysztof Kozlowski

Bindings coding style expects 2- or 4-space indentation in the DTS
example.  Correct files having something odd (6- or 8-space) to 4-space
while re-ordering few properties according to DTS coding style (the
first property should be compatible, then reg/ranges).  No functional
impact.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml  |  28 +++---
 .../devicetree/bindings/i2c/i2c-demux-pinctrl.yaml | 106 ++++++++++-----------
 .../devicetree/bindings/i2c/renesas,iic-emev2.yaml |  14 +--
 .../devicetree/bindings/i2c/renesas,rcar-i2c.yaml  |  20 ++--
 .../devicetree/bindings/i2c/renesas,riic.yaml      |  34 +++----
 .../bindings/i2c/renesas,rmobile-iic.yaml          |  24 ++---
 .../devicetree/bindings/i2c/st,stm32-i2c.yaml      |  66 ++++++-------
 .../devicetree/bindings/i2c/ti,omap4-i2c.yaml      |  12 +--
 8 files changed, 152 insertions(+), 152 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml b/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml
index 7070c04469ed..ac9ddf228c82 100644
--- a/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml
@@ -76,21 +76,21 @@ else:
 
 examples:
   - |
-      bsca: i2c@f0406200 {
-          clock-frequency = <390000>;
-          compatible = "brcm,brcmstb-i2c";
-          interrupt-parent = <&irq0_intc>;
-          reg = <0xf0406200 0x58>;
-          interrupts = <0x18>;
-          interrupt-names = "upg_bsca";
-      };
+    bsca: i2c@f0406200 {
+        compatible = "brcm,brcmstb-i2c";
+        reg = <0xf0406200 0x58>;
+        clock-frequency = <390000>;
+        interrupt-parent = <&irq0_intc>;
+        interrupts = <0x18>;
+        interrupt-names = "upg_bsca";
+    };
 
   - |
-      ddc0: i2c@7ef04500 {
-          compatible = "brcm,bcm2711-hdmi-i2c";
-          reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;
-          reg-names = "bsc", "auto-i2c";
-          clock-frequency = <390000>;
-      };
+    ddc0: i2c@7ef04500 {
+        compatible = "brcm,bcm2711-hdmi-i2c";
+        reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;
+        reg-names = "bsc", "auto-i2c";
+        clock-frequency = <390000>;
+    };
 
 ...
diff --git a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml
index b813f6d4810c..1eaf00b90a77 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.yaml
@@ -109,65 +109,65 @@ examples:
     // Example for a bus to be demuxed.  It contains various I2C clients for
     // HDMI, so the bus is named "i2c-hdmi":
     i2chdmi: i2c-mux3 {
-            compatible = "i2c-demux-pinctrl";
-            i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>;
-            i2c-bus-name = "i2c-hdmi";
-            #address-cells = <1>;
-            #size-cells = <0>;
+        compatible = "i2c-demux-pinctrl";
+        i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>;
+        i2c-bus-name = "i2c-hdmi";
+        #address-cells = <1>;
+        #size-cells = <0>;
 
-            ak4643: codec@12 {
-                    compatible = "asahi-kasei,ak4643";
-                    #sound-dai-cells = <0>;
-                    reg = <0x12>;
+        ak4643: codec@12 {
+            compatible = "asahi-kasei,ak4643";
+            #sound-dai-cells = <0>;
+            reg = <0x12>;
+        };
+
+        composite-in@20 {
+            compatible = "adi,adv7180";
+            reg = <0x20>;
+
+            port {
+                adv7180: endpoint {
+                    bus-width = <8>;
+                    remote-endpoint = <&vin1ep0>;
+                };
             };
+        };
 
-            composite-in@20 {
-                    compatible = "adi,adv7180";
-                    reg = <0x20>;
+        hdmi@39 {
+            compatible = "adi,adv7511w";
+            reg = <0x39>;
+            interrupt-parent = <&gpio1>;
+            interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
+            clocks = <&cec_clock>;
+            clock-names = "cec";
 
-                    port {
-                            adv7180: endpoint {
-                                    bus-width = <8>;
-                                    remote-endpoint = <&vin1ep0>;
-                            };
+            avdd-supply = <&fixedregulator1v8>;
+            dvdd-supply = <&fixedregulator1v8>;
+            pvdd-supply = <&fixedregulator1v8>;
+            dvdd-3v-supply = <&fixedregulator3v3>;
+            bgvdd-supply = <&fixedregulator1v8>;
+
+            adi,input-depth = <8>;
+            adi,input-colorspace = "rgb";
+            adi,input-clock = "1x";
+
+            ports {
+                #address-cells = <1>;
+                #size-cells = <0>;
+
+                port@0 {
+                    reg = <0>;
+                    adv7511_in: endpoint {
+                        remote-endpoint = <&lvds0_out>;
                     };
-            };
+                };
 
-            hdmi@39 {
-                    compatible = "adi,adv7511w";
-                    reg = <0x39>;
-                    interrupt-parent = <&gpio1>;
-                    interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
-                    clocks = <&cec_clock>;
-                    clock-names = "cec";
-
-                    avdd-supply = <&fixedregulator1v8>;
-                    dvdd-supply = <&fixedregulator1v8>;
-                    pvdd-supply = <&fixedregulator1v8>;
-                    dvdd-3v-supply = <&fixedregulator3v3>;
-                    bgvdd-supply = <&fixedregulator1v8>;
-
-                    adi,input-depth = <8>;
-                    adi,input-colorspace = "rgb";
-                    adi,input-clock = "1x";
-
-                    ports {
-                            #address-cells = <1>;
-                            #size-cells = <0>;
-
-                            port@0 {
-                                    reg = <0>;
-                                    adv7511_in: endpoint {
-                                            remote-endpoint = <&lvds0_out>;
-                                    };
-                            };
-
-                            port@1 {
-                                    reg = <1>;
-                                    adv7511_out: endpoint {
-                                            remote-endpoint = <&hdmi_con_out>;
-                                    };
-                            };
+                port@1 {
+                    reg = <1>;
+                    adv7511_out: endpoint {
+                        remote-endpoint = <&hdmi_con_out>;
                     };
+                };
             };
+        };
     };
diff --git a/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml b/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml
index 17c1102562be..551cfa6f885a 100644
--- a/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml
+++ b/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml
@@ -44,11 +44,11 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     iic0: i2c@e0070000 {
-            #address-cells = <1>;
-            #size-cells = <0>;
-            compatible = "renesas,iic-emev2";
-            reg = <0xe0070000 0x28>;
-            interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
-            clocks = <&iic0_sclk>;
-            clock-names = "sclk";
+        compatible = "renesas,iic-emev2";
+        reg = <0xe0070000 0x28>;
+        interrupts = <GIC_SPI 32 IRQ_TYPE_EDGE_RISING>;
+        clocks = <&iic0_sclk>;
+        clock-names = "sclk";
+        #address-cells = <1>;
+        #size-cells = <0>;
     };
diff --git a/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml b/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml
index 51b220da461b..6cc60c3f61cd 100644
--- a/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/renesas,rcar-i2c.yaml
@@ -153,14 +153,14 @@ examples:
     #include <dt-bindings/power/r8a7791-sysc.h>
 
     i2c0: i2c@e6508000 {
-            #address-cells = <1>;
-            #size-cells = <0>;
-            compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
-            reg = <0xe6508000 0x40>;
-            interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
-            clock-frequency = <400000>;
-            clocks = <&cpg CPG_MOD 931>;
-            power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
-            resets = <&cpg 931>;
-            i2c-scl-internal-delay-ns = <6>;
+        compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
+        reg = <0xe6508000 0x40>;
+        interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
+        clock-frequency = <400000>;
+        clocks = <&cpg CPG_MOD 931>;
+        power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
+        resets = <&cpg 931>;
+        i2c-scl-internal-delay-ns = <6>;
+        #address-cells = <1>;
+        #size-cells = <0>;
     };
diff --git a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml b/Documentation/devicetree/bindings/i2c/renesas,riic.yaml
index 91ecf17b7a81..7993fe463c4c 100644
--- a/Documentation/devicetree/bindings/i2c/renesas,riic.yaml
+++ b/Documentation/devicetree/bindings/i2c/renesas,riic.yaml
@@ -97,21 +97,21 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     i2c0: i2c@fcfee000 {
-            compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
-            reg = <0xfcfee000 0x44>;
-            interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
-                         <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
-                         <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
-            interrupt-names = "tei", "ri", "ti", "spi", "sti", "naki", "ali",
-                              "tmoi";
-            clocks = <&mstp9_clks R7S72100_CLK_I2C0>;
-            clock-frequency = <100000>;
-            power-domains = <&cpg_clocks>;
-            #address-cells = <1>;
-            #size-cells = <0>;
+        compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
+        reg = <0xfcfee000 0x44>;
+        interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>,
+                     <GIC_SPI 159 IRQ_TYPE_EDGE_RISING>,
+                     <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
+        interrupt-names = "tei", "ri", "ti", "spi", "sti", "naki", "ali",
+                          "tmoi";
+        clocks = <&mstp9_clks R7S72100_CLK_I2C0>;
+        clock-frequency = <100000>;
+        power-domains = <&cpg_clocks>;
+        #address-cells = <1>;
+        #size-cells = <0>;
     };
diff --git a/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml b/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml
index 04e4ffd80bc0..ec5222a1224f 100644
--- a/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml
+++ b/Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml
@@ -134,16 +134,16 @@ examples:
     #include <dt-bindings/power/r8a7790-sysc.h>
 
     iic0: i2c@e6500000 {
-            compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
-                         "renesas,rmobile-iic";
-            reg = <0xe6500000 0x425>;
-            interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
-            clocks = <&cpg CPG_MOD 318>;
-            clock-frequency = <400000>;
-            dmas = <&dmac0 0x61>, <&dmac0 0x62>, <&dmac1 0x61>, <&dmac1 0x62>;
-            dma-names = "tx", "rx", "tx", "rx";
-            power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
-            resets = <&cpg 318>;
-            #address-cells = <1>;
-            #size-cells = <0>;
+        compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
+                     "renesas,rmobile-iic";
+        reg = <0xe6500000 0x425>;
+        interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+        clocks = <&cpg CPG_MOD 318>;
+        clock-frequency = <400000>;
+        dmas = <&dmac0 0x61>, <&dmac0 0x62>, <&dmac1 0x61>, <&dmac1 0x62>;
+        dma-names = "tx", "rx", "tx", "rx";
+        power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
+        resets = <&cpg 318>;
+        #address-cells = <1>;
+        #size-cells = <0>;
     };
diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
index 8fd8be76875e..457bb0702ed9 100644
--- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml
@@ -145,31 +145,31 @@ examples:
     #include <dt-bindings/mfd/stm32f7-rcc.h>
     #include <dt-bindings/clock/stm32fx-clock.h>
     //Example 1 (with st,stm32f4-i2c compatible)
-      i2c@40005400 {
-          compatible = "st,stm32f4-i2c";
-          #address-cells = <1>;
-          #size-cells = <0>;
-          reg = <0x40005400 0x400>;
-          interrupts = <31>,
-                       <32>;
-          resets = <&rcc 277>;
-          clocks = <&rcc 0 149>;
-      };
+    i2c@40005400 {
+        compatible = "st,stm32f4-i2c";
+        reg = <0x40005400 0x400>;
+        interrupts = <31>,
+                     <32>;
+        resets = <&rcc 277>;
+        clocks = <&rcc 0 149>;
+        #address-cells = <1>;
+        #size-cells = <0>;
+    };
 
   - |
     #include <dt-bindings/mfd/stm32f7-rcc.h>
     #include <dt-bindings/clock/stm32fx-clock.h>
     //Example 2 (with st,stm32f7-i2c compatible)
-      i2c@40005800 {
-          compatible = "st,stm32f7-i2c";
-          #address-cells = <1>;
-          #size-cells = <0>;
-          reg = <0x40005800 0x400>;
-          interrupts = <31>,
-                       <32>;
-          resets = <&rcc STM32F7_APB1_RESET(I2C1)>;
-          clocks = <&rcc 1 CLK_I2C1>;
-      };
+    i2c@40005800 {
+        compatible = "st,stm32f7-i2c";
+        reg = <0x40005800 0x400>;
+        interrupts = <31>,
+                     <32>;
+        resets = <&rcc STM32F7_APB1_RESET(I2C1)>;
+        clocks = <&rcc 1 CLK_I2C1>;
+        #address-cells = <1>;
+        #size-cells = <0>;
+    };
 
   - |
     #include <dt-bindings/mfd/stm32f7-rcc.h>
@@ -178,16 +178,16 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
     #include <dt-bindings/clock/stm32mp1-clks.h>
     #include <dt-bindings/reset/stm32mp1-resets.h>
-      i2c@40013000 {
-          compatible = "st,stm32mp15-i2c";
-          #address-cells = <1>;
-          #size-cells = <0>;
-          reg = <0x40013000 0x400>;
-          interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
-                       <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
-          clocks = <&rcc I2C2_K>;
-          resets = <&rcc I2C2_R>;
-          i2c-scl-rising-time-ns = <185>;
-          i2c-scl-falling-time-ns = <20>;
-          st,syscfg-fmp = <&syscfg 0x4 0x2>;
-      };
+    i2c@40013000 {
+        compatible = "st,stm32mp15-i2c";
+        reg = <0x40013000 0x400>;
+        interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
+                     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
+        clocks = <&rcc I2C2_K>;
+        resets = <&rcc I2C2_R>;
+        i2c-scl-rising-time-ns = <185>;
+        i2c-scl-falling-time-ns = <20>;
+        st,syscfg-fmp = <&syscfg 0x4 0x2>;
+        #address-cells = <1>;
+        #size-cells = <0>;
+    };
diff --git a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
index c9d1030e9857..8c2e35fabf5b 100644
--- a/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/ti,omap4-i2c.yaml
@@ -82,9 +82,9 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     main_i2c0: i2c@2000000 {
-            compatible = "ti,j721e-i2c", "ti,omap4-i2c";
-            reg = <0x2000000 0x100>;
-            interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
-            #address-cells = <1>;
-            #size-cells = <0>;
-         };
+        compatible = "ti,j721e-i2c", "ti,omap4-i2c";
+        reg = <0x2000000 0x100>;
+        interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
+        #address-cells = <1>;
+        #size-cells = <0>;
+    };

-- 
2.43.0


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

* Re: [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
  2024-06-20 11:34 ` [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: " Krzysztof Kozlowski
@ 2024-06-20 16:06   ` Conor Dooley
  0 siblings, 0 replies; 13+ messages in thread
From: Conor Dooley @ 2024-06-20 16:06 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET, linux-i2c,
	devicetree, linux-arm-kernel, linux-kernel, chrome-platform,
	linux-tegra, Krzysztof Kozlowski, linux-omap, Kamal Dasu,
	linux-renesas-soc, linux-stm32, stable

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

On Thu, Jun 20, 2024 at 01:34:50PM +0200, Krzysztof Kozlowski wrote:
> The referenced i2c-controller.yaml schema is provided by dtschema
> package (outside of Linux kernel), so use full path to reference it.
> 
> Cc: <stable@vger.kernel.org>

I'd question whether this needs to go to stable (given the validation
seems to work anyway) but it'll get picked up automagically so why
not...

> Fixes: 1acd4577a66f ("dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
> index ab151c9db219..580003cdfff5 100644
> --- a/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
> +++ b/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml
> @@ -21,7 +21,7 @@ description: |
>    google,cros-ec-spi or google,cros-ec-i2c.
>  
>  allOf:
> -  - $ref: i2c-controller.yaml#
> +  - $ref: /schemas/i2c/i2c-controller.yaml#
>  
>  properties:
>    compatible:
> 
> -- 
> 2.43.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
                   ` (6 preceding siblings ...)
  2024-06-20 11:34 ` [PATCH 7/7] dt-bindings: i2c: adjust indentation in DTS example to coding style Krzysztof Kozlowski
@ 2024-06-20 16:06 ` Conor Dooley
  2024-06-20 23:05 ` Andi Shyti
  8 siblings, 0 replies; 13+ messages in thread
From: Conor Dooley @ 2024-06-20 16:06 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andi Shyti, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Sergiu Moga,
	Benson Leung, Guenter Roeck, Doug Anderson,
	Enric Balletbo i Serra, Ricardo Cañuelo, Thierry Reding,
	Jonathan Hunter, Vignesh R, Kamal Dasu,
	Broadcom internal kernel review list, Florian Fainelli,
	Wolfram Sang, Chris Brandt, Maxime Coquelin, Alexandre Torgue,
	Geert Uytterhoeven, Magnus Damm, Pierre-Yves MORDRET, linux-i2c,
	devicetree, linux-arm-kernel, linux-kernel, chrome-platform,
	linux-tegra, Krzysztof Kozlowski, linux-omap, Kamal Dasu,
	linux-renesas-soc, linux-stm32, stable

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

On Thu, Jun 20, 2024 at 01:34:48PM +0200, Krzysztof Kozlowski wrote:
> Few fixes for I2C controller schemas. The third patch (atmel,at91sam)
> depends on first, so I suggest not splitting this into fixes branch but
> take as is via next branch.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups
  2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
                   ` (7 preceding siblings ...)
  2024-06-20 16:06 ` [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Conor Dooley
@ 2024-06-20 23:05 ` Andi Shyti
  2024-06-21  6:02   ` Krzysztof Kozlowski
  8 siblings, 1 reply; 13+ messages in thread
From: Andi Shyti @ 2024-06-20 23:05 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Sergiu Moga, Benson Leung,
	Guenter Roeck, Doug Anderson, Enric Balletbo i Serra,
	Ricardo Cañuelo, Thierry Reding, Jonathan Hunter, Vignesh R,
	Kamal Dasu, Broadcom internal kernel review list,
	Florian Fainelli, Wolfram Sang, Chris Brandt, Maxime Coquelin,
	Alexandre Torgue, Geert Uytterhoeven, Magnus Damm,
	Pierre-Yves MORDRET, linux-i2c, devicetree, linux-arm-kernel,
	linux-kernel, chrome-platform, linux-tegra, Krzysztof Kozlowski,
	linux-omap, Kamal Dasu, linux-renesas-soc, linux-stm32, stable

Cześć Krzysztof,

On Thu, Jun 20, 2024 at 01:34:48PM GMT, Krzysztof Kozlowski wrote:
> Few fixes for I2C controller schemas. The third patch (atmel,at91sam)
> depends on first, so I suggest not splitting this into fixes branch but
> take as is via next branch.
> 
> Best regards,
> Krzysztof
> 
> ---
> Krzysztof Kozlowski (7):
>       dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
>       dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema

merged to i2c/i2c-host-fixes

>       dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells
>       dt-bindings: i2c: nvidia,tegra20: drop unneeded address/size-cells
>       dt-bindings: i2c: samsung,s3c2410: drop unneeded address/size-cells
>       dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema
>       dt-bindings: i2c: adjust indentation in DTS example to coding style

merged to i2c/i2c-host

Thanks,
Andi

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

* Re: [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups
  2024-06-20 23:05 ` Andi Shyti
@ 2024-06-21  6:02   ` Krzysztof Kozlowski
  2024-06-21  9:27     ` Andi Shyti
  0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-21  6:02 UTC (permalink / raw)
  To: Andi Shyti
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Sergiu Moga, Benson Leung,
	Guenter Roeck, Doug Anderson, Enric Balletbo i Serra,
	Ricardo Cañuelo, Thierry Reding, Jonathan Hunter, Vignesh R,
	Kamal Dasu, Broadcom internal kernel review list,
	Florian Fainelli, Wolfram Sang, Chris Brandt, Maxime Coquelin,
	Alexandre Torgue, Geert Uytterhoeven, Magnus Damm,
	Pierre-Yves MORDRET, linux-i2c, devicetree, linux-arm-kernel,
	linux-kernel, chrome-platform, linux-tegra, Krzysztof Kozlowski,
	linux-omap, Kamal Dasu, linux-renesas-soc, linux-stm32, stable

On 21/06/2024 01:05, Andi Shyti wrote:
> Cześć Krzysztof,
> 
> On Thu, Jun 20, 2024 at 01:34:48PM GMT, Krzysztof Kozlowski wrote:
>> Few fixes for I2C controller schemas. The third patch (atmel,at91sam)
>> depends on first, so I suggest not splitting this into fixes branch but
>> take as is via next branch.
>>
>> Best regards,
>> Krzysztof
>>
>> ---
>> Krzysztof Kozlowski (7):
>>       dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
>>       dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
> 
> merged to i2c/i2c-host-fixes
> 
>>       dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells
>>       dt-bindings: i2c: nvidia,tegra20: drop unneeded address/size-cells
>>       dt-bindings: i2c: samsung,s3c2410: drop unneeded address/size-cells
>>       dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema
>>       dt-bindings: i2c: adjust indentation in DTS example to coding style
> 
> merged to i2c/i2c-host

So you broke the binding... Why openly ignoring my first sentence?

Best regards,
Krzysztof


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

* Re: [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups
  2024-06-21  6:02   ` Krzysztof Kozlowski
@ 2024-06-21  9:27     ` Andi Shyti
  0 siblings, 0 replies; 13+ messages in thread
From: Andi Shyti @ 2024-06-21  9:27 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
	Alexandre Belloni, Claudiu Beznea, Sergiu Moga, Benson Leung,
	Guenter Roeck, Doug Anderson, Enric Balletbo i Serra,
	Ricardo Cañuelo, Thierry Reding, Jonathan Hunter, Vignesh R,
	Kamal Dasu, Broadcom internal kernel review list,
	Florian Fainelli, Wolfram Sang, Chris Brandt, Maxime Coquelin,
	Alexandre Torgue, Geert Uytterhoeven, Magnus Damm,
	Pierre-Yves MORDRET, linux-i2c, devicetree, linux-arm-kernel,
	linux-kernel, chrome-platform, linux-tegra, Krzysztof Kozlowski,
	linux-omap, Kamal Dasu, linux-renesas-soc, linux-stm32, stable

On Fri, Jun 21, 2024 at 08:02:03AM GMT, Krzysztof Kozlowski wrote:
> On 21/06/2024 01:05, Andi Shyti wrote:
> > Cześć Krzysztof,
> > 
> > On Thu, Jun 20, 2024 at 01:34:48PM GMT, Krzysztof Kozlowski wrote:
> >> Few fixes for I2C controller schemas. The third patch (atmel,at91sam)
> >> depends on first, so I suggest not splitting this into fixes branch but
> >> take as is via next branch.
> >>
> >> Best regards,
> >> Krzysztof
> >>
> >> ---
> >> Krzysztof Kozlowski (7):
> >>       dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
> >>       dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
> > 
> > merged to i2c/i2c-host-fixes
> > 
> >>       dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells
> >>       dt-bindings: i2c: nvidia,tegra20: drop unneeded address/size-cells
> >>       dt-bindings: i2c: samsung,s3c2410: drop unneeded address/size-cells
> >>       dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema
> >>       dt-bindings: i2c: adjust indentation in DTS example to coding style
> > 
> > merged to i2c/i2c-host
> 
> So you broke the binding... Why openly ignoring my first sentence?

It's not an issue. We can get the fixes first and apply the rest
later, I can keep them in my -next branch and reapply next week.

Otherwise I would wait for everything at the merge window, but I
don't want to wait so long.

Thanks,
Andi

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

end of thread, other threads:[~2024-06-21  9:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 11:34 [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Krzysztof Kozlowski
2024-06-20 11:34 ` [PATCH 1/7] dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema Krzysztof Kozlowski
2024-06-20 11:34 ` [PATCH 2/7] dt-bindings: i2c: google,cros-ec-i2c-tunnel: " Krzysztof Kozlowski
2024-06-20 16:06   ` Conor Dooley
2024-06-20 11:34 ` [PATCH 3/7] dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells Krzysztof Kozlowski
2024-06-20 11:34 ` [PATCH 4/7] dt-bindings: i2c: nvidia,tegra20: " Krzysztof Kozlowski
2024-06-20 11:34 ` [PATCH 5/7] dt-bindings: i2c: samsung,s3c2410: " Krzysztof Kozlowski
2024-06-20 11:34 ` [PATCH 6/7] dt-bindings: i2c: ti,omap4: reference i2c-controller.yaml schema Krzysztof Kozlowski
2024-06-20 11:34 ` [PATCH 7/7] dt-bindings: i2c: adjust indentation in DTS example to coding style Krzysztof Kozlowski
2024-06-20 16:06 ` [PATCH 0/7] dt-bindings: i2c: few fixes and cleanups Conor Dooley
2024-06-20 23:05 ` Andi Shyti
2024-06-21  6:02   ` Krzysztof Kozlowski
2024-06-21  9:27     ` Andi Shyti

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).