Hi Nicolas,
Here are the device tree changes for 2.6.38 rebased onto your new branch. I had to rebase instead of just asking you to pull directly since I have a number of patches in my test tree that are merged in a different form in your tree.
For those of you working on DT support for the 11.05 release, please test against this branch and make sure everything is still working for you.
g.
The following changes since commit f302d2ec52bfb0d9ae2bb7fbff957f3f6ea71f45:
ARM: 6826/1: Merge v6 and v7 DEBUG_LL DCC support (2011-03-28 14:45:57 -0400)
are available in the git repository at: git://git.secretlab.ca/git/linux-2.6 devicetree/arm-linaro-2.6.38-rebuilt
Grant Likely (15): driver-core: remove conditionals around devicetree pointers dt: Refactor of_platform_bus_probe() dt: protect against NULL matches passed to of_match_node() dt: eliminate OF_NO_DEEP_PROBE and test for NULL match table dt: add of_platform_populate() for creating device from the device tree dt: add of_platform_prepare() to match nodes with static platform_devices tty/serial: Relax the device_type restriction from of_serial arm/dt: Make __vet_atags also accept a dtb image arm/dt: consolidate atags setup into setup_machine_atags arm/dt: probe for platforms via the device tree arm/dt: Basic versatile devicetree support arm/dt: Basic tegra devicetree support arm/dt: Add Pandaboard devicetree support dt: add documentation of ARM dt boot interface arm/dt: Add dt machine definition
Jeremy Kerr (1): arm/dt: Allow CONFIG_OF on ARM
Jon Medhurst (1): arm/dt: Add basic device tree support for Beagleboad
Rob Herring (1): arm/dt: Add dtb make rule
Thomas Abraham (1): dt/arm: Add basic device tree support for smdkv310 board
Documentation/arm/Booting | 33 ++- Documentation/devicetree/booting-without-of.txt | 44 +++- arch/arm/Kconfig | 7 + arch/arm/Makefile | 3 + arch/arm/boot/Makefile | 4 + arch/arm/boot/dts/exynos4-smdkv310.dts | 31 ++ arch/arm/boot/dts/omap3-beagle.dts | 7 + arch/arm/boot/dts/omap4-panda.dts | 11 + arch/arm/boot/dts/skeleton.dtsi | 13 + arch/arm/boot/dts/tegra-harmony.dts | 7 + arch/arm/boot/dts/versatile-ab.dts | 7 + arch/arm/boot/dts/versatile-pb.dts | 7 + arch/arm/include/asm/mach/arch.h | 18 ++ arch/arm/include/asm/prom.h | 37 +++ arch/arm/include/asm/setup.h | 5 + arch/arm/kernel/Makefile | 1 + arch/arm/kernel/devtree.c | 147 ++++++++++ arch/arm/kernel/head-common.S | 24 ++- arch/arm/kernel/head.S | 8 +- arch/arm/kernel/setup.c | 97 ++++--- arch/arm/mach-exynos4/mach-smdkv310.c | 6 + arch/arm/mach-omap2/board-omap3beagle.c | 6 + arch/arm/mach-omap2/board-omap4panda.c | 6 + arch/arm/mach-tegra/board-harmony.c | 6 + arch/arm/mach-versatile/core.c | 1 + arch/arm/mach-versatile/versatile_ab.c | 6 + arch/arm/mach-versatile/versatile_pb.c | 6 + arch/arm/mm/init.c | 11 + arch/powerpc/platforms/52xx/mpc52xx_common.c | 10 +- drivers/i2c/busses/i2c-ocores.c | 14 +- drivers/i2c/i2c-core.c | 2 - drivers/mmc/host/mmc_spi.c | 4 - drivers/net/ethoc.c | 8 +- drivers/of/address.c | 14 + drivers/of/base.c | 3 + drivers/of/platform.c | 347 +++++++++++++++++++---- drivers/spi/pxa2xx_spi.c | 2 - drivers/spi/pxa2xx_spi_pci.c | 2 - drivers/spi/xilinx_spi.c | 6 - drivers/tty/serial/of_serial.c | 18 +- include/linux/device.h | 7 +- include/linux/i2c.h | 2 - include/linux/of.h | 4 +- include/linux/of_address.h | 1 + include/linux/of_platform.h | 8 +- 45 files changed, 850 insertions(+), 161 deletions(-) create mode 100755 arch/arm/boot/dts/exynos4-smdkv310.dts create mode 100644 arch/arm/boot/dts/omap3-beagle.dts create mode 100644 arch/arm/boot/dts/omap4-panda.dts create mode 100644 arch/arm/boot/dts/skeleton.dtsi create mode 100644 arch/arm/boot/dts/tegra-harmony.dts create mode 100644 arch/arm/boot/dts/versatile-ab.dts create mode 100644 arch/arm/boot/dts/versatile-pb.dts create mode 100644 arch/arm/include/asm/prom.h create mode 100644 arch/arm/kernel/devtree.c
On Mon, 2011-03-28 at 22:18 -0600, Grant Likely wrote:
For those of you working on DT support for the 11.05 release, please test against this branch and make sure everything is still working for you.
There are build errors[1] in drivers/usb/host/isp1760-hcd.c After hacking this file I built and tested OK a dt enabled kernel on Beagleboard, booting both with and without a dt blob. I also checked a non-dt kernel.
Hi Nicolas,
On 29 March 2011 16:15, Tixy tixy@yxit.co.uk wrote:
On Mon, 2011-03-28 at 22:18 -0600, Grant Likely wrote:
For those of you working on DT support for the 11.05 release, please test against this branch and make sure everything is still working for you.
There are build errors[1] in drivers/usb/host/isp1760-hcd.c After hacking this file I built and tested OK a dt enabled kernel on Beagleboard, booting both with and without a dt blob. I also checked a non-dt kernel.
There is a build error when compiling for smdkv310 board (defconfig: exynos4_defconfig) (file: arch/arm/mach-exynos4/localtimer.c). That compile error can be fixed by the commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%...
Thanks, Thomas.
-- Tixy
[1] drivers/usb/host/isp1760-hcd.c: In function 'enqueue_an_ATL_packet': drivers/usb/host/isp1760-hcd.c:888:3: error: implicit declaration of function 'isp1760_writel' drivers/usb/host/isp1760-hcd.c:891:2: error: implicit declaration of function 'isp1760_readl' drivers/usb/host/isp1760-hcd.c: In function 'do_atl_int': drivers/usb/host/isp1760-hcd.c:1076:23: error: 'queue_entry' undeclared (first use in this function) drivers/usb/host/isp1760-hcd.c:1076:23: note: each undeclared identifier is reported only once for each function it appears in drivers/usb/host/isp1760-hcd.c:1077:27: error: 'usb_hcd' undeclared (first use in this function) drivers/usb/host/isp1760-hcd.c:1083:14: error: 'dw3' undeclared (first use in this function) drivers/usb/host/isp1760-hcd.c:1084:4: error: implicit declaration of function 'priv_write_copy' drivers/usb/host/isp1760-hcd.c:1085:6: error: 'atl_regs' undeclared (first use in this function) drivers/usb/host/isp1760-hcd.c: In function 'isp1760_irq': drivers/usb/host/isp1760-hcd.c:1691:24: error: 'usb_hcd' undeclared (first use in this function) make[3]: *** [drivers/usb/host/isp1760-hcd.o] Error 1 make[2]: *** [drivers/usb/host] Error 2 make[1]: *** [drivers/usb] Error 2
On Tue, 29 Mar 2011, Thomas Abraham wrote:
Hi Nicolas,
On 29 March 2011 16:15, Tixy tixy@yxit.co.uk wrote:
On Mon, 2011-03-28 at 22:18 -0600, Grant Likely wrote:
For those of you working on DT support for the 11.05 release, please test against this branch and make sure everything is still working for you.
There are build errors[1] in drivers/usb/host/isp1760-hcd.c After hacking this file I built and tested OK a dt enabled kernel on Beagleboard, booting both with and without a dt blob. I also checked a non-dt kernel.
There is a build error when compiling for smdkv310 board (defconfig: exynos4_defconfig) (file: arch/arm/mach-exynos4/localtimer.c). That compile error can be fixed by the commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%...
Weird... Now applied.
Thanks
Nicolas
linaro-kernel@lists.linaro.org