GPIO handles

Registered by Linus Walleij

The GPIO subsystem currently has no abstract gpio_get() akin to clk_get(), regulator_get() or pinctrl_get(). This means GPIO numbers are passed as integer numbers, often as platform data (there is no resource type for them either). This must come to an end, we need abstract, opaque gpio handles just like the clocks and regulators and operate on these using accessors.

Blueprint information

Status:
Started
Approver:
Deepak Saxena
Priority:
Undefined
Drafter:
Linus Walleij
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Needs Infrastructure
Milestone target:
None
Started by
Linus Walleij

Related branches

Sprints

Whiteboard

Emerged from discussion of gpio_get() initiated by Alex Courbot in this thread:
http://marc.info/?l=linux-kernel&m=135167415211671&w=2

Alex provided a first implementation and a plan:
http://marc.info/?l=linux-kernel&m=135477993921120&w=2
http://marc.info/?l=linux-kernel&m=135477995221122&w=2

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.