[PATCH 2/3] ARM: dts: Add MFC node for exynos 5420

Tomasz Figa t.figa at samsung.com
Wed Jun 19 19:50:50 EST 2013


Hi Arun, Sachin,

On Wednesday 19 of June 2013 14:54:01 Sachin Kamat wrote:
> On 19 June 2013 14:22, Arun Kumar K <arun.kk at samsung.com> wrote:
> > The patch adds MFC nodes for exynos 5420 and for
> > smdk 5420 board.
> > 
> > Signed-off-by: Arun Kumar K <arun.kk at samsung.com>
> > ---
> > 
> >  arch/arm/boot/dts/exynos5420-smdk5420.dts |    5 +++++
> >  arch/arm/boot/dts/exynos5420.dtsi         |    8 ++++++++
> >  2 files changed, 13 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> > b/arch/arm/boot/dts/exynos5420-smdk5420.dts index 08607df..682532c 100644
> > --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> > +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> > @@ -30,4 +30,9 @@
> > 
> >                         clock-frequency = <24000000>;
> >                 
> >                 };
> >         
> >         };
> > 
> > +
> > +       codec at 11000000 {
> > +               samsung,mfc-r = <0x43000000 0x800000>;
> > +               samsung,mfc-l = <0x51000000 0x800000>;
> > +       };
> > 
> >  };
> > 
> > diff --git a/arch/arm/boot/dts/exynos5420.dtsi
> > b/arch/arm/boot/dts/exynos5420.dtsi index 8474d63..cb74356 100644
> > --- a/arch/arm/boot/dts/exynos5420.dtsi
> > +++ b/arch/arm/boot/dts/exynos5420.dtsi
> > @@ -100,4 +100,12 @@
> > 
> >                 clocks = <&clock 260>, <&clock 131>;
> >                 clock-names = "uart", "clk_uart_baud0";
> >         
> >         };
> > 
> > +
> > +       codec at 11000000 {
> > +               compatible = "samsung,mfc-v7";
> > +               reg = <0x11000000 0x10000>;
> > +               interrupts = <0 96 0>;
> > +               clocks = <&clock 401>;
> > +               clock-names = "mfc";
> > +       };
> 
> I think it is better if we disable the IPs in dtsi file and enbale
> them in respective board files as was followed for Exynos4.

+1

Best regards,
Tomasz



More information about the devicetree-discuss mailing list