[PATCH v3 13/15] ARM: dts: exynos5: add system register support

Subsystems: the rest

STALE4439d REVIEWED: 2 (0M)

2 review trailers.

4 messages, 3 authors, 2014-06-05 · open the first message on its own page

[PATCH v3 13/15] ARM: dts: exynos5: add system register support

From: YoungJun Cho <hidden>
Date: 2014-06-02 05:22:49

This patch adds sysreg device node, and sysreg property
to fimd device node which is required to use I80 interface.

Signed-off-by: YoungJun Cho <redacted>
Acked-by: Inki Dae <redacted>
Acked-by: Kyungmin Park <redacted>
---
 arch/arm/boot/dts/exynos5.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi
index 79d0608..95ee496 100644
--- a/arch/arm/boot/dts/exynos5.dtsi
+++ b/arch/arm/boot/dts/exynos5.dtsi
@@ -81,12 +81,18 @@
 		status = "disabled";
 	};
 
+	sys_reg: syscon@10050000 {
+		compatible = "samsung,exynos5-sysreg", "syscon";
+		reg = <0x10050000 0x500>;
+	};
+
 	fimd@14400000 {
 		compatible = "samsung,exynos5250-fimd";
 		interrupt-parent = <&combiner>;
 		reg = <0x14400000 0x40000>;
 		interrupt-names = "fifo", "vsync", "lcd_sys";
 		interrupts = <18 4>, <18 5>, <18 6>;
+		samsung,sysreg = <&sys_reg>;
 		status = "disabled";
 	};
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 13/15] ARM: dts: exynos5: add system register support

From: Vivek Gautam <hidden>
Date: 2014-06-04 11:50:21

On Mon, Jun 2, 2014 at 10:52 AM, YoungJun Cho [off-list ref] wrote:
This patch adds sysreg device node, and sysreg property
to fimd device node which is required to use I80 interface.
Same here. The system register nodes have been added to exynos5250 and
exynos5420 by the patch:
dfbbdbf ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420

May be, you may want to move those two nodes to this common file (exynos5.dtsi).
quoted hunk
Signed-off-by: YoungJun Cho <redacted>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 arch/arm/boot/dts/exynos5.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi
index 79d0608..95ee496 100644
--- a/arch/arm/boot/dts/exynos5.dtsi
+++ b/arch/arm/boot/dts/exynos5.dtsi
@@ -81,12 +81,18 @@
                status = "disabled";
        };

+       sys_reg: syscon@10050000 {
+               compatible = "samsung,exynos5-sysreg", "syscon";
+               reg = <0x10050000 0x500>;
+       };
+
        fimd@14400000 {
                compatible = "samsung,exynos5250-fimd";
                interrupt-parent = <&combiner>;
                reg = <0x14400000 0x40000>;
                interrupt-names = "fifo", "vsync", "lcd_sys";
                interrupts = <18 4>, <18 5>, <18 6>;
+               samsung,sysreg = <&sys_reg>;
                status = "disabled";
        };

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
Best Regards
Vivek Gautam
Samsung R&D Institute, Bangalore
India

Re: [PATCH v3 13/15] ARM: dts: exynos5: add system register support

From: YoungJun Cho <hidden>
Date: 2014-06-05 02:52:57

Hi Vivek,

On 06/04/2014 08:50 PM, Vivek Gautam wrote:
On Mon, Jun 2, 2014 at 10:52 AM, YoungJun Cho [off-list ref] wrote:
quoted
This patch adds sysreg device node, and sysreg property
to fimd device node which is required to use I80 interface.
Same here. The system register nodes have been added to exynos5250 and
exynos5420 by the patch:
dfbbdbf ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420

May be, you may want to move those two nodes to this common file (exynos5.dtsi).
Thank you for reporting.
I didn't check linux-samsung-soc.

The exynos5410, 5420 and 5422 use system register with base address
0x10050000.
But exynos5260 and 5430 are different.
And I can't check exynos5250.

So with this condition, it is reasonable to remove these sysreg relevant
patches.

Thank you.
Best regards YJ
quoted
Signed-off-by: YoungJun Cho <redacted>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
  arch/arm/boot/dts/exynos5.dtsi |    6 ++++++
  1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi
index 79d0608..95ee496 100644
--- a/arch/arm/boot/dts/exynos5.dtsi
+++ b/arch/arm/boot/dts/exynos5.dtsi
@@ -81,12 +81,18 @@
                 status = "disabled";
         };

+       sys_reg: syscon@10050000 {
+               compatible = "samsung,exynos5-sysreg", "syscon";
+               reg = <0x10050000 0x500>;
+       };
+
         fimd@14400000 {
                 compatible = "samsung,exynos5250-fimd";
                 interrupt-parent = <&combiner>;
                 reg = <0x14400000 0x40000>;
                 interrupt-names = "fifo", "vsync", "lcd_sys";
                 interrupts = <18 4>, <18 5>, <18 6>;
+               samsung,sysreg = <&sys_reg>;
                 status = "disabled";
         };

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH v3 13/15] ARM: dts: exynos5: add system register support

From: Vivek Gautam <hidden>
Date: 2014-06-05 05:11:03

Hi YoungJun,


On Thu, Jun 5, 2014 at 8:22 AM, YoungJun Cho [off-list ref] wrote:
Hi Vivek,


On 06/04/2014 08:50 PM, Vivek Gautam wrote:
quoted
On Mon, Jun 2, 2014 at 10:52 AM, YoungJun Cho [off-list ref]
wrote:
quoted
This patch adds sysreg device node, and sysreg property
to fimd device node which is required to use I80 interface.

Same here. The system register nodes have been added to exynos5250 and
exynos5420 by the patch:
dfbbdbf ARM: dts: Add sysreg sytem controller node to exynos5250 and
exynos5420

May be, you may want to move those two nodes to this common file
(exynos5.dtsi).
Thank you for reporting.
I didn't check linux-samsung-soc.

The exynos5410, 5420 and 5422 use system register with base address
0x10050000.
But exynos5260 and 5430 are different.
And I can't check exynos5250.
Exynos5250 too starts with same register base address as Exynos5420,
but as you say Exynos5430 and Exynos5260 starts with different base address
then it make sense to keep them separate in their dtsi. (I couldn't
check Exynos5430)
So with this condition, it is reasonable to remove these sysreg relevant
patches.
Sure.

[snip]


-- 
Best Regards
Vivek Gautam
Samsung R&D Institute, Bangalore
India
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help