commit | 34be6968c3570d8e03fcafcd60c02f315b8f4602 | [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 | 965b989fb6cfdca194a65b7bf1f41483afbc2fd0 [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>