Skip to contentSkip to conversation

Add FIMD DT support for Exynos5 DT Machines

PATCH Superseded Leela Krishna Amudala 2 participants 4 messages Mar 20, 2013

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 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.

changes since V2:
- added interrupt-names = "fifo", "vsync", "lcd_sys"
- removed the patch "ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT", as migration to Common Clock Framework will NOT need this.

changes since v1:
- modified compatible string for exynos5 fimd as "exynos5250-fimd"

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

This series depends on
https://patchwork.kernel.org/patch/2306391/

Leela Krishna Amudala (2):
ARM: dts: Add FIMD node to exynos5
ARM: dts: Add display timing node to exynos5250-smdk5250.dts

 arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 ++++++++++++++++
 arch/arm/boot/dts/exynos5250.dtsi         | 10 ++++++++++
 2 files changed, 26 insertions(+)
Signature · 1 line
1.8.0
#1 lore raw

PATCH v3 1/2 ARM: dts: Add FIMD node to exynos5

This adds common FIMD device node for all Exynos5 SoCs

---
 arch/arm/boot/dts/exynos5250.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +10 -0
index 24c52e6..bd270b7 100644
@@ -775,4 +775,14 @@
 			samsung,enable-mask = <1>;
 		};
 	};
+
+	fimd {
+		compatible = "samsung,exynos5250-fimd";
+		interrupt-parent = <&combiner>;
+		reg = <0x14400000 0x40000>;
+		interrupt-names = "fifo", "vsync", "lcd_sys";
+		interrupts = <18 4>, <18 5>, <18 6>;
+		clocks = <&clock 133>, <&clock 339>;
+		clock-names = "sclk_fimd1", "fimd1";
+	};
 };
Signature · 1 line
1.8.0
#2 lore raw

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

Hi Leela,

Quoted 14 lines · Leela Krishna Amudala

This adds common FIMD device node for all Exynos5 SoCs

---
 arch/arm/boot/dts/exynos5250.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/exynos5250.dtsi +0 -0
index 24c52e6..bd270b7 100644
@@ -775,4 +775,14 @@
                        samsung,enable-mask = <1>;
                };

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

Quoted 10 lines
arch/arm/boot/dts/exynos5250.dtsi +9 -0
        };
+
+       fimd {
+               compatible = "samsung,exynos5250-fimd";
+               interrupt-parent = <&combiner>;
+               reg = <0x14400000 0x40000>;
+               interrupt-names = "fifo", "vsync", "lcd_sys";
+               interrupts = <18 4>, <18 5>, <18 6>;
+               clocks = <&clock 133>, <&clock 339>;
+               clock-names = "sclk_fimd1", "fimd1";

I think the clock-names should be "sclk_fimd", "fimd"; since in the fimd driver during fimd_probe() we are doing devm_clk_get(dev, "sclk_fimd") and devm_clk_get(dev, "fimd")

Quoted 9 lines
arch/arm/boot/dts/exynos5250.dtsi +1 -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

#3 lore raw

PATCH v3 2/2 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 872ae1f..9dbdc1e 100644
@@ -251,4 +251,20 @@
 			clock-frequency = <24000000>;
 		};
 	};
+
+	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