Skip to contentSkip to conversation

Add FIMD DT support for Exynos5 DT Machines

PATCH Superseded Leela Krishna Amudala 2 participants 8 messages Feb 26, 2013 – Feb 27, 2013

Subsystems (4)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

cover Add FIMD DT support for Exynos5 DT Machines

This patch series adds support for FIMD DT for Exynos5 DT Machines Adds display timing node for smdk5250 board.

This series is rebased on branch
http://git.kernel.org/?p=linux/kernel/git/kgene/linux-samsung.git;a=shortlog;h=refs/heads/for-next

Leela Krishna Amudala (3):
ARM: dts: Add FIMD node to exynos5
ARM: dts: Add display timing node to exynos5250-smdk5250.dts
ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT

 arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 ++++++++++++++++
 arch/arm/boot/dts/exynos5250.dtsi         |  7 +++++++
 arch/arm/mach-exynos/include/mach/map.h   |  1 +
 arch/arm/mach-exynos/mach-exynos5-dt.c    |  2 ++
 4 files changed, 26 insertions(+)
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/3 ARM: dts: Add FIMD node to exynos5

This adds common FIMD device node for all Exynos5 SoCs.

---
 arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +7 -0
index 3acf594..0ee4706 100644
@@ -583,4 +583,11 @@
 		reg = <0x14450000 0x10000>;
 		interrupts = <0 94 0>;
 	};
+
+	fimd {
+		compatible = "samsung,exynos5-fimd";
+		interrupt-parent = <&combiner>;
+		reg = <0x14400000 0x40000>;
+		interrupts = <18 5>, <18 4>, <18 6>;
+	};
 };
Signature · 1 line
1.8.0
#2 lore raw

Re: [PATCH 1/3] ARM: dts: Add FIMD node to exynos5

Hi Leela,

Quoted 12 lines · Leela Krishna Amudala

This adds common FIMD device node for all Exynos5 SoCs.

---
 arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +0 -0
index 3acf594..0ee4706 100644

arch/arm/boot/dts/exynos5250.dtsi line 588

Quoted 6 lines
arch/arm/boot/dts/exynos5250.dtsi +3 -0
@@ -583,4 +583,11 @@
                reg = <0x14450000 0x10000>;
                interrupts = <0 94 0>;
        };
+
+       fimd {
+               compatible = "samsung,exynos5-fimd";

I think we can modify this as "samsung,exynos5250-fimd", please refer to the discussion at https://patchwork.kernel.org/patch/2144861/

Quoted 12 lines
arch/arm/boot/dts/exynos5250.dtsi +4 -1
+               interrupt-parent = <&combiner>;
+               reg = <0x14400000 0x40000>;
+               interrupts = <18 5>, <18 4>, <18 6>;
+       };
 };
--

1.8.0

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

#3 lore raw

Re: [PATCH 1/3] ARM: dts: Add FIMD node to exynos5

Hello Vikas,

Quoted 12 lines · Vikas Sajjan

Hi Leela,

Quoted 7 lines · Leela Krishna Amudala

This adds common FIMD device node for all Exynos5 SoCs.

---
 arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
Quoted 14 lines

arch/arm/boot/dts/exynos5250.dtsi line 588

Quoted 12 lines
arch/arm/boot/dts/exynos5250.dtsi +3 -0
index 3acf594..0ee4706 100644
@@ -583,4 +583,11 @@
                reg = <0x14450000 0x10000>;
                interrupts = <0 94 0>;
        };
+
+       fimd {
+               compatible = "samsung,exynos5-fimd";

I think we can modify this as "samsung,exynos5250-fimd", please refer to the discussion at https://patchwork.kernel.org/patch/2144861/

Then in that case this compatible string has to be modify in driver also.

Best wishes,
Leela Krishna Amudala.

Quoted 18 lines
Quoted 8 lines
arch/arm/boot/dts/exynos5250.dtsi +4 -1
+               interrupt-parent = <&combiner>;
+               reg = <0x14400000 0x40000>;
+               interrupts = <18 5>, <18 4>, <18 6>;
+       };
 };
--

1.8.0

Quoted 5 lines

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

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

#4 lore raw

Re: [PATCH 1/3] ARM: dts: Add FIMD node to exynos5

Hi Leela,

Quoted 30 lines · Leela Krishna Amudala

Hello Vikas,

Quoted 12 lines · Vikas Sajjan

Hi Leela,

Quoted 7 lines · Leela Krishna Amudala

This adds common FIMD device node for all Exynos5 SoCs.

---
 arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
Quoted 14 lines

arch/arm/boot/dts/exynos5250.dtsi line 588

Quoted 12 lines
arch/arm/boot/dts/exynos5250.dtsi +3 -0
index 3acf594..0ee4706 100644
@@ -583,4 +583,11 @@
                reg = <0x14450000 0x10000>;
                interrupts = <0 94 0>;
        };
+
+       fimd {
+               compatible = "samsung,exynos5-fimd";

I think we can modify this as "samsung,exynos5250-fimd", please refer to the discussion at https://patchwork.kernel.org/patch/2144861/

Quoted 1 line

Then in that case this compatible string has to be modify in driver also.

yea, right. Will be posting the changes soon.

Quoted 22 lines

Best wishes,
Leela Krishna Amudala.

Quoted 18 lines
Quoted 8 lines
arch/arm/boot/dts/exynos5250.dtsi +4 -1
+               interrupt-parent = <&combiner>;
+               reg = <0x14400000 0x40000>;
+               interrupts = <18 5>, <18 4>, <18 6>;
+       };
 };
--

1.8.0

Quoted 5 lines

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

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

#5 lore raw

PATCH 2/3 ARM: dts: Add display timing node to exynos5250-smdk5250.dts

In reply to Leela Krishna Amudala

Add display timing node to exynos5250-smdk5250.dts

---
 arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/exynos5250-smdk5250.dts +16 -0
index e05b18f..2d8c577 100644
@@ -204,4 +204,20 @@
 		samsung,mfc-r = <0x43000000 0x800000>;
 		samsung,mfc-l = <0x51000000 0x800000>;
 	};
+
+	display-timings {
+		native-mode = <&timing0>;
+		timing0: timing@0 {
+			/* 1280x800 */
+			clock-frequency = <50000>;
+			hactive = <1280>;
+			vactive = <800>;
+			hfront-porch = <4>;
+			hback-porch = <4>;
+			hsync-len = <4>;
+			vback-porch = <4>;
+			vfront-porch = <4>;
+			vsync-len = <4>;
+		};
+	};
 };
Signature · 1 line
1.8.0
#6 lore raw

PATCH 3/3 ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT

In reply to Leela Krishna Amudala

Adds the FIMD AUXDATA entry for Exynos5

---
 arch/arm/mach-exynos/include/mach/map.h | 1 +
 arch/arm/mach-exynos/mach-exynos5-dt.c  | 2 ++
 2 files changed, 3 insertions(+)
arch/arm/mach-exynos/include/mach/map.h +1 -0
index 1df6abb..5e3f789 100644
@@ -178,6 +178,7 @@
 #define EXYNOS4_PA_MIPI_CSIS1		0x11890000
 
 #define EXYNOS4_PA_FIMD0		0x11C00000
+#define EXYNOS5_PA_FIMD1		0x14400000
 
 #define EXYNOS4_PA_HSMMC(x)		(0x12510000 + ((x) * 0x10000))
 #define EXYNOS4_PA_DWMCI		0x12550000
arch/arm/mach-exynos/mach-exynos5-dt.c +2 -0
index e99d3d8..14b3ec1 100644
@@ -104,6 +104,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
 	OF_DEV_AUXDATA("samsung,mfc-v6", 0x11000000, "s5p-mfc-v6", NULL),
 	OF_DEV_AUXDATA("samsung,exynos5250-tmu", 0x10060000,
 				"exynos-tmu", NULL),
+	OF_DEV_AUXDATA("samsung,exynos5-fimd", EXYNOS5_PA_FIMD1,
+				"exynos5-fb.1", NULL),
 	{},
 };
 
Signature · 1 line
1.8.0
#7 lore raw

Re: [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT

Hi Leela,

Quoted 25 lines · Leela Krishna Amudala

Adds the FIMD AUXDATA entry for Exynos5

---
 arch/arm/mach-exynos/include/mach/map.h | 1 +
 arch/arm/mach-exynos/mach-exynos5-dt.c  | 2 ++
 2 files changed, 3 insertions(+)
arch/arm/mach-exynos/include/mach/map.h +1 -0
index 1df6abb..5e3f789 100644
@@ -178,6 +178,7 @@
 #define EXYNOS4_PA_MIPI_CSIS1          0x11890000
 
 #define EXYNOS4_PA_FIMD0               0x11C00000
+#define EXYNOS5_PA_FIMD1               0x14400000
 
 #define EXYNOS4_PA_HSMMC(x)            (0x12510000 + ((x) * 0x10000))
 #define EXYNOS4_PA_DWMCI               0x12550000
arch/arm/mach-exynos/mach-exynos5-dt.c +0 -0
index e99d3d8..14b3ec1 100644

arch/arm/mach-exynos/mach-exynos5-dt.c static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { · line 108

Quoted 5 lines
arch/arm/mach-exynos/mach-exynos5-dt.c +2 -0
@@ -104,6 +104,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
        OF_DEV_AUXDATA("samsung,mfc-v6", 0x11000000, "s5p-mfc-v6", NULL),
        OF_DEV_AUXDATA("samsung,exynos5250-tmu", 0x10060000,
                                "exynos-tmu", NULL),
+       OF_DEV_AUXDATA("samsung,exynos5-fimd", EXYNOS5_PA_FIMD1,
+                               "exynos5-fb.1", NULL),

please refer to the discussion at https://patchwork.kernel.org/patch/2144861/

Quoted 10 lines
arch/arm/mach-exynos/mach-exynos5-dt.c +0 -1
        {},
 };
 
--

1.8.0

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