Pinctrl helpers for runtime PM

Registered by Linus Walleij

During review of pinctrl hooks to drivers subsystem maintainers have complained about too much boilerplate code being added to drivers. Try to code this up in the central PM runtime code (such as already exists for e.g. clocks) and use the central facilities instead to minimize boilerplate and bugs.

Blueprint information

Status:
Started
Approver:
Kevin Hilman
Priority:
Undefined
Drafter:
Linus Walleij
Direction:
Needs approval
Assignee:
Linus Walleij
Definition:
Drafting
Series goal:
Accepted for kernel-merge-window
Implementation:
Good progress
Milestone target:
None
Started by
Linus Walleij

Related branches

Sprints

Whiteboard

Meta:
Headline : Pinctrl boilerplate reduction implemented
Acceptance: TODO (to which tree or by whom will this go? any tests to pass? Something will need to be converted? Etc.)
Roadmap id: TODO (Can this be with bit of imagination linked to e.g. single zImage, KWG maintenance card or do we want own Card?)

First iteration of the patch:
http://marc.info/?l=linux-kernel&m=137044000713643&w=2

(?)

Work Items

Work items:
Prepare a patch to drivers/base/power/* (Jun 5): DONE
Patch PL011 UART driver to use the infrastructure (Jun 5): DONE
Patch Nomadik-I2C driver to use the infrastructure (Jun 5): DONE
Iterate first runtime PM patch (Jun 7): DONE
Obtain ACK from Greg et al on first patch (Jun 7): DONE
Patch PL022 SPI driver to use the infrastructure (Jun 10): DONE
Patch to add the OMAP "active" runtime PM state (Jun 11): DONE
Iterate the OMAP "active" runtime PM state: TODO
Merge the runtime PM core patches upstream: TODO
Merge the driver changes upstream: TODO

This blueprint contains Public information 
Everyone can see this information.