Re: [PATCH 1/2] dt: Add empty of_property_match_string() function

2012-05-31 Thread Thierry Reding
* Thierry Reding wrote: > * Thierry Reding wrote: > > The latest series for the PWM subsystem is here[0]. However that version > > doesn't contain the latest changes that require this. I haven't pushed those > > changes yet because they cause the build to fail (because of these two > > missing patc

[PATCH 3/3] libfdt: Add helper function to create a trivial, empty tree

2012-05-31 Thread David Gibson
The libfdt read/write functions are now usable enough that it's become a moderately common pattern to use them to build and manipulate a device tree from scratch. For example, we do so ourself in our rw_tree1 testcase, and qemu is starting to use this model when building device trees for some targ

[PATCH 2/3] libfdt: Add helpers for 64-bit integer properties

2012-05-31 Thread David Gibson
In device trees in the world, properties consisting of a single 64-bit integer are not as common as those consisting of a single 32-bit, cell sized integer, but they're common enough that they're worth including convenience functions for. This patch adds helper wrappers of fdt_setprop_inplace(), f

[PATCH 1/3] Remove test_tree1_dts0 testcases

2012-05-31 Thread David Gibson
The testcases based on test_tree1_dts0.dts were added purely to test dtc's backwards compatibility handling of the old dts-v0 format. Since that support has been removed, the dts has been updated to use the current dts-v1 syntax, which makes the testcases pass, but be completely useless. This pat

[0/3] libfdt: Add some new convenience functions

2012-05-31 Thread David Gibson
This patch series adds some convenience functions to libfdt - all trivial wrappers on existing functions. 1/3 is a preliminary cleanup which removes some obsolete testcases, to avoid updating them for the new code. Please apply. ___ devicetree-discuss

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-31 Thread Thomas Abraham
On 31 May 2012 19:36, Mark Brown wrote: > On Thu, May 31, 2012 at 10:05:42AM +0800, Thomas Abraham wrote: >> On 30 May 2012 18:13, Mark Brown wrote: > >> > No there isn't.  You've got things like s3c64xx_device_spi0 in >> > arch/arm/plat-samsung/devs.c (which you'd expect since the resources >> >

Re: [PATCH 3/9] ARM: mmp: support DT in irq

2012-05-31 Thread Chris Ball
Hi Haojian, On Wed, May 30 2012, Haojian Zhuang wrote: > I tested non-DT boot on my brownstone board on TTC dkb board. > > It seems that you meet issue in icu_mux_irq_demux(). Could you give me > the detail which interrupt is running while you meet the error? > > By the way, do you have the boot l

Re: [PATCH 1/3] arm/dts: add wdt node for omap3 and omap4

2012-05-31 Thread Cousson, Benoit
On 5/31/2012 4:55 PM, Jon Hunter wrote: On 05/31/2012 12:51 AM, Xiao Jiang wrote: Hi Jon and Benoit, Thanks for reminding, how about below patch? diff --git a/Documentation/devicetree/bindings/watchdog/omap-wdt.txt b/Documentation/devicetree/bindings/watchdog/omap-wdt.txt new file mode 100644

[RFC 1/2] com32: Add device tree support

2012-05-31 Thread Thierry Reding
This commit adds support for passing a Flattened Device Tree (FDT) blob to the Linux kernel. Signed-off-by: Thierry Reding --- com32/gfxboot/gfxboot.c |2 +- com32/include/syslinux/linux.h | 25 +++- com32/lib/Makefile |4 +++- com32/lib/syslin

[RFC 0/2] syslinux: Add device tree support

2012-05-31 Thread Thierry Reding
This patch series adds support for passing a Flattened Device Tree (FDT) blob to the Linux kernel. Currently, only the linux.c32 module can do so and some additional checking should be done to only pass the blob if the kernel supports boot protocol 2.09 or later. Thierry Thierry Reding (2): com

[RFC 2/2] linux.c32: Add initrd= parameter

2012-05-31 Thread Thierry Reding
This new parameter can be used to specify a Flattened Device Tree (FDT) blob to pass to the Linux kernel. Signed-off-by: Thierry Reding --- com32/modules/linux.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/com32/modules/linux.c b/com32/modules/linux

Re: [PATCH v2 4/6] ARM: Samsung: Modify s3c64xx_spi{0|1|2}_set_platdata function

2012-05-31 Thread Mark Brown
On Thu, May 31, 2012 at 10:05:42AM +0800, Thomas Abraham wrote: > On 30 May 2012 18:13, Mark Brown wrote: > > No there isn't.  You've got things like s3c64xx_device_spi0 in > > arch/arm/plat-samsung/devs.c (which you'd expect since the resources > > that are passed in for memory mapping, DMA and