Skip to contentSkip to conversation

media: dt-bindings: rockchip-rga: add more rga compatible properties

RFC PATCH In review Johan Jonker 3 participants 6 messages Dec 19, 2020 – Jan 9, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/4 media: dt-bindings: rockchip-rga: add more rga compatible properties

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

---
 Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/media/rockchip-rga.yaml +5 -1
index dd645ddcc..a609b63bb 100644
@@ -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:
Signature · 7 lines
2.11.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#1 lore raw

RFC PATCH 2/4 arm64: dts: rockchip: add rga node to px30.dtsi

Add rga node to the px30.dtsi file.

---
 arch/arm64/boot/dts/rockchip/px30.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/rockchip/px30.dtsi +11 -0
index 541785425..fac9b4120 100644
@@ -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>;
Signature · 7 lines
2.11.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#2 lore raw

RFC PATCH 3/4 arm64: dts: rockchip: add rga node to rk3328.dtsi

In reply to Johan Jonker

Add rga node to the rk3328.dtsi file.

---
 arch/arm64/boot/dts/rockchip/rk3328.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/rockchip/rk3328.dtsi +10 -0
index 1e3e1086e..c4170dc19 100644
@@ -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>;
Signature · 7 lines
2.11.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#3 lore raw

RFC PATCH 4/4 arm64: dts: rockchip: add rga node to rk3368.dtsi

In reply to Johan Jonker

Add rga node to the rk3368.dtsi file.

---
 arch/arm64/boot/dts/rockchip/rk3368.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/rockchip/rk3368.dtsi +10 -0
index 3746f23dc..dad1a00e6 100644
@@ -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>;
Signature · 7 lines
2.11.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
maintainer Acked-by on v1 1/4
#4 lore raw
In reply to Johan Jonker
Quoted 6 lines · 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"

Quoted 8 lines

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

---
 Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

maintainer
#5 lore raw
In reply to Johan Jonker

Am Samstag, 19. Dezember 2020, 12:26:50 CET schrieb Johan Jonker:

Quoted 10 lines

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

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

Quoted 12 lines
---
 Documentation/devicetree/bindings/media/rockchip-rga.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/media/rockchip-rga.yaml +0 -0
index dd645ddcc..a609b63bb 100644
@@ -21,7 +21,11 @@ properties:
       - const: rockchip,rk3288-rga
       - const: rockchip,rk3399-rga

Documentation/devicetree/bindings/media/rockchip-rga.yaml properties: · line 31

Quoted 10 lines
Documentation/devicetree/bindings/media/rockchip-rga.yaml +5 -1
       - items:
-          - const: rockchip,rk3228-rga
+          - enum:
+              - rockchip,px30-rga
+              - rockchip,rk3228-rga
+              - rockchip,rk3328-rga
+              - rockchip,rk3368-rga
           - const: rockchip,rk3288-rga
 
   reg:

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip