RFC Convert some ARM platforms to basic-mmio-gpio
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest1 of 5 patches 0 repliesNew
1 of 5 patches is in this archive. The cover letter announces 5.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | gemini: convert to basic-mmio-gpio | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] Convert some ARM platforms to basic-mmio-gpio
On Mon, Apr 11, 2011 at 04:49:28PM +0200, Uwe Kleine-K?nig wrote:
[...]
Quoted 7 lines
Quoted 5 lines
Hmm, so this looks like it's because
mxc_gpio_init()is being called frominit_IRQwhich is too early for platform devices. Is there a suitable place where this can be called later in the boot process? I guess the gpio irq stuff should remain where it is but theplatform_deviceregistration should be moved to later.I guess this means that using gpios in .init_machine (==
arch_initcalltime) stops working then?
Probably it's a bad sign for a platform if it wants to use it that early (i.e. like init_IRQ).
But as GPIOs is quite essential part of an embedded system, and some platform code might actually need it, I guess having the stuff available in arch_initcall would be fine though (assuming basic_mmio_gpio will be changed to use postcore_initcall).
Thanks,
Signature · 2 lines
Anton Vorontsov Email: cbouatmailru at gmail.com