Messages in this thread | | | Date | Sat, 23 Apr 2011 15:47:07 +0100 | From | Alan Cox <> | Subject | Re: [PATCH] gpio: New driver for the Intel 82801 (ICH) GPIO pins |
| |
> And a technical question (which makes me feel somewhat ashamed as I > guess I really should know the answer): the ICH is using I/O ports for > GPIO control, not a memory mapping. Would basic_mmio_gpio work for it > still?
basic_mmio_gpio would need to use iomap for this and a lot of platforms don't support generic iomap - so no it won't.
You don't generally want want to create sub platform devices anyway without care as it makes sysfs, pci removal and power management ugly and takes up *more* memory than repeating the code in the first places.
Alan
| |