diff options
| author | Dan Carpenter <[email protected]> | 2026-03-24 14:16:56 +0300 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-04-09 10:14:39 +0800 |
| commit | af7b6bb05a810a0ec94fd864e3477401b3d1b60a (patch) | |
| tree | 258d594f2b4fefd0c5977a946019af65c40bdd2b /env | |
| parent | d113b295232dd6d819140169d7178d10d155c7e5 (diff) | |
gpio: scmi: Add gpio_scmi driver
This provides GPIO support over SCMI. It is built on top of the
pinctrl-scmi driver. A typical device tree entry might look like
this:
gpio1 {
compatible = "scmi-pinctrl-gpio";
gpio-controller;
#gpio-cells = <2>;
ngpios = <10>;
gpio-ranges = <&scmi_pinctrl 0 8 4>,
<&scmi_pinctrl 4 12 1>,
<&scmi_pinctrl 5 15 1>,
<&scmi_pinctrl 6 17 4>;
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins>;
};
In this GPIO driver the one thing which is different is that in the
gpio-ranges the first numbers which represent how the pins are exposed
to the users have to start at zero and it can't have gaps.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'env')
0 files changed, 0 insertions, 0 deletions
