devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties
@ 2020-12-19 11:26 Johan Jonker
  2020-12-19 11:26 ` [RFC PATCH v1 2/4] arm64: dts: rockchip: add rga node to px30.dtsi Johan Jonker
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Johan Jonker @ 2020-12-19 11:26 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, mchehab, jacob-chen, ezequiel, linux-media,
	linux-rockchip, devicetree, linux-arm-kernel, linux-kernel

Add more rga compatible properties.

"rockchip,px30-rga", "rockchip,rk3288-rga"
"rockchip,rk3328-rga", "rockchip,rk3288-rga"
"rockchip,rk3368-rga", "rockchip,rk3288-rga"

make ARCH=arm64 dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-rga.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
index dd645ddcc..a609b63bb 100644
--- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml
+++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
@@ -21,7 +21,11 @@ properties:
       - const: rockchip,rk3288-rga
       - const: rockchip,rk3399-rga
       - items:
-          - const: rockchip,rk3228-rga
+          - enum:
+              - rockchip,px30-rga
+              - rockchip,rk3228-rga
+              - rockchip,rk3328-rga
+              - rockchip,rk3368-rga
           - const: rockchip,rk3288-rga
 
   reg:
-- 
2.11.0


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

* [RFC PATCH v1 2/4] arm64: dts: rockchip: add rga node to px30.dtsi
  2020-12-19 11:26 [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Johan Jonker
@ 2020-12-19 11:26 ` Johan Jonker
  2020-12-19 11:26 ` [RFC PATCH v1 3/4] arm64: dts: rockchip: add rga node to rk3328.dtsi Johan Jonker
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Johan Jonker @ 2020-12-19 11:26 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, mchehab, jacob-chen, ezequiel, linux-media,
	linux-rockchip, devicetree, linux-arm-kernel, linux-kernel

Add rga node to the px30.dtsi file.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm64/boot/dts/rockchip/px30.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi
index 541785425..fac9b4120 100644
--- a/arch/arm64/boot/dts/rockchip/px30.dtsi
+++ b/arch/arm64/boot/dts/rockchip/px30.dtsi
@@ -1106,6 +1106,17 @@
 		status = "disabled";
 	};
 
+	rga: rga@ff480000 {
+		compatible = "rockchip,px30-rga", "rockchip,rk3288-rga";
+		reg = <0x0 0xff480000 0x0 0x1000>;
+		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA_CORE>;
+		clock-names = "aclk", "hclk", "sclk";
+		power-domains = <&power PX30_PD_VO>;
+		resets = <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru SRST_RGA_H>;
+		reset-names = "core", "axi", "ahb";
+	};
+
 	qos_gmac: qos@ff518000 {
 		compatible = "rockchip,px30-qos", "syscon";
 		reg = <0x0 0xff518000 0x0 0x20>;
-- 
2.11.0


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

* [RFC PATCH v1 3/4] arm64: dts: rockchip: add rga node to rk3328.dtsi
  2020-12-19 11:26 [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Johan Jonker
  2020-12-19 11:26 ` [RFC PATCH v1 2/4] arm64: dts: rockchip: add rga node to px30.dtsi Johan Jonker
@ 2020-12-19 11:26 ` Johan Jonker
  2020-12-19 11:26 ` [RFC PATCH v1 4/4] arm64: dts: rockchip: add rga node to rk3368.dtsi Johan Jonker
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Johan Jonker @ 2020-12-19 11:26 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, mchehab, jacob-chen, ezequiel, linux-media,
	linux-rockchip, devicetree, linux-arm-kernel, linux-kernel

Add rga node to the rk3328.dtsi file.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
index 1e3e1086e..c4170dc19 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi
@@ -711,6 +711,16 @@
 		status = "disabled";
 	};
 
+	rga: rga@ff3900000 {
+		compatible = "rockchip,rk3328-rga", "rockchip,rk3288-rga";
+		reg = <0x0 0xff390000 0x0 0x1000>;
+		interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
+		clock-names = "aclk", "hclk", "sclk";
+		resets = <&cru SRST_RGA>, <&cru SRST_RGA_A>, <&cru SRST_RGA_H>;
+		reset-names = "core", "axi", "ahb";
+	};
+
 	hdmi: hdmi@ff3c0000 {
 		compatible = "rockchip,rk3328-dw-hdmi";
 		reg = <0x0 0xff3c0000 0x0 0x20000>;
-- 
2.11.0


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

* [RFC PATCH v1 4/4] arm64: dts: rockchip: add rga node to rk3368.dtsi
  2020-12-19 11:26 [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Johan Jonker
  2020-12-19 11:26 ` [RFC PATCH v1 2/4] arm64: dts: rockchip: add rga node to px30.dtsi Johan Jonker
  2020-12-19 11:26 ` [RFC PATCH v1 3/4] arm64: dts: rockchip: add rga node to rk3328.dtsi Johan Jonker
@ 2020-12-19 11:26 ` Johan Jonker
  2020-12-31 22:13 ` [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Rob Herring
  2021-01-09 13:49 ` Heiko Stübner
  4 siblings, 0 replies; 6+ messages in thread
From: Johan Jonker @ 2020-12-19 11:26 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, mchehab, jacob-chen, ezequiel, linux-media,
	linux-rockchip, devicetree, linux-arm-kernel, linux-kernel

Add rga node to the rk3368.dtsi file.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3368.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
index 3746f23dc..dad1a00e6 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi
@@ -738,6 +738,16 @@
 		status = "disabled";
 	};
 
+	rga: rga@ff920000 {
+		compatible = "rockchip,rk3368-rga", "rockchip,rk3288-rga";
+		reg = <0x0 0xff920000 0x0 0x1000>;
+		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&cru ACLK_RGA>, <&cru HCLK_RGA>, <&cru SCLK_RGA>;
+		clock-names = "aclk", "hclk", "sclk";
+		resets = <&cru SRST_RGA_CORE>, <&cru SRST_RGA_AXI>, <&cru SRST_RGA_AHB>;
+		reset-names = "core", "axi", "ahb";
+	};
+
 	vop_mmu: iommu@ff930300 {
 		compatible = "rockchip,iommu";
 		reg = <0x0 0xff930300 0x0 0x100>;
-- 
2.11.0


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

* Re: [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties
  2020-12-19 11:26 [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Johan Jonker
                   ` (2 preceding siblings ...)
  2020-12-19 11:26 ` [RFC PATCH v1 4/4] arm64: dts: rockchip: add rga node to rk3368.dtsi Johan Jonker
@ 2020-12-31 22:13 ` Rob Herring
  2021-01-09 13:49 ` Heiko Stübner
  4 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2020-12-31 22:13 UTC (permalink / raw)
  To: Johan Jonker
  Cc: linux-kernel, linux-arm-kernel, heiko, ezequiel, devicetree,
	linux-rockchip, jacob-chen, mchehab, robh+dt, linux-media

On Sat, 19 Dec 2020 12:26:50 +0100, Johan Jonker wrote:
> Add more rga compatible properties.
> 
> "rockchip,px30-rga", "rockchip,rk3288-rga"
> "rockchip,rk3328-rga", "rockchip,rk3288-rga"
> "rockchip,rk3368-rga", "rockchip,rk3288-rga"
> 
> make ARCH=arm64 dt_binding_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-rga.yaml
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
>  Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 

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

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

* Re: [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties
  2020-12-19 11:26 [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Johan Jonker
                   ` (3 preceding siblings ...)
  2020-12-31 22:13 ` [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Rob Herring
@ 2021-01-09 13:49 ` Heiko Stübner
  4 siblings, 0 replies; 6+ messages in thread
From: Heiko Stübner @ 2021-01-09 13:49 UTC (permalink / raw)
  To: Johan Jonker
  Cc: robh+dt, mchehab, jacob-chen, ezequiel, linux-media,
	linux-rockchip, devicetree, linux-arm-kernel, linux-kernel,
	Hans Verkuil

Am Samstag, 19. Dezember 2020, 12:26:50 CET schrieb Johan Jonker:
> Add more rga compatible properties.
> 
> "rockchip,px30-rga", "rockchip,rk3288-rga"
> "rockchip,rk3328-rga", "rockchip,rk3288-rga"
> "rockchip,rk3368-rga", "rockchip,rk3288-rga"
> 
> make ARCH=arm64 dt_binding_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/rockchip-rga.yaml
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>

this patch1 should probably go through the media-tree.
So hopefully media-people will notice this series?


> ---
>  Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/rockchip-rga.yaml b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
> index dd645ddcc..a609b63bb 100644
> --- a/Documentation/devicetree/bindings/media/rockchip-rga.yaml
> +++ b/Documentation/devicetree/bindings/media/rockchip-rga.yaml
> @@ -21,7 +21,11 @@ properties:
>        - const: rockchip,rk3288-rga
>        - const: rockchip,rk3399-rga
>        - items:
> -          - const: rockchip,rk3228-rga
> +          - enum:
> +              - rockchip,px30-rga
> +              - rockchip,rk3228-rga
> +              - rockchip,rk3328-rga
> +              - rockchip,rk3368-rga
>            - const: rockchip,rk3288-rga
>  
>    reg:
> 





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

end of thread, other threads:[~2021-01-09 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-19 11:26 [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Johan Jonker
2020-12-19 11:26 ` [RFC PATCH v1 2/4] arm64: dts: rockchip: add rga node to px30.dtsi Johan Jonker
2020-12-19 11:26 ` [RFC PATCH v1 3/4] arm64: dts: rockchip: add rga node to rk3328.dtsi Johan Jonker
2020-12-19 11:26 ` [RFC PATCH v1 4/4] arm64: dts: rockchip: add rga node to rk3368.dtsi Johan Jonker
2020-12-31 22:13 ` [RFC PATCH v1 1/4] media: dt-bindings: rockchip-rga: add more rga compatible properties Rob Herring
2021-01-09 13:49 ` Heiko Stübner

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