Dan Carpenter
af7b6bb05a
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 <dan.carpenter@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2026-04-09 10:14:39 +08:00
..
2024-05-20 13:35:03 -06:00
2025-01-16 10:15:42 -03:00
2026-03-04 14:25:27 -06:00
2024-07-22 10:53:05 -06:00
2024-11-29 12:59:27 +02:00
2024-05-20 13:35:03 -06:00
2025-04-28 12:45:44 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2020-12-13 16:51:09 -07:00
2025-08-11 15:11:22 -06:00
2026-04-09 10:14:39 +08:00
2024-05-20 13:35:03 -06:00
2026-03-04 14:25:27 -06:00
2025-10-08 13:54:58 -06:00
2024-10-29 12:12:04 -06:00
2024-05-20 13:35:03 -06:00
2026-02-13 08:16:25 +01:00
2024-05-20 13:35:03 -06:00
2025-11-06 20:09:58 +01:00
2024-05-20 13:35:03 -06:00
2026-02-17 13:50:22 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-12-07 09:07:03 -03:00
2024-05-20 13:35:03 -06:00
2025-10-28 10:32:59 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2026-04-09 10:14:39 +08:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2026-04-09 10:14:39 +08:00
2024-05-20 13:35:03 -06:00
2023-12-19 20:53:53 +02:00
2024-10-24 11:19:31 -06:00
2024-05-20 13:35:03 -06:00
2024-12-30 15:55:27 -06:00
2024-05-20 13:35:03 -06:00
2025-09-19 19:22:52 +08:00
2024-05-20 13:35:03 -06:00
2025-06-24 07:53:33 -06:00
2021-01-24 21:39:26 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-30 22:32:29 -03:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-12-31 10:17:00 -06:00
2026-02-17 13:50:22 -06:00
2022-05-03 18:33:29 -04:00
2024-05-20 13:35:03 -06:00
2023-12-19 20:53:53 +02:00
2025-02-18 16:32:24 -06:00
2025-05-29 08:29:16 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-07-14 15:35:24 +02:00
2025-10-29 12:27:33 +01:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2023-11-02 11:30:18 +01:00
2025-11-25 19:00:47 +09:00
2024-05-20 13:35:03 -06:00
2025-12-27 09:01:10 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2026-02-24 14:09:45 +01:00
2026-02-24 14:09:45 +01:00
2025-04-28 12:45:44 -06:00
2020-05-18 21:19:23 -04:00
2024-05-20 13:35:03 -06:00
2025-10-28 11:27:44 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2025-07-24 08:54:16 +02:00
2025-10-09 09:07:03 +02:00