linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rockchip: Make gpiod pin control work and add gpio-ranges
@ 2025-12-05 20:06 Matthijs Kooijman
  2025-12-05 20:06 ` [PATCH 1/2] gpio: rockchip: Call pinctrl for gpio config Matthijs Kooijman
  2025-12-05 20:06 ` [PATCH 2/2] arm64: dts: rockchip: rk3308: Add gpio-ranges properties Matthijs Kooijman
  0 siblings, 2 replies; 3+ messages in thread
From: Matthijs Kooijman @ 2025-12-05 20:06 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: linux-rockchip, linux-gpio

The first patch fixes pin config (e.g. bias) done by userspace via the
gpiod interface, which was not implemented for all rockchip boards.

The second patch is just because I was messing with this code already
and had a test setup ready. It makes gpio-ranges explicit for the rk3308
instead of relying on the (possibly fragile) legacy workaround in
gpio-rockchip to add them automatically.

I think the first patch might be a good candidate to backport to the
stable releases, since it makes a userspace interface functional that
currently silently fails. However, it is not a clear bugfix and I am not
super familiar with the rules for -stable, so if you think this is not
appropriate, feel free to drop the stable Cc from the patch when merging.

Both patches were tested on a rock pi s with a rk3308.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-12-05 20:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05 20:06 rockchip: Make gpiod pin control work and add gpio-ranges Matthijs Kooijman
2025-12-05 20:06 ` [PATCH 1/2] gpio: rockchip: Call pinctrl for gpio config Matthijs Kooijman
2025-12-05 20:06 ` [PATCH 2/2] arm64: dts: rockchip: rk3308: Add gpio-ranges properties Matthijs Kooijman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).