devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt
@ 2012-03-05 21:41 Andrew Lunn
  2012-03-05 22:25 ` Jason
  0 siblings, 1 reply; 13+ messages in thread
From: Andrew Lunn @ 2012-03-05 21:41 UTC (permalink / raw)
  To: jason-NLaQJdtUoK4Be96aLqz0jA
  Cc: nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

> > If the drivers want to use it, I think it has to be orion_find_tclk for
> > drivers that are shared between multiple plat-orion platforms.
> 
> That's pretty much all of them  :-)
> 
> I'll rename it and move it to plat-orion/common.c.  This'll be fun.

Hi Jason

Maybe it is time to stop and consider a moment....

We have overlapping work going on. My adoption of Mike's generic clk
framework overlaps a lot with your DT tclk problems. If you introduce
orion_find_tclk() into all the drivers, we are probably going to rip
it all out again once my patches go in. Plus we are going to have
horrible merging conflicts between your code and my code

It seems more logical to get the clk code in first, then work on DT.

Could you task swap for a while? Maybe look at converting MPP to
pinmux and then add DT bindings for that. No tclk needed :-)

       Andrew

^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/5 v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt
@ 2012-03-02 17:50 Jason Cooper
  2012-03-02 17:50 ` [PATCH 5/5 v2] ARM: kirkwood: convert orion-wdt " Jason Cooper
  0 siblings, 1 reply; 13+ messages in thread
From: Jason Cooper @ 2012-03-02 17:50 UTC (permalink / raw)
  To: arnd-r2nGTMty4D4, grant.likely-s3s/WqlpOiPyB63q8FvJNQ
  Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ, Jason Cooper,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

This series begins the process of converting all of the drivers initialized
from kirkwood_init() to devicetree.

The first patch converts an off-SoC driver (spi) to device tree and moves flash
partition definitions to the device tree.  This was previously it's own
submission, but I've included it here since I want this series to match the
subsequent pull request against arm-soc/kirkwood/board.

The second patch cleans up kirkwood_init() by moving a flag setting to it's
appropriate location.  This will help later when converting the audio driver.

Next, I pull the functionality of kirkwood_init() into kirkwood_dt_init() in
board-dt.c  This way, as drivers are converted, their init calls can be removed
from kirkwood_dt_init() and non-fdt users won't be affected (they call
kirkwood_init()).

Last, I converted the two easiest drivers, rtc and wdt.  The xor and crypto
drivers remain for a later patch series.

Jason Cooper (5):
  ARM: kirkwood: covert orion-spi to fdt.
  ARM: kirkwood: move var setting to correct location.
  ARM: kirkwood: fdt: absorb kirkwood_init()
  ARM: kirkwood: convert rtc-mv to fdt.
  ARM: kirkwood: convert orion-wdt to fdt.

 arch/arm/boot/dts/kirkwood-dreamplug.dts |   34 +++++++++++++++
 arch/arm/boot/dts/kirkwood.dtsi          |   12 +++++
 arch/arm/mach-kirkwood/board-dt.c        |   67 +++++++++++------------------
 arch/arm/mach-kirkwood/common.c          |   21 +++++++--
 arch/arm/mach-kirkwood/common.h          |    6 +++
 drivers/rtc/rtc-mv.c                     |    7 +++
 drivers/spi/spi-orion.c                  |   37 +++++++++++++++--
 drivers/watchdog/orion_wdt.c             |   48 ++++++++++++++++-----
 8 files changed, 170 insertions(+), 62 deletions(-)

-- 
1.7.3.4

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

end of thread, other threads:[~2012-03-06 14:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 21:41 [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt Andrew Lunn
2012-03-05 22:25 ` Jason
  -- strict thread matches above, loose matches on Subject: below --
2012-03-02 17:50 [PATCH 0/5 " Jason Cooper
2012-03-02 17:50 ` [PATCH 5/5 v2] ARM: kirkwood: convert orion-wdt " Jason Cooper
2012-03-02 18:32   ` Arnd Bergmann
     [not found]     ` <201203021832.34901.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-02 20:00       ` [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs " Jason
     [not found]         ` <20120302200034.GQ11986-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-02 20:35           ` Arnd Bergmann
     [not found]             ` <201203022035.44672.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-02 21:18               ` Arnd Bergmann
     [not found]                 ` <201203022118.05796.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-05 18:49                   ` Nicolas Pitre
     [not found]                     ` <alpine.LFD.2.02.1203051344130.31242-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2012-03-05 19:15                       ` Jason
     [not found]                         ` <20120305191546.GK5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-05 20:16                           ` Arnd Bergmann
     [not found]                             ` <201203052016.26949.arnd-r2nGTMty4D4@public.gmane.org>
2012-03-05 20:29                               ` Jason
     [not found]                                 ` <20120305202941.GN5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-05 20:43                                   ` Nicolas Pitre
     [not found]                                     ` <alpine.LFD.2.02.1203051542190.31242-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2012-03-05 21:17                                       ` Jason
     [not found]                                         ` <20120305211737.GO5050-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2012-03-05 21:27                                           ` Nicolas Pitre
     [not found]                                             ` <alpine.LFD.2.02.1203051626370.31242-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2012-03-06 14:29                                               ` Jason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).