linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml
@ 2020-03-05 14:36 Johan Jonker
  2020-03-05 14:36 ` [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036 Johan Jonker
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Johan Jonker @ 2020-03-05 14:36 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, linux-i2c, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

Current dts files with 'i2c' nodes are manually verified.
In order to automate this process i2c-rk3x.txt
has to be converted to yaml. In the new setup
i2c-rk3x.yaml will inherit properties from
i2c-controller.yaml.

Also change document name in MAINTAINERS.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.txt |  68 -----------
 .../devicetree/bindings/i2c/i2c-rk3x.yaml          | 129 +++++++++++++++++++++
 MAINTAINERS                                        |   2 +-
 3 files changed, 130 insertions(+), 69 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
deleted file mode 100644
index 22f2eeb2c..000000000
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-* Rockchip RK3xxx I2C controller
-
-This driver interfaces with the native I2C controller present in Rockchip
-RK3xxx SoCs.
-
-Required properties :
-
- - reg : Offset and length of the register set for the device
- - compatible: should be one of the following:
-   - "rockchip,rv1108-i2c": for rv1108
-   - "rockchip,rk3066-i2c": for rk3066
-   - "rockchip,rk3188-i2c": for rk3188
-   - "rockchip,rk3228-i2c": for rk3228
-   - "rockchip,rk3288-i2c": for rk3288
-   - "rockchip,rk3328-i2c", "rockchip,rk3399-i2c": for rk3328
-   - "rockchip,rk3399-i2c": for rk3399
- - interrupts : interrupt number
- - clocks: See ../clock/clock-bindings.txt
-   - For older hardware (rk3066, rk3188, rk3228, rk3288):
-     - There is one clock that's used both to derive the functional clock
-       for the device and as the bus clock.
-   - For newer hardware (rk3399): specified by name
-     - "i2c": This is used to derive the functional clock.
-     - "pclk": This is the bus clock.
-
-Required on RK3066, RK3188 :
-
- - rockchip,grf : the phandle of the syscon node for the general register
-		  file (GRF)
- - on those SoCs an alias with the correct I2C bus ID (bit offset in the GRF)
-   is also required.
-
-Optional properties :
-
- - clock-frequency : SCL frequency to use (in Hz). If omitted, 100kHz is used.
- - i2c-scl-rising-time-ns : Number of nanoseconds the SCL signal takes to rise
-	(t(r) in I2C specification). If not specified this is assumed to be
-	the maximum the specification allows(1000 ns for Standard-mode,
-	300 ns for Fast-mode) which might cause slightly slower communication.
- - i2c-scl-falling-time-ns : Number of nanoseconds the SCL signal takes to fall
-	(t(f) in the I2C specification). If not specified this is assumed to
-	be the maximum the specification allows (300 ns) which might cause
-	slightly slower communication.
- - i2c-sda-falling-time-ns : Number of nanoseconds the SDA signal takes to fall
-	(t(f) in the I2C specification). If not specified we'll use the SCL
-	value since they are the same in nearly all cases.
-
-Example:
-
-aliases {
-	i2c0 = &i2c0;
-}
-
-i2c0: i2c@2002d000 {
-	compatible = "rockchip,rk3188-i2c";
-	reg = <0x2002d000 0x1000>;
-	interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
-	#address-cells = <1>;
-	#size-cells = <0>;
-
-	rockchip,grf = <&grf>;
-
-	clock-names = "i2c";
-	clocks = <&cru PCLK_I2C0>;
-
-	i2c-scl-rising-time-ns = <800>;
-	i2c-scl-falling-time-ns = <100>;
-};
diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
new file mode 100644
index 000000000..962aefb7d
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -0,0 +1,129 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/i2c/i2c-rk3x.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Rockchip RK3xxx I2C controller
+
+description:
+  This driver interfaces with the native I2C controller present in Rockchip
+  RK3xxx SoCs.
+
+allOf:
+  - $ref: /schemas/i2c/i2c-controller.yaml#
+
+maintainers:
+  - Heiko Stuebner <heiko@sntech.de>
+
+# Everything else is described in the common file
+properties:
+  compatible:
+    oneOf:
+      - const: rockchip,rv1108-i2c
+      - const: rockchip,rk3066-i2c
+      - const: rockchip,rk3188-i2c
+      - const: rockchip,rk3228-i2c
+      - const: rockchip,rk3288-i2c
+      - const: rockchip,rk3399-i2c
+      - items:
+          - enum:
+            - rockchip,rk3328-i2c
+          - const: rockchip,rk3399-i2c
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    minItems: 1
+    items:
+      - description:
+          For older hardware (rk3066, rk3188, rk3228, rk3288)
+          there is one clock that is used both to derive the functional clock
+          for the device and as the bus clock.
+          For newer hardware (rk3399) this clock is used to derive
+          the functional clock
+      - description:
+          For newer hardware (rk3399) this is the bus clock
+
+  clock-names:
+    minItems: 1
+    items:
+      - const: i2c
+      - const: pclk
+
+  rockchip,grf:
+    $ref: /schemas/types.yaml#/definitions/phandle
+    description:
+      Required on RK3066, RK3188 the phandle of the syscon node for
+      the general register file (GRF)
+      On those SoCs an alias with the correct I2C bus ID
+      (bit offset in the GRF) is also required.
+
+  clock-frequency:
+    default: 100000
+    description:
+      SCL frequency to use (in Hz). If omitted, 100kHz is used.
+
+  i2c-scl-rising-time-ns:
+    default: 1000
+    description:
+      Number of nanoseconds the SCL signal takes to rise
+      (t(r) in I2C specification). If not specified this is assumed to be
+      the maximum the specification allows(1000 ns for Standard-mode,
+      300 ns for Fast-mode) which might cause slightly slower communication.
+
+  i2c-scl-falling-time-ns:
+    default: 300
+    description:
+      Number of nanoseconds the SCL signal takes to fall
+      (t(f) in the I2C specification). If not specified this is assumed to
+      be the maximum the specification allows (300 ns) which might cause
+      slightly slower communication.
+
+  i2c-sda-falling-time-ns:
+    default: 300
+    description:
+      Number of nanoseconds the SDA signal takes to fall
+      (t(f) in the I2C specification). If not specified we will use the SCL
+      value since they are the same in nearly all cases.
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+  - clock-names
+
+if:
+  properties:
+    compatible:
+      contains:
+        enum:
+          - rockchip,rk3066-i2c
+          - rockchip,rk3188-i2c
+
+then:
+  required:
+    - rockchip,grf
+
+examples:
+  - |
+    #include <dt-bindings/clock/rk3188-cru-common.h>
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    #include <dt-bindings/interrupt-controller/irq.h>
+    i2c0: i2c@2002d000 {
+      compatible = "rockchip,rk3188-i2c";
+      reg = <0x2002d000 0x1000>;
+      interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
+      clocks = <&cru PCLK_I2C0>;
+      clock-names = "i2c";
+      rockchip,grf = <&grf>;
+      i2c-scl-falling-time-ns = <100>;
+      i2c-scl-rising-time-ns = <800>;
+      #address-cells = <1>;
+      #size-cells = <0>;
+    };
diff --git a/MAINTAINERS b/MAINTAINERS
index 42c21184d..a480cec62 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2279,7 +2279,7 @@ L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
 L:	linux-rockchip@lists.infradead.org
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
 S:	Maintained
-F:	Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
+F:	Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
 F:	Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml
 F:	Documentation/devicetree/bindings/spi/spi-rockchip.yaml
 F:	arch/arm/boot/dts/rk3*
-- 
2.11.0


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

* [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036
  2020-03-05 14:36 [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Johan Jonker
@ 2020-03-05 14:36 ` Johan Jonker
  2020-03-12 15:51   ` Rob Herring
  2020-03-05 14:36 ` [PATCH v1 3/5] dt-bindings: i2c: i2c-rk3x: add description for rk3368 Johan Jonker
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Johan Jonker @ 2020-03-05 14:36 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, linux-i2c, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

The description below is already in use for rk3036.dtsi,
but was somehow never added to a document, so add
"rockchip,rk3036-i2c", "rockchip,rk3288-i2c"
for i2c nodes on a rk3036 platform to i2c-rk3x.yaml.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
index 962aefb7d..0bba39998 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -28,6 +28,10 @@ properties:
       - const: rockchip,rk3399-i2c
       - items:
           - enum:
+            - rockchip,rk3036-i2c
+          - const: rockchip,rk3288-i2c
+      - items:
+          - enum:
             - rockchip,rk3328-i2c
           - const: rockchip,rk3399-i2c
 
-- 
2.11.0


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

* [PATCH v1 3/5] dt-bindings: i2c: i2c-rk3x: add description for rk3368
  2020-03-05 14:36 [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Johan Jonker
  2020-03-05 14:36 ` [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036 Johan Jonker
@ 2020-03-05 14:36 ` Johan Jonker
  2020-03-12 15:51   ` Rob Herring
  2020-03-05 14:36 ` [PATCH v1 4/5] dt-bindings: i2c: i2c-rk3x: add description for rk3308 Johan Jonker
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Johan Jonker @ 2020-03-05 14:36 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, linux-i2c, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

The description below is already in use for rk3368.dtsi,
but was somehow never added to a document, so add
"rockchip,rk3368-i2c", "rockchip,rk3288-i2c"
for i2c nodes on a rk3368 platform to i2c-rk3x.yaml.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
index 0bba39998..67cdce8fb 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -29,6 +29,7 @@ properties:
       - items:
           - enum:
             - rockchip,rk3036-i2c
+            - rockchip,rk3368-i2c
           - const: rockchip,rk3288-i2c
       - items:
           - enum:
-- 
2.11.0


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

* [PATCH v1 4/5] dt-bindings: i2c: i2c-rk3x: add description for rk3308
  2020-03-05 14:36 [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Johan Jonker
  2020-03-05 14:36 ` [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036 Johan Jonker
  2020-03-05 14:36 ` [PATCH v1 3/5] dt-bindings: i2c: i2c-rk3x: add description for rk3368 Johan Jonker
@ 2020-03-05 14:36 ` Johan Jonker
  2020-03-12 15:52   ` Rob Herring
  2020-03-05 14:36 ` [PATCH v1 5/5] dt-bindings: i2c: i2c-rk3x: add description for px30 Johan Jonker
  2020-03-12 15:50 ` [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Rob Herring
  4 siblings, 1 reply; 10+ messages in thread
From: Johan Jonker @ 2020-03-05 14:36 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, linux-i2c, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

The description below is already in use for rk3308.dtsi,
but was somehow never added to a document, so add
"rockchip,rk3308-i2c", "rockchip,rk3399-i2c"
for i2c nodes on a rk3308 platform to i2c-rk3x.yaml.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
index 67cdce8fb..edee8f699 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -33,6 +33,7 @@ properties:
           - const: rockchip,rk3288-i2c
       - items:
           - enum:
+            - rockchip,rk3308-i2c
             - rockchip,rk3328-i2c
           - const: rockchip,rk3399-i2c
 
-- 
2.11.0


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

* [PATCH v1 5/5] dt-bindings: i2c: i2c-rk3x: add description for px30
  2020-03-05 14:36 [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Johan Jonker
                   ` (2 preceding siblings ...)
  2020-03-05 14:36 ` [PATCH v1 4/5] dt-bindings: i2c: i2c-rk3x: add description for rk3308 Johan Jonker
@ 2020-03-05 14:36 ` Johan Jonker
  2020-03-12 15:50 ` [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Rob Herring
  4 siblings, 0 replies; 10+ messages in thread
From: Johan Jonker @ 2020-03-05 14:36 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, linux-i2c, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

The description below is already in use for px30.dtsi,
but was somehow never added to a document, so add
"rockchip,px30-i2c", "rockchip,rk3399-i2c"
for i2c nodes on a px30 platform to i2c-rk3x.yaml.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
index edee8f699..61eac76c8 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -33,6 +33,7 @@ properties:
           - const: rockchip,rk3288-i2c
       - items:
           - enum:
+            - rockchip,px30-i2c
             - rockchip,rk3308-i2c
             - rockchip,rk3328-i2c
           - const: rockchip,rk3399-i2c
-- 
2.11.0


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

* Re: [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml
  2020-03-05 14:36 [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Johan Jonker
                   ` (3 preceding siblings ...)
  2020-03-05 14:36 ` [PATCH v1 5/5] dt-bindings: i2c: i2c-rk3x: add description for px30 Johan Jonker
@ 2020-03-12 15:50 ` Rob Herring
  2020-03-12 15:54   ` Rob Herring
  4 siblings, 1 reply; 10+ messages in thread
From: Rob Herring @ 2020-03-12 15:50 UTC (permalink / raw)
  To: Johan Jonker
  Cc: heiko, robh+dt, linux-i2c, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel

On Thu,  5 Mar 2020 15:36:07 +0100, Johan Jonker wrote:
> Current dts files with 'i2c' nodes are manually verified.
> In order to automate this process i2c-rk3x.txt
> has to be converted to yaml. In the new setup
> i2c-rk3x.yaml will inherit properties from
> i2c-controller.yaml.
> 
> Also change document name in MAINTAINERS.
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-rk3x.txt |  68 -----------
>  .../devicetree/bindings/i2c/i2c-rk3x.yaml          | 129 +++++++++++++++++++++
>  MAINTAINERS                                        |   2 +-
>  3 files changed, 130 insertions(+), 69 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
>  create mode 100644 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036
  2020-03-05 14:36 ` [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036 Johan Jonker
@ 2020-03-12 15:51   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2020-03-12 15:51 UTC (permalink / raw)
  To: Johan Jonker
  Cc: heiko, robh+dt, linux-i2c, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel

On Thu,  5 Mar 2020 15:36:08 +0100, Johan Jonker wrote:
> The description below is already in use for rk3036.dtsi,
> but was somehow never added to a document, so add
> "rockchip,rk3036-i2c", "rockchip,rk3288-i2c"
> for i2c nodes on a rk3036 platform to i2c-rk3x.yaml.
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH v1 3/5] dt-bindings: i2c: i2c-rk3x: add description for rk3368
  2020-03-05 14:36 ` [PATCH v1 3/5] dt-bindings: i2c: i2c-rk3x: add description for rk3368 Johan Jonker
@ 2020-03-12 15:51   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2020-03-12 15:51 UTC (permalink / raw)
  To: Johan Jonker
  Cc: heiko, robh+dt, linux-i2c, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel

On Thu,  5 Mar 2020 15:36:09 +0100, Johan Jonker wrote:
> The description below is already in use for rk3368.dtsi,
> but was somehow never added to a document, so add
> "rockchip,rk3368-i2c", "rockchip,rk3288-i2c"
> for i2c nodes on a rk3368 platform to i2c-rk3x.yaml.
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

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

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

* Re: [PATCH v1 4/5] dt-bindings: i2c: i2c-rk3x: add description for rk3308
  2020-03-05 14:36 ` [PATCH v1 4/5] dt-bindings: i2c: i2c-rk3x: add description for rk3308 Johan Jonker
@ 2020-03-12 15:52   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2020-03-12 15:52 UTC (permalink / raw)
  To: Johan Jonker
  Cc: heiko, robh+dt, linux-i2c, devicetree, linux-arm-kernel,
	linux-rockchip, linux-kernel

On Thu,  5 Mar 2020 15:36:10 +0100, Johan Jonker wrote:
> The description below is already in use for rk3308.dtsi,
> but was somehow never added to a document, so add
> "rockchip,rk3308-i2c", "rockchip,rk3399-i2c"
> for i2c nodes on a rk3308 platform to i2c-rk3x.yaml.
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 

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

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

* Re: [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml
  2020-03-12 15:50 ` [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Rob Herring
@ 2020-03-12 15:54   ` Rob Herring
  0 siblings, 0 replies; 10+ messages in thread
From: Rob Herring @ 2020-03-12 15:54 UTC (permalink / raw)
  To: Johan Jonker
  Cc: heiko, linux-i2c, devicetree, linux-arm-kernel, linux-rockchip,
	linux-kernel

On Thu, Mar 12, 2020 at 10:50:44AM -0500, Rob Herring wrote:
> On Thu,  5 Mar 2020 15:36:07 +0100, Johan Jonker wrote:
> > Current dts files with 'i2c' nodes are manually verified.
> > In order to automate this process i2c-rk3x.txt
> > has to be converted to yaml. In the new setup
> > i2c-rk3x.yaml will inherit properties from
> > i2c-controller.yaml.
> > 
> > Also change document name in MAINTAINERS.
> > 
> > Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> > ---
> >  Documentation/devicetree/bindings/i2c/i2c-rk3x.txt |  68 -----------
> >  .../devicetree/bindings/i2c/i2c-rk3x.yaml          | 129 +++++++++++++++++++++
> >  MAINTAINERS                                        |   2 +-
> >  3 files changed, 130 insertions(+), 69 deletions(-)
> >  delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
> >  create mode 100644 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
> > 
> 
> Reviewed-by: Rob Herring <robh@kernel.org>

As this series is all binding changes, I'll take it via the DT tree.

Rob

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

end of thread, other threads:[~2020-03-12 15:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 14:36 [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Johan Jonker
2020-03-05 14:36 ` [PATCH v1 2/5] dt-bindings: i2c: i2c-rk3x: add description for rk3036 Johan Jonker
2020-03-12 15:51   ` Rob Herring
2020-03-05 14:36 ` [PATCH v1 3/5] dt-bindings: i2c: i2c-rk3x: add description for rk3368 Johan Jonker
2020-03-12 15:51   ` Rob Herring
2020-03-05 14:36 ` [PATCH v1 4/5] dt-bindings: i2c: i2c-rk3x: add description for rk3308 Johan Jonker
2020-03-12 15:52   ` Rob Herring
2020-03-05 14:36 ` [PATCH v1 5/5] dt-bindings: i2c: i2c-rk3x: add description for px30 Johan Jonker
2020-03-12 15:50 ` [PATCH v1 1/5] dt-bindings: i2c: convert rockchip i2c bindings to yaml Rob Herring
2020-03-12 15:54   ` Rob Herring

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