On 12/12/2014 15:33, Jonas Gorski wrote: > On Fri, Dec 12, 2014 at 3:17 PM, John Crispin <blo...@openwrt.org> wrote: >> >> >> On 12/12/2014 15:12, Jonas Gorski wrote: >>> or the gpio-base problem, we should be able to register appropriate >>> platform data for it as OF_DEV_AUXDATA() in of_platform_populate. >>> >>> e.g. >>> >>> struct bgpio_pdata gpio0_pdata = { >>> .base = 0, >>> }; >>> >>> struct bgpio_pdata gpio1_pdata = { >>> .base = 32, >>> }; >> >> tried it for ralink and lantiq and it got nak'ed by LinusW >> >> i keep that part of the code as a small patch inside owrt on top of the >> stuff i sent upstream. > > Wasn't the objection on putting the gpio base into the dts(i) file > itself? I explicitly try to avoid that here, as gpio-base is something > linux internal. >
i think it was in general but might be wrong .... i'll dig into my mails when i go on the next kernel spree > But It doesn't matter much for now as not even basic DT support is > upstream, so these won't go anywhere soon. > > > Jonas > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel