Re: orion/kirkwood and device tree support

2011-11-04 Thread Jason
, pcie.c, and cpuidle.c 5.) build arch/arm/boot/dts/kirkwood-*.dts for other boards. I'd be happy to coordinate and test, although I have no buffalo gear. And I sure would appreciate some help. ;-) thx, Jason. ___ devicetree-discuss m

Re: orion/kirkwood and device tree support

2011-11-04 Thread Jason
common.c and irq.c 3.) get it working cleanly. 4.) add in calls from mpp.c, pcie.c, and cpuidle.c 5.) build arch/arm/boot/dts/kirkwood-*.dts for other boards. I'd be happy to coordinate and test, although I have no buffalo gear. And I sure would app

memory map in fdt was: Re: orion/kirkwood and device tree

2011-11-04 Thread Jason
iver. > > Is there a best practice for doing such things with device tree aware drivers? thx, Jason. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 3/3] arm: kirkwood: convert uart0 to devicetree.

2012-02-23 Thread Jason
On Wed, Feb 22, 2012 at 08:55:27PM +, Arnd Bergmann wrote: > On Wednesday 22 February 2012, Jason Cooper wrote: > > This uart is common to all kirkwood SoC's, so I placed it in the > > kirkwood.dtsi. > > > > Signed-off-by: Jason Cooper > > I'm

Re: [PATCH 1/3] arm: ignore devicetree blobs.

2012-02-23 Thread Jason
Dave, On Thu, Feb 23, 2012 at 09:16:30AM +, Dave Martin wrote: > On Wed, Feb 22, 2012 at 11:26:19PM +0100, Uwe Kleine-K?nig wrote: > > On Wed, Feb 22, 2012 at 07:18:44PM +0000, Jason Cooper wrote: > > > > > > Signed-off-by: Jason Cooper > > /me claims

Re: [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support.

2012-02-23 Thread Jason
On Thu, Feb 23, 2012 at 07:34:33AM +, Arnd Bergmann wrote: > On Thursday 23 February 2012, Rob Herring wrote: > > On 02/22/2012 01:18 PM, Jason Cooper wrote: > > > > diff --git a/arch/arm/mach-kirkwood/Kconfig > > > b/arch/arm/mach-kirkwood/Kconfig >

Re: [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support.

2012-02-23 Thread Jason
On Thu, Feb 23, 2012 at 11:56:46AM -0700, Grant Likely wrote: > On Thu, Feb 23, 2012 at 9:12 AM, Jason wrote: > > On Thu, Feb 23, 2012 at 07:34:33AM +, Arnd Bergmann wrote: > >> On Thursday 23 February 2012, Rob Herring wrote: > >> > On 02/22/201

Re: [PATCH 1/2 v5] arm: kirkwood: add dreamplug (fdt) support.

2012-02-23 Thread Jason
On Thu, Feb 23, 2012 at 01:18:55PM -0700, Grant Likely wrote: > On Thu, Feb 23, 2012 at 12:52 PM, Jason Cooper wrote: > > Initially, copied guruplug-setup.c and did s/guruplug/dreamplug/g. > > Then, switched to SPI based NOR flash. > > > > After talking to Arnd Be

Re: [PATCH 1/2 v5] arm: kirkwood: add dreamplug (fdt) support.

2012-02-24 Thread Jason
On Thu, Feb 23, 2012 at 02:21:15PM -0700, Grant Likely wrote: > On Thu, Feb 23, 2012 at 2:11 PM, Jason wrote: > > On Thu, Feb 23, 2012 at 01:18:55PM -0700, Grant Likely wrote: > >> On Thu, Feb 23, 2012 at 12:52 PM, Jason Cooper > >> wrote: > >> > Initi

Re: [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support.

2012-02-24 Thread Jason
On Fri, Feb 24, 2012 at 08:57:53AM +0100, Andrew Lunn wrote: > Hi Jason > > Great to see this work going forward. I hope we can cooperating in the > future. I have an out of tree kirkwood board i would like to supported > via DT, and i also have a QNAP T119+ i can use for testi

Re: [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support.

2012-02-24 Thread Jason
On Fri, Feb 24, 2012 at 08:57:53AM +0100, Andrew Lunn wrote: > Hi Jason > > Great to see this work going forward. I hope we can cooperating in the > future. I have an out of tree kirkwood board i would like to supported > via DT, and i also have a QNAP T119+ i can use for testi

Re: [PATCH 1/2 v5] arm: kirkwood: add dreamplug (fdt) support.

2012-02-24 Thread Jason
On Thu, Feb 23, 2012 at 02:21:15PM -0700, Grant Likely wrote: > On Thu, Feb 23, 2012 at 2:11 PM, Jason wrote: > > On Thu, Feb 23, 2012 at 01:18:55PM -0700, Grant Likely wrote: > >> On Thu, Feb 23, 2012 at 12:52 PM, Jason Cooper > >> wrote: > >> > Initi

Re: [PATCH 0/2 v5] arm: kirkwood: add dreamplug/devicetree support

2012-02-27 Thread Jason
On Sun, Feb 26, 2012 at 11:00:38AM +, Ian Campbell wrote: > On Thu, 2012-02-23 at 19:52 +0000, Jason Cooper wrote: > > This patch series provides initial support for devicetree on kirkwood for > > the > > dreamplug platform. After discussing the approach with Arnd B

Re: [PATCH 0/2 v6] arm: kirkwood: add dreamplug/devicetree support

2012-02-27 Thread Jason
On Mon, Feb 27, 2012 at 04:29:37PM +, Arnd Bergmann wrote: > On Monday 27 February 2012, Jason Cooper wrote: > > This patch series provides initial support for devicetree on kirkwood for > > the > > dreamplug platform. After discussing the approach with Arnd Bergman last

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Jason
> I just hope the generic clk does not take too long to land. > > Excellent, that will of course be the best solution in the long run. Agreed. thx, Jason. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH WIP] ARM: kirkwood: covert orion-spi to fdt.

2012-02-28 Thread Jason
On Tue, Feb 28, 2012 at 07:39:24AM +, Arnd Bergmann wrote: > On Monday 27 February 2012, Jason Cooper wrote: > > On the Globalscale Dreamplug (Marvell Kirkwood Development Platform), > > 2MB of NOR flash are used to hold the bootloader, bootloader > > environment, and de

Re: [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support.

2012-02-29 Thread Jason
easy to migrate to generic CLK/clkdev once it lands. thx, Jason. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 2/3 v4] arm: kirkwood: add dreamplug (fdt) support.

2012-03-01 Thread Jason
On Thu, Mar 01, 2012 at 12:53:26AM +0100, Andrew Lunn wrote: > On Wed, Feb 29, 2012 at 09:44:50AM -0500, Jason wrote: > > On Fri, Feb 24, 2012 at 08:57:53AM +0100, Andrew Lunn wrote: > > > I have some patches under development which will help. > > > > Any chance you

Re: [PATCH 0/4] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-01 Thread Jason
On Thu, Mar 01, 2012 at 07:50:51PM +, Arnd Bergmann wrote: > On Thursday 01 March 2012, Jason Cooper wrote: > > This series begins the process of converting all of the drivers initialized > > from kirkwood_init() to devicetree. > > > > The first patch cleans up

Re: [PATCH] mach-kirkwood: Support for DLink DNS-320 & DNS-325 NAS

2012-03-01 Thread Jason
ery useful. > > Hi Jamie, > > I just saw this patch going through the mailing list and noticed that you > had sent it out another time before without getting any reply. > > I'm sorry that you did not get any feedback on this. Jason Cooper had a > similar patch and he

Re: [PATCH 0/4] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-01 Thread Jason
On Thu, Mar 01, 2012 at 08:28:04PM +, Arnd Bergmann wrote: > On Thursday 01 March 2012, Jason wrote: > > Thanks for the feedback. I'll redo this series and resubmit. Did you > > catch my patch from yesterday? > > > > [PATCH v3] ARM: kirkwood: covert orion

Re: [PATCH 3/4] ARM: kirkwood: convert rtc-mv to fdt.

2012-03-01 Thread Jason
On Thu, Mar 01, 2012 at 07:35:58PM +, Arnd Bergmann wrote: > On Thursday 01 March 2012, Jason Cooper wrote: > > The comment at mach-kirkwood/common.c:469, says this device is in every > > kirkwood board. So, it is placed in kirkwood.dtsi. > > > > @@ -218,10 +220

Re: [PATCH 4/4] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-02 Thread Jason
On Fri, Mar 02, 2012 at 10:15:11AM +0100, Simon Guinot wrote: > Hi Jason, > > On Thu, Mar 01, 2012 at 06:20:55PM +0000, Jason Cooper wrote: > > Converted register address to a variable so that it could be set from > > fdt. Also, pull clock frequency from fdt and clean up fa

Re: [PATCH 4/4] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-02 Thread Jason
On Fri, Mar 02, 2012 at 02:56:47PM +, Arnd Bergmann wrote: > On Friday 02 March 2012, Jason wrote: > > Grr... good catch. I originally had this in kirkwood-dreamplug.dts, > > which is always 2. That's not the case in kirkwood.dtsi. What > > I would like to

Re: [PATCH 3/4] ARM: kirkwood: convert rtc-mv to fdt.

2012-03-02 Thread Jason
On Fri, Mar 02, 2012 at 01:19:39AM -0600, Grant Likely wrote: > On Thu, 1 Mar 2012 18:20:54 +0000, Jason Cooper wrote: > > The comment at mach-kirkwood/common.c:469, says this device is in every > > kirkwood board. So, it is placed in kirkwood.dtsi. > > > >

Re: [PATCH 0/4] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-02 Thread Jason
On Thu, Mar 01, 2012 at 10:14:06PM +, Arnd Bergmann wrote: > On Thursday 01 March 2012, Jason wrote: > > On Thu, Mar 01, 2012 at 08:28:04PM +, Arnd Bergmann wrote: > > > On Thursday 01 March 2012, Jason wrote: > > > > Thanks for the feedback. I'll redo

Re: [PATCH 4/4] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-02 Thread Jason
On Fri, Mar 02, 2012 at 04:48:51PM +, Arnd Bergmann wrote: > On Friday 02 March 2012, Jason wrote: > > > > > > That would make wdt@fed20300/clock-frequency a phandle pointing to the > > > root property, which is not what we want here. > > > > The 20

Re: [PATCH 0/4] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-02 Thread Jason
On Fri, Mar 02, 2012 at 04:58:11PM +, Arnd Bergmann wrote: > On Friday 02 March 2012, Jason wrote: > > > > > > I have other commit IDs for the two patches that I took from your > > > emails, so you should rebase the other patches on top of the > > > vers

Re: [PULL REQUEST] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-02 Thread Jason
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34: ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +) are available in the git repository at: git://git.infradead.org/users/jcooper/linux-kirkwood.git kirkwood_dt_test Jason Cooper (5): ARM

Re: [PULL REQUEST] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-02 Thread Jason
Oops, forgot to remove the Re:... On Fri, Mar 02, 2012 at 12:52:33PM -0500, Jason wrote: > The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34: > > ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +) > > are available in the gi

Re: [PATCH 5/5 v2] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-02 Thread Jason
On Fri, Mar 02, 2012 at 06:32:33PM +, Arnd Bergmann wrote: > On Friday 02 March 2012, Jason Cooper wrote: > > + wdt_reg = (void __iomem *)TIMER_VIRT_BASE; > > + > > + ret = of_address_to_resource(np, 0, &res); > > + if (ret) { > > +

[PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-02 Thread Jason
The following changes since commit 759a45185ac0e4dfaf8bbfcb390ec73aca4b7a34: ARM: kirkwood: convert uart0 to devicetree. (2012-02-27 16:21:44 +) are available in the git repository at: git://git.infradead.org/users/jcooper/linux-kirkwood.git kirkwood_dt_test Jason Cooper (5): ARM

Re: [PATCH 4/4] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-03 Thread Jason
breaking > orion5x, because i cannot test it. Wow, you're right, I was way off. I must not have read that over before sending. My mistake. > I will send the patches as RFC on Sunday. I'm traveling at the moment. Awesome, thanks. Jason. __

Re: [PATCH 5/5 v2] ARM: kirkwood: convert orion-wdt to fdt.

2012-03-03 Thread Jason
On Sat, Mar 03, 2012 at 10:08:53AM +, Russell King - ARM Linux wrote: > On Fri, Mar 02, 2012 at 06:32:33PM +, Arnd Bergmann wrote: > > On Friday 02 March 2012, Jason Cooper wrote: > > > + wdt_reg = (void __iomem *)TIMER_VIRT_BASE; > > > + > > > +

Re: [PATCH 3/4] ARM: kirkwood: convert rtc-mv to fdt.

2012-03-04 Thread Jason
ption which one to bind to. Anything > that > has an rtc compatible with the one in orion should list that one, so that the > driver > only has to list that one if they are truely identical, but if the driver has > to > get modified later to know the difference betwe

Re: [PATCH 4/5 v2] ARM: kirkwood: convert rtc-mv to fdt.

2012-03-04 Thread Jason
lse #define rtc_mv_of_match_table = NULL; #endif I'll restore the #ifdef/#endif across the kirkwood code I've changed so far, without the #else. __unused shouldn't be necessary, then. Thanks for the review, Michael. thx, Jason. [1] http://www.spinics.net/lists/arm-kernel/msg16

Re: [GIT PULL v3] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
On Sun, Mar 04, 2012 at 10:41:13PM -0500, Jason Cooper wrote: > rtc-mv: more accurate compatible strings > orion-wdt: more accurate compatible strings ... > arch/arm/boot/dts/kirkwood-dreamplug.dts | 34 +++ > arch/arm/boot/dts/kirkwood.dtsi | 12

Re: [GIT PULL v3] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
On Mon, Mar 05, 2012 at 03:16:56PM +0100, Andrew Lunn wrote: > > On Sun, Mar 04, 2012 at 10:41:13PM -0500, Jason Cooper wrote: > > > rtc-mv: more accurate compatible strings > > > orion-wdt: more accurate compatible strings > > ... > > > arch/arm

Re: [GIT PULL v3] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
On Mon, Mar 05, 2012 at 02:34:34PM +, Arnd Bergmann wrote: > On Monday 05 March 2012, Jason wrote: > > This is still bugging me. If, say, orion_wdt.c is common to all of > > plat-orion/ shouldn't it be in an 'orion.dtsi'? With compatible = > > "mar

Re: [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
On Mon, Mar 05, 2012 at 01:49:35PM -0500, Nicolas Pitre wrote: > On Fri, 2 Mar 2012, Arnd Bergmann wrote: > > > On Friday 02 March 2012, Arnd Bergmann wrote: > > > On Friday 02 March 2012, Jason wrote: > > > > The following changes since commit > > >

Re: [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
On Mon, Mar 05, 2012 at 08:16:26PM +, Arnd Bergmann wrote: > On Monday 05 March 2012, Jason wrote: > > > > > > The clock frequency part being hardcoded to 20 in the common .dtsi > > > file looks wrong. The clock may differ, and it used to (and should

Re: [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
On Mon, Mar 05, 2012 at 03:43:42PM -0500, Nicolas Pitre wrote: > On Mon, 5 Mar 2012, Jason wrote: > > > On Mon, Mar 05, 2012 at 08:16:26PM +, Arnd Bergmann wrote: > > > On Monday 05 March 2012, Jason wrote: > > > > > > > > > > The clock fre

Re: [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-05 Thread Jason
t; 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 I'd love to deconflict but I haven't seen your RFC patches, yet. thx, Jason. __

Re: [PULL REQUEST v2] ARM: kirkwood: fdt: convert kirkwood init funcs to fdt

2012-03-06 Thread Jason
On Mon, Mar 05, 2012 at 04:27:27PM -0500, Nicolas Pitre wrote: > On Mon, 5 Mar 2012, Jason wrote: > > > On Mon, Mar 05, 2012 at 03:43:42PM -0500, Nicolas Pitre wrote: > > > On Mon, 5 Mar 2012, Jason wrote: > > > > > > > On Mon, Mar 05, 2012 at 08:16:26P

Re: [PATCH] mach-kirkwood: Support for DLink DNS-320 & DNS-325 NAS

2012-03-07 Thread Jason
On Wed, Mar 07, 2012 at 02:25:10PM +, Jamie Lentin wrote: > On Thu, 1 Mar 2012, Jason wrote: > > >On Wed, Feb 29, 2012 at 02:40:10PM +, Arnd Bergmann wrote: > >>On Sunday 12 February 2012, Jamie Lentin wrote: > >>>This patch adds support for

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-07 Thread Jason
On Wed, Mar 07, 2012 at 06:31:31PM +, Arnd Bergmann wrote: > On Wednesday 07 March 2012, Jason Cooper wrote: > > + serial@f1012000 { > > + compatible = "ns16550a"; > > + reg = <0xf1012000 0xff>

Re: [PATCH 14/14] ARM: kirkwood: use devicetree to init sata_mv

2012-03-07 Thread Jason
On Wed, Mar 07, 2012 at 06:40:09PM +, Arnd Bergmann wrote: > On Wednesday 07 March 2012, Jason Cooper wrote: > > @@ -504,6 +504,16 @@ static int __init kirkwood_clock_gate(void) > > kirkwood_clk_ctrl |= CGC_USB0; > >

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-07 Thread Jason
On Wed, Mar 07, 2012 at 06:31:31PM +, Arnd Bergmann wrote: > On Wednesday 07 March 2012, Jason Cooper wrote: > > + serial@f1012000 { > > + compatible = "ns16550a"; > > + reg = <0xf1012000 0xff>

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-07 Thread Jason
On Wed, Mar 07, 2012 at 09:05:15PM +0100, Andrew Lunn wrote: > On Wed, Mar 07, 2012 at 02:27:23PM -0500, Jason wrote: > > On Wed, Mar 07, 2012 at 06:31:31PM +, Arnd Bergmann wrote: > > > On Wednesday 07 March 2012, Jason Cooper wrote: > > >

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-07 Thread Jason
On Wed, Mar 07, 2012 at 09:13:04PM +, Arnd Bergmann wrote: > On Wednesday 07 March 2012, Jason wrote: > > Grrr. Now I'm getting frustrated. I'm trying to boot without > > earlyprintk. Evidently, something is wrong with the above, because the > > device boot

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-08 Thread Jason
wrong. Yes, I'm working through this now. mv_cesa silently fails to come up if it can't find the interrupt controller via fdt. So, it needs to get done. Right now, I'm looking at how mach-versatile does it (vic_init()) since it'

Re: [GIT PULL v4] ARM: kirkwood: fdt conversion progress

2012-03-08 Thread Jason
On Thu, Mar 08, 2012 at 04:10:21PM +, Arnd Bergmann wrote: > On Wednesday 07 March 2012, Jason Cooper wrote: > > The following changes since commit d65b4e98d7ea3038b767b70fe8be959b2913f16d: > > > > Linux 3.3-rc3 (2012-02-08 19:21:53 -0800) > > > > are a

Re: [GIT PULL v4] ARM: kirkwood: fdt conversion progress

2012-03-08 Thread Jason
On Thu, Mar 08, 2012 at 09:15:08AM -0800, Olof Johansson wrote: > Hi, > > On Thu, Mar 8, 2012 at 8:10 AM, Arnd Bergmann wrote: > > On Wednesday 07 March 2012, Jason Cooper wrote: > >> The following changes since commit > >> d65b4e98d7ea3038b767b70fe8be959b29

Re: [GIT PULL v4] ARM: kirkwood: fdt conversion progress

2012-03-08 Thread Jason
On Thu, Mar 08, 2012 at 09:53:06AM -0800, Olof Johansson wrote: > On Thu, Mar 8, 2012 at 9:30 AM, Jason wrote: > > The following patches should be fine to merge into stable (for 3.4): > > > > af42511 ARM: orion: spi: remove enable_clock_fix which is not used > > d93b2ca

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-08 Thread Jason
On Thu, Mar 08, 2012 at 08:27:11PM +0100, Thomas Gleixner wrote: > On Thu, 8 Mar 2012, Arnd Bergmann wrote: > > > On Thursday 08 March 2012, Jason wrote: > > > > > > On Wed, Mar 07, 2012 at 09:13:04PM +, Arnd Bergmann wrote: > > > > Finally, s

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-08 Thread Jason
On Thu, Mar 08, 2012 at 02:32:44PM -0700, Grant Likely wrote: > On Thu, Mar 08, 2012 at 02:47:25PM -0500, Jason wrote: > > On Thu, Mar 08, 2012 at 08:27:11PM +0100, Thomas Gleixner wrote: > > > On Thu, 8 Mar 2012, Arnd Bergmann wrote: > > > > > > >

Re: [PATCH 06/14] ARM: kirkwood: convert uart0 to devicetree.

2012-03-08 Thread Jason
On Thu, Mar 08, 2012 at 02:31:39PM -0700, Grant Likely wrote: > On Wed, Mar 07, 2012 at 02:27:23PM -0500, Jason wrote: > > On Wed, Mar 07, 2012 at 06:31:31PM +, Arnd Bergmann wrote: > > > On Wednesday 07 March 2012, Jason Cooper wrote: > > >

Re: Boot interface for device trees on ARM

2010-05-18 Thread Jason McMullan
If not, or if it returns -ENOTSUP: -- Jason S. McMullan Netronome Systems, Inc. ___ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss

Re: [PATCH 0/8] Basic ARM device tree support

2011-01-27 Thread Jason Liu
t; +#ifdef CONFIG_OF_FLATTREE > +       /* Make sure DT blob is mapped */ > +       adr     r0, __devtree_pointer > +       ldr     r0, [r0] > +       mov     r0, r0, lsr #20 > +       mov     r0, r0, lsl #20 > +       add     r3, r0, #PAGE_OFFSET > +       add     r3, r4, r3, lsr #18

[PATCH 0/3] Add MX51 basic DT support

2011-02-18 Thread Jason Liu
This patchset adds FSL mx51 device tree support. This is based on git://git.secretlab.ca/git/linux-2.6 devicetree/test This patch has been tested on MX51 babbage board and can boot up succesfully to linux console with DT enabled. Jason Liu (3): arm/dt: add basic mx51 device tree support arm

[PATCH 3/3] serial/imx: parse from device tree support

2011-02-18 Thread Jason Liu
Signed-off-by: Jason Liu --- drivers/tty/serial/imx.c | 81 -- 1 files changed, 71 insertions(+), 10 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c old mode 100644 new mode 100755 index dfcf4b1..3388599 --- a/drivers

[PATCH 2/3] arm/dt: add very basic dts file for babbage board

2011-02-18 Thread Jason Liu
Signed-off-by: Jason Liu --- arch/arm/boot/dts/babbage.dts | 117 + 1 files changed, 117 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts new file mode 100644 index 000..7ee26f1 --- /dev/null

[PATCH 1/3] arm/dt: add basic mx51 device tree support

2011-02-18 Thread Jason Liu
Signed-off-by: Jason Liu --- arch/arm/mach-mx5/Kconfig |6 +++ arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 64 +++ arch/arm/mach-mx5/clock-mx51-mx53.c | 45 +- arch/arm/plat

Re: [PATCH 0/3] Add MX51 basic DT support

2011-03-06 Thread Jason Hui
Hi, Shawn, On Mon, Feb 21, 2011 at 4:17 PM, Shawn Guo wrote: > Hi Jason, > > On 18 February 2011 16:12, Jason Liu wrote: >> This patchset adds FSL mx51 device tree support. This >> is based on >> >> git://git.secretlab.ca/git/linux-2.6 devicetree/test >>

Re: [PATCH 1/3] arm/dt: add basic mx51 device tree support

2011-03-06 Thread Jason Hui
Hi, Shawn, On Mon, Feb 28, 2011 at 2:48 PM, Shawn Guo wrote: > On 18 February 2011 16:12, Jason Liu wrote: >> Signed-off-by: Jason Liu >> --- >>  arch/arm/mach-mx5/Kconfig               |    6 +++ >>  arch/arm/mach-mx5/Makefile              |    1 + >&

Re: [PATCH 2/3] arm/dt: add very basic dts file for babbage board

2011-03-06 Thread Jason Hui
Hi, Grant and Shawn, On Tue, Mar 1, 2011 at 2:09 AM, Grant Likely wrote: > On Mon, Feb 28, 2011 at 10:32:01PM +0800, Shawn Guo wrote: >> Hi Grant, >> >> On Mon, Feb 21, 2011 at 10:10:24AM -0700, Grant Likely wrote: >> > On Mon, Feb 21, 2011 at 2:46 AM, Shawn Guo wrote: >> [...] >> > >> +       c

Re: [PATCH 3/3] serial/imx: parse from device tree support

2011-03-06 Thread Jason Hui
Hi, Arnd, Shawn, On Mon, Feb 28, 2011 at 6:35 PM, Shawn Guo wrote: > On 18 February 2011 16:12, Jason Liu wrote: >> Signed-off-by: Jason Liu >> --- >>  drivers/tty/serial/imx.c |   81 >> -- >>  1 files change

[PATCH V2 0/3] Add MX51 basic DT support

2011-03-07 Thread Jason Liu
From: Jason Liu This patchset adds FSL mx51 with device tree support. This is based on git://git.secretlab.ca/git/linux-2.6 devicetree/test This patch has been tested on MX51 babbage board and can boot up succesfully to linux console with DT enabled. Jason Liu (3): arm/dt: add basic mx51

[PATCH V2 1/3] arm/dt: add basic mx51 device tree support

2011-03-07 Thread Jason Liu
Signed-off-by: Jason Liu --- arch/arm/mach-mx5/Kconfig |8 arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 64 +++ arch/arm/mach-mx5/clock-mx51-mx53.c | 43 - arch/arm/plat

[PATCH V2 2/3] arm/dt: add very basic dts file for babbage board

2011-03-07 Thread Jason Liu
Signed-off-by: Jason Liu Singed-off-by: Rob Herring --- arch/arm/boot/dts/babbage.dts | 110 + 1 files changed, 110 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts new file mode 100644 index

[PATCH V2 3/3] serial/imx: parse from device tree support

2011-03-07 Thread Jason Liu
Signed-off-by: Jason Liu Signed-off-by: Jeremy Kerr --- drivers/tty/serial/imx.c | 79 -- 1 files changed, 69 insertions(+), 10 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index dfcf4b1..1ebca28 100644 --- a

Re: [PATCH V2 2/3] arm/dt: add very basic dts file for babbage board

2011-03-07 Thread Jason Hui
Hi, Shawn, On Mon, Mar 7, 2011 at 10:51 PM, Shawn Guo wrote: > Aha, Jason.  Grant and I put many comments on v1 of this patch, but it > seems that v2 is identical to v1, except adding Rob Herring sign-off. Please compare with v1 and say it once again, It should include the grant an

Re: [PATCH V2 3/3] serial/imx: parse from device tree support

2011-03-07 Thread Jason Hui
Hi, Grant, On Tue, Mar 8, 2011 at 12:22 AM, Grant Likely wrote: > On Mon, Mar 7, 2011 at 6:06 AM, Jason Liu wrote: >> Signed-off-by: Jason Liu >> Signed-off-by: Jeremy Kerr > > Hi Jason, > > comments below. > >> ---

Re: [PATCH V2 2/3] arm/dt: add very basic dts file for babbage board

2011-03-07 Thread Jason Hui
Hi, Shawn, On Tue, Mar 8, 2011 at 11:11 AM, Shawn Guo wrote: > On Tue, Mar 08, 2011 at 10:20:33AM +0800, Jason Hui wrote: >> Hi, Shawn, >> >> On Mon, Mar 7, 2011 at 10:51 PM, Shawn Guo wrote: >> > Aha, Jason.  Grant and I put many comments on v1 of this patch

Re: [PATCH 1/5] arm/dts: babbage: add gpt and uart related clock nodes

2011-03-07 Thread Jason Hui
  reg = <0>; > +                       clock-outputs = "pll1_sw"; > +                       clock-source = <&pll1_main_clk>; > +               }; > + > +               pll2_sw_clk: pll_switch@1 { > +  

Re: [PATCH 1/5] arm/dts: babbage: add gpt and uart related clock nodes

2011-03-07 Thread Jason Hui
Hi, Shawn, On Tue, Mar 8, 2011 at 3:07 PM, Shawn Guo wrote: > On Tue, Mar 08, 2011 at 02:56:52PM +0800, Jason Hui wrote: >> Hi, Shawn, >> >> On Tue, Mar 8, 2011 at 12:22 AM, Shawn Guo wrote: >> > The patch is to add all gpt, uart related dt clock nodes for babbag

[PATCH V3 0/5] Add MX51 basic DT support

2011-03-08 Thread Jason Liu
From: Jason Liu This patchset adds Freescale i.mx51 device tree support. This is based on git://git.secretlab.ca/git/linux-2.6 devicetree/test This patch has been tested on MX51 babbage board and can boot up succesfully to linux console with DT enabled. Grant, I think it's almost read

[PATCH V3 1/5] arm/dt: add basic mx51 device tree support

2011-03-08 Thread Jason Liu
Signed-off-by: Jason Liu --- arch/arm/mach-mx5/Kconfig |8 arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 64 +++ arch/arm/mach-mx5/clock-mx51-mx53.c | 43 - arch/arm/plat

[PATCH V3 2/5] arm/dt: add very basic dts file for babbage board

2011-03-08 Thread Jason Liu
Signed-off-by: Jason Liu Singed-off-by: Rob Herring --- arch/arm/boot/dts/babbage.dts | 110 + 1 files changed, 110 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts new file mode 100644 index

[PATCH V3 3/5] serial/imx: parse from device tree support

2011-03-08 Thread Jason Liu
Signed-off-by: Jason Liu Signed-off-by: Jeremy Kerr --- drivers/tty/serial/imx.c | 79 -- 1 files changed, 69 insertions(+), 10 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index dfcf4b1..c9483d1 100644 --- a

[PATCH V3 4/5] net/fec: check id_entry pointer before using it

2011-03-08 Thread Jason Liu
The id_entry will possibly be NULL, So, need check id_entry and make sure it not NULL before using it. Signed-off-by: Jason Liu --- drivers/net/fec.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 2a71373..02cdd71

[PATCH V3 5/5] net/fec: add device tree matching support

2011-03-08 Thread Jason Liu
Signed-off-by: Jason Liu --- drivers/net/fec.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 02cdd71..fcb9768 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -45,6 +45,9 @@ #include #include

[PATCH V4 0/5] Add MX51 basic DT support

2011-03-09 Thread Jason Liu
From: Jason Liu This patchset adds Freescale i.mx51 device tree support. This is based on git://git.secretlab.ca/git/linux-2.6 devicetree/test This patch has been tested on MX51 babbage board and can boot up succesfully to linux console with DT enabled. Grant, I think it's almost read

[PATCH V4 1/5] arm/dt: add basic mx51 device tree support

2011-03-09 Thread Jason Liu
Signed-off-by: Jason Liu Signed-off-by: Jason Liu --- arch/arm/mach-mx5/Kconfig |8 arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 65 +++ arch/arm/mach-mx5/clock-mx51-mx53.c | 43

[PATCH V4 2/5] arm/dt: add very basic dts file for babbage board

2011-03-09 Thread Jason Liu
Signed-off-by: Jason Liu Signed-off-by: Jason Liu Singed-off-by: Rob Herring --- arch/arm/boot/dts/babbage.dts | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts new

[PATCH V4 3/5] serial/imx: parse from device tree support

2011-03-09 Thread Jason Liu
Signed-off-by: Jason Liu Signed-off-by: Jason Liu Signed-off-by: Jeremy Kerr --- drivers/tty/serial/imx.c | 79 -- 1 files changed, 69 insertions(+), 10 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index dfcf4b1

[PATCH V4 4/5] net/fec: check id_entry pointer before using it

2011-03-09 Thread Jason Liu
The id_entry will possibly be NULL, So, need check id_entry and make sure it not NULL before using it. Signed-off-by: Jason Liu Signed-off-by: Jason Liu --- drivers/net/fec.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/fec.c b/drivers/net

[PATCH V4 5/5] net/fec: add device tree matching support

2011-03-09 Thread Jason Liu
Signed-off-by: Jason Liu Signed-off-by: Jason Liu --- drivers/net/fec.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 02cdd71..fcb9768 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c @@ -45,6 +45,9

Re: [PATCH V2 1/3] arm/dt: add basic mx51 device tree support

2011-03-10 Thread Jason Hui
ecific, would it be sane to name it something >> > like board-mx51-dt.c?  We have mx53 stuff in this folder as well. >> > >> >> Alternatively, it could be done the other way round: rename the identifiers >> in the file from mx51_ to mx5_, and make sure th

Re: [PATCH V4 2/5] arm/dt: add very basic dts file for babbage board

2011-03-10 Thread Jason Hui
Hi, Shawn, On Fri, Mar 11, 2011 at 2:56 PM, Shawn Guo wrote: > Hi Jason, > > On Thu, Mar 10, 2011 at 12:59:42PM +0800, Jason Liu wrote: >> Signed-off-by: Jason Liu >> Signed-off-by: Jason Liu >> Singed-off-by: Rob Herring >> --- >>

Re: [PATCH V4 2/5] arm/dt: add very basic dts file for babbage board

2011-03-11 Thread Jason Hui
Hi, Shawn, On Fri, Mar 11, 2011 at 4:36 PM, Shawn Guo wrote: > On Fri, Mar 11, 2011 at 03:33:24PM +0800, Jason Hui wrote: >> Hi, Shawn, [...] >> >> No, I don't think so. Where the section is put is not one strict rule, >> take a look at >> powerpc dts fil

Re: [PATCH V2 1/3] arm/dt: add basic mx51 device tree support

2011-03-13 Thread Jason Hui
Hi, Arnd, On Fri, Mar 11, 2011 at 8:10 PM, Arnd Bergmann wrote: > On Friday 11 March 2011, Jason Hui wrote: >> >> Alternatively, it could be done the other way round: rename the >> >> identifiers >> >> in the file from mx51_ to mx5_, and make sure that the

Re: [PATCH] arm/dt: Add dtb make rule

2011-03-14 Thread Jason Liu
esult on i.MX51 babbage board: gcl/linux-2.6$ make babbage.dtb ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- DTC arch/arm/boot/babbage.dtb DTC: dts->dtb on file "arch/arm/boot/dts/babbage.dts" Tested-by: Jason Liu Jason > > Rob > > ___

Re: [PATCH V4 3/5] serial/imx: parse from device tree support

2011-03-15 Thread Jason Hui
Hi, Grant, On Tue, Mar 15, 2011 at 3:07 PM, Grant Likely wrote: > Minor comments, but otherwise goes first. > > On Thu, Mar 10, 2011 at 12:59:43PM +0800, Jason Liu wrote: >> Signed-off-by: Jason Liu >> Signed-off-by: Jason Liu >> Signed-off-by: Jeremy Kerr > >

Re: [PATCH V4 5/5] net/fec: add device tree matching support

2011-03-15 Thread Jason Hui
Hi, Grant, On Tue, Mar 15, 2011 at 3:14 PM, Grant Likely wrote: > On Thu, Mar 10, 2011 at 12:59:45PM +0800, Jason Liu wrote: >> Signed-off-by: Jason Liu >> Signed-off-by: Jason Liu >> --- >>  drivers/net/fec.c |   13 + >>  1 files chang

Re: [PATCH V4 1/5] arm/dt: add basic mx51 device tree support

2011-03-15 Thread Jason Hui
Hi, Grant, On Tue, Mar 15, 2011 at 3:03 PM, Grant Likely wrote: > Hi Jason, > > Minor comments below. > > On Thu, Mar 10, 2011 at 12:59:41PM +0800, Jason Liu wrote: >> Signed-off-by: Jason Liu >> Signed-off-by: Jason Liu > > This looks wrong.  You should o

[PATCH V5 0/4] Add MX51 basic DT support

2011-03-16 Thread Jason Liu
From: Jason Liu This patchset adds Freescale i.mx51 device tree support. This is based on git://git.secretlab.ca/git/linux-2.6 devicetree/test This patch has been tested on MX51 babbage board and can boot up succesfully to linux console with DT enabled. Grant, I think it's almost read

[PATCH V5 1/4] arm/dt: add basic mx51 device tree support

2011-03-16 Thread Jason Liu
Signed-off-by: Jason Liu --- arch/arm/mach-mx5/Kconfig |8 arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 64 +++ arch/arm/mach-mx5/clock-dt.c| 52 + arch/arm

[PATCH V5 2/4] arm/dt: add very basic dts file for babbage board

2011-03-16 Thread Jason Liu
Singed-off-by: Rob Herring Signed-off-by: Jason Liu --- arch/arm/boot/dts/babbage.dts | 122 + 1 files changed, 122 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/babbage.dts b/arch/arm/boot/dts/babbage.dts new file mode 100644 index

[PATCH V5 3/4] serial/imx: parse from device tree support

2011-03-16 Thread Jason Liu
Signed-off-by: Jeremy Kerr Signed-off-by: Jason Liu --- .../bindings/tty/serial/fsl-imx-uart.txt | 19 + drivers/tty/serial/imx.c | 78 +--- 2 files changed, 87 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree

  1   2   3   4   5   >