commit | 2e62c6b2ef173d20b795a9867d8c9d3ac65c0ce4 | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Mon Jan 31 13:54:05 2022 +1030 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 08 15:17:23 2022 -0400 |
tree | fcf1c015718882b32986a9f650867b6eb4f28722 | |
parent | 6e4f9c5d551b09c59c708f5817ff5bb28144b18a [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 <andrew@aj.id.au>