linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] Add device tree for ArmSoM Sige 5 board
@ 2024-08-02 21:45 Detlev Casanova
  2024-08-02 21:45 ` [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5 Detlev Casanova
                   ` (10 more replies)
  0 siblings, 11 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add the rk3576-armsom-sige5 device tree as well as its rk3576.dtsi base
and pinctrl information in rk3576-pinctrl.dtsi.

The other commits add DT bindings documentation for the devices that
already work with the current corresponding drivers.

The other bindings and driver implementations are in other patch sets:
- PMIC: https://lore.kernel.org/lkml/20240802134736.283851-1-detlev.casanova@collabora.com/
- CRU: https://lore.kernel.org/lkml/20240802214053.433493-1-detlev.casanova@collabora.com/
- PINCTRL: https://lore.kernel.org/lkml/20240802145458.291890-1-detlev.casanova@collabora.com/
- PM DOMAIN: https://lore.kernel.org/lkml/20240802151647.294307-1-detlev.casanova@collabora.com/
- DW-MMC: https://lore.kernel.org/lkml/20240802153609.296197-1-detlev.casanova@collabora.com/
- GMAC: https://lore.kernel.org/lkml/20240802173918.301668-1-detlev.casanova@collabora.com/

Detlev Casanova (10):
  dt-bindings: arm: rockchip: Add ArmSoM Sige 5
  dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml
  dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
  dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
  dt-bindings: mfd: syscon: Add rk3576 QoS register compatible
  dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
  dt-bindings: soc: rockchip: Add rk3576 syscon compatibles
  dt-bindings: timer: rockchip: Add rk3576 compatible
  arm64: dts: rockchip: Add rk3576 SoC base DT
  arm64: dts: rockchip: Add rk3576-armsom-sige5 board

 .../devicetree/bindings/arm/rockchip.yaml     |    5 +
 .../devicetree/bindings/arm/rockchip/pmu.yaml |    2 +
 .../devicetree/bindings/i2c/i2c-rk3x.yaml     |    1 +
 .../bindings/iio/adc/rockchip-saradc.yaml     |    3 +
 .../devicetree/bindings/mfd/syscon.yaml       |    2 +
 .../bindings/serial/snps-dw-apb-uart.yaml     |    1 +
 .../devicetree/bindings/soc/rockchip/grf.yaml |   16 +
 .../bindings/timer/rockchip,rk-timer.yaml     |    1 +
 arch/arm64/boot/dts/rockchip/Makefile         |    1 +
 .../boot/dts/rockchip/rk3576-armsom-sige5.dts |  613 ++
 .../boot/dts/rockchip/rk3576-pinctrl.dtsi     | 5775 +++++++++++++++++
 arch/arm64/boot/dts/rockchip/rk3576.dtsi      | 1635 +++++
 12 files changed, 8055 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576.dtsi

-- 
2.46.0



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

* [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:46   ` Krzysztof Kozlowski
  2024-08-02 21:45 ` [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml Detlev Casanova
                   ` (9 subsequent siblings)
  10 siblings, 1 reply; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add devicetree binding for the ArmSoM Sige 5 board.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml
index 1ef09fbfdfaf5..c3449d9646591 100644
--- a/Documentation/devicetree/bindings/arm/rockchip.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip.yaml
@@ -49,6 +49,11 @@ properties:
               - anbernic,rg-arc-s
           - const: rockchip,rk3566
 
+      - description: ArmSoM Sige5 board
+        items:
+          - const: armsom,sige5
+          - const: rockchip,rk3576
+
       - description: ArmSoM Sige7 board
         items:
           - const: armsom,sige7
-- 
2.46.0



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

* [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
  2024-08-02 21:45 ` [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5 Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:47   ` Krzysztof Kozlowski
  2024-08-05 19:47   ` Rob Herring
  2024-08-02 21:45 ` [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible Detlev Casanova
                   ` (8 subsequent siblings)
  10 siblings, 2 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add the compatible for the pmu mfd on rk3576.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
index b79c81cd9f0e6..932f981265ccb 100644
--- a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
+++ b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
@@ -26,6 +26,7 @@ select:
           - rockchip,rk3368-pmu
           - rockchip,rk3399-pmu
           - rockchip,rk3568-pmu
+          - rockchip,rk3576-pmu
           - rockchip,rk3588-pmu
           - rockchip,rv1126-pmu
 
@@ -43,6 +44,7 @@ properties:
           - rockchip,rk3368-pmu
           - rockchip,rk3399-pmu
           - rockchip,rk3568-pmu
+          - rockchip,rk3576-pmu
           - rockchip,rk3588-pmu
           - rockchip,rv1126-pmu
       - const: syscon
-- 
2.46.0



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

* [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
  2024-08-02 21:45 ` [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5 Detlev Casanova
  2024-08-02 21:45 ` [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:47   ` Krzysztof Kozlowski
  2024-08-09 12:28   ` Heiko Stübner
  2024-08-02 21:45 ` [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
                   ` (7 subsequent siblings)
  10 siblings, 2 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Just like RK356x and RK3588, RK3576 is compatible to the existing
rk3399 binding.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.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 82b9d6682297b..a9dae5b52f286 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -38,6 +38,7 @@ properties:
               - rockchip,rk3308-i2c
               - rockchip,rk3328-i2c
               - rockchip,rk3568-i2c
+              - rockchip,rk3576-i2c
               - rockchip,rk3588-i2c
               - rockchip,rv1126-i2c
           - const: rockchip,rk3399-i2c
-- 
2.46.0



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

* [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (2 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:47   ` Krzysztof Kozlowski
  2024-08-09 12:28   ` Heiko Stübner
  2024-08-02 21:45 ` [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible Detlev Casanova
                   ` (6 subsequent siblings)
  10 siblings, 2 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add rockchip,rk3576-saradc compatible string.
The saradc on RK3576 is compatible with the one on RK3588, so they are
used together in an arm of the oneOf.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
index aa24b841393c0..fd93ed3991e05 100644
--- a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
@@ -16,6 +16,9 @@ properties:
       - const: rockchip,rk3066-tsadc
       - const: rockchip,rk3399-saradc
       - const: rockchip,rk3588-saradc
+      - items:
+          - const: rockchip,rk3576-saradc
+          - const: rockchip,rk3588-saradc
       - items:
           - enum:
               - rockchip,px30-saradc
-- 
2.46.0



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

* [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (3 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:48   ` Krzysztof Kozlowski
  2024-08-09 12:35   ` Heiko Stübner
  2024-08-02 21:45 ` [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576 Detlev Casanova
                   ` (5 subsequent siblings)
  10 siblings, 2 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Document rk3576 compatible for QoS registers.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 9dc594ea36545..ce5eed77b3c81 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -103,6 +103,7 @@ select:
           - rockchip,rk3368-qos
           - rockchip,rk3399-qos
           - rockchip,rk3568-qos
+          - rockchip,rk3576-qos
           - rockchip,rk3588-qos
           - rockchip,rv1126-qos
           - st,spear1340-misc
@@ -198,6 +199,7 @@ properties:
           - rockchip,rk3368-qos
           - rockchip,rk3399-qos
           - rockchip,rk3568-qos
+          - rockchip,rk3576-qos
           - rockchip,rk3588-qos
           - rockchip,rv1126-qos
           - st,spear1340-misc
-- 
2.46.0



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

* [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (4 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:48   ` Krzysztof Kozlowski
  2024-08-09 12:30   ` Heiko Stübner
  2024-08-02 21:45 ` [PATCH 07/10] dt-bindings: soc: rockchip: Add rk3576 syscon compatibles Detlev Casanova
                   ` (4 subsequent siblings)
  10 siblings, 2 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add a Rockchip RK3576 compatible.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
index 4cdb0dcaccf38..cfcfd7a6b78f2 100644
--- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml
@@ -49,6 +49,7 @@ properties:
               - rockchip,rk3368-uart
               - rockchip,rk3399-uart
               - rockchip,rk3568-uart
+              - rockchip,rk3576-uart
               - rockchip,rk3588-uart
               - rockchip,rv1108-uart
               - rockchip,rv1126-uart
-- 
2.46.0



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

* [PATCH 07/10] dt-bindings: soc: rockchip: Add rk3576 syscon compatibles
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (5 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576 Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:49   ` Krzysztof Kozlowski
  2024-08-02 21:45 ` [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible Detlev Casanova
                   ` (3 subsequent siblings)
  10 siblings, 1 reply; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add all syscon compatibles for RK3576.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 .../devicetree/bindings/soc/rockchip/grf.yaml    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
index 78c6d5b64138f..4570fa6e67d61 100644
--- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
+++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
@@ -20,6 +20,20 @@ properties:
               - rockchip,rk3568-pipe-grf
               - rockchip,rk3568-pipe-phy-grf
               - rockchip,rk3568-usb2phy-grf
+              - rockchip,rk3576-bigcore-grf
+              - rockchip,rk3576-cci-grf
+              - rockchip,rk3576-litcore-grf
+              - rockchip,rk3576-gpu-grf
+              - rockchip,rk3576-npu-grf
+              - rockchip,rk3576-pmu1-grf
+              - rockchip,rk3576-php-grf
+              - rockchip,rk3576-pipe-phy-grf
+              - rockchip,rk3576-sdgmac-grf
+              - rockchip,rk3576-sys-grf
+              - rockchip,rk3576-usb-grf
+              - rockchip,rk3576-usbdpphy-grf
+              - rockchip,rk3576-vo0-grf
+              - rockchip,rk3576-vop-grf
               - rockchip,rk3588-bigcore0-grf
               - rockchip,rk3588-bigcore1-grf
               - rockchip,rk3588-hdptxphy-grf
@@ -58,6 +72,8 @@ properties:
               - rockchip,rk3399-pmugrf
               - rockchip,rk3568-grf
               - rockchip,rk3568-pmugrf
+              - rockchip,rk3576-ioc-grf
+              - rockchip,rk3576-pmu0-grf
               - rockchip,rk3588-usb2phy-grf
               - rockchip,rv1108-grf
               - rockchip,rv1108-pmugrf
-- 
2.46.0



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

* [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (6 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 07/10] dt-bindings: soc: rockchip: Add rk3576 syscon compatibles Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:49   ` Krzysztof Kozlowski
                     ` (2 more replies)
  2024-08-02 21:45 ` [PATCH 10/10] arm64: dts: rockchip: Add rk3576-armsom-sige5 board Detlev Casanova
                   ` (2 subsequent siblings)
  10 siblings, 3 replies; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add compatible string for Rockchip RK3576 timer.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml
index 19e56b7577a08..6d0eb0014eee7 100644
--- a/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml
+++ b/Documentation/devicetree/bindings/timer/rockchip,rk-timer.yaml
@@ -24,6 +24,7 @@ properties:
               - rockchip,rk3228-timer
               - rockchip,rk3229-timer
               - rockchip,rk3368-timer
+              - rockchip,rk3576-timer
               - rockchip,rk3588-timer
               - rockchip,px30-timer
           - const: rockchip,rk3288-timer
-- 
2.46.0



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

* [PATCH 10/10] arm64: dts: rockchip: Add rk3576-armsom-sige5 board
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (7 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible Detlev Casanova
@ 2024-08-02 21:45 ` Detlev Casanova
  2024-08-04  9:51   ` Krzysztof Kozlowski
  2024-08-05 15:00 ` [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Rob Herring (Arm)
       [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
  10 siblings, 1 reply; 34+ messages in thread
From: Detlev Casanova @ 2024-08-02 21:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Add board file for the rk3576 based ArmSoM Sige5 board. While the hardware
offers plenty of peripherals and connectivity this basic implementation
just handles things required to successfully boot Linux from SD card and
connect via UART or Ethernet.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3576-armsom-sige5.dts | 613 ++++++++++++++++++
 2 files changed, 614 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts

diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
index fda1b980eb4bc..e49c7753b148c 100644
--- a/arch/arm64/boot/dts/rockchip/Makefile
+++ b/arch/arm64/boot/dts/rockchip/Makefile
@@ -103,6 +103,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-cm4.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-model-a.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb
diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
new file mode 100644
index 0000000000000..ee1fdd7612cb0
--- /dev/null
+++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
@@ -0,0 +1,613 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2024 Rockchip Electronics Co., Ltd.
+ *
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
+#include <dt-bindings/pinctrl/rockchip.h>
+#include <dt-bindings/pwm/pwm.h>
+#include <dt-bindings/usb/pd.h>
+#include "rk3576.dtsi"
+
+/ {
+	model = "ArmSoM Sige5";
+	compatible = "armsom,sige5", "rockchip,rk3576";
+
+	chosen {
+		stdout-path = "serial0:1500000n8";
+	};
+
+	leds: leds {
+		compatible = "gpio-leds";
+		work_led: work-led {
+			gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
+
+	vcc12v_dcin: vcc12v-dcin {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc12v_dcin";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <12000000>;
+		regulator-max-microvolt = <12000000>;
+	};
+
+	vcc_sys: vcc5v0-sys {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_sys";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		vin-supply = <&vcc12v_dcin>;
+	};
+
+	vcc5v0_device: vcc5v0-device {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc5v0_device";
+		regulator-always-on;
+		regulator-boot-on;
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		vin-supply = <&vcc12v_dcin>;
+	};
+
+	vcc_2v0_pldo_s3: vcc-2v0-pldo-s3 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_2v0_pldo_s3";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <2000000>;
+		regulator-max-microvolt = <2000000>;
+		vin-supply = <&vcc_sys>;
+	};
+
+	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_1v1_nldo_s3";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <1100000>;
+		regulator-max-microvolt = <1100000>;
+		vin-supply = <&vcc_sys>;
+	};
+
+	vcc3v3_rtc_s5: vcc3v3-rtc-s5 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3_rtc_s5";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_sys>;
+	};
+	vcc_1v8_s0: vcc-1v8-s0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_1v8_s0";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		vin-supply = <&vcc_1v8_s3>;
+	};
+
+	vcc_3v3_s0: vcc-3v3-s0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_3v3_s0";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_3v3_s3>;
+	};
+
+	vcc_ufs_s0: vcc-ufs-s0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc_ufs_s0";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_sys>;
+	};
+
+	vcc1v8_ufs_vccq2_s0: vcc1v8-ufs-vccq2-s0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc1v8_ufs_vccq2_s0";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		vin-supply = <&vcc_1v8_s3>;
+	};
+
+	vcc1v2_ufs_vccq_s0: vcc1v2-ufs-vccq-s0 {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc1v2_ufs_vccq_s0";
+		regulator-boot-on;
+		regulator-always-on;
+		regulator-min-microvolt = <1200000>;
+		regulator-max-microvolt = <1200000>;
+		vin-supply = <&vcc_sys>;
+	};
+
+	vcc3v3_pcie: gpio-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3_pcie";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		enable-active-high;
+		gpio = <&gpio3 RK_PD6 GPIO_ACTIVE_HIGH>;
+		startup-delay-us = <5000>;
+		vin-supply = <&vcc_sys>;
+	};
+};
+
+&cpu_l0 {
+	cpu-supply = <&vdd_cpu_lit_s0>;
+};
+
+&gmac0 {
+	phy-mode = "rgmii-rxid";
+	clock_in_out = "output";
+
+	snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>;
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 20000 100000>;
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&eth0m0_miim
+		     &eth0m0_tx_bus2
+		     &eth0m0_rx_bus2
+		     &eth0m0_rgmii_clk
+		     &eth0m0_rgmii_bus
+		     &ethm0_clk0_25m_out>;
+
+	tx_delay = <0x21>;
+
+	phy-handle = <&rgmii_phy0>;
+	status = "okay";
+};
+
+&gmac1 {
+	phy-mode = "rgmii-rxid";
+	clock_in_out = "output";
+
+	snps,reset-gpio = <&gpio3 RK_PA3 GPIO_ACTIVE_LOW>;
+	snps,reset-active-low;
+	snps,reset-delays-us = <0 20000 100000>;
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&eth1m0_miim
+		     &eth1m0_tx_bus2
+		     &eth1m0_rx_bus2
+		     &eth1m0_rgmii_clk
+		     &eth1m0_rgmii_bus
+		     &ethm0_clk1_25m_out>;
+
+	tx_delay = <0x20>;
+
+	phy-handle = <&rgmii_phy1>;
+	status = "okay";
+};
+
+&i2c1 {
+	status = "okay";
+
+	pmic@23 {
+		compatible = "rockchip,rk806";
+		reg = <0x23>;
+
+		interrupt-parent = <&gpio0>;
+		interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, <&rk806_dvs2_null>, <&rk806_dvs3_null>;
+
+		system-power-controller;
+
+		vcc1-supply = <&vcc_sys>;
+		vcc2-supply = <&vcc_sys>;
+		vcc3-supply = <&vcc_sys>;
+		vcc4-supply = <&vcc_sys>;
+		vcc5-supply = <&vcc_sys>;
+		vcc6-supply = <&vcc_sys>;
+		vcc7-supply = <&vcc_sys>;
+		vcc8-supply = <&vcc_sys>;
+		vcc9-supply = <&vcc_sys>;
+		vcc10-supply = <&vcc_sys>;
+		vcc11-supply = <&vcc_2v0_pldo_s3>;
+		vcc12-supply = <&vcc_sys>;
+		vcc13-supply = <&vcc_1v1_nldo_s3>;
+		vcc14-supply = <&vcc_1v1_nldo_s3>;
+		vcca-supply = <&vcc_sys>;
+
+		gpio-controller;
+		#gpio-cells = <2>;
+
+		rk806_dvs1_null: dvs1-null-pins {
+			pins = "gpio_pwrctrl1";
+			function = "pin_fun0";
+		};
+
+		rk806_dvs2_null: dvs2-null-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun0";
+		};
+
+		rk806_dvs3_null: dvs3-null-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun0";
+		};
+
+		rk806_dvs1_slp: dvs1-slp-pins {
+			pins = "gpio_pwrctrl1";
+			function = "pin_fun1";
+		};
+
+		rk806_dvs1_pwrdn: dvs1-pwrdn-pins {
+			pins = "gpio_pwrctrl1";
+			function = "pin_fun2";
+		};
+
+		rk806_dvs1_rst: dvs1-rst-pins {
+			pins = "gpio_pwrctrl1";
+			function = "pin_fun3";
+		};
+
+		rk806_dvs2_slp: dvs2-slp-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun1";
+		};
+
+		rk806_dvs2_pwrdn: dvs2-pwrdn-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun2";
+		};
+
+		rk806_dvs2_rst: dvs2-rst-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun3";
+		};
+
+		rk806_dvs2_dvs: dvs2-dvs-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun4";
+		};
+
+		rk806_dvs2_gpio: dvs2-gpio-pins {
+			pins = "gpio_pwrctrl2";
+			function = "pin_fun5";
+		};
+
+		rk806_dvs3_slp: dvs3-slp-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun1";
+		};
+
+		rk806_dvs3_pwrdn: dvs3-pwrdn-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun2";
+		};
+
+		rk806_dvs3_rst: dvs3-rst-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun3";
+		};
+
+		rk806_dvs3_dvs: dvs3-dvs-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun4";
+		};
+
+		rk806_dvs3_gpio: dvs3-gpio-pins {
+			pins = "gpio_pwrctrl3";
+			function = "pin_fun5";
+		};
+
+		regulators {
+			vdd_cpu_big_s0: dcdc-reg1 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <950000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_cpu_big_s0";
+				regulator-enable-ramp-delay = <400>;
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_npu_s0: dcdc-reg2 {
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <950000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_npu_s0";
+				regulator-enable-ramp-delay = <400>;
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_cpu_lit_s0: dcdc-reg3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <950000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_cpu_lit_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+					regulator-suspend-microvolt = <750000>;
+				};
+			};
+
+			vcc_3v3_s3: dcdc-reg4 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <3300000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-name = "vcc_3v3_s3";
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <3300000>;
+				};
+			};
+
+			vdd_gpu_s0: dcdc-reg5 {
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <900000>;
+				regulator-ramp-delay = <12500>;
+				regulator-name = "vdd_gpu_s0";
+				regulator-enable-ramp-delay = <400>;
+				regulator-state-mem {
+					regulator-off-in-suspend;
+					regulator-suspend-microvolt = <850000>;
+				};
+			};
+
+			vddq_ddr_s0: dcdc-reg6 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-name = "vddq_ddr_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdd_logic_s0: dcdc-reg7 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <800000>;
+				regulator-name = "vdd_logic_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcc_1v8_s3: dcdc-reg8 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "vcc_1v8_s3";
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <1800000>;
+				};
+			};
+
+			vdd2_ddr_s3: dcdc-reg9 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-name = "vdd2_ddr_s3";
+				regulator-state-mem {
+					regulator-on-in-suspend;
+				};
+			};
+
+			vdd_ddr_s0: dcdc-reg10 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <550000>;
+				regulator-max-microvolt = <1200000>;
+				regulator-name = "vdd_ddr_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcca_1v8_s0: pldo-reg1 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "vcca_1v8_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcca1v8_pldo2_s0: pldo-reg2 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "vcca1v8_pldo2_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdda_1v2_s0: pldo-reg3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1200000>;
+				regulator-max-microvolt = <1200000>;
+				regulator-name = "vdda_1v2_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcca_3v3_s0: pldo-reg4 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <3300000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-name = "vcca_3v3_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vccio_sd_s0: pldo-reg5 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <3300000>;
+				regulator-name = "vccio_sd_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vcca1v8_pldo6_s3: pldo-reg6 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+				regulator-name = "vcca1v8_pldo6_s3";
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <1800000>;
+				};
+			};
+
+			vdd_0v75_s3: nldo-reg1 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <750000>;
+				regulator-max-microvolt = <750000>;
+				regulator-name = "vdd_0v75_s3";
+				regulator-state-mem {
+					regulator-on-in-suspend;
+					regulator-suspend-microvolt = <750000>;
+				};
+			};
+
+			vdda_ddr_pll_s0: nldo-reg2 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <850000>;
+				regulator-max-microvolt = <850000>;
+				regulator-name = "vdda_ddr_pll_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdda0v75_hdmi_s0: nldo-reg3 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <837500>;
+				regulator-max-microvolt = <837500>;
+				regulator-name = "vdda0v75_hdmi_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdda_0v85_s0: nldo-reg4 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <850000>;
+				regulator-max-microvolt = <850000>;
+				regulator-name = "vdda_0v85_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+
+			vdda_0v75_s0: nldo-reg5 {
+				regulator-always-on;
+				regulator-boot-on;
+				regulator-min-microvolt = <750000>;
+				regulator-max-microvolt = <750000>;
+				regulator-name = "vdda_0v75_s0";
+				regulator-state-mem {
+					regulator-off-in-suspend;
+				};
+			};
+		};
+	};
+};
+
+&mdio0 {
+	rgmii_phy0: phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1>;
+		clocks = <&cru REFCLKO25M_GMAC0_OUT>;
+	};
+};
+
+&mdio1 {
+	rgmii_phy1: phy@1 {
+		compatible = "ethernet-phy-ieee802.3-c22";
+		reg = <0x1>;
+		clocks = <&cru REFCLKO25M_GMAC1_OUT>;
+	};
+};
+
+&pinctrl {
+	headphone {
+		hp_det: hp-det {
+			rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>;
+		};
+	};
+
+	hym8563 {
+		hym8563_int: hym8563-int {
+			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
+		};
+	};
+
+	leds {
+		led_rgb_r: led-red-en {
+			rockchip,pins = <4 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+		led_rgb_g: led-green-en {
+			rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
+};
+
+&sdmmc {
+	max-frequency = <200000000>;
+	no-sdio;
+	no-mmc;
+	bus-width = <4>;
+	cap-mmc-highspeed;
+	cap-sd-highspeed;
+	disable-wp;
+	non-removable;
+	sd-uhs-sdr104;
+        vmmc-supply = <&vcc_3v3_s3>;
+	vqmmc-supply = <&vccio_sd_s0>;
+	status = "okay";
+};
+
+&uart0 {
+	pinctrl-0 = <&uart0m0_xfer>;
+	status = "okay";
+};
-- 
2.46.0



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

* Re: [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5
  2024-08-02 21:45 ` [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5 Detlev Casanova
@ 2024-08-04  9:46   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:46 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add devicetree binding for the ArmSoM Sige 5 board.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml
  2024-08-02 21:45 ` [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml Detlev Casanova
@ 2024-08-04  9:47   ` Krzysztof Kozlowski
  2024-08-05 19:47   ` Rob Herring
  1 sibling, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:47 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add the compatible for the pmu mfd on rk3576.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
  2024-08-02 21:45 ` [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible Detlev Casanova
@ 2024-08-04  9:47   ` Krzysztof Kozlowski
  2024-08-09 12:28   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:47 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Just like RK356x and RK3588, RK3576 is compatible to the existing
> rk3399 binding.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
  2024-08-02 21:45 ` [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
@ 2024-08-04  9:47   ` Krzysztof Kozlowski
  2024-08-10  9:38     ` Jonathan Cameron
  2024-08-09 12:28   ` Heiko Stübner
  1 sibling, 1 reply; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:47 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add rockchip,rk3576-saradc compatible string.
> The saradc on RK3576 is compatible with the one on RK3588, so they are
> used together in an arm of the oneOf.
> 

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible
  2024-08-02 21:45 ` [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible Detlev Casanova
@ 2024-08-04  9:48   ` Krzysztof Kozlowski
  2024-08-09 12:35   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:48 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Document rk3576 compatible for QoS registers.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
  2024-08-02 21:45 ` [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576 Detlev Casanova
@ 2024-08-04  9:48   ` Krzysztof Kozlowski
  2024-08-09 12:30   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:48 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add a Rockchip RK3576 compatible.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 07/10] dt-bindings: soc: rockchip: Add rk3576 syscon compatibles
  2024-08-02 21:45 ` [PATCH 07/10] dt-bindings: soc: rockchip: Add rk3576 syscon compatibles Detlev Casanova
@ 2024-08-04  9:49   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:49 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add all syscon compatibles for RK3576.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  .../devicetree/bindings/soc/rockchip/grf.yaml    | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> index 78c6d5b64138f..4570fa6e67d61 100644
> --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> @@ -20,6 +20,20 @@ properties:
>                - rockchip,rk3568-pipe-grf
>                - rockchip,rk3568-pipe-phy-grf
>                - rockchip,rk3568-usb2phy-grf
> +              - rockchip,rk3576-bigcore-grf
> +              - rockchip,rk3576-cci-grf
> +              - rockchip,rk3576-litcore-grf
> +              - rockchip,rk3576-gpu-grf

List is most likely ordered alphabetically, so g goes before l.

> +              - rockchip,rk3576-npu-grf
> +              - rockchip,rk3576-pmu1-grf
> +              - rockchip,rk3576-php-grf
> +              - rockchip,rk3576-pipe-phy-grf

Here as well



Best regards,
Krzysztof



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

* Re: [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible
  2024-08-02 21:45 ` [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible Detlev Casanova
@ 2024-08-04  9:49   ` Krzysztof Kozlowski
  2024-08-09 12:31   ` Heiko Stübner
  2024-08-19  8:23   ` Daniel Lezcano
  2 siblings, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:49 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add compatible string for Rockchip RK3576 timer.
> 

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof



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

* Re: [PATCH 10/10] arm64: dts: rockchip: Add rk3576-armsom-sige5 board
  2024-08-02 21:45 ` [PATCH 10/10] arm64: dts: rockchip: Add rk3576-armsom-sige5 board Detlev Casanova
@ 2024-08-04  9:51   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 34+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-04  9:51 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add board file for the rk3576 based ArmSoM Sige5 board. While the hardware
> offers plenty of peripherals and connectivity this basic implementation
> just handles things required to successfully boot Linux from SD card and
> connect via UART or Ethernet.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  arch/arm64/boot/dts/rockchip/Makefile         |   1 +
>  .../boot/dts/rockchip/rk3576-armsom-sige5.dts | 613 ++++++++++++++++++
>  2 files changed, 614 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
> 
> diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile
> index fda1b980eb4bc..e49c7753b148c 100644
> --- a/arch/arm64/boot/dts/rockchip/Makefile
> +++ b/arch/arm64/boot/dts/rockchip/Makefile
> @@ -103,6 +103,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-cm4.dtb
>  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-soquartz-model-a.dtb
>  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb
>  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb
> +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3576-armsom-sige5.dtb
>  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb
>  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb
>  dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb
> diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
> new file mode 100644
> index 0000000000000..ee1fdd7612cb0
> --- /dev/null
> +++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
> @@ -0,0 +1,613 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2024 Rockchip Electronics Co., Ltd.
> + *
> + */
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/leds/common.h>
> +#include <dt-bindings/pinctrl/rockchip.h>
> +#include <dt-bindings/pwm/pwm.h>
> +#include <dt-bindings/usb/pd.h>
> +#include "rk3576.dtsi"
> +
> +/ {
> +	model = "ArmSoM Sige5";
> +	compatible = "armsom,sige5", "rockchip,rk3576";
> +
> +	chosen {
> +		stdout-path = "serial0:1500000n8";
> +	};
> +
> +	leds: leds {
> +		compatible = "gpio-leds";
> +		work_led: work-led {
> +			gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
> +			linux,default-trigger = "heartbeat";
> +		};
> +	};
> +
> +	vcc12v_dcin: vcc12v-dcin {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc12v_dcin";
> +		regulator-always-on;
> +		regulator-boot-on;
> +		regulator-min-microvolt = <12000000>;
> +		regulator-max-microvolt = <12000000>;
> +	};
> +
> +	vcc_sys: vcc5v0-sys {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc_sys";
> +		regulator-always-on;
> +		regulator-boot-on;
> +		regulator-min-microvolt = <5000000>;
> +		regulator-max-microvolt = <5000000>;
> +		vin-supply = <&vcc12v_dcin>;
> +	};
> +
> +	vcc5v0_device: vcc5v0-device {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc5v0_device";
> +		regulator-always-on;
> +		regulator-boot-on;
> +		regulator-min-microvolt = <5000000>;
> +		regulator-max-microvolt = <5000000>;
> +		vin-supply = <&vcc12v_dcin>;
> +	};
> +
> +	vcc_2v0_pldo_s3: vcc-2v0-pldo-s3 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc_2v0_pldo_s3";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <2000000>;
> +		regulator-max-microvolt = <2000000>;
> +		vin-supply = <&vcc_sys>;
> +	};
> +
> +	vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc_1v1_nldo_s3";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <1100000>;
> +		regulator-max-microvolt = <1100000>;
> +		vin-supply = <&vcc_sys>;
> +	};
> +
> +	vcc3v3_rtc_s5: vcc3v3-rtc-s5 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc3v3_rtc_s5";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		vin-supply = <&vcc_sys>;
> +	};
> +	vcc_1v8_s0: vcc-1v8-s0 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc_1v8_s0";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <1800000>;
> +		regulator-max-microvolt = <1800000>;
> +		vin-supply = <&vcc_1v8_s3>;
> +	};
> +
> +	vcc_3v3_s0: vcc-3v3-s0 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc_3v3_s0";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		vin-supply = <&vcc_3v3_s3>;
> +	};
> +
> +	vcc_ufs_s0: vcc-ufs-s0 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc_ufs_s0";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		vin-supply = <&vcc_sys>;
> +	};
> +
> +	vcc1v8_ufs_vccq2_s0: vcc1v8-ufs-vccq2-s0 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc1v8_ufs_vccq2_s0";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <1800000>;
> +		regulator-max-microvolt = <1800000>;
> +		vin-supply = <&vcc_1v8_s3>;
> +	};
> +
> +	vcc1v2_ufs_vccq_s0: vcc1v2-ufs-vccq-s0 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc1v2_ufs_vccq_s0";
> +		regulator-boot-on;
> +		regulator-always-on;
> +		regulator-min-microvolt = <1200000>;
> +		regulator-max-microvolt = <1200000>;
> +		vin-supply = <&vcc_sys>;
> +	};
> +
> +	vcc3v3_pcie: gpio-regulator {

Why all other regulators have names matching schematics, but this one
does not? Be consistent. I would recommend to use naming RECOMMENDED by
the bindings - 'regulator-[0-9]+v[0-9]+'

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?id=b6d4b3500d57370f5b3abf0701c9166b384db976



Best regards,
Krzysztof



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

* Re: [PATCH 00/10] Add device tree for ArmSoM Sige 5 board
  2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
                   ` (8 preceding siblings ...)
  2024-08-02 21:45 ` [PATCH 10/10] arm64: dts: rockchip: Add rk3576-armsom-sige5 board Detlev Casanova
@ 2024-08-05 15:00 ` Rob Herring (Arm)
       [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
  10 siblings, 0 replies; 34+ messages in thread
From: Rob Herring (Arm) @ 2024-08-05 15:00 UTC (permalink / raw)
  To: Detlev Casanova
  Cc: Elaine Zhang, Krzysztof Kozlowski, Ondrej Jirman, Chris Morgan,
	Lee Jones, Heiko Stuebner, linux-i2c, linux-arm-kernel,
	Conor Dooley, Jiri Slaby, Andi Shyti, Jagan Teki, linux-iio,
	Liang Chen, Thomas Gleixner, linux-serial, Finley Xiao,
	Daniel Lezcano, Jimmy Hon, devicetree, Muhammed Efe Cetin,
	Shresth Prasad, Weizhao Ouyang, Alexey Charkov, Tim Lunn,
	Sebastian Reichel, linux-rockchip, kernel, Lars-Peter Clausen,
	linux-kernel, Jonas Karlman, Dragan Simic, Yifeng Zhao,
	Jonathan Cameron, Andy Yan, Greg Kroah-Hartman


On Fri, 02 Aug 2024 17:45:27 -0400, Detlev Casanova wrote:
> Add the rk3576-armsom-sige5 device tree as well as its rk3576.dtsi base
> and pinctrl information in rk3576-pinctrl.dtsi.
> 
> The other commits add DT bindings documentation for the devices that
> already work with the current corresponding drivers.
> 
> The other bindings and driver implementations are in other patch sets:
> - PMIC: https://lore.kernel.org/lkml/20240802134736.283851-1-detlev.casanova@collabora.com/
> - CRU: https://lore.kernel.org/lkml/20240802214053.433493-1-detlev.casanova@collabora.com/
> - PINCTRL: https://lore.kernel.org/lkml/20240802145458.291890-1-detlev.casanova@collabora.com/
> - PM DOMAIN: https://lore.kernel.org/lkml/20240802151647.294307-1-detlev.casanova@collabora.com/
> - DW-MMC: https://lore.kernel.org/lkml/20240802153609.296197-1-detlev.casanova@collabora.com/
> - GMAC: https://lore.kernel.org/lkml/20240802173918.301668-1-detlev.casanova@collabora.com/
> 
> Detlev Casanova (10):
>   dt-bindings: arm: rockchip: Add ArmSoM Sige 5
>   dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml
>   dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
>   dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
>   dt-bindings: mfd: syscon: Add rk3576 QoS register compatible
>   dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
>   dt-bindings: soc: rockchip: Add rk3576 syscon compatibles
>   dt-bindings: timer: rockchip: Add rk3576 compatible
>   arm64: dts: rockchip: Add rk3576 SoC base DT
>   arm64: dts: rockchip: Add rk3576-armsom-sige5 board
> 
>  .../devicetree/bindings/arm/rockchip.yaml     |    5 +
>  .../devicetree/bindings/arm/rockchip/pmu.yaml |    2 +
>  .../devicetree/bindings/i2c/i2c-rk3x.yaml     |    1 +
>  .../bindings/iio/adc/rockchip-saradc.yaml     |    3 +
>  .../devicetree/bindings/mfd/syscon.yaml       |    2 +
>  .../bindings/serial/snps-dw-apb-uart.yaml     |    1 +
>  .../devicetree/bindings/soc/rockchip/grf.yaml |   16 +
>  .../bindings/timer/rockchip,rk-timer.yaml     |    1 +
>  arch/arm64/boot/dts/rockchip/Makefile         |    1 +
>  .../boot/dts/rockchip/rk3576-armsom-sige5.dts |  613 ++
>  .../boot/dts/rockchip/rk3576-pinctrl.dtsi     | 5775 +++++++++++++++++
>  arch/arm64/boot/dts/rockchip/rk3576.dtsi      | 1635 +++++
>  12 files changed, 8055 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts
>  create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-pinctrl.dtsi
>  create mode 100644 arch/arm64/boot/dts/rockchip/rk3576.dtsi
> 
> --
> 2.46.0
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y rockchip/rk3576-armsom-sige5.dtb' for 20240802214612.434179-1-detlev.casanova@collabora.com:

In file included from arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts:14:
arch/arm64/boot/dts/rockchip/rk3576.dtsi:6:10: fatal error: dt-bindings/clock/rockchip,rk3576-cru.h: No such file or directory
    6 | #include <dt-bindings/clock/rockchip,rk3576-cru.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.lib:434: arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb] Error 1
make[2]: *** [scripts/Makefile.build:485: arch/arm64/boot/dts/rockchip] Error 2
make[2]: Target 'arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1389: rockchip/rk3576-armsom-sige5.dtb] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Target 'rockchip/rk3576-armsom-sige5.dtb' not remade because of errors.







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

* Re: [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml
  2024-08-02 21:45 ` [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml Detlev Casanova
  2024-08-04  9:47   ` Krzysztof Kozlowski
@ 2024-08-05 19:47   ` Rob Herring
  1 sibling, 0 replies; 34+ messages in thread
From: Rob Herring @ 2024-08-05 19:47 UTC (permalink / raw)
  To: Detlev Casanova
  Cc: linux-kernel, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

On Fri, Aug 02, 2024 at 05:45:29PM -0400, Detlev Casanova wrote:
> Add the compatible for the pmu mfd on rk3576.

Typo in the subject. rk576?

> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  Documentation/devicetree/bindings/arm/rockchip/pmu.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
> index b79c81cd9f0e6..932f981265ccb 100644
> --- a/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
> +++ b/Documentation/devicetree/bindings/arm/rockchip/pmu.yaml
> @@ -26,6 +26,7 @@ select:
>            - rockchip,rk3368-pmu
>            - rockchip,rk3399-pmu
>            - rockchip,rk3568-pmu
> +          - rockchip,rk3576-pmu
>            - rockchip,rk3588-pmu
>            - rockchip,rv1126-pmu
>  
> @@ -43,6 +44,7 @@ properties:
>            - rockchip,rk3368-pmu
>            - rockchip,rk3399-pmu
>            - rockchip,rk3568-pmu
> +          - rockchip,rk3576-pmu
>            - rockchip,rk3588-pmu
>            - rockchip,rv1126-pmu
>        - const: syscon
> -- 
> 2.46.0
> 


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

* Re: [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible
  2024-08-02 21:45 ` [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible Detlev Casanova
  2024-08-04  9:47   ` Krzysztof Kozlowski
@ 2024-08-09 12:28   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Heiko Stübner @ 2024-08-09 12:28 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Am Freitag, 2. August 2024, 23:45:30 CEST schrieb Detlev Casanova:
> Just like RK356x and RK3588, RK3576 is compatible to the existing
> rk3399 binding.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Heiko Stuebner <heiko@sntech.de>




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

* Re: [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
  2024-08-02 21:45 ` [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
  2024-08-04  9:47   ` Krzysztof Kozlowski
@ 2024-08-09 12:28   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Heiko Stübner @ 2024-08-09 12:28 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Am Freitag, 2. August 2024, 23:45:31 CEST schrieb Detlev Casanova:
> Add rockchip,rk3576-saradc compatible string.
> The saradc on RK3576 is compatible with the one on RK3588, so they are
> used together in an arm of the oneOf.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Heiko Stuebner <heiko@sntech.de>




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

* Re: [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576
  2024-08-02 21:45 ` [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576 Detlev Casanova
  2024-08-04  9:48   ` Krzysztof Kozlowski
@ 2024-08-09 12:30   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Heiko Stübner @ 2024-08-09 12:30 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Am Freitag, 2. August 2024, 23:45:33 CEST schrieb Detlev Casanova:
> Add a Rockchip RK3576 compatible.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Heiko Stuebner <heiko@sntech.de>




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

* Re: [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible
  2024-08-02 21:45 ` [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible Detlev Casanova
  2024-08-04  9:49   ` Krzysztof Kozlowski
@ 2024-08-09 12:31   ` Heiko Stübner
  2024-08-19  8:23   ` Daniel Lezcano
  2 siblings, 0 replies; 34+ messages in thread
From: Heiko Stübner @ 2024-08-09 12:31 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Am Freitag, 2. August 2024, 23:45:35 CEST schrieb Detlev Casanova:
> Add compatible string for Rockchip RK3576 timer.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Heiko Stuebner <heiko@sntech.de>




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

* Re: [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible
  2024-08-02 21:45 ` [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible Detlev Casanova
  2024-08-04  9:48   ` Krzysztof Kozlowski
@ 2024-08-09 12:35   ` Heiko Stübner
  1 sibling, 0 replies; 34+ messages in thread
From: Heiko Stübner @ 2024-08-09 12:35 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Am Freitag, 2. August 2024, 23:45:32 CEST schrieb Detlev Casanova:
> Document rk3576 compatible for QoS registers.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Acked-by: Heiko Stuebner <heiko@sntech.de>




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

* Re: [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string
  2024-08-04  9:47   ` Krzysztof Kozlowski
@ 2024-08-10  9:38     ` Jonathan Cameron
  0 siblings, 0 replies; 34+ messages in thread
From: Jonathan Cameron @ 2024-08-10  9:38 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Detlev Casanova, linux-kernel, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Heiko Stuebner, Andi Shyti, Lars-Peter Clausen,
	Lee Jones, Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano,
	Thomas Gleixner, Chris Morgan, Jonas Karlman, Tim Lunn,
	Muhammed Efe Cetin, Andy Yan, Jagan Teki, Dragan Simic,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

On Sun, 4 Aug 2024 11:47:44 +0200
Krzysztof Kozlowski <krzk@kernel.org> wrote:

> On 02/08/2024 23:45, Detlev Casanova wrote:
> > Add rockchip,rk3576-saradc compatible string.
> > The saradc on RK3576 is compatible with the one on RK3588, so they are
> > used together in an arm of the oneOf.
> >   
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> Best regards,
> Krzysztof
> 
> 

Applied to the togreg branch of iio.git and pushed out as testing initially
because otherstuff on that branch needs some build test before I make
a mess of linux-next.

Thanks,

Jonathan


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

* Re: [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT
       [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
@ 2024-08-12 15:09   ` Rob Herring (Arm)
  2024-08-14 15:31   ` Heiko Stübner
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 34+ messages in thread
From: Rob Herring (Arm) @ 2024-08-12 15:09 UTC (permalink / raw)
  To: Detlev Casanova
  Cc: Thomas Gleixner, Alexey Charkov, linux-iio, Sebastian Reichel,
	linux-serial, Conor Dooley, Daniel Lezcano, linux-i2c,
	Krzysztof Kozlowski, Jonas Karlman, Dragan Simic, Jagan Teki,
	Yifeng Zhao, Tim Lunn, Elaine Zhang, Andi Shyti,
	Greg Kroah-Hartman, Heiko Stuebner, Jonathan Cameron,
	Muhammed Efe Cetin, devicetree, Finley Xiao, Lars-Peter Clausen,
	Shresth Prasad, linux-kernel, Ondrej Jirman, Liang Chen,
	Weizhao Ouyang, Jiri Slaby, Jimmy Hon, linux-arm-kernel, kernel,
	linux-rockchip, Chris Morgan, Andy Yan, Lee Jones


On Fri, 02 Aug 2024 17:45:36 -0400, Detlev Casanova wrote:
> This device tree contains all devices necessary for booting from network
> or SD Card.
> 
> It supports CPU, CRU, PM domains, dma, interrupts, timers, UART and
> SDHCI (everything necessary to boot Linux on this system on chip) as
> well as Ethernet, I2C, SPI and OTP.
> 
> Also add the necessary DT bindings for the SoC.
> 
> Signed-off-by: Liang Chen <cl@rock-chips.com>
> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> [rebase, squash and reword commit message]
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---
>  .../boot/dts/rockchip/rk3576-pinctrl.dtsi     | 5775 +++++++++++++++++
>  arch/arm64/boot/dts/rockchip/rk3576.dtsi      | 1635 +++++
>  2 files changed, 7410 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-pinctrl.dtsi
>  create mode 100644 arch/arm64/boot/dts/rockchip/rk3576.dtsi
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


New warnings running 'make CHECK_DTBS=y rockchip/rk3576-armsom-sige5.dtb' for 20240802214612.434179-10-detlev.casanova@collabora.com:

In file included from arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts:14:
arch/arm64/boot/dts/rockchip/rk3576.dtsi:6:10: fatal error: dt-bindings/clock/rockchip,rk3576-cru.h: No such file or directory
    6 | #include <dt-bindings/clock/rockchip,rk3576-cru.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.lib:434: arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb] Error 1
make[2]: *** [scripts/Makefile.build:485: arch/arm64/boot/dts/rockchip] Error 2
make[2]: Target 'arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1389: rockchip/rk3576-armsom-sige5.dtb] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Target 'rockchip/rk3576-armsom-sige5.dtb' not remade because of errors.







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

* Re: [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT
       [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
  2024-08-12 15:09   ` [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT Rob Herring (Arm)
@ 2024-08-14 15:31   ` Heiko Stübner
       [not found]     ` <23696360.6Emhk5qWAg@trenzalore>
  2024-08-15  9:30   ` Johan Jonker
  2024-08-17  3:11   ` Dragan Simic
  3 siblings, 1 reply; 34+ messages in thread
From: Heiko Stübner @ 2024-08-14 15:31 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Detlev Casanova,
	Sebastian Reichel, Shresth Prasad, Ondrej Jirman, Weizhao Ouyang,
	Alexey Charkov, Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang,
	Liang Chen, devicetree, linux-arm-kernel, linux-rockchip,
	linux-i2c, linux-iio, linux-serial, kernel

Hi Detlev,

Am Freitag, 2. August 2024, 23:45:36 CEST schrieb Detlev Casanova:
> This device tree contains all devices necessary for booting from network
> or SD Card.
> 
> It supports CPU, CRU, PM domains, dma, interrupts, timers, UART and
> SDHCI (everything necessary to boot Linux on this system on chip) as
> well as Ethernet, I2C, SPI and OTP.
> 
> Also add the necessary DT bindings for the SoC.
> 
> Signed-off-by: Liang Chen <cl@rock-chips.com>
> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> [rebase, squash and reword commit message]
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

looks like (since 2019) there is a strong suggestion for having a soc node.

See Krzysztof's mail in
    https://lore.kernel.org/all/6320e4f3-e737-4787-8a72-7bd314ba883c@kernel.org/
that references
    Documentation/devicetree/bindings/writing-bindings.rst [0]

So I guess we should probably follow that - at least for new socs for now.


Heiko

[0] https://elixir.bootlin.com/linux/v6.11-rc1/source/Documentation/devicetree/bindings/writing-bindings.rst#L90




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

* Re: [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT
       [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
  2024-08-12 15:09   ` [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT Rob Herring (Arm)
  2024-08-14 15:31   ` Heiko Stübner
@ 2024-08-15  9:30   ` Johan Jonker
       [not found]     ` <1944590.atdPhlSkOF@trenzalore>
  2024-08-17  3:11   ` Dragan Simic
  3 siblings, 1 reply; 34+ messages in thread
From: Johan Jonker @ 2024-08-15  9:30 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

Some comments below. Whenever useful.

On 8/2/24 23:45, Detlev Casanova wrote:
> This device tree contains all devices necessary for booting from network
> or SD Card.
> 
> It supports CPU, CRU, PM domains, dma, interrupts, timers, UART and
> SDHCI (everything necessary to boot Linux on this system on chip) as
> well as Ethernet, I2C, SPI and OTP.
> 
> Also add the necessary DT bindings for the SoC.
> 
> Signed-off-by: Liang Chen <cl@rock-chips.com>
> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> [rebase, squash and reword commit message]
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---

[..]

> diff --git a/arch/arm64/boot/dts/rockchip/rk3576.dtsi b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> new file mode 100644
> index 0000000000000..00c4d2a153ced
> --- /dev/null
> +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> @@ -0,0 +1,1635 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
> + */
> +

> +#include <dt-bindings/clock/rockchip,rk3576-cru.h>
> +#include <dt-bindings/reset/rockchip,rk3576-cru.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/phy/phy.h>
> +#include <dt-bindings/power/rk3576-power.h>
> +#include <dt-bindings/pinctrl/rockchip.h>
> +#include <dt-bindings/soc/rockchip,boot-mode.h>

Sort includes.

> +
> +/ {
> +	compatible = "rockchip,rk3576";
> +
> +	interrupt-parent = <&gic>;
> +	#address-cells = <2>;
> +	#size-cells = <2>;
> +
> +	aliases {
> +		ethernet0 = &gmac0;
> +		ethernet1 = &gmac1;
> +		gpio0 = &gpio0;
> +		gpio1 = &gpio1;
> +		gpio2 = &gpio2;
> +		gpio3 = &gpio3;
> +		gpio4 = &gpio4;
> +		i2c0 = &i2c0;
> +		i2c1 = &i2c1;
> +		i2c2 = &i2c2;
> +		i2c3 = &i2c3;
> +		i2c4 = &i2c4;
> +		i2c5 = &i2c5;
> +		i2c6 = &i2c6;
> +		i2c7 = &i2c7;
> +		i2c8 = &i2c8;
> +		i2c9 = &i2c9;
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +		serial2 = &uart2;
> +		serial3 = &uart3;
> +		serial4 = &uart4;
> +		serial5 = &uart5;
> +		serial6 = &uart6;
> +		serial7 = &uart7;
> +		serial8 = &uart8;
> +		serial9 = &uart9;
> +		serial10 = &uart10;
> +		serial11 = &uart11;
> +		spi0 = &spi0;
> +		spi1 = &spi1;
> +		spi2 = &spi2;
> +		spi3 = &spi3;
> +		spi4 = &spi4;
> +	};
> +

[..]

For uart0..uart11:

> +
> +	uart1: serial@27310000 {
> +		compatible = "rockchip,rk3576-uart", "snps,dw-apb-uart";
> +		reg = <0x0 0x27310000 0x0 0x100>;

> +		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;

"interrupts" are sort just like other properties. A mix of sort styles exists, so check all nodes.

> +		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
> +		clock-names = "baudclk", "apb_pclk";

> +		reg-shift = <2>;
> +		reg-io-width = <4>;

Move below "reg". 

> +		dmas = <&dmac0 8>, <&dmac0 9>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&uart1m0_xfer>;
> +		status = "disabled";
> +	};
> +
> +	pmu: power-management@27380000 {
> +		compatible = "rockchip,rk3576-pmu", "syscon", "simple-mfd";
> +		reg = <0x0 0x27380000 0x0 0x800>;
> +
> +		power: power-controller {
> +			compatible = "rockchip,rk3576-power-controller";
> +			#power-domain-cells = <1>;
> +			#address-cells = <1>;
> +			#size-cells = <0>;

> +			status = "okay";

Remove.

> +
> +			power-domain@RK3576_PD_NPU {
> +				reg = <RK3576_PD_NPU>;

> +				#power-domain-cells = <0>;

				#power-domain-cells = <1>;

      "#power-domain-cells":
        enum: [0, 1]
        description:
          Must be 0 for nodes representing a single PM domain and 1 for nodes
          providing multiple PM domains.

> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +
> +				power-domain@RK3576_PD_NPUTOP {
> +					reg = <RK3576_PD_NPUTOP>;

> +					#power-domain-cells = <0>;


					#power-domain-cells = <1>;
      "#power-domain-cells":
        enum: [0, 1]
        description:
          Must be 0 for nodes representing a single PM domain and 1 for nodes
          providing multiple PM domains.

> +					#address-cells = <1>;
> +					#size-cells = <0>;
> +					clocks = <&cru ACLK_RKNN0>,
> +						 <&cru ACLK_RKNN1>,
> +						 <&cru ACLK_RKNN_CBUF>,
> +						 <&cru CLK_RKNN_DSU0>,
> +						 <&cru HCLK_RKNN_CBUF>,
> +						 <&cru HCLK_RKNN_ROOT>,
> +						 <&cru HCLK_NPU_CM0_ROOT>,
> +						 <&cru PCLK_NPUTOP_ROOT>;
> +					pm_qos = <&qos_npu_mcu>,
> +						 <&qos_npu_nsp0>,
> +						 <&qos_npu_nsp1>,
> +						 <&qos_npu_m0ro>,
> +						 <&qos_npu_m1ro>;
> +
> +					power-domain@RK3576_PD_NPU0 {
> +						reg = <RK3576_PD_NPU0>;
> +						#power-domain-cells = <0>;
> +						clocks = <&cru HCLK_RKNN_ROOT>,
> +							 <&cru ACLK_RKNN0>;
> +						pm_qos = <&qos_npu_m0>;
> +					};
> +					power-domain@RK3576_PD_NPU1 {
> +						reg = <RK3576_PD_NPU1>;
> +						#power-domain-cells = <0>;
> +						clocks = <&cru HCLK_RKNN_ROOT>,
> +							 <&cru ACLK_RKNN1>;
> +						pm_qos = <&qos_npu_m1>;
> +					};
> +				};
> +			};
> +
> +			power-domain@RK3576_PD_GPU {
> +				reg = <RK3576_PD_GPU>;
> +				#power-domain-cells = <0>;
> +				clocks = <&cru CLK_GPU>;
> +				pm_qos = <&qos_gpu>;
> +			};
> +
> +			power-domain@RK3576_PD_NVM {
> +				reg = <RK3576_PD_NVM>;

> +				#power-domain-cells = <0>;

				#power-domain-cells = <1>;
      "#power-domain-cells":
        enum: [0, 1]
        description:
          Must be 0 for nodes representing a single PM domain and 1 for nodes
          providing multiple PM domains.

> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				clocks = <&cru ACLK_EMMC>, <&cru HCLK_EMMC>;
> +				pm_qos = <&qos_emmc>,
> +					 <&qos_fspi0>;
> +
> +				power-domain@RK3576_PD_SDGMAC {
> +					reg = <RK3576_PD_SDGMAC>;

> +				#power-domain-cells = <0>;

TAB ??

> +					clocks = <&cru ACLK_HSGPIO>,
> +						 <&cru ACLK_GMAC0>,
> +						 <&cru ACLK_GMAC1>,
> +						 <&cru CCLK_SRC_SDIO>,
> +						 <&cru CCLK_SRC_SDMMC0>,
> +						 <&cru HCLK_HSGPIO>,
> +						 <&cru HCLK_SDIO>,
> +						 <&cru HCLK_SDMMC0>;
> +					pm_qos = <&qos_fspi1>,
> +						 <&qos_gmac0>,
> +						 <&qos_gmac1>,
> +						 <&qos_sdio>,
> +						 <&qos_sdmmc>,
> +						 <&qos_flexbus>;
> +				};
> +			};
> +			power-domain@RK3576_PD_PHP {
> +				reg = <RK3576_PD_PHP>;

> +				#power-domain-cells = <0>;

				#power-domain-cells = <1>;
      "#power-domain-cells":
        enum: [0, 1]
        description:
          Must be 0 for nodes representing a single PM domain and 1 for nodes
          providing multiple PM domains.

> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				clocks = <&cru ACLK_PHP_ROOT>,
> +					 <&cru PCLK_PHP_ROOT>,
> +					 <&cru ACLK_MMU0>,
> +					 <&cru ACLK_MMU1>;
> +				pm_qos = <&qos_mmu0>,
> +					 <&qos_mmu1>;
> +
> +				power-domain@RK3576_PD_SUBPHP {
> +					reg = <RK3576_PD_SUBPHP>;

> +				#power-domain-cells = <0>;

TAB??

> +				};
> +			};
> +			power-domain@RK3576_PD_AUDIO {
> +				reg = <RK3576_PD_AUDIO>;
> +				#power-domain-cells = <0>;
> +			};
> +			power-domain@RK3576_PD_VEPU1 {

> +				clocks = <&cru ACLK_VEPU1>,
> +					 <&cru HCLK_VEPU1>;
> +				reg = <RK3576_PD_VEPU1>;

sort

> +				#power-domain-cells = <0>;
> +				pm_qos = <&qos_vepu1>;
> +			};
> +			power-domain@RK3576_PD_VPU {
> +				reg = <RK3576_PD_VPU>;
> +				#power-domain-cells = <0>;
> +				clocks = <&cru ACLK_EBC>,
> +					 <&cru HCLK_EBC>,
> +					 <&cru ACLK_RGA2E_0>,
> +					 <&cru HCLK_RGA2E_0>,
> +					 <&cru ACLK_RGA2E_1>,
> +					 <&cru HCLK_RGA2E_1>,
> +					 <&cru ACLK_JPEG>,
> +					 <&cru HCLK_JPEG>,
> +					 <&cru ACLK_VDPP>,
> +					 <&cru HCLK_VDPP>;
> +				pm_qos = <&qos_ebc>,
> +					 <&qos_rga0>,
> +					 <&qos_rga1>,
> +					 <&qos_jpeg>,
> +					 <&qos_vdpp>;
> +			};
> +			power-domain@RK3576_PD_VDEC {
> +				reg = <RK3576_PD_VDEC>;
> +				#power-domain-cells = <0>;
> +				clocks = <&cru ACLK_RKVDEC_ROOT>,
> +					 <&cru HCLK_RKVDEC>;
> +				pm_qos = <&qos_rkvdec>;
> +			};
> +			power-domain@RK3576_PD_VI {
> +				reg = <RK3576_PD_VI>;

> +				#power-domain-cells = <0>;

				#power-domain-cells = <1>;
      "#power-domain-cells":
        enum: [0, 1]
        description:
          Must be 0 for nodes representing a single PM domain and 1 for nodes

> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				clocks = <&cru ACLK_VICAP>,
> +					 <&cru HCLK_VICAP>,
> +					 <&cru DCLK_VICAP>,
> +					 <&cru ACLK_VI_ROOT>,
> +					 <&cru HCLK_VI_ROOT>,
> +					 <&cru PCLK_VI_ROOT>,
> +					 <&cru CLK_ISP_CORE>,
> +					 <&cru ACLK_ISP>,
> +					 <&cru HCLK_ISP>,
> +					 <&cru CLK_CORE_VPSS>,
> +					 <&cru ACLK_VPSS>,
> +					 <&cru HCLK_VPSS>;
> +				pm_qos = <&qos_isp_mro>,
> +					 <&qos_isp_mwo>,
> +					 <&qos_vicap_m0>,
> +					 <&qos_vpss_mro>,
> +					 <&qos_vpss_mwo>;
> +
> +				power-domain@RK3576_PD_VEPU0 {
> +					reg = <RK3576_PD_VEPU0>;
> +					#power-domain-cells = <0>;
> +					clocks = <&cru ACLK_VEPU0>,
> +						 <&cru HCLK_VEPU0>;
> +					pm_qos = <&qos_vepu0>;
> +				};
> +			};
> +			power-domain@RK3576_PD_VOP {
> +				reg = <RK3576_PD_VOP>;

> +				#power-domain-cells = <0>;

				#power-domain-cells = <1>;
      "#power-domain-cells":
        enum: [0, 1]
        description:
          Must be 0 for nodes representing a single PM domain and 1 for nodes
          providing multiple PM domains.

> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				clocks = <&cru ACLK_VOP>,
> +					 <&cru HCLK_VOP>,
> +					 <&cru HCLK_VOP_ROOT>;
> +				pm_qos = <&qos_vop_m0>,
> +					 <&qos_vop_m1ro>;
> +
> +				power-domain@RK3576_PD_USB {

Since when is USB part of VOP?
Recheck?

> +					reg = <RK3576_PD_USB>;
> +					#power-domain-cells = <0>;
> +					clocks = <&cru PCLK_PHP_ROOT>,
> +						 <&cru ACLK_USB_ROOT>,
> +						 <&cru ACLK_MMU2>,
> +						 <&cru ACLK_SLV_MMU2>,
> +						 <&cru ACLK_UFS_SYS>;
> +					pm_qos = <&qos_mmu2>,
> +						 <&qos_ufshc>;
> +				};
> +				power-domain@RK3576_PD_VO0 {
> +					reg = <RK3576_PD_VO0>;
> +					#power-domain-cells = <0>;
> +					clocks = <&cru ACLK_HDCP0>,
> +						 <&cru HCLK_HDCP0>,
> +						 <&cru ACLK_VO0_ROOT>,
> +						 <&cru PCLK_VO0_ROOT>,
> +						 <&cru HCLK_VOP_ROOT>;
> +					pm_qos = <&qos_hdcp0>;
> +				};
> +				power-domain@RK3576_PD_VO1 {
> +					reg = <RK3576_PD_VO1>;
> +					#power-domain-cells = <0>;
> +					clocks = <&cru ACLK_HDCP1>,
> +						 <&cru HCLK_HDCP1>,
> +						 <&cru ACLK_VO1_ROOT>,
> +						 <&cru PCLK_VO1_ROOT>,
> +						 <&cru HCLK_VOP_ROOT>;
> +					pm_qos = <&qos_hdcp1>;
> +				};
> +			};
> +		};
> +	};
> +

[..]

> +

> +	rktimer: timer@2acc0000 {

timer0: .....

> +		compatible = "rockchip,rk3576-timer", "rockchip,rk3288-timer";
> +		reg = <0x0 0x2acc0000 0x0 0x20>;

> +		interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;

sort

> +		clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_TIMER0>;
> +		clock-names = "pclk", "timer";
> +	};
> +
> +	wdt: watchdog@2ace0000 {

> +		compatible = "snps,dw-wdt";

Must be SoC related.
Add something to snps,dw-wdt.yaml

> +		reg = <0x0 0x2ace0000 0x0 0x100>;
> +		clocks = <&cru TCLK_WDT0>, <&cru PCLK_WDT0>;
> +		clock-names = "tclk", "pclk";
> +		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
> +		status = "disabled";
> +	};
> +

For spi0..spi4:


> +	spi0: spi@2acf0000 {

> +		compatible = "rockchip,rk3066-spi";

Must be SoC related.
Add something to spi-rockchip.yaml

> +		reg = <0x0 0x2acf0000 0x0 0x1000>;

> +		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;

sort

> +		#address-cells = <1>;
> +		#size-cells = <0>;

Move things that start with # down the list as posible.

> +		clocks = <&cru CLK_SPI0>, <&cru PCLK_SPI0>;
> +		clock-names = "spiclk", "apb_pclk";
> +		dmas = <&dmac0 14>, <&dmac0 15>;
> +		dma-names = "tx", "rx";
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&spi0m0_csn0 &spi0m0_csn1 &spi0m0_pins>;
> +		num-cs = <2>;
> +		status = "disabled";
> +	};
> +
> +	spi1: spi@2ad00000 {

> +	spi2: spi@2ad10000 {

> +	spi3: spi@2ad20000 {

> +	spi4: spi@2ad30000 {

> +	uart0: serial@2ad40000 {

> +	uart2: serial@2ad50000 {

> +	uart3: serial@2ad60000 {

> +	uart4: serial@2ad70000 {

> +	uart5: serial@2ad80000 {

> +	uart6: serial@2ad90000 {

> +	uart7: serial@2ada0000 {

> +	uart8: serial@2adb0000 {

> +	uart9: serial@2adc0000 {

> +	saradc: adc@2ae00000 {
> +		compatible = "rockchip,rk3576-saradc", "rockchip,rk3588-saradc";
> +		reg = <0x0 0x2ae00000 0x0 0x10000>;

> +		interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;

sort

> +		#io-channel-cells = <1>;

Things that start with "#" are used to interpreted the DT, so down the list as possible.

> +		clocks = <&cru CLK_SARADC>, <&cru PCLK_SARADC>;
> +		clock-names = "saradc", "apb_pclk";
> +		resets = <&cru SRST_P_SARADC>;
> +		reset-names = "saradc-apb";
> +		status = "disabled";
> +	};
> +

[..]

> +
> +	uart10: serial@2afc0000 {
> +
> +	uart11: serial@2afd0000 {
> +

[..]

> +
> +	pinctrl: pinctrl {
> +		compatible = "rockchip,rk3576-pinctrl";
> +		rockchip,grf = <&ioc_grf>;
> +		rockchip,sys-grf = <&sys_grf>;
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +

> +		gpio0: gpio@27320000 {

The use of gpio nodes as subnode of pinctrl is deprecated.

patternProperties:
  "gpio@[0-9a-f]+$":
    type: object

    $ref: /schemas/gpio/rockchip,gpio-bank.yaml#
    deprecated: true

    unevaluatedProperties: false

> +			compatible = "rockchip,gpio-bank";

When in use as separate node the compatible must be SoC related.

Question for the maintainers: Extra entry to rockchip,gpio-bank.yaml ??

> +			reg = <0x0 0x27320000 0x0 0x200>;
> +			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&cru PCLK_GPIO0>, <&cru DBCLK_GPIO0>;
> +
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			gpio-ranges = <&pinctrl 0 0 32>;
> +			interrupt-controller;
> +			#interrupt-cells = <2>;
> +		};
> +
> +		gpio1: gpio@2ae10000 {
> +
> +		gpio2: gpio@2ae20000 {
> +
> +		gpio3: gpio@2ae30000 {
> +
> +		gpio4: gpio@2ae40000 {
> +	};
> +};
> +
> +#include "rk3576-pinctrl.dtsi"


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

* Re: [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT
       [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
                     ` (2 preceding siblings ...)
  2024-08-15  9:30   ` Johan Jonker
@ 2024-08-17  3:11   ` Dragan Simic
  3 siblings, 0 replies; 34+ messages in thread
From: Dragan Simic @ 2024-08-17  3:11 UTC (permalink / raw)
  To: Detlev Casanova
  Cc: linux-kernel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Andi Shyti, Jonathan Cameron, Lars-Peter Clausen,
	Lee Jones, Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano,
	Thomas Gleixner, Chris Morgan, Jonas Karlman, Tim Lunn,
	Muhammed Efe Cetin, Andy Yan, Jagan Teki, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

Hello Detlev,

Please see a few comments below.

On 2024-08-02 23:45, Detlev Casanova wrote:
> This device tree contains all devices necessary for booting from 
> network
> or SD Card.
> 
> It supports CPU, CRU, PM domains, dma, interrupts, timers, UART and
> SDHCI (everything necessary to boot Linux on this system on chip) as
> well as Ethernet, I2C, SPI and OTP.
> 
> Also add the necessary DT bindings for the SoC.
> 
> Signed-off-by: Liang Chen <cl@rock-chips.com>
> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> [rebase, squash and reword commit message]
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> ---

[snip]

> diff --git a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> new file mode 100644
> index 0000000000000..00c4d2a153ced
> --- /dev/null
> +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
> @@ -0,0 +1,1635 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2023 Rockchip Electronics Co., Ltd.
> + */
> +
> +#include <dt-bindings/clock/rockchip,rk3576-cru.h>
> +#include <dt-bindings/reset/rockchip,rk3576-cru.h>
> +#include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/phy/phy.h>
> +#include <dt-bindings/power/rk3576-power.h>
> +#include <dt-bindings/pinctrl/rockchip.h>
> +#include <dt-bindings/soc/rockchip,boot-mode.h>
> +
> +/ {
> +	compatible = "rockchip,rk3576";
> +
> +	interrupt-parent = <&gic>;
> +	#address-cells = <2>;
> +	#size-cells = <2>;
> +
> +	aliases {
> +		ethernet0 = &gmac0;
> +		ethernet1 = &gmac1;

Please remove ethernetX aliases from the SoC dtsi.  The consensus
is that those aliases need to be defined at the board level instead.

See the commit 5d90cb1edcf7 (arm64: dts: rockchip: Remove ethernet0
alias from the SoC dtsi for RK3399, 2023-12-12), for example, for
more details.

> +		gpio0 = &gpio0;
> +		gpio1 = &gpio1;
> +		gpio2 = &gpio2;
> +		gpio3 = &gpio3;
> +		gpio4 = &gpio4;
> +		i2c0 = &i2c0;
> +		i2c1 = &i2c1;
> +		i2c2 = &i2c2;
> +		i2c3 = &i2c3;
> +		i2c4 = &i2c4;
> +		i2c5 = &i2c5;
> +		i2c6 = &i2c6;
> +		i2c7 = &i2c7;
> +		i2c8 = &i2c8;
> +		i2c9 = &i2c9;
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +		serial2 = &uart2;
> +		serial3 = &uart3;
> +		serial4 = &uart4;
> +		serial5 = &uart5;
> +		serial6 = &uart6;
> +		serial7 = &uart7;
> +		serial8 = &uart8;
> +		serial9 = &uart9;
> +		serial10 = &uart10;
> +		serial11 = &uart11;
> +		spi0 = &spi0;
> +		spi1 = &spi1;
> +		spi2 = &spi2;
> +		spi3 = &spi3;
> +		spi4 = &spi4;
> +	};
> +
> +	xin32k: clock-32k {

Please use "xin32k: clock-xin32k { ... }" instead, because that follows
the recently established revised pattern for clock names.  We should 
have
come consistency in the new SoC dtsi additions.

> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <32768>;
> +		clock-output-names = "xin32k";
> +	};
> +
> +	xin24m: clock-24m {
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <24000000>;
> +		clock-output-names = "xin24m";
> +	};

Please use "xin24m: clock-xin24m { ... }" instead, for the same reasons
as already described above.

> +	spll: clock-702m {
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <702000000>;
> +		clock-output-names = "spll";
> +	};

Perhaps using "spll: clock-spll { ... }" instead would also be a good
idea, because it would improve the overall consistency.


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

* Re: [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible
  2024-08-02 21:45 ` [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible Detlev Casanova
  2024-08-04  9:49   ` Krzysztof Kozlowski
  2024-08-09 12:31   ` Heiko Stübner
@ 2024-08-19  8:23   ` Daniel Lezcano
  2 siblings, 0 replies; 34+ messages in thread
From: Daniel Lezcano @ 2024-08-19  8:23 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Thomas Gleixner, Chris Morgan,
	Jonas Karlman, Tim Lunn, Muhammed Efe Cetin, Andy Yan, Jagan Teki,
	Dragan Simic, Sebastian Reichel, Shresth Prasad, Ondrej Jirman,
	Weizhao Ouyang, Alexey Charkov, Jimmy Hon, Finley Xiao,
	Yifeng Zhao, Elaine Zhang, Liang Chen, devicetree,
	linux-arm-kernel, linux-rockchip, linux-i2c, linux-iio,
	linux-serial, kernel

On 02/08/2024 23:45, Detlev Casanova wrote:
> Add compatible string for Rockchip RK3576 timer.
> 
> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>

Applied, thanks

-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


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

* Re: [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT
       [not found]     ` <23696360.6Emhk5qWAg@trenzalore>
@ 2024-08-19 21:26       ` Heiko Stübner
  0 siblings, 0 replies; 34+ messages in thread
From: Heiko Stübner @ 2024-08-19 21:26 UTC (permalink / raw)
  To: linux-kernel, Detlev Casanova
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Andi Shyti,
	Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel

Am Montag, 19. August 2024, 19:59:45 CEST schrieb Detlev Casanova:
> On Wednesday, 14 August 2024 11:31:04 EDT Heiko Stübner wrote:
> > Hi Detlev,
> > 
> > Am Freitag, 2. August 2024, 23:45:36 CEST schrieb Detlev Casanova:
> > > This device tree contains all devices necessary for booting from network
> > > or SD Card.
> > > 
> > > It supports CPU, CRU, PM domains, dma, interrupts, timers, UART and
> > > SDHCI (everything necessary to boot Linux on this system on chip) as
> > > well as Ethernet, I2C, SPI and OTP.
> > > 
> > > Also add the necessary DT bindings for the SoC.
> > > 
> > > Signed-off-by: Liang Chen <cl@rock-chips.com>
> > > Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> > > Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
> > > Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> > > [rebase, squash and reword commit message]
> > > Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
> > 
> > looks like (since 2019) there is a strong suggestion for having a soc node.
> > 
> > See Krzysztof's mail in
> >    
> > https://lore.kernel.org/all/6320e4f3-e737-4787-8a72-7bd314ba883c@kernel.org
> > / that references
> >     Documentation/devicetree/bindings/writing-bindings.rst [0]
> > 
> > So I guess we should probably follow that - at least for new socs for now.
> 
> That make sense, but what is exactly covered by MMIO devices ? everything 
> except cpus, firmware, psci and timer ?

if your node has a foo@mmio-address naming then it goes in there I guess




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

* Re: [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT
       [not found]     ` <1944590.atdPhlSkOF@trenzalore>
@ 2024-08-20 13:34       ` Johan Jonker
  0 siblings, 0 replies; 34+ messages in thread
From: Johan Jonker @ 2024-08-20 13:34 UTC (permalink / raw)
  To: Detlev Casanova, linux-kernel
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Heiko Stuebner,
	Andi Shyti, Jonathan Cameron, Lars-Peter Clausen, Lee Jones,
	Greg Kroah-Hartman, Jiri Slaby, Daniel Lezcano, Thomas Gleixner,
	Chris Morgan, Jonas Karlman, Tim Lunn, Muhammed Efe Cetin,
	Andy Yan, Jagan Teki, Dragan Simic, Sebastian Reichel,
	Shresth Prasad, Ondrej Jirman, Weizhao Ouyang, Alexey Charkov,
	Jimmy Hon, Finley Xiao, Yifeng Zhao, Elaine Zhang, Liang Chen,
	devicetree, linux-arm-kernel, linux-rockchip, linux-i2c,
	linux-iio, linux-serial, kernel



On 8/19/24 22:06, Detlev Casanova wrote:
> Hi Johan,
> 
> On Thursday, 15 August 2024 05:30:25 EDT Johan Jonker wrote:
>> Some comments below. Whenever useful.
>>
>> On 8/2/24 23:45, Detlev Casanova wrote:
>>> This device tree contains all devices necessary for booting from network
>>> or SD Card.
>>>
>>> It supports CPU, CRU, PM domains, dma, interrupts, timers, UART and
>>> SDHCI (everything necessary to boot Linux on this system on chip) as
>>> well as Ethernet, I2C, SPI and OTP.
>>>
>>> Also add the necessary DT bindings for the SoC.
>>>
>>> Signed-off-by: Liang Chen <cl@rock-chips.com>
>>> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
>>> Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
>>> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
>>> [rebase, squash and reword commit message]
>>> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
>>> ---
>>
>> [..]
>>
>>> diff --git a/arch/arm64/boot/dts/rockchip/rk3576.dtsi
>>> b/arch/arm64/boot/dts/rockchip/rk3576.dtsi new file mode 100644
>>> index 0000000000000..00c4d2a153ced
>>> --- /dev/null
>>> +++ b/arch/arm64/boot/dts/rockchip/rk3576.dtsi
>> [..]
>>
>> For uart0..uart11:
>>> +
>>> +	uart1: serial@27310000 {
>>> +		compatible = "rockchip,rk3576-uart", "snps,dw-apb-
> uart";
>>> +		reg = <0x0 0x27310000 0x0 0x100>;
>>>
>>> +		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
>>
>> "interrupts" are sort just like other properties. A mix of sort styles
>> exists, so check all nodes.
> 
> Ok, so it should be sorted alphabetically with the following exceptions:
> - 'compatible' and 'reg.*' on top
> - "#.*" at the end, sorted
> - "status" last.
> 
> Is that right ?

The dts-coding-style.rst does not say much about things with "#",
so below a property they refer to or at the end looks nicer.
No strict rule, but do it in a consistent style in file. 

Original comment by robh for things with "reg":
"It makes more sense to keep reg-io-width together with reg."
https://lore.kernel.org/all/20240131135955.GA966672-robh@kernel.org/

> 
>>> +		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
>>> +		clock-names = "baudclk", "apb_pclk";
>>>
>>> +		reg-shift = <2>;
>>> +		reg-io-width = <4>;
>>
>> Move below "reg".
>>
>>> +		dmas = <&dmac0 8>, <&dmac0 9>;
>>> +		pinctrl-names = "default";
>>> +		pinctrl-0 = <&uart1m0_xfer>;
>>> +		status = "disabled";
>>> +	};
>>> +
>>> +	pmu: power-management@27380000 {
> 
> [...]
> 
>>> +				#address-cells = <1>;
>>> +				#size-cells = <0>;
>>> +				clocks = <&cru ACLK_VOP>,
>>> +					 <&cru HCLK_VOP>,
>>> +					 <&cru HCLK_VOP_ROOT>;
>>> +				pm_qos = <&qos_vop_m0>,
>>> +					 <&qos_vop_m1ro>;
>>> +
>>> +				power-domain@RK3576_PD_USB {
>>
>> Since when is USB part of VOP?
>> Recheck?
> 
> The TRM doesn't tell me anything, but If I don't put it as a child of VOP, it 
> just hangs when the kernel tries to shut it down.

Could the people from Rockchip disclose the USB PD location?

> 
> [...]
> 
>>> +
>>> +	pinctrl: pinctrl {
>>> +		compatible = "rockchip,rk3576-pinctrl";
>>> +		rockchip,grf = <&ioc_grf>;
>>> +		rockchip,sys-grf = <&sys_grf>;
>>> +		#address-cells = <2>;
>>> +		#size-cells = <2>;
>>> +		ranges;
>>> +
>>>
>>> +		gpio0: gpio@27320000 {
>>
>> The use of gpio nodes as subnode of pinctrl is deprecated.
>>
>> patternProperties:
>>   "gpio@[0-9a-f]+$":
>>     type: object
>>
>>     $ref: /schemas/gpio/rockchip,gpio-bank.yaml#
>>     deprecated: true
>>
>>     unevaluatedProperties: false
> 

> I tried putting the gpio nodes out of the pinctrl node, they should work 
> because they already have a gpio-ranges field.
> But unfortunately, that seem to break the pinctrl driver which hangs at some 
> point. Maybe some adaptations are needed to support this, or am I missing 
> something ?

The aliases that we added to the DT files are a work around to prevent damage when we moved to generic gpio node names.
There just happened to be some code for it in the driver...
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/gpio/gpio-rockchip.c#n719

Comment by robh:
"GPIO shouldn't really have an alias either IMO."
https://lore.kernel.org/linux-arm-kernel/20230118153236.GA33699-robh@kernel.org/

Mainline Rockchip gpio driver is not so to the standard.
The file gpio-rockchip.c currently does nothing with "gpio-ranges" vs. bank and node relation.
My simple patch was acked, but never applied. There's no public maintainer response of what to improve.
Guess, probably something more complicated idiot prove "gpio-ranges" parsing/bank linking is needed?
https://lore.kernel.org/linux-arm-kernel/890be9a0-8e82-a8f4-bc15-d5d1597343c2@gmail.com/

I leave this subject up to the experts to find out what is needed to improve.
Don't ask me.

Johan
> 
>>> +			compatible = "rockchip,gpio-bank";
>>
>> When in use as separate node the compatible must be SoC related.
>>
>> Question for the maintainers: Extra entry to rockchip,gpio-bank.yaml ??
>>
>>> +			reg = <0x0 0x27320000 0x0 0x200>;
>>> +			interrupts = <GIC_SPI 153 
> IRQ_TYPE_LEVEL_HIGH>;
>>> +			clocks = <&cru PCLK_GPIO0>, <&cru 
> DBCLK_GPIO0>;
>>> +
>>> +			gpio-controller;
>>> +			#gpio-cells = <2>;
>>> +			gpio-ranges = <&pinctrl 0 0 32>;
>>> +			interrupt-controller;
>>> +			#interrupt-cells = <2>;
>>> +		};
>>> +
>>> +		gpio1: gpio@2ae10000 {
>>> +
>>> +		gpio2: gpio@2ae20000 {
>>> +
>>> +		gpio3: gpio@2ae30000 {
>>> +
>>> +		gpio4: gpio@2ae40000 {
>>> +	};
>>> +};
>>> +
>>> +#include "rk3576-pinctrl.dtsi"
> 
> Regards,
> 
> Detlev
> 
> 
> 


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

end of thread, other threads:[~2024-08-20 13:36 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02 21:45 [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Detlev Casanova
2024-08-02 21:45 ` [PATCH 01/10] dt-bindings: arm: rockchip: Add ArmSoM Sige 5 Detlev Casanova
2024-08-04  9:46   ` Krzysztof Kozlowski
2024-08-02 21:45 ` [PATCH 02/10] dt-bindings: arm: rockchip: Add rk576 compatible string to pmu.yaml Detlev Casanova
2024-08-04  9:47   ` Krzysztof Kozlowski
2024-08-05 19:47   ` Rob Herring
2024-08-02 21:45 ` [PATCH 03/10] dt-bindings: i2c: i2c-rk3x: Add rk3576 compatible Detlev Casanova
2024-08-04  9:47   ` Krzysztof Kozlowski
2024-08-09 12:28   ` Heiko Stübner
2024-08-02 21:45 ` [PATCH 04/10] dt-bindings: iio: adc: Add rockchip,rk3576-saradc string Detlev Casanova
2024-08-04  9:47   ` Krzysztof Kozlowski
2024-08-10  9:38     ` Jonathan Cameron
2024-08-09 12:28   ` Heiko Stübner
2024-08-02 21:45 ` [PATCH 05/10] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible Detlev Casanova
2024-08-04  9:48   ` Krzysztof Kozlowski
2024-08-09 12:35   ` Heiko Stübner
2024-08-02 21:45 ` [PATCH 06/10] dt-bindings: serial: snps-dw-apb-uart: Add Rockchip RK3576 Detlev Casanova
2024-08-04  9:48   ` Krzysztof Kozlowski
2024-08-09 12:30   ` Heiko Stübner
2024-08-02 21:45 ` [PATCH 07/10] dt-bindings: soc: rockchip: Add rk3576 syscon compatibles Detlev Casanova
2024-08-04  9:49   ` Krzysztof Kozlowski
2024-08-02 21:45 ` [PATCH 08/10] dt-bindings: timer: rockchip: Add rk3576 compatible Detlev Casanova
2024-08-04  9:49   ` Krzysztof Kozlowski
2024-08-09 12:31   ` Heiko Stübner
2024-08-19  8:23   ` Daniel Lezcano
2024-08-02 21:45 ` [PATCH 10/10] arm64: dts: rockchip: Add rk3576-armsom-sige5 board Detlev Casanova
2024-08-04  9:51   ` Krzysztof Kozlowski
2024-08-05 15:00 ` [PATCH 00/10] Add device tree for ArmSoM Sige 5 board Rob Herring (Arm)
     [not found] ` <20240802214612.434179-10-detlev.casanova@collabora.com>
2024-08-12 15:09   ` [PATCH 09/10] arm64: dts: rockchip: Add rk3576 SoC base DT Rob Herring (Arm)
2024-08-14 15:31   ` Heiko Stübner
     [not found]     ` <23696360.6Emhk5qWAg@trenzalore>
2024-08-19 21:26       ` Heiko Stübner
2024-08-15  9:30   ` Johan Jonker
     [not found]     ` <1944590.atdPhlSkOF@trenzalore>
2024-08-20 13:34       ` Johan Jonker
2024-08-17  3:11   ` Dragan Simic

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