Skip to contentSkip to conversation

ARM: dts: Add device tree node for G2D controller on Exynos5

PATCH New Ajay Kumar 2 participants 6 messages Nov 28, 2012 – Dec 20, 2012

Subsystems (4)
lore
Share & tools
lore

Ajay Kumar

author
#0 lore raw

PATCH 1/3 ARM: dts: Add device tree node for G2D controller on Exynos5

---
 arch/arm/boot/dts/exynos5250.dtsi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/boot/dts/exynos5250.dtsi +6 -0
index 581e57a..6d50c15 100644
@@ -613,4 +613,10 @@
 		reg = <0x14450000 0x10000>;
 		interrupts = <0 94 0>;
 	};
+
+	g2d: g2d {
+		compatible = "samsung,exynos-g2d-41";
+		reg = <0x10850000 0x1000>;
+		interrupts = <0 91 0>;
+	};
 };
Signature · 1 line
1.7.1
author
#1 lore raw

PATCH 2/3 ARM: EXYNOS: Add AUXDATA for G2D controller

Use AUXDATA to set the device names for G2D controller instance discovered from device tree.

---
 arch/arm/mach-exynos/mach-exynos5-dt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/mach-exynos5-dt.c +2 -0
index 462e5ac..9eae2ce 100644
@@ -110,6 +110,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
 				"samsung-i2s.1", NULL),
 	OF_DEV_AUXDATA("samsung,samsung-i2s", 0x12D70000,
 				"samsung-i2s.2", NULL),
+	OF_DEV_AUXDATA("samsung,exynos-g2d-41", 0x10850000,
+				"s5p-g2d", NULL),
 	{},
 };
 
Signature · 1 line
1.7.1
author
#3 lore raw

PATCH 3/3 ARM: EXYNOS: Add g2d clock support for EXYNOS5

In reply to Ajay Kumar

Add g2d clock instance for EXYNOS5 g2d controller.

---
 arch/arm/mach-exynos/clock-exynos5.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/clock-exynos5.c +4 -0
index 5c63bc7..f16b027 100644
@@ -711,6 +711,10 @@ static struct clk exynos5_init_clocks_off[] = {
 		.enable		= exynos5_clk_ip_disp1_ctrl,
 		.ctrlbit	= (1 << 5),
 	}, {
+		.name		= "fimg2d",
+		.enable		= exynos5_clk_ip_acp_ctrl,
+		.ctrlbit	= (1 << 3),
+	}, {
 		.name		= "dp",
 		.devname	= "exynos-dp",
 		.enable		= exynos5_clk_ip_disp1_ctrl,
Signature · 1 line
1.7.1
#5 lore raw

PATCH 1/3 ARM: dts: Add device tree node for G2D controller on Exynos5

In reply to Ajay Kumar

ping.

Quoted 27 lines · Ajay Kumar
---
 arch/arm/boot/dts/exynos5250.dtsi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
arch/arm/boot/dts/exynos5250.dtsi +6 -1
index 581e57a..6d50c15 100644
@@ -613,4 +613,10 @@
                reg = <0x14450000 0x10000>;
                interrupts = <0 94 0>;
        };
+
+       g2d: g2d {
+               compatible = "samsung,exynos-g2d-41";
+               reg = <0x10850000 0x1000>;
+               interrupts = <0 91 0>;
+       };
 };
--

1.7.1

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

#2 lore raw

PATCH 2/3 ARM: EXYNOS: Add AUXDATA for G2D controller

In reply to Ajay Kumar

ping.

Quoted 28 lines · Ajay Kumar

Use AUXDATA to set the device names for G2D controller instance discovered from device tree.

---
 arch/arm/mach-exynos/mach-exynos5-dt.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/mach-exynos5-dt.c +2 -1
index 462e5ac..9eae2ce 100644
@@ -110,6 +110,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
                                "samsung-i2s.1", NULL),
        OF_DEV_AUXDATA("samsung,samsung-i2s", 0x12D70000,
                                "samsung-i2s.2", NULL),
+       OF_DEV_AUXDATA("samsung,exynos-g2d-41", 0x10850000,
+                               "s5p-g2d", NULL),
        {},
 };
 
--

1.7.1

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

#4 lore raw

PATCH 3/3 ARM: EXYNOS: Add g2d clock support for EXYNOS5

In reply to Ajay Kumar

ping.

Quoted 29 lines · Ajay Kumar

Add g2d clock instance for EXYNOS5 g2d controller.

---
 arch/arm/mach-exynos/clock-exynos5.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/clock-exynos5.c +4 -1
index 5c63bc7..f16b027 100644
@@ -711,6 +711,10 @@ static struct clk exynos5_init_clocks_off[] = {
                .enable         = exynos5_clk_ip_disp1_ctrl,
                .ctrlbit        = (1 << 5),
        }, {
+               .name           = "fimg2d",
+               .enable         = exynos5_clk_ip_acp_ctrl,
+               .ctrlbit        = (1 << 3),
+       }, {
                .name           = "dp",
                .devname        = "exynos-dp",
                .enable         = exynos5_clk_ip_disp1_ctrl,
--

1.7.1

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