Re: Let's talk about boot loaders

2016-05-06 Thread Grant Likely
On Fri, May 6, 2016 at 12:15 PM, Alexander Graf <ag...@suse.de> wrote: > > > On 06.05.16 13:03, Grant Likely wrote: >> On Fri, May 6, 2016 at 2:10 AM, Tom Rini <tr...@konsulko.com> wrote: >>> On Thu, May 05, 2016 at 10:21:25PM +0200, Alexander Graf wrote:

Re: Let's talk about boot loaders

2016-05-06 Thread Grant Likely
On Fri, May 6, 2016 at 2:10 AM, Tom Rini <tr...@konsulko.com> wrote: > On Thu, May 05, 2016 at 10:21:25PM +0200, Alexander Graf wrote: >> On 05.05.16 17:21, Grant Likely wrote: >> > On Thu, May 5, 2016 at 12:45 PM, Marcin Juszkiewicz >> > <marcin.juszkiew...@

Re: Let's talk about boot loaders

2016-05-05 Thread Grant Likely
On Thu, May 5, 2016 at 5:53 PM, Mark Brown <broo...@kernel.org> wrote: > On Thu, May 05, 2016 at 04:21:59PM +0100, Grant Likely wrote: > >> I think we have everything we need to work around the location of the >> FW boot image without breaking the UEFI spec. The biggest p

Re: Let's talk about boot loaders

2016-05-05 Thread Grant Likely
On Thu, May 5, 2016 at 4:59 PM, Mark Brown wrote: > On Thu, May 05, 2016 at 09:01:05PM +0530, Amit Kucheria wrote: >> On Thu, May 5, 2016 at 5:15 PM, Marcin Juszkiewicz > >> > Solution for existing SoCs is usually adding 1MB of SPI flash during design >> > phase of device and

Re: Let's talk about boot loaders

2016-05-05 Thread Grant Likely
On Thu, May 5, 2016 at 12:45 PM, Marcin Juszkiewicz wrote: > Recently my angry post on Google+ [1] got so many comments that it was clear > that it would be better to move to some mailing list with discussion. > > As it is about boot loaders and Linaro has engineers

Re: [GSoC-2014] Introducing Myself

2014-03-11 Thread Grant Likely
Hi Varad, Please join IRC channel #linaro-gsoc if you haven't already. I'm 'gcl' on that channel. For the AArch64 porting project you should be in contact with Steve McIntyre. For the UEFI porting project you should talk to Leif Lindholm (I can be involved with that one too). I've included both

Re: [Query]: Can people post to this mailing list without subscription?

2013-08-26 Thread Grant Likely
On Wed, Feb 20, 2013 at 11:07 AM, Philip Colmer philip.col...@linaro.org wrote: So we could flip the management of the list on its head, then, and make the list wide open but blacklist spammers ... except that you then find yourself in a reactive mode. In other words, spam gets onto the list

Re: ARM client program boot architecture

2013-07-23 Thread Grant Likely
On Tue, Jul 23, 2013 at 12:39 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 23 July 2013 12:33, Grant Likely grant.lik...@secretlab.ca wrote: Historically each ARM SoC did its own thing for secondary CPU startup. New platforms are expected to use the PSCI spec (which unfortunately isn't

Re: ARM client program boot architecture

2013-07-23 Thread Grant Likely
On Mon, Jul 22, 2013 at 8:56 PM, Yoder Stuart-B08248 b08...@freescale.com wrote: Is there a written spec or description of how a boot program (u-boot, UEFI, hypervisor) boots an OS on ARM platforms? ePAPR-type device trees are used to describe a platform, but what about the type of

Re: [PATCH v2 3/4] arm/dts: OMAP4: Add mmc controller nodes and board data

2012-03-09 Thread Grant Likely
; + }; }; }; -- 1.7.1 ___ linux-arm-kernel mailing list linux-arm-ker...@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Grant Likely, B.Sc, P.Eng. Secret Lab Technologies,Ltd

Re: [PATCH v2 1/4] mmc: omap_hsmmc: Convert hsmmc driver to use device tree

2012-03-08 Thread Grant Likely
___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- Grant Likely, B.Sc, P.Eng. Secret Lab Technologies,Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http

Re: [PATCH v2 4/4] arm/dts: OMAP3: Add mmc controller nodes and board data

2012-03-08 Thread Grant Likely
On Fri, 24 Feb 2012 10:49:00 -0800, Tony Lindgren t...@atomide.com wrote: * Rajendra Nayak rna...@ti.com [120223 19:29]: On Friday 24 February 2012 12:27 AM, Tony Lindgren wrote: --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi @@ -113,5 +113,31 @@

Re: [PATCH v3 0/2] Device tree support for TWL regulators

2012-02-27 Thread Grant Likely
On Mon, Feb 27, 2012 at 6:52 AM, Cousson, Benoit b-cous...@ti.com wrote: Hi Mark, On 2/27/2012 2:41 PM, Mark Brown wrote: On Mon, Feb 27, 2012 at 06:01:20PM +0530, Rajendra Nayak wrote: Depending on what order Mark happens to pull them in, I am fine re-sending adding support for the 2

Re: [PATCH v3 5/5] clk: export tree topology and clk data via sysfs

2011-11-22 Thread Grant Likely
On Nov 21, 2011 6:43 PM, Mike Turquette mturque...@ti.com wrote: Introduces kobject support for the common struct clk, exports per-clk data via read-only callbacks and models the clk tree topology in sysfs. Also adds support for generating the clk tree in clk_init and migrating nodes when

Re: [PATCH v3 5/5] clk: export tree topology and clk data via sysfs

2011-11-22 Thread Grant Likely
On Tue, Nov 22, 2011 at 11:01 AM, Mike Turquette mturque...@linaro.org wrote: On Tue, Nov 22, 2011 at 8:37 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Nov 21, 2011 6:43 PM, Mike Turquette mturque...@ti.com wrote: Introduces kobject support for the common struct clk, exports per-clk

Re: [PATCH] distclean: Remove generated .dtb files

2011-11-07 Thread Grant Likely
On Nov 6, 2011 11:25 PM, Dirk Behme dirk.be...@googlemail.com wrote: On 06.11.2011 19:42, Grant Likely wrote: On Sun, Nov 6, 2011 at 11:38 AM, Grant Likelygrant.lik...@secretlab.ca wrote: On Sat, Nov 05, 2011 at 07:19:15AM +0100, Dirk Behme wrote: The patch 'arm/dt: Add dtb make rule

Re: [PATCH] distclean: Remove generated .dtb files

2011-11-06 Thread Grant Likely
Herring rob.herr...@calxeda.com CC: Shawn Guo shawn@freescale.com CC: Jason Liu jason@linaro.org CC: Grant Likely grant.lik...@secretlab.ca Acked-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/boot/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

Re: [PATCH] distclean: Remove generated .dtb files

2011-11-06 Thread Grant Likely
On Sun, Nov 6, 2011 at 11:38 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Sat, Nov 05, 2011 at 07:19:15AM +0100, Dirk Behme wrote: The patch 'arm/dt: Add dtb make rule' adds support to create a .dtb file. But this is never removed afterwards. Remove the generated .dtb file

Re: [PATCH] drivers: create a pin control subsystem v8

2011-10-25 Thread Grant Likely
On Tue, Oct 25, 2011 at 10:05:32AM +0200, Tony Lindgren wrote: * Grant Likely grant.lik...@secretlab.ca [111024 12:31]: On Mon, Oct 24, 2011 at 09:48:19AM +0200, Linus Walleij wrote: On Mon, Oct 24, 2011 at 9:36 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, Oct 24, 2011

Re: [PATCH] drivers: create a pin control subsystem v8

2011-10-24 Thread Grant Likely
On Mon, Oct 24, 2011 at 09:26:38AM +0200, Linus Walleij wrote: On Sat, Oct 22, 2011 at 7:44 PM, Mike Frysinger vapier@gmail.com wrote: On Tue, Oct 4, 2011 at 16:35, Grant Likely wrote: On Sat, Oct 01, 2011 at 12:39:21PM +0200, Linus Walleij wrote: 2011/9/30 Grant Likely:  I'm

Re: [PATCH] drivers: create a pin control subsystem v8

2011-10-24 Thread Grant Likely
On Mon, Oct 24, 2011 at 09:48:19AM +0200, Linus Walleij wrote: On Mon, Oct 24, 2011 at 9:36 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, Oct 24, 2011 at 09:26:38AM +0200, Linus Walleij wrote: (...) I was more thinking along the lines of one device per GPIO controller

Re: [PATCH 1/2] drivers: create a pin control subsystem v9

2011-10-12 Thread Grant Likely
/pinctrl.txt file that is part of this patch for more details. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Stijn Devriendt high...@gmail.com Cc: Joe Perches j...@perches.com Cc: Russell King li...@arm.linux.org.uk Acked-by: Stephen Warren swar...@nvidia.com Tested-by: Barry Song 21cn

Re: [PATCH v2 1/7] clk: Add a generic clock infrastructure

2011-10-04 Thread Grant Likely
On Mon, Oct 03, 2011 at 09:17:30AM -0500, Rob Herring wrote: On 09/22/2011 05:26 PM, Mike Turquette wrote: + /* Query the hardware for parent and initial rate */ + + if (clk-ops-get_parent) + /* We don't to lock against prepare/enable here, as +* the clock is

Re: [PATCH v2 6/7] clk: Add initial WM831x clock driver

2011-10-04 Thread Grant Likely
On Mon, Sep 26, 2011 at 10:38:58AM +0100, Mark Brown wrote: On Sat, Sep 24, 2011 at 10:08:36PM -0600, Grant Likely wrote: On Thu, Sep 22, 2011 at 03:27:01PM -0700, Mike Turquette wrote: + ret = platform_driver_register(wm831x_clk_driver); + if (ret != 0) + pr_err(Failed

Re: [PATCH] gpio/samsung: Move SoC specific codes within macro

2011-10-04 Thread Grant Likely
. Signed-off-by: Tushar Behera tushar.beh...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca --- It has been build tested with s3c2410_defconfig, s3c6400_defconfig, s5p64x0_defconfig, s5pc100_defconfig, s5pv210_defconfig and exynos4_defconfig. The patch has been rebased onto

Re: [PATCH] drivers: create a pin control subsystem v8

2011-10-04 Thread Grant Likely
On Sat, Oct 01, 2011 at 12:39:21PM +0200, Linus Walleij wrote: 2011/9/30 Grant Likely grant.lik...@secretlab.ca:  I'm not convinced that the sysfs approach is actually the right interface here (I'm certainly not a fan of the gpio sysfs i/f), and I'd rather not be putting in unneeded stuff

Re: [PATCH v2 6/7] clk: Add initial WM831x clock driver

2011-10-04 Thread Grant Likely
On Tue, Oct 04, 2011 at 09:50:02PM +0100, Mark Brown wrote: On Tue, Oct 04, 2011 at 12:18:18PM -0600, Grant Likely wrote: #define module_platform_driver(__driver) \ int __driver##_init(void) \ { \ return platform_driver_register((__driver)); \ } \ module_init(__driver##_init

Re: [PATCH] drivers: create a pin control subsystem v8

2011-09-30 Thread Grant Likely
On Fri, Sep 30, 2011 at 9:05 AM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Sep 30, 2011 at 4:07 AM, Grant Likely grant.lik...@secretlab.ca wrote: Comments below, some a bit nitpicky, but overall I think it looks good.  I haven't dug into it nearly deeply enough though

Re: [PATCH 2/2 v7] pinmux: add a driver for the U300 pinmux

2011-09-29 Thread Grant Likely
On Fri, Sep 16, 2011 at 02:14:09PM +0200, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org This adds a driver for the U300 pinmux portions of the system controller SYSCON. It also serves as an example of how to use the pinmux subsystem. This driver also houses the platform

Re: [PATCH v2 1/7] clk: Add a generic clock infrastructure

2011-09-24 Thread Grant Likely
); Shouldn't this be: clk_register(clk_foo_ops, my_clk_foo-clk, NULL); ? Also, this documentation would be good to have in the Documentation directory instead of lost in a commit header. Otherwise looks okay to me. Reviewed-by: Grant Likely grant.lik...@secretlab.ca

Re: [PATCH v2 4/7] clk: Add simple gated clock

2011-09-24 Thread Grant Likely
On Thu, Sep 22, 2011 at 03:26:59PM -0700, Mike Turquette wrote: From: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Jamie Iles ja...@jamieiles.com Signed-off-by: Mike

Re: [PATCH v2 6/7] clk: Add initial WM831x clock driver

2011-09-24 Thread Grant Likely
On Thu, Sep 22, 2011 at 03:27:01PM -0700, Mike Turquette wrote: From: Mark Brown broo...@opensource.wolfsonmicro.com The WM831x and WM832x series of PMICs contain a flexible clocking subsystem intended to provide always on and system core clocks. It features: - A 32.768kHz crystal

Re: [PATCH v2 0/7] Add a generic struct clk

2011-09-24 Thread Grant Likely
On Thu, Sep 22, 2011 at 03:26:55PM -0700, Mike Turquette wrote: Hi all, The goal of this series is to provide a cross-platform clock framework that platforms can use to model their clock trees and perform common operations on them. Currently everyone re-invents their own clock tree inside

Re: The Linaro-3.0 kernel branch is now open

2011-07-21 Thread Grant Likely
You can pull devicetree/next right now. I've still got a few things to do before I get you to pull the dt board support patches. Give me a few more hours. g. On Thu, Jul 21, 2011 at 1:29 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Tue, 19 Jul 2011, Grant Likely wrote: On Tue, Jul

Re: The Linaro-3.0 kernel branch is now open

2011-07-21 Thread Grant Likely
On Thu, Jul 21, 2011 at 3:36 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Thu, 21 Jul 2011, Grant Likely wrote: You can pull devicetree/next right now.  I've still got a few things to do before I get you to pull the dt board support patches.  Give me a few more hours. No problem.  I

Re: The Linaro-3.0 kernel branch is now open

2011-07-21 Thread Grant Likely
/git/linux-2.6 devicetree/linaro-3.0 Andy Doan (1): arm/dt: Add basic device tree support for overo Grant Likely (29): dt: Add default match table for bus ids dt: add of_platform_populate() for creating device from the device tree drivers/amba: create devices from device tree

Re: [U-Boot] [uboot PATCH v2] Add uboot fdt_high enviroment variable

2011-07-17 Thread Grant Likely
On Sat, Jul 16, 2011 at 12:06:33PM -0400, Jerry Van Baren wrote: On 07/09/2011 04:40 PM, David A. Long wrote: From: David A. Longdave.l...@linaro.org Add a new fdt_high enviroment variable. This can be used to control (or prevent) the relocation of the flattened device tree on boot. It can

Re: [uboot PATCH v2] Add uboot fdt_high enviroment variable

2011-07-14 Thread Grant Likely
On Thu, Jul 14, 2011 at 03:12:25PM -0400, David Long wrote: On Fri, 2011-07-15 at 03:50 +0900, Grant Likely wrote: Regardless of this patch, the pandaboard uboot still needs to be fixed. Setting an fdt_high variable is useful for debug, but it is not a fix. Then someone needs

Re: initrd and dtb locations (for panda)

2011-07-04 Thread Grant Likely
On Thu, Jun 30, 2011 at 10:40:44AM -0400, David Long wrote: Can someone explain why uboot copies the initrd and device tree data to higher memory when we boot panda with a dtb? I'm assuming there's a reason, but it seems a problematic thing to do (potentially even without 3/4GB SDRAM

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-26 Thread Grant Likely
On Fri, Jun 24, 2011 at 6:27 AM, Thomas Abraham thomas.abra...@linaro.org wrote: Hi Grant, On 24 June 2011 01:38, Grant Likely grant.lik...@secretlab.ca wrote: Despite the fact that this is exactly what I asked you to write, this ends up being rather ugly.  (I originally put in the '*4

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-23 Thread Grant Likely
On Wed, Jun 22, 2011 at 10:22 AM, Thomas Abraham thomas.abra...@linaro.org wrote: I have added the functions as you have suggested and the diff is listed below. Could you please review the diff and suggest any changes required. Thanks Thomas. Comments below...  drivers/of/base.c  |  129

Re: device tree stuff for linaro-2.6.39

2011-06-21 Thread Grant Likely
for overo Grant Likely (18): arm/dt: Add dt machine definition dt: add documentation of ARM dt boot interface irq: add irq_domain translation infrastructure of/address: Add of_find_matching_node_by_address helper dt/irq: add irq_domain_generate_simple() helper dt: add

Re: DT files and bug 707047

2011-06-21 Thread Grant Likely
On Tue, Jun 21, 2011 at 11:31 AM, David Long dave.l...@linaro.org wrote: Hi, WRT to .dtb files:  I see sources in the kernel tree but they don't appear to be built as part of the kernel build.  How are these produced and how can I build a modified one for some testing? Nicolas'

Re: [PATCH 1/6] serial: samsung: Keep a copy of platform data in driver's private data

2011-06-20 Thread Grant Likely
___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro

Re: [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver

2011-06-20 Thread Grant Likely
linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: [PATCH 3/6] watchdog: s3c2410: Add support for device tree based probe

2011-06-20 Thread Grant Likely
On Mon, Jun 20, 2011 at 5:02 AM, Thomas Abraham thomas.abra...@linaro.org wrote: This patch adds the of_match_table to enable s3c2410-wdt driver to be probed when watchdog device node is found in the device tree. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Grant Likely

Re: [PATCH 6/6] arm: exynos4: Add a new Exynos4 device tree enabled machine

2011-06-20 Thread Grant Likely
-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-14 Thread Grant Likely
On Tue, Jun 14, 2011 at 8:05 AM, Far McKon far.mc...@buglabs.net wrote: Grant, I don't see any system for indicating an expandable bus or a pulg in module so far? Am I missing something, or does this protocol/layout not allow for plug in or expansion modules? The DT as we're using it now

[RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Grant Likely
Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Hey all, This is an early draft of the usage model document for the device tree, but I wanted to get it out there for feedback, and so that some of the Linaro engineers could get started on migrating board ports. g. Documentation

Re: [PATCH 1/2] drivers: create a pinmux subsystem v3

2011-06-13 Thread Grant Likely
conceptual model of pinmux? Other comments below. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Stephen Warren swar...@nvidia.com Cc: Joe Perches j...@perches.com Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Linus Walleij linus.wall...@linaro.org --- ChangeLog v2-v3: - Renamed

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Grant Likely
, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd

Re: Problem booting IGEP when using device tree

2011-05-20 Thread Grant Likely
On Fri, May 20, 2011 at 10:37:08AM -0300, Christian Robottom Reis wrote: On Thu, May 19, 2011 at 12:01:50PM -0600, Grant Likely wrote: https://bugs.launchpad.net/linux-linaro/+bug/768680 Mainline kernels don't change anything with the clock configuration before the Clocking rate

Problem booting IGEP when using device tree

2011-05-19 Thread Grant Likely
Thanks, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

[PATCH] arm/dt: Add ST-Ericsson u8500 device tree support

2011-05-19 Thread Grant Likely
Adds support for passing a device tree for booting the u8500 board. Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Completely untested. Not even compiled. Per, this should be all you need to change in the kernel to get DT support working on the u8500. g. arch/arm/boot/dts/u8500

Re: [PATCH v6 0/5] Basic ARM devicetree support

2011-05-13 Thread Grant Likely
On Thu, May 12, 2011 at 9:47 AM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Wed, 11 May 2011, Russell King - ARM Linux wrote: On Wed, May 11, 2011 at 10:44:49PM +0200, Grant Likely wrote: Right now it merges cleanly with linux-next and the resulting tree builds and boots at least

Re: [PATCH] of: clock: Avoid a NULL pointer dereference

2011-05-11 Thread Grant Likely
-clock, id ? id : bus); -       prop = of_get_property(dev-of_node, prop_name, sz); +       of_node = dev ? dev-of_node : NULL; +       prop = of_get_property(of_node, prop_name, sz);        if (!prop || sz 4)                return NULL; -- 1.7.0.4 -- Grant Likely, B.Sc., P.Eng. Secret Lab

[PATCH v6 5/5] dt: add documentation of ARM dt boot interface

2011-05-11 Thread Grant Likely
v6: typo fixes v5: clarified that dtb should be aligned on a 64 bit boundary in RAM. v3: added details to Documentation/arm/Booting Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- Documentation/arm/Booting | 33

[PATCH v6 1/5] arm/dt: Make __vet_atags also accept a dtb image

2011-05-11 Thread Grant Likely
-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/kernel/head-common.S | 24 ++-- arch/arm/kernel/head.S|8 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/arch/arm/kernel/head-common.S b/arch/arm/kernel/head-common.S index c84b57d

[PATCH v6 3/5] arm/dt: consolidate atags setup into setup_machine_atags

2011-05-11 Thread Grant Likely
of lookup_machine_type() - break out dump of machine_desc table into dump_machine_table() because the device tree probe code will use it. - Add for_each_machine_desc() macro Tested-by: Tony Lindgren t...@atomide.com Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm

[PATCH v6 2/5] arm/dt: Allow CONFIG_OF on ARM

2011-05-11 Thread Grant Likely
...@atomide.com Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/Kconfig |7 ++ arch/arm/include/asm/prom.h | 25 ++ arch/arm/include/asm/setup.h |2 ++ arch/arm/kernel/Makefile |1 + arch/arm/kernel/devtree.c| 47

[PATCH v6 4/5] arm/dt: probe for platforms via the device tree

2011-05-11 Thread Grant Likely
-by: Tony Lindgren t...@atomide.com Signed-off-by: Grant Likely grant.lik...@secretlab.ca --- arch/arm/include/asm/mach/arch.h |2 + arch/arm/include/asm/prom.h | 12 + arch/arm/include/asm/setup.h |2 + arch/arm/kernel/devtree.c| 98

[PATCH v6 0/5] Basic ARM devicetree support

2011-05-11 Thread Grant Likely
and boots at least on qemu. Unless you really object, I'm going to ask Stephen to add the following branch to the /end/ of the list of trees for linux-next so it can easily be dropped it if it causes any problems. git://git.secretlab.ca/git/linux-2.6 devicetree/arm-next g. --- Grant Likely (5

Re: [PATCH 1/3] ARM: Tegra: dt: Compile fix; tegra_common_init removed

2011-04-29 Thread Grant Likely
On Sat, Apr 23, 2011 at 10:30:02PM -0600, Stephen Warren wrote: tegra_common_init was removed by: 0cf6230af909a86f81907455eca2a5c9b8f68fe6 ARM: tegra: Move tegra_common_init to tegra_init_early Fix the Tegra devicetree support to match. Signed-off-by: Stephen Warren swar...@nvidia.com

Re: [PATCH 2/3] ARM: Tegra: dt: Fix machine desc to match other boards.

2011-04-29 Thread Grant Likely
On Sat, Apr 23, 2011 at 10:30:03PM -0600, Stephen Warren wrote: The content of the machine descriptions has be re-organized. Without fixing the board-dt.c copy, the system will fail to boot (BUG_ON during timer initialization, which happens before printk is operational, leading to a silent

Re: [PATCH 3/3] ARM: Tegra: Move Harmony .dts file to correct place

2011-04-29 Thread Grant Likely
On Sat, Apr 23, 2011 at 10:30:04PM -0600, Stephen Warren wrote: The following workflow: make dtbs make dtbuImage # See my earlier patch which adds this based on Jeremy Kerr's patch to add a dtbImage target. ... seems to require the *.dts file to be in arch/arm/boot/dts.

Re: [PATCH 3/3] ARM: Tegra: Move Harmony .dts file to correct place

2011-04-29 Thread Grant Likely
On Sat, Apr 23, 2011 at 10:30:04PM -0600, Stephen Warren wrote: The following workflow: make dtbs make dtbuImage # See my earlier patch which adds this based on Jeremy Kerr's patch to add a dtbImage target. ... seems to require the *.dts file to be in arch/arm/boot/dts.

Re: devicetree: Tegra I2C muxing, and of_i2c_register_devices

2011-04-27 Thread Grant Likely
://lists.linaro.org/mailman/listinfo/linaro-dev -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: Automated kernel testing.

2011-04-21 Thread Grant Likely
On Thu, Apr 7, 2011 at 8:17 AM, Chris Ball c...@laptop.org wrote: Hi David, On Thu, Apr 07 2011, David Gilbert wrote: I'm curious; do we have any interaction with the autotest project - it seems it's whole point is automated kernel testing,. http://autotest.kernel.org/ and test.kernel.org

Re: Automated kernel testing.

2011-04-21 Thread Grant Likely
On Thu, Apr 21, 2011 at 10:41 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Thu, Apr 7, 2011 at 8:17 AM, Chris Ball c...@laptop.org wrote: Hi David, On Thu, Apr 07 2011, David Gilbert wrote: I'm curious; do we have any interaction with the autotest project - it seems it's whole point

Re: Linus being annoyed by the ARM kernel code

2011-04-04 Thread Grant Likely
On Mon, Apr 4, 2011 at 8:50 AM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Mon, 4 Apr 2011, Eric Miao wrote:   * And very hardware specific code moved out to a controllable place,     i.e. something like BIOS Sorry, but I must vehemently disagree here.  BIOSes are a problem for

Re: [PATCH] net/fec: fix compile error introduced by dt support

2011-04-04 Thread Grant Likely
On Fri, Apr 01, 2011 at 03:49:16PM +0800, Shawn Guo wrote: On Thu, Mar 31, 2011 at 10:09:40AM -0600, Grant Likely wrote: On Fri, Mar 25, 2011 at 03:13:58PM +0800, Shawn Guo wrote: After fec dt support is added, the following compile error will be seen when building a pure non-dt kernel

Re: Linus being annoyed by the ARM kernel code

2011-04-03 Thread Grant Likely
On Sun, Apr 3, 2011 at 11:26 AM, Jaswinder Singh jaswinder.si...@linaro.org wrote: On 3 April 2011 21:44, Andy Green a...@warmcat.com wrote: On 04/03/2011 05:05 PM, Somebody in the thread at some point said: Above everything else, I definitely like to see DT get done first, it's essential for

Re: [PATCH 3/5] mmc: sdhci: make sdhci-of device drivers self registered

2011-03-31 Thread Grant Likely
On Fri, Mar 25, 2011 at 04:48:49PM +0800, Shawn Guo wrote: The patch turns the sdhci-of-core common stuff into helper functions added into sdhci-pltfm.c, and makes sdhci-of device drviers self registered using the same pair of .probe and .remove used by sdhci-pltfm device drivers. As a

Re: [PATCH 4/5] mmc: sdhci: consolidate sdhci-of-esdhc and sdhci-esdhc-imx

2011-03-31 Thread Grant Likely
On Fri, Mar 25, 2011 at 04:48:50PM +0800, Shawn Guo wrote: This patch is to consolidate SDHCI driver for Freescale eSDHC controller found on both MPCxxx and i.MX platforms. It turns sdhci-of-esdhc.c and sdhci-esdhc-imx.c into one sdhci-esdhc.c, which gets the same pair of .probe and .remove

Re: [PATCH 5/5] mmc: sdhci: merge two sdhci-pltfm.h into one

2011-03-31 Thread Grant Likely
@linaro.org Reviewed-by: Grant Likely grant.lik...@secretlab.ca Looks good to me. --- drivers/mmc/host/sdhci-cns3xxx.c |1 - drivers/mmc/host/sdhci-esdhc.c |1 - drivers/mmc/host/sdhci-pltfm.h |6 +- include/linux/mmc/sdhci-pltfm.h | 29

Re: [PATCH] net/fec: fix compile error introduced by dt support

2011-03-31 Thread Grant Likely
On Fri, Mar 25, 2011 at 03:13:58PM +0800, Shawn Guo wrote: After fec dt support is added, the following compile error will be seen when building a pure non-dt kernel. drivers/net/fec.c: In function ‘fec_probe’: drivers/net/fec.c:1383: error: implicit declaration of function

Re: [PATCH] arm/dt: Add basic device tree support for mx53 loco board

2011-03-31 Thread Grant Likely
On Fri, Apr 01, 2011 at 12:36:16AM +0800, Shawn Guo wrote: Hi Grant, On Wed, Mar 30, 2011 at 09:52:15PM -0600, Grant Likely wrote: On Tue, Mar 29, 2011 at 10:34:12AM +, Liu Hui-R64343 wrote: Hi, Grant, The two patches for mx51/mx53 DT support have the same issue, which is the S

Re: [PATCH] arm/dt: Add basic device tree support for mx53 loco board

2011-03-31 Thread Grant Likely
On Thu, Mar 31, 2011 at 10:50 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Fri, Apr 01, 2011 at 12:36:16AM +0800, Shawn Guo wrote: Hi Grant, On Wed, Mar 30, 2011 at 09:52:15PM -0600, Grant Likely wrote: On Tue, Mar 29, 2011 at 10:34:12AM +, Liu Hui-R64343 wrote: Hi, Grant

Re: [PATCH v2 4/6] arm/dt: mx51: dynamically add clocks per dt nodes

2011-03-31 Thread Grant Likely
On Sat, Mar 19, 2011 at 02:24:30AM +0800, Shawn Guo wrote: This patch is to change the static clock creating and registering to the dynamic way, which scans dt clock nodes, associate clk with device_node, and then add them to clkdev accordingly. It's a pretty straight translation from non-dt

Re: [PATCH v2 6/6] of/clock: eliminate function __of_clk_get_from_provider

2011-03-31 Thread Grant Likely
On Sat, Mar 19, 2011 at 02:24:32AM +0800, Shawn Guo wrote: With the platform clock support, the 'struct clk' should have been associated with device_node-data. So the use of function __of_clk_get_from_provider can be eliminated. Signed-off-by: Shawn Guo shawn@linaro.org Not really true

Re: [PATCH] arm/dt: Add basic device tree support for mx53 loco board

2011-03-30 Thread Grant Likely
On Tue, Mar 29, 2011 at 10:34:12AM +, Liu Hui-R64343 wrote: Hi, Grant, The two patches for mx51/mx53 DT support have the same issue, which is the S-O-B will be missed when you git am. Let me know if you want me re-send the two patches or you would take care when you am it? Thanks, I

Re: [PATCH 0/5] consolidate sdhci pltfm OF drivers and get them self registered

2011-03-30 Thread Grant Likely
On Mar 30, 2011 10:23 PM, Shawn Guo shawn@freescale.com wrote: On Fri, Mar 25, 2011 at 04:48:46PM +0800, Shawn Guo wrote: Here are what the patch set does. * Remove .probe and .remove hooks from sdhci-pltfm.c and make it be a pure common helper function providers. * Add .probe

Re: Device Tree on ARM status report - Mar 20

2011-03-28 Thread Grant Likely
[cc'ing linaro-dev mailing list; other people will probably have the same question] On Mon, Mar 28, 2011 at 4:40 AM, Tixy t...@yxit.co.uk wrote: On Mon, 2011-03-21 at 03:25 -0600, Grant Likely wrote: For each board, I need an engineer to do the following: [...] 2) Enable CONFIG_OF

Re: Device Tree on ARM status report - Mar 20

2011-03-26 Thread Grant Likely
in those branches after I clean them up. Probably Monday. g. On Mon, Mar 21, 2011 at 3:25 AM, Grant Likely grant.lik...@secretlab.ca wrote: I had great hopes of doing these status reports once a week; but it turns out to take more effort to get together that I estimated. Here's the status of ARM

Re: Device Tree on ARM status report - Mar 20

2011-03-26 Thread Grant Likely
On Sat, Mar 26, 2011 at 9:33 AM, Tixy t...@yxit.co.uk wrote: On Fri, 2011-03-25 at 22:46 -0600, Grant Likely wrote: [...] It appears that when U-Boot relocates the .dtb, it either moves it to a location that the kernel cannot read during early boot, or it corrupts it when it is moved. Either

Re: Which branch for adding basic device tree support?

2011-03-25 Thread Grant Likely
updates if I find missing bits. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: Device Tree on ARM status report - Mar 20

2011-03-23 Thread Grant Likely
On Tue, Mar 22, 2011 at 09:58:58AM +, Tixy wrote: Hi Grant On Mon, 2011-03-21 at 03:25 -0600, Grant Likely wrote: For each board, I need an engineer to do the following: 1) Enable CONFIG_OF_LIBFDT and CONFIG_SYS_BOOTMAPSZ against the Linaro u-boot tree. Which tree should I use

Re: Device Tree on ARM status report - Mar 20

2011-03-23 Thread Grant Likely
ones. Yup, I want it turned on for all the hwpacks maintained by the kernelwg. I've got people lined up to prepare, test and submit patches to you for each of them. g. John On Wed, Mar 23, 2011 at 3:09 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Tue, Mar 22, 2011 at 09:58:58AM

Re: [PATCH 1/5] mmc: sdhci: make sdhci-esdhc-imx driver self registered

2011-03-23 Thread Grant Likely
On Mon, Mar 21, 2011 at 04:06:59PM +0800, Shawn Guo wrote: The patch turns the common stuff to in sdhci-pltfm.c into functions, and add sdhci-esdhc-imx its own .probe and .remove which in turn call into the common functions, so that sdhci-esdhc-imx driver registers itself and keep all

Re: [PATCH 0/5] make sdhci device drivers self registered

2011-03-21 Thread Grant Likely
+--- -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: [PATCH 0/5] make sdhci device drivers self registered

2011-03-21 Thread Grant Likely
On Mon, Mar 21, 2011 at 12:58 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Sun, Mar 20, 2011 at 9:42 PM, Shawn Guo shawn@linaro.org wrote: This patch set is to take sdhci device driver specific things out from sdhci-pltfm.c and make them self registered. Here are the difference

Device Tree on ARM status report - Mar 20

2011-03-21 Thread Grant Likely
register bugs for the above items in the Linaro bug tracker tomorrow. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

Re: No support of platform device instance id?

2011-03-19 Thread Grant Likely
On Sat, Mar 19, 2011 at 8:39 PM, Shawn Guo shawn@freescale.com wrote: On Thu, Mar 17, 2011 at 11:08:19AM -0600, Grant Likely wrote: On Thu, Mar 17, 2011 at 12:31:15PM +0800, Shawn Guo wrote: On Wed, Mar 16, 2011 at 05:05:00PM -0600, Grant Likely wrote: [...] I'd like to have

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

2011-03-18 Thread Grant Likely
On Fri, Mar 18, 2011 at 03:54:32PM +0800, Shawn Guo wrote: On Thu, Mar 17, 2011 at 11:43:34PM -0600, Grant Likely wrote: On Fri, Mar 18, 2011 at 09:49:17AM +0800, Shawn Guo wrote: On Thu, Mar 17, 2011 at 10:42:38AM -0600, Grant Likely wrote: On Wed, Mar 16, 2011 at 11:51:39PM +0800

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

2011-03-17 Thread Grant Likely
On Wed, Mar 16, 2011 at 11:51:38PM +0800, Jason Liu wrote: Signed-off-by: Jason Liu jason@linaro.org --- arch/arm/mach-mx5/Kconfig |8 arch/arm/mach-mx5/Makefile |1 + arch/arm/mach-mx5/board-dt.c| 64 +++

Re: No support of platform device instance id?

2011-03-17 Thread Grant Likely
On Thu, Mar 17, 2011 at 12:31:15PM +0800, Shawn Guo wrote: On Wed, Mar 16, 2011 at 05:05:00PM -0600, Grant Likely wrote: [...] I'd like to have feedback on the new code to make sure that the model is sane. There are some fiddly code it there which is used to match platform_device

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

2011-03-17 Thread Grant Likely
On Thu, Mar 17, 2011 at 09:54:35AM +0800, Shawn Guo wrote: On Tue, Mar 15, 2011 at 01:03:42AM -0600, Grant Likely wrote: +#ifdef CONFIG_OF +static struct clk *mx5_dt_clk_get(struct device_node *np, + const char *output_id, void *data) +{ + return

Re: [PATCH 3/7] mmc: make the reference to sdhci_tegra_dt_pdata conditional

2011-03-17 Thread Grant Likely
On Tue, Mar 15, 2011 at 1:58 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, Mar 14, 2011 at 10:25:55PM +0800, Shawn Guo wrote: Wrap tegra dt_id with CONFIG_MMC_SDHCI_TEGRA to make the reference to sdhci_tegra_dt_pdata conditional, otherwise it will stop build for other mmc driver

Re: [PATCH 5/7] mmc: support sdhci-esdhc-imx as an OF device

2011-03-17 Thread Grant Likely
[cc'ing linux-mmc to continue this discussion] On Wed, Mar 16, 2011 at 10:39:16PM +0800, Shawn Guo wrote: On Tue, Mar 15, 2011 at 01:59:26PM -0600, Grant Likely wrote: On Mon, Mar 14, 2011 at 10:25:57PM +0800, Shawn Guo wrote: Signed-off-by: Shawn Guo shawn@linaro.org dt support

Re: [PATCH 3/5] arm/dt: mx51: dynamically add gpt and uart related clocks per dt nodes

2011-03-17 Thread Grant Likely
On Wed, Mar 16, 2011 at 08:04:56PM +0800, Shawn Guo wrote: On Tue, Mar 15, 2011 at 01:37:31AM -0600, Grant Likely wrote: On Tue, Mar 08, 2011 at 12:22:10AM +0800, Shawn Guo wrote: This patch is to change the static clock creating and registering to the dynamic way, which scans dt clock

  1   2   >