All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add FIMD DT support for Exynos5 DT Machines
@ 2013-02-26 11:25 Leela Krishna Amudala
  2013-02-26 11:25 ` [PATCH 1/3] ARM: dts: Add FIMD node to exynos5 Leela Krishna Amudala
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Leela Krishna Amudala @ 2013-02-26 11:25 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim

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(+)

-- 
1.8.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/3] ARM: dts: Add FIMD node to exynos5
  2013-02-26 11:25 [PATCH 0/3] Add FIMD DT support for Exynos5 DT Machines Leela Krishna Amudala
@ 2013-02-26 11:25 ` Leela Krishna Amudala
  2013-02-27  8:45   ` Vikas Sajjan
  2013-02-26 11:25 ` [PATCH 2/3] ARM: dts: Add display timing node to exynos5250-smdk5250.dts Leela Krishna Amudala
  2013-02-26 11:25 ` [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT Leela Krishna Amudala
  2 siblings, 1 reply; 8+ messages in thread
From: Leela Krishna Amudala @ 2013-02-26 11:25 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim

This adds common FIMD device node for all Exynos5 SoCs.

Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
---
 arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 3acf594..0ee4706 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -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>;
+	};
 };
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/3] ARM: dts: Add display timing node to exynos5250-smdk5250.dts
  2013-02-26 11:25 [PATCH 0/3] Add FIMD DT support for Exynos5 DT Machines Leela Krishna Amudala
  2013-02-26 11:25 ` [PATCH 1/3] ARM: dts: Add FIMD node to exynos5 Leela Krishna Amudala
@ 2013-02-26 11:25 ` Leela Krishna Amudala
  2013-02-26 11:25 ` [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT Leela Krishna Amudala
  2 siblings, 0 replies; 8+ messages in thread
From: Leela Krishna Amudala @ 2013-02-26 11:25 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim

Add display timing node to exynos5250-smdk5250.dts

Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
---
 arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index e05b18f..2d8c577 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -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>;
+		};
+	};
 };
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT
  2013-02-26 11:25 [PATCH 0/3] Add FIMD DT support for Exynos5 DT Machines Leela Krishna Amudala
  2013-02-26 11:25 ` [PATCH 1/3] ARM: dts: Add FIMD node to exynos5 Leela Krishna Amudala
  2013-02-26 11:25 ` [PATCH 2/3] ARM: dts: Add display timing node to exynos5250-smdk5250.dts Leela Krishna Amudala
@ 2013-02-26 11:25 ` Leela Krishna Amudala
  2013-02-27  8:47   ` Vikas Sajjan
  2 siblings, 1 reply; 8+ messages in thread
From: Leela Krishna Amudala @ 2013-02-26 11:25 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim

Adds the FIMD AUXDATA entry for Exynos5

Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
---
 arch/arm/mach-exynos/include/mach/map.h | 1 +
 arch/arm/mach-exynos/mach-exynos5-dt.c  | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
index 1df6abb..5e3f789 100644
--- a/arch/arm/mach-exynos/include/mach/map.h
+++ b/arch/arm/mach-exynos/include/mach/map.h
@@ -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
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index e99d3d8..14b3ec1 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -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),
 	{},
 };
 
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] ARM: dts: Add FIMD node to exynos5
  2013-02-26 11:25 ` [PATCH 1/3] ARM: dts: Add FIMD node to exynos5 Leela Krishna Amudala
@ 2013-02-27  8:45   ` Vikas Sajjan
  2013-02-27  9:26     ` Leela Krishna Amudala
  0 siblings, 1 reply; 8+ messages in thread
From: Vikas Sajjan @ 2013-02-27  8:45 UTC (permalink / raw)
  To: Leela Krishna Amudala; +Cc: linux-samsung-soc, kgene.kim, inki.dae, sunil joshi

Hi Leela,

On Tue, Feb 26, 2013 at 4:55 PM, Leela Krishna Amudala
<l.krishna@samsung.com> wrote:
> This adds common FIMD device node for all Exynos5 SoCs.
>
> Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index 3acf594..0ee4706 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -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/
> +               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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT
  2013-02-26 11:25 ` [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT Leela Krishna Amudala
@ 2013-02-27  8:47   ` Vikas Sajjan
  0 siblings, 0 replies; 8+ messages in thread
From: Vikas Sajjan @ 2013-02-27  8:47 UTC (permalink / raw)
  To: Leela Krishna Amudala; +Cc: linux-samsung-soc, kgene.kim, inki.dae, sunil joshi

Hi Leela,

On Tue, Feb 26, 2013 at 4:55 PM, Leela Krishna Amudala
<l.krishna@samsung.com> wrote:
> Adds the FIMD AUXDATA entry for Exynos5
>
> Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
> ---
>  arch/arm/mach-exynos/include/mach/map.h | 1 +
>  arch/arm/mach-exynos/mach-exynos5-dt.c  | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
> index 1df6abb..5e3f789 100644
> --- a/arch/arm/mach-exynos/include/mach/map.h
> +++ b/arch/arm/mach-exynos/include/mach/map.h
> @@ -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
> diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
> index e99d3d8..14b3ec1 100644
> --- a/arch/arm/mach-exynos/mach-exynos5-dt.c
> +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
> @@ -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/
>         {},
>  };
>
> --
> 1.8.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] ARM: dts: Add FIMD node to exynos5
  2013-02-27  8:45   ` Vikas Sajjan
@ 2013-02-27  9:26     ` Leela Krishna Amudala
  2013-02-27  9:48       ` Vikas Sajjan
  0 siblings, 1 reply; 8+ messages in thread
From: Leela Krishna Amudala @ 2013-02-27  9:26 UTC (permalink / raw)
  To: Vikas Sajjan; +Cc: linux-samsung-soc, kgene.kim, inki.dae, sunil joshi

Hello Vikas,

On Wed, Feb 27, 2013 at 2:15 PM, Vikas Sajjan <sajjan.linux@gmail.com> wrote:
>
> Hi Leela,
>
> On Tue, Feb 26, 2013 at 4:55 PM, Leela Krishna Amudala
> <l.krishna@samsung.com> wrote:
> > This adds common FIMD device node for all Exynos5 SoCs.
> >
> > Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
> > ---
> >  arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/exynos5250.dtsi
> > b/arch/arm/boot/dts/exynos5250.dtsi
> > index 3acf594..0ee4706 100644
> > --- a/arch/arm/boot/dts/exynos5250.dtsi
> > +++ b/arch/arm/boot/dts/exynos5250.dtsi
> > @@ -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.

> > +               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 majordomo@vger.kernel.org
> > 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/3] ARM: dts: Add FIMD node to exynos5
  2013-02-27  9:26     ` Leela Krishna Amudala
@ 2013-02-27  9:48       ` Vikas Sajjan
  0 siblings, 0 replies; 8+ messages in thread
From: Vikas Sajjan @ 2013-02-27  9:48 UTC (permalink / raw)
  To: Leela Krishna Amudala; +Cc: linux-samsung-soc, kgene.kim, inki.dae, sunil joshi

Hi Leela,

On Wed, Feb 27, 2013 at 2:56 PM, Leela Krishna Amudala
<l.krishna@samsung.com> wrote:
> Hello Vikas,
>
> On Wed, Feb 27, 2013 at 2:15 PM, Vikas Sajjan <sajjan.linux@gmail.com> wrote:
>>
>> Hi Leela,
>>
>> On Tue, Feb 26, 2013 at 4:55 PM, Leela Krishna Amudala
>> <l.krishna@samsung.com> wrote:
>> > This adds common FIMD device node for all Exynos5 SoCs.
>> >
>> > Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
>> > ---
>> >  arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++
>> >  1 file changed, 7 insertions(+)
>> >
>> > diff --git a/arch/arm/boot/dts/exynos5250.dtsi
>> > b/arch/arm/boot/dts/exynos5250.dtsi
>> > index 3acf594..0ee4706 100644
>> > --- a/arch/arm/boot/dts/exynos5250.dtsi
>> > +++ b/arch/arm/boot/dts/exynos5250.dtsi
>> > @@ -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.

yea, right. Will be posting the changes soon.

>
> Best wishes,
> Leela Krishna Amudala.
>
>> > +               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 majordomo@vger.kernel.org
>> > 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 majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-27  9:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-26 11:25 [PATCH 0/3] Add FIMD DT support for Exynos5 DT Machines Leela Krishna Amudala
2013-02-26 11:25 ` [PATCH 1/3] ARM: dts: Add FIMD node to exynos5 Leela Krishna Amudala
2013-02-27  8:45   ` Vikas Sajjan
2013-02-27  9:26     ` Leela Krishna Amudala
2013-02-27  9:48       ` Vikas Sajjan
2013-02-26 11:25 ` [PATCH 2/3] ARM: dts: Add display timing node to exynos5250-smdk5250.dts Leela Krishna Amudala
2013-02-26 11:25 ` [PATCH 3/3] ARM: Exynos5: add FIMD AUXDATA entry for exynos5 DT Leela Krishna Amudala
2013-02-27  8:47   ` Vikas Sajjan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.