1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-21 13:43:58 +01:00
Files
u-boot-megous/drivers/pinctrl
Jonas Karlman f1515d498e pinctrl: rockchip: Add a pin_to_bank() helper
Add a pin_to_bank() helper that can locate a pin bank based on the pin
offset, to be used in get_gpio_mux() and gpio_request_enable() ops.

Reset ctrl->nr_pins to 0 so that pin_to_bank() can locate a bank after
the second probe in U-Boot proper.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2024-10-08 15:41:09 +02:00
..