From: Joonyoung Shim <jy0922.shim@samsung.com> To: Leela Krishna Amudala <l.krishna@samsung.com> Cc: devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com, jg1.han@samsung.com, joshi@samsung.com, grant.likely@secretlab.ca, linux-samsung-soc@vger.kernel.org, thomas.ab@samsung.com, olofj@google.com Subject: Re: [PATCH V2 5/7] ARM: EXYNOS: add device tree based discovery support for FIMD Date: Fri, 20 Jul 2012 16:39:21 +0900 [thread overview] Message-ID: <50090B29.4060809@samsung.com> (raw) In-Reply-To: <1342591053-7092-6-git-send-email-l.krishna@samsung.com> On 07/18/2012 02:57 PM, Leela Krishna Amudala wrote: > This patch adds support for device tree based discovery for Samsung's > display controller. Adds DRM-Fimd plat data for smdk5250 > evt1 to the corresponding dts file > > Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com> > --- > arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 ++++++++++++++++ > arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++ Please make separated patches for exynos5250.dtsi and exynos5250-smdk5250.dts. > arch/arm/mach-exynos/include/mach/map.h | 1 + > arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++ > 4 files changed, 26 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts > index 8a5e348..c8d32f5 100644 > --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts > +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts > @@ -109,4 +109,20 @@ > spi_2: spi@12d40000 { > status = "disabled"; > }; > + > + lcd_fimd0: lcd_panel0 { > + lcd-htiming = <4 4 4 1280>; > + lcd-vtiming = <4 4 4 800>; > + supports-mipi-panel; > + }; > + > + fimd { > + samsung,fimd-display = <&lcd_fimd0>; > + samsung,fimd-vidout-rgb; > + samsung,fimd-inv-vclk; > + samsung,fimd-frame-rate = <60>; > + samsung,default-window = <0>; > + samsung,fimd-win-bpp = <32>; > + }; > + > }; > diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi > index a3a2eb2..3a67092 100644 > --- a/arch/arm/boot/dts/exynos5250.dtsi > +++ b/arch/arm/boot/dts/exynos5250.dtsi > @@ -460,4 +460,11 @@ > #gpio-cells = <4>; > }; > }; > + > + fimd { > + compatible = "samsung,exynos5-drm"; > + interrupt-parent = <&combiner>; > + reg = <0x14400000 0x40000>; > + interrupts = <18 5>, <18 4>, <18 6>; > + }; > }; > diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h > index c72b675..f027da2 100644 > --- a/arch/arm/mach-exynos/include/mach/map.h > +++ b/arch/arm/mach-exynos/include/mach/map.h > @@ -170,6 +170,7 @@ > #define EXYNOS4_PA_MIPI_CSIS1 0x11890000 > > #define EXYNOS4_PA_FIMD0 0x11C00000 > +#define EXYNOS5_PA_FIMD1 0x14400000 Is FIMD1 name right? I know exynos5250 has one FIMD, so use FIMD postfix. > > #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 99f2b24..2107e01 100644 > --- a/arch/arm/mach-exynos/mach-exynos5-dt.c > +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c > @@ -158,6 +158,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA0, "dma-pl330.0", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.1", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA1, "dma-pl330.2", NULL), > + OF_DEV_AUXDATA("samsung,exynos5-drm", EXYNOS5_PA_FIMD1, > + "exynos5-fb", NULL), > {}, > }; > Thanks.
WARNING: multiple messages have this Message-ID (diff)
From: jy0922.shim@samsung.com (Joonyoung Shim) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V2 5/7] ARM: EXYNOS: add device tree based discovery support for FIMD Date: Fri, 20 Jul 2012 16:39:21 +0900 [thread overview] Message-ID: <50090B29.4060809@samsung.com> (raw) In-Reply-To: <1342591053-7092-6-git-send-email-l.krishna@samsung.com> On 07/18/2012 02:57 PM, Leela Krishna Amudala wrote: > This patch adds support for device tree based discovery for Samsung's > display controller. Adds DRM-Fimd plat data for smdk5250 > evt1 to the corresponding dts file > > Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com> > --- > arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 ++++++++++++++++ > arch/arm/boot/dts/exynos5250.dtsi | 7 +++++++ Please make separated patches for exynos5250.dtsi and exynos5250-smdk5250.dts. > arch/arm/mach-exynos/include/mach/map.h | 1 + > arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++ > 4 files changed, 26 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts > index 8a5e348..c8d32f5 100644 > --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts > +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts > @@ -109,4 +109,20 @@ > spi_2: spi at 12d40000 { > status = "disabled"; > }; > + > + lcd_fimd0: lcd_panel0 { > + lcd-htiming = <4 4 4 1280>; > + lcd-vtiming = <4 4 4 800>; > + supports-mipi-panel; > + }; > + > + fimd { > + samsung,fimd-display = <&lcd_fimd0>; > + samsung,fimd-vidout-rgb; > + samsung,fimd-inv-vclk; > + samsung,fimd-frame-rate = <60>; > + samsung,default-window = <0>; > + samsung,fimd-win-bpp = <32>; > + }; > + > }; > diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi > index a3a2eb2..3a67092 100644 > --- a/arch/arm/boot/dts/exynos5250.dtsi > +++ b/arch/arm/boot/dts/exynos5250.dtsi > @@ -460,4 +460,11 @@ > #gpio-cells = <4>; > }; > }; > + > + fimd { > + compatible = "samsung,exynos5-drm"; > + interrupt-parent = <&combiner>; > + reg = <0x14400000 0x40000>; > + interrupts = <18 5>, <18 4>, <18 6>; > + }; > }; > diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h > index c72b675..f027da2 100644 > --- a/arch/arm/mach-exynos/include/mach/map.h > +++ b/arch/arm/mach-exynos/include/mach/map.h > @@ -170,6 +170,7 @@ > #define EXYNOS4_PA_MIPI_CSIS1 0x11890000 > > #define EXYNOS4_PA_FIMD0 0x11C00000 > +#define EXYNOS5_PA_FIMD1 0x14400000 Is FIMD1 name right? I know exynos5250 has one FIMD, so use FIMD postfix. > > #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 99f2b24..2107e01 100644 > --- a/arch/arm/mach-exynos/mach-exynos5-dt.c > +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c > @@ -158,6 +158,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA0, "dma-pl330.0", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_PDMA1, "dma-pl330.1", NULL), > OF_DEV_AUXDATA("arm,pl330", EXYNOS5_PA_MDMA1, "dma-pl330.2", NULL), > + OF_DEV_AUXDATA("samsung,exynos5-drm", EXYNOS5_PA_FIMD1, > + "exynos5-fb", NULL), > {}, > }; > Thanks.
next prev parent reply other threads:[~2012-07-20 7:39 UTC|newest] Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-18 5:57 [PATCH V2 0/7] Add device tree based discovery support for drm-fimd Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-18 5:57 ` [PATCH V2 1/7] ARM: SAMSUNG: add additional registers and SFR definitions for writeback Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-18 6:51 ` Marek Szyprowski 2012-07-18 6:51 ` Marek Szyprowski 2012-07-18 7:09 ` Ajay kumar 2012-07-18 7:09 ` Ajay kumar [not found] ` <CAEC9eQP01q+ddhA9Q4VQcm8wuvJXmR5KvAVZgX6MEdFLstST0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2012-07-20 10:09 ` Sylwester Nawrocki 2012-07-20 10:09 ` Sylwester Nawrocki 2012-07-19 12:43 ` Leela Krishna Amudala 2012-07-19 12:43 ` Leela Krishna Amudala 2012-07-20 6:45 ` Marek Szyprowski 2012-07-20 6:45 ` Marek Szyprowski 2012-07-18 11:05 ` Tomasz Figa 2012-07-18 11:05 ` Tomasz Figa 2012-07-19 13:00 ` Leela Krishna Amudala 2012-07-19 13:00 ` Leela Krishna Amudala 2012-07-19 13:35 ` Tomasz Figa 2012-07-19 13:35 ` Tomasz Figa 2012-07-20 2:21 ` Jingoo Han 2012-07-20 2:21 ` Jingoo Han 2012-07-20 2:59 ` Leela Krishna Amudala 2012-07-20 2:59 ` Leela Krishna Amudala 2012-07-20 9:49 ` Tomasz Figa 2012-07-20 9:49 ` Tomasz Figa 2012-07-20 10:00 ` Sylwester Nawrocki 2012-07-20 10:00 ` Sylwester Nawrocki 2012-07-20 11:07 ` Leela Krishna Amudala 2012-07-20 11:07 ` Leela Krishna Amudala 2012-07-20 12:54 ` Sylwester Nawrocki 2012-07-20 12:54 ` Sylwester Nawrocki 2012-07-22 22:35 ` Jingoo Han 2012-07-22 22:35 ` Jingoo Han 2012-07-18 5:57 ` [PATCH V2 2/7] ARM: EXYNOS5: add machine specific support for backlight Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-18 5:57 ` [PATCH V2 3/7] ARM: EXYNOS5: add machine specific support for LCD Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-18 6:45 ` Marek Szyprowski 2012-07-18 6:45 ` Marek Szyprowski 2012-07-19 13:21 ` Leela Krishna Amudala 2012-07-19 13:21 ` Leela Krishna Amudala 2012-07-20 6:31 ` Marek Szyprowski 2012-07-20 6:31 ` Marek Szyprowski 2012-07-24 16:02 ` Leela Krishna Amudala 2012-07-24 16:02 ` Leela Krishna Amudala 2012-07-20 7:17 ` Joonyoung Shim 2012-07-20 7:17 ` Joonyoung Shim 2012-07-18 5:57 ` [PATCH V2 4/7] ARM: EXYNOS: Adding DRM platform device Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-20 7:33 ` Joonyoung Shim 2012-07-20 7:33 ` Joonyoung Shim 2012-07-18 5:57 ` [PATCH V2 5/7] ARM: EXYNOS: add device tree based discovery support for FIMD Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-20 7:39 ` Joonyoung Shim [this message] 2012-07-20 7:39 ` Joonyoung Shim 2012-07-18 5:57 ` [PATCH V2 6/7] ARM: EXYNOS5: Add the bus clock " Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-23 8:34 ` Joonyoung Shim 2012-07-23 8:34 ` Joonyoung Shim 2012-07-23 9:54 ` Joonyoung Shim 2012-07-23 9:54 ` Joonyoung Shim 2012-07-23 23:14 ` Jingoo Han 2012-07-23 23:14 ` Jingoo Han 2012-07-23 23:45 ` Joonyoung Shim 2012-07-23 23:45 ` Joonyoung Shim 2012-07-23 23:48 ` Jingoo Han 2012-07-23 23:48 ` Jingoo Han [not found] ` <500DE22F.5010006-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 2012-07-23 23:55 ` Jingoo Han 2012-07-23 23:55 ` Jingoo Han 2012-07-24 1:55 ` Joonyoung Shim 2012-07-24 1:55 ` Joonyoung Shim [not found] ` <500E00A3.8080203-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> 2012-07-24 2:15 ` Jingoo Han 2012-07-24 2:15 ` Jingoo Han 2012-07-24 3:06 ` Joonyoung Shim 2012-07-24 3:06 ` Joonyoung Shim 2012-07-24 4:02 ` Jingoo Han 2012-07-24 4:02 ` Jingoo Han 2012-07-24 9:13 ` Sylwester Nawrocki 2012-07-24 9:13 ` Sylwester Nawrocki 2012-07-18 5:57 ` [PATCH V2 7/7] ARM: EXYNOS5: Set parent clock to fimd Leela Krishna Amudala 2012-07-18 5:57 ` Leela Krishna Amudala 2012-07-23 8:41 ` Joonyoung Shim 2012-07-23 8:41 ` Joonyoung Shim
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=50090B29.4060809@samsung.com \ --to=jy0922.shim@samsung.com \ --cc=devicetree-discuss@lists.ozlabs.org \ --cc=grant.likely@secretlab.ca \ --cc=jg1.han@samsung.com \ --cc=joshi@samsung.com \ --cc=kgene.kim@samsung.com \ --cc=l.krishna@samsung.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=olofj@google.com \ --cc=thomas.ab@samsung.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.