* [PATCH 1/4] drm/exynos: dsi: support Exynos4415 SoC
2014-11-07 6:12 [PATCH 0/4] drm/exynos: support Exynos4415 SoC YoungJun Cho
@ 2014-11-07 6:12 ` YoungJun Cho
2014-11-13 8:42 ` Inki Dae
2014-11-07 6:12 ` [PATCH 2/4] drm/exynos: fimd: " YoungJun Cho
` (2 subsequent siblings)
3 siblings, 1 reply; 8+ messages in thread
From: YoungJun Cho @ 2014-11-07 6:12 UTC (permalink / raw)
To: dri-devel
Cc: linux-samsung-soc, devicetree, mark.rutland, pawel.moll,
ijc+devicetree, robh+dt, galak, kyungmin.park, inki.dae,
jy0922.shim, sw0312.kim, a.hajda, cw00.choi, kgene.kim
This patch supports Exynos4415 SoC.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
Documentation/devicetree/bindings/video/exynos_dsim.txt | 1 +
drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/video/exynos_dsim.txt b/Documentation/devicetree/bindings/video/exynos_dsim.txt
index e74243b..ca2b4aa 100644
--- a/Documentation/devicetree/bindings/video/exynos_dsim.txt
+++ b/Documentation/devicetree/bindings/video/exynos_dsim.txt
@@ -4,6 +4,7 @@ Required properties:
- compatible: value should be one of the following
"samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
"samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
+ "samsung,exynos4415-mipi-dsi" /* for Exynos4415 SoC */
"samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
- reg: physical base address and length of the registers set for the device
- interrupts: should contain DSI interrupt
diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
index acf7e9e..ff17c6e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
@@ -316,6 +316,11 @@ static struct exynos_dsi_driver_data exynos4_dsi_driver_data = {
.has_clklane_stop = 1,
};
+static struct exynos_dsi_driver_data exynos4415_dsi_driver_data = {
+ .plltmr_reg = 0x58,
+ .has_clklane_stop = 1,
+};
+
static struct exynos_dsi_driver_data exynos5_dsi_driver_data = {
.plltmr_reg = 0x58,
};
@@ -325,6 +330,8 @@ static struct of_device_id exynos_dsi_of_match[] = {
.data = &exynos3_dsi_driver_data },
{ .compatible = "samsung,exynos4210-mipi-dsi",
.data = &exynos4_dsi_driver_data },
+ { .compatible = "samsung,exynos4415-mipi-dsi",
+ .data = &exynos4415_dsi_driver_data },
{ .compatible = "samsung,exynos5410-mipi-dsi",
.data = &exynos5_dsi_driver_data },
{ }
--
1.9.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 1/4] drm/exynos: dsi: support Exynos4415 SoC
2014-11-07 6:12 ` [PATCH 1/4] drm/exynos: dsi: " YoungJun Cho
@ 2014-11-13 8:42 ` Inki Dae
0 siblings, 0 replies; 8+ messages in thread
From: Inki Dae @ 2014-11-13 8:42 UTC (permalink / raw)
To: YoungJun Cho
Cc: dri-devel, linux-samsung-soc, devicetree, mark.rutland,
pawel.moll, ijc+devicetree, robh+dt, galak, kyungmin.park,
jy0922.shim, sw0312.kim, a.hajda, cw00.choi, kgene.kim
On 2014년 11월 07일 15:12, YoungJun Cho wrote:
> This patch supports Exynos4415 SoC.
>
Applied.
Thanks,
Inki Dae
> Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> Documentation/devicetree/bindings/video/exynos_dsim.txt | 1 +
> drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 +++++++
> 2 files changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/video/exynos_dsim.txt b/Documentation/devicetree/bindings/video/exynos_dsim.txt
> index e74243b..ca2b4aa 100644
> --- a/Documentation/devicetree/bindings/video/exynos_dsim.txt
> +++ b/Documentation/devicetree/bindings/video/exynos_dsim.txt
> @@ -4,6 +4,7 @@ Required properties:
> - compatible: value should be one of the following
> "samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
> "samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
> + "samsung,exynos4415-mipi-dsi" /* for Exynos4415 SoC */
> "samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
> - reg: physical base address and length of the registers set for the device
> - interrupts: should contain DSI interrupt
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> index acf7e9e..ff17c6e 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c
> @@ -316,6 +316,11 @@ static struct exynos_dsi_driver_data exynos4_dsi_driver_data = {
> .has_clklane_stop = 1,
> };
>
> +static struct exynos_dsi_driver_data exynos4415_dsi_driver_data = {
> + .plltmr_reg = 0x58,
> + .has_clklane_stop = 1,
> +};
> +
> static struct exynos_dsi_driver_data exynos5_dsi_driver_data = {
> .plltmr_reg = 0x58,
> };
> @@ -325,6 +330,8 @@ static struct of_device_id exynos_dsi_of_match[] = {
> .data = &exynos3_dsi_driver_data },
> { .compatible = "samsung,exynos4210-mipi-dsi",
> .data = &exynos4_dsi_driver_data },
> + { .compatible = "samsung,exynos4415-mipi-dsi",
> + .data = &exynos4415_dsi_driver_data },
> { .compatible = "samsung,exynos5410-mipi-dsi",
> .data = &exynos5_dsi_driver_data },
> { }
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/4] drm/exynos: fimd: support Exynos4415 SoC
2014-11-07 6:12 [PATCH 0/4] drm/exynos: support Exynos4415 SoC YoungJun Cho
2014-11-07 6:12 ` [PATCH 1/4] drm/exynos: dsi: " YoungJun Cho
@ 2014-11-07 6:12 ` YoungJun Cho
2014-11-13 8:42 ` Inki Dae
2014-11-07 6:12 ` [PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi YoungJun Cho
2014-11-07 6:12 ` [PATCH 4/4] ARM: dts: add mipi dsi " YoungJun Cho
3 siblings, 1 reply; 8+ messages in thread
From: YoungJun Cho @ 2014-11-07 6:12 UTC (permalink / raw)
To: dri-devel
Cc: mark.rutland, devicetree, linux-samsung-soc, pawel.moll,
ijc+devicetree, sw0312.kim, cw00.choi, a.hajda, kyungmin.park,
robh+dt, galak, kgene.kim
This patch supports Exynos4415 SoC.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
Documentation/devicetree/bindings/video/samsung-fimd.txt | 1 +
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt
index 4e6c77c..cf1af63 100644
--- a/Documentation/devicetree/bindings/video/samsung-fimd.txt
+++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt
@@ -11,6 +11,7 @@ Required properties:
"samsung,s5pv210-fimd"; /* for S5PV210 SoC */
"samsung,exynos3250-fimd"; /* for Exynos3250/3472 SoCs */
"samsung,exynos4210-fimd"; /* for Exynos4 SoCs */
+ "samsung,exynos4415-fimd"; /* for Exynos4415 SoC */
"samsung,exynos5250-fimd"; /* for Exynos5 SoCs */
- reg: physical base address and length of the FIMD registers set.
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
index 085b066..5dfbbdb 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
@@ -120,6 +120,15 @@ static struct fimd_driver_data exynos4_fimd_driver_data = {
.has_shadowcon = 1,
};
+static struct fimd_driver_data exynos4415_fimd_driver_data = {
+ .timing_base = 0x20000,
+ .lcdblk_offset = 0x210,
+ .lcdblk_vt_shift = 10,
+ .lcdblk_bypass_shift = 1,
+ .has_shadowcon = 1,
+ .has_vidoutcon = 1,
+};
+
static struct fimd_driver_data exynos5_fimd_driver_data = {
.timing_base = 0x20000,
.lcdblk_offset = 0x214,
@@ -180,6 +189,8 @@ static const struct of_device_id fimd_driver_dt_match[] = {
.data = &exynos3_fimd_driver_data },
{ .compatible = "samsung,exynos4210-fimd",
.data = &exynos4_fimd_driver_data },
+ { .compatible = "samsung,exynos4415-fimd",
+ .data = &exynos4415_fimd_driver_data },
{ .compatible = "samsung,exynos5250-fimd",
.data = &exynos5_fimd_driver_data },
{},
--
1.9.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 2/4] drm/exynos: fimd: support Exynos4415 SoC
2014-11-07 6:12 ` [PATCH 2/4] drm/exynos: fimd: " YoungJun Cho
@ 2014-11-13 8:42 ` Inki Dae
0 siblings, 0 replies; 8+ messages in thread
From: Inki Dae @ 2014-11-13 8:42 UTC (permalink / raw)
To: YoungJun Cho
Cc: mark.rutland, devicetree, linux-samsung-soc, pawel.moll,
ijc+devicetree, sw0312.kim, dri-devel, a.hajda, kyungmin.park,
robh+dt, galak, kgene.kim, cw00.choi
On 2014년 11월 07일 15:12, YoungJun Cho wrote:
> This patch supports Exynos4415 SoC.
Applied.
Thanks,
Inki Dae
>
> Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> Documentation/devicetree/bindings/video/samsung-fimd.txt | 1 +
> drivers/gpu/drm/exynos/exynos_drm_fimd.c | 11 +++++++++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/video/samsung-fimd.txt b/Documentation/devicetree/bindings/video/samsung-fimd.txt
> index 4e6c77c..cf1af63 100644
> --- a/Documentation/devicetree/bindings/video/samsung-fimd.txt
> +++ b/Documentation/devicetree/bindings/video/samsung-fimd.txt
> @@ -11,6 +11,7 @@ Required properties:
> "samsung,s5pv210-fimd"; /* for S5PV210 SoC */
> "samsung,exynos3250-fimd"; /* for Exynos3250/3472 SoCs */
> "samsung,exynos4210-fimd"; /* for Exynos4 SoCs */
> + "samsung,exynos4415-fimd"; /* for Exynos4415 SoC */
> "samsung,exynos5250-fimd"; /* for Exynos5 SoCs */
>
> - reg: physical base address and length of the FIMD registers set.
> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> index 085b066..5dfbbdb 100644
> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c
> @@ -120,6 +120,15 @@ static struct fimd_driver_data exynos4_fimd_driver_data = {
> .has_shadowcon = 1,
> };
>
> +static struct fimd_driver_data exynos4415_fimd_driver_data = {
> + .timing_base = 0x20000,
> + .lcdblk_offset = 0x210,
> + .lcdblk_vt_shift = 10,
> + .lcdblk_bypass_shift = 1,
> + .has_shadowcon = 1,
> + .has_vidoutcon = 1,
> +};
> +
> static struct fimd_driver_data exynos5_fimd_driver_data = {
> .timing_base = 0x20000,
> .lcdblk_offset = 0x214,
> @@ -180,6 +189,8 @@ static const struct of_device_id fimd_driver_dt_match[] = {
> .data = &exynos3_fimd_driver_data },
> { .compatible = "samsung,exynos4210-fimd",
> .data = &exynos4_fimd_driver_data },
> + { .compatible = "samsung,exynos4415-fimd",
> + .data = &exynos4415_fimd_driver_data },
> { .compatible = "samsung,exynos5250-fimd",
> .data = &exynos5_fimd_driver_data },
> {},
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi
2014-11-07 6:12 [PATCH 0/4] drm/exynos: support Exynos4415 SoC YoungJun Cho
2014-11-07 6:12 ` [PATCH 1/4] drm/exynos: dsi: " YoungJun Cho
2014-11-07 6:12 ` [PATCH 2/4] drm/exynos: fimd: " YoungJun Cho
@ 2014-11-07 6:12 ` YoungJun Cho
2014-11-14 8:24 ` Inki Dae
2014-11-07 6:12 ` [PATCH 4/4] ARM: dts: add mipi dsi " YoungJun Cho
3 siblings, 1 reply; 8+ messages in thread
From: YoungJun Cho @ 2014-11-07 6:12 UTC (permalink / raw)
To: dri-devel
Cc: mark.rutland, devicetree, linux-samsung-soc, pawel.moll,
ijc+devicetree, sw0312.kim, cw00.choi, a.hajda, kyungmin.park,
robh+dt, galak, kgene.kim
This patch adds fimd device node to exynos4415.dtsi.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
arch/arm/boot/dts/exynos4415.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi
index c1c9b37..30acb3a 100644
--- a/arch/arm/boot/dts/exynos4415.dtsi
+++ b/arch/arm/boot/dts/exynos4415.dtsi
@@ -234,6 +234,18 @@
interrupts = <0 240 0>;
};
+ fimd: fimd@11C00000 {
+ compatible = "samsung,exynos4415-fimd";
+ reg = <0x11C00000 0x30000>;
+ interrupt-names = "fifo", "vsync", "lcd_sys";
+ interrupts = <0 84 0>, <0 85 0>, <0 86 0>;
+ clocks = <&cmu CLK_SCLK_FIMD0>, <&cmu CLK_FIMD0>;
+ clock-names = "sclk_fimd", "fimd";
+ samsung,power-domain = <&pd_lcd0>;
+ samsung,sysreg = <&sysreg_system_controller>;
+ status = "disabled";
+ };
+
hsotg: hsotg@12480000 {
compatible = "samsung,s3c6400-hsotg";
reg = <0x12480000 0x20000>;
--
1.9.0
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi
2014-11-07 6:12 ` [PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi YoungJun Cho
@ 2014-11-14 8:24 ` Inki Dae
0 siblings, 0 replies; 8+ messages in thread
From: Inki Dae @ 2014-11-14 8:24 UTC (permalink / raw)
To: YoungJun Cho
Cc: mark.rutland, devicetree, linux-samsung-soc, pawel.moll,
ijc+devicetree, sw0312.kim, dri-devel, a.hajda, kyungmin.park,
robh+dt, galak, kgene.kim, cw00.choi
On 2014년 11월 07일 15:12, YoungJun Cho wrote:
> This patch adds fimd device node to exynos4415.dtsi.
>
Hi Kukjin,
Could you merge patch 3 and 4 to your tree? These are dt part for
Exynos4415 drm support. For drm patches, I already merged them.
Thanks,
Inki Dae
> Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> arch/arm/boot/dts/exynos4415.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi
> index c1c9b37..30acb3a 100644
> --- a/arch/arm/boot/dts/exynos4415.dtsi
> +++ b/arch/arm/boot/dts/exynos4415.dtsi
> @@ -234,6 +234,18 @@
> interrupts = <0 240 0>;
> };
>
> + fimd: fimd@11C00000 {
> + compatible = "samsung,exynos4415-fimd";
> + reg = <0x11C00000 0x30000>;
> + interrupt-names = "fifo", "vsync", "lcd_sys";
> + interrupts = <0 84 0>, <0 85 0>, <0 86 0>;
> + clocks = <&cmu CLK_SCLK_FIMD0>, <&cmu CLK_FIMD0>;
> + clock-names = "sclk_fimd", "fimd";
> + samsung,power-domain = <&pd_lcd0>;
> + samsung,sysreg = <&sysreg_system_controller>;
> + status = "disabled";
> + };
> +
> hsotg: hsotg@12480000 {
> compatible = "samsung,s3c6400-hsotg";
> reg = <0x12480000 0x20000>;
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 4/4] ARM: dts: add mipi dsi device node to exynos4415.dtsi
2014-11-07 6:12 [PATCH 0/4] drm/exynos: support Exynos4415 SoC YoungJun Cho
` (2 preceding siblings ...)
2014-11-07 6:12 ` [PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi YoungJun Cho
@ 2014-11-07 6:12 ` YoungJun Cho
3 siblings, 0 replies; 8+ messages in thread
From: YoungJun Cho @ 2014-11-07 6:12 UTC (permalink / raw)
To: dri-devel
Cc: linux-samsung-soc, devicetree, mark.rutland, pawel.moll,
ijc+devicetree, robh+dt, galak, kyungmin.park, inki.dae,
jy0922.shim, sw0312.kim, a.hajda, cw00.choi, kgene.kim
This patch adds mipi dsi device node to exynos4415.dtsi.
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
arch/arm/boot/dts/exynos4415.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi
index 30acb3a..6105236 100644
--- a/arch/arm/boot/dts/exynos4415.dtsi
+++ b/arch/arm/boot/dts/exynos4415.dtsi
@@ -246,6 +246,21 @@
status = "disabled";
};
+ dsi_0: dsi@11C80000 {
+ compatible = "samsung,exynos4415-mipi-dsi";
+ reg = <0x11C80000 0x10000>;
+ interrupts = <0 83 0>;
+ samsung,phy-type = <0>;
+ samsung,power-domain = <&pd_lcd0>;
+ phys = <&mipi_phy 1>;
+ phy-names = "dsim";
+ clocks = <&cmu CLK_DSIM0>, <&cmu CLK_SCLK_MIPI0>;
+ clock-names = "bus_clk", "pll_clk";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
hsotg: hsotg@12480000 {
compatible = "samsung,s3c6400-hsotg";
reg = <0x12480000 0x20000>;
--
1.9.0
^ permalink raw reply related [flat|nested] 8+ messages in thread