mbox

[GIT,PULL] mxs: device tree support for v3.5

Message ID 20120405013556.GI7264@S2101-09.ap.freescale.net
State New
Headers show

Pull-request

git://git.linaro.org/people/shawnguo/linux-2.6.git mxs/dt

Message

Shawn Guo April 5, 2012, 1:36 a.m. UTC
Hi Arnd, Olof,

Please pull the mxs basic device tree support for -next, so that people
can start playing and contributing mxs device tree conversion.  Thanks.

Regards,
Shawn

---
The following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928:

  Linux 3.4-rc1 (2012-03-31 16:24:09 -0700)

are available in the git repository at:
  git://git.linaro.org/people/shawnguo/linux-2.6.git mxs/dt

Dong Aisheng (1):
      ARM: imx28: add basic dt support

 Documentation/devicetree/bindings/arm/fsl.txt |    4 +
 arch/arm/boot/dts/imx28-evk.dts               |   34 +++
 arch/arm/boot/dts/imx28.dtsi                  |  352 +++++++++++++++++++++++++
 arch/arm/mach-mxs/Kconfig                     |   10 +
 arch/arm/mach-mxs/Makefile                    |    1 +
 arch/arm/mach-mxs/clock-mx28.c                |    4 +
 arch/arm/mach-mxs/devices/Kconfig             |    1 -
 arch/arm/mach-mxs/mach-mxs.c                  |   68 +++++
 8 files changed, 473 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx28-evk.dts
 create mode 100644 arch/arm/boot/dts/imx28.dtsi
 create mode 100644 arch/arm/mach-mxs/mach-mxs.c

Comments

Olof Johansson April 15, 2012, 6:29 p.m. UTC | #1
On Wed, Apr 4, 2012 at 6:36 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> Hi Arnd, Olof,
>
> Please pull the mxs basic device tree support for -next, so that people
> can start playing and contributing mxs device tree conversion.  Thanks.
>
> Regards,
> Shawn
>
> ---
> The following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928:
>
>  Linux 3.4-rc1 (2012-03-31 16:24:09 -0700)
>
> are available in the git repository at:
>  git://git.linaro.org/people/shawnguo/linux-2.6.git mxs/dt

Thanks, pulled.

Sorry for the delay, we've been late at starting up the branches for 3.5.


-Olof
Shawn Guo May 7, 2012, 1:54 p.m. UTC | #2
On Sun, Apr 15, 2012 at 11:29:54AM -0700, Olof Johansson wrote:
> On Wed, Apr 4, 2012 at 6:36 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
> > Hi Arnd, Olof,
> >
> > Please pull the mxs basic device tree support for -next, so that people
> > can start playing and contributing mxs device tree conversion.  Thanks.
> >
> > Regards,
> > Shawn
> >
> > ---
> > The following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928:
> >
> >  Linux 3.4-rc1 (2012-03-31 16:24:09 -0700)
> >
> > are available in the git repository at:
> >  git://git.linaro.org/people/shawnguo/linux-2.6.git mxs/dt
> 
> Thanks, pulled.
> 
> Sorry for the delay, we've been late at starting up the branches for 3.5.
> 
Hi Arnd, Olof,

Please abandon this branch.  It will be broken due to the mxs common
clk and pinctrl series.  I'm going to send an updated mxs device tree
branch based on common-clk and pinctrl support after I send those two
prerequisites to you.
Olof Johansson May 10, 2012, 7:17 a.m. UTC | #3
On Mon, May 7, 2012 at 6:54 AM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Sun, Apr 15, 2012 at 11:29:54AM -0700, Olof Johansson wrote:
>> On Wed, Apr 4, 2012 at 6:36 PM, Shawn Guo <shawn.guo@linaro.org> wrote:
>> > Hi Arnd, Olof,
>> >
>> > Please pull the mxs basic device tree support for -next, so that people
>> > can start playing and contributing mxs device tree conversion.  Thanks.
>> >
>> > Regards,
>> > Shawn
>> >
>> > ---
>> > The following changes since commit dd775ae2549217d3ae09363e3edb305d0fa19928:
>> >
>> >  Linux 3.4-rc1 (2012-03-31 16:24:09 -0700)
>> >
>> > are available in the git repository at:
>> >  git://git.linaro.org/people/shawnguo/linux-2.6.git mxs/dt
>>
>> Thanks, pulled.
>>
>> Sorry for the delay, we've been late at starting up the branches for 3.5.
>>
> Hi Arnd, Olof,
>
> Please abandon this branch.  It will be broken due to the mxs common
> clk and pinctrl series.  I'm going to send an updated mxs device tree
> branch based on common-clk and pinctrl support after I send those two
> prerequisites to you.

Hrm. It would have probably been better to base the pinctrl and clk
work on top of this, since we tend to order the dt work before much of
the other topic branches.

Anyway, I've rebuilt next/dt without this branch now. I will temporary
just revert the merge in for-next until it's rebuilt next time.


-Olof
Shawn Guo May 10, 2012, 7:55 a.m. UTC | #4
On 10 May 2012 15:17, Olof Johansson <olof@lixom.net> wrote:
> Hrm. It would have probably been better to base the pinctrl and clk
> work on top of this, since we tend to order the dt work before much of
> the other topic branches.
>
It will be hard to do.  Device tree support naturally depends on
pinctrl support.  Pinctrl is actually a blocker for many platforms to
be converted over to DT.  I'm supporting pinctrl for mach-mxs from the
beginning we move to DT, and those mxs drivers have to be based on
pinctrl to have their pins defined in DT to work.

>From my experience on DT migration, the clock file will constantly be
touched to change/add clk lookup.  It's hard to tell that there will
no further DT support touching clock when we convert clock to common
clk at some point.  I think it will be easier to have DT based on
common clk series.

> Anyway, I've rebuilt next/dt without this branch now. I will temporary
> just revert the merge in for-next until it's rebuilt next time.
>
Thanks, Olof.

Regards,
Shawn