summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Jeffery <[email protected]>2022-01-31 13:54:05 +1030
committerTom Rini <[email protected]>2022-04-08 15:17:23 -0400
commit34be6968c3570d8e03fcafcd60c02f315b8f4602 (patch)
treefcf1c015718882b32986a9f650867b6eb4f28722 /include/linux
parent965b989fb6cfdca194a65b7bf1f41483afbc2fd0 (diff)
gpio: Add gpio_request_by_line_name()
Add support for the upstream gpio-line-names property already described in the common GPIO binding document[1]. The ability to search for a line name allows boards to lift the implementation of common GPIO behaviours away from specific line indexes on a GPIO controller. [1] https://github.com/devicetree-org/dt-schema/blob/3c35bfee83c2e38e2ae7af5f83eb89ca94a521e8/dtschema/schemas/gpio/gpio.yaml#L17 Signed-off-by: Andrew Jeffery <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions