From mboxrd@z Thu Jan 1 00:00:00 1970 From: lee.jones@linaro.org (Lee Jones) Date: Fri, 22 Mar 2013 17:14:13 +0000 Subject: [PATCH 5/5] ARM: ux500: Do not supply DMA platform data when booting u8540 platform In-Reply-To: <201303221543.14165.arnd@arndb.de> References: <1363966065-2478-1-git-send-email-lee.jones@linaro.org> <1363966065-2478-5-git-send-email-lee.jones@linaro.org> <201303221543.14165.arnd@arndb.de> Message-ID: <20130322171413.GA2960@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 22 Mar 2013, Arnd Bergmann wrote: > On Friday 22 March 2013, Lee Jones wrote: > > /* automatically probe child nodes of db8500 device */ > > of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent); > > + > > + if (of_machine_is_compatible("st-ericsson,u8540")) > > + of_platform_populate(NULL, u8500_local_bus_nodes, > > + u8540_auxdata_uart_lookup, parent); > > + else > > + of_platform_populate(NULL, u8500_local_bus_nodes, > > + u8500_auxdata_uart_lookup, parent); > > } > > > > Does this still work on u8500? I did not think you could call > of_platform_populate twice on the root node and still get the result > you want. I haven't checked. I'll look into the inner workings of of_platform_populate() on Monday. Thanks for the pointer. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog