Convert Platforms to ARCH_REQUIRE_GPIOLIB
To facilitate in the building of a single kernel that boots across multiple platforms, all Linaro platforms need to be converted to use GPIOLIB instead of sub-arch specific GPIO APIs.
Blueprint information
- Status:
- Not started
- Approver:
- Deepak Saxena
- Priority:
- Undefined
- Drafter:
- Linus Walleij
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- Accepted for kernel-merge-window
- Implementation:
- Unknown
- Milestone target:
- 3.11
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Meta:
Roadmap id: CARD-533
Headline: TODO
Acceptance: TODO
This includes registering a struct irq_chip for each GPIO driver.
This should only affect the "core" GPIO connected to the main CPU/SoC. GPIO expanders and similar typically already use gpiolib.
General way to find work to be done:
- cd arch/arm
- find .|grep gpio
- investigate
[jakub-pavelek 2013-04-08] Non-essential follow-up work, for secondary platforms.
Work Items
Work items:
Convert mach-omap1/
Convert plat-orion/gpio.c to use GPIOLIB and move to drivers/
Convert mach-at91/gpio.c to use GPIOLIB and move to drivers/
Convert plat-iop/gpio.c to use GPIOLIB and move to drivers/
Merge mach-davinci/
Move code contained in mach-davinci/
Delete unecessary GPIO header mach-pxa/
Delete unecessary GPIO header mach-iop33x/
Dependency tree
* Blueprints in grey have been implemented.