ARM: dts: Add device tree node for G2D controller on Exynos5
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
@@ -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
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
@@ -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
PATCH 3/3 ARM: EXYNOS: Add g2d clock support for EXYNOS5
In reply to Ajay KumarAdd 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
@@ -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
PATCH 1/3 ARM: dts: Add device tree node for G2D controller on Exynos5
In reply to Ajay Kumarping.
Quoted 27 lines · Ajay Kumar
Signed-off-by Ajay Kumar <[email protected]>--- arch/arm/boot/dts/exynos5250.dtsi | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)arch/arm/boot/dts/exynos5250.dtsi +6
-1@@ -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
PATCH 2/3 ARM: EXYNOS: Add AUXDATA for G2D controller
In reply to Ajay Kumarping.
Quoted 28 lines · Ajay Kumar
Use AUXDATA to set the device names for G2D controller instance discovered from device tree.
Signed-off-by Ajay Kumar <[email protected]>--- 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@@ -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
PATCH 3/3 ARM: EXYNOS: Add g2d clock support for EXYNOS5
In reply to Ajay Kumarping.
Quoted 29 lines · Ajay Kumar
Add g2d clock instance for EXYNOS5 g2d controller.
Signed-off-by Ajay Kumar <[email protected]>--- arch/arm/mach-exynos/clock-exynos5.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/arm/mach-exynos/clock-exynos5.c +4
-1@@ -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