Files
u-boot/drivers
Quanyang Wang d0bb00adcc pinctrl: fix pinctrl_gpio_get_pinctrl_and_offset for gpio-ranges array
Sometimes a multi-element array is used for "gpio-ranges" property in
dts file:

    qe_pio_e: gpio-controller@1460 {
        ......
        gpio-ranges = <&pinctrl1 0 20 10>, <&pinctrl2 10 50 20>;
        ......
    };

But the function pinctrl_gpio_get_pinctrl_and_offset can't handle this
case because the "index" argument passed to dev_read_phandle_with_args
is fixed to be "0". Use a loop to traverse the array to fix it.

Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
2023-04-03 06:53:53 +12:00
..
2023-03-30 13:53:55 +02:00
2023-03-03 09:49:02 -05:00
2023-02-10 07:41:39 -05:00
2022-09-16 11:05:16 -04:00
2023-03-27 15:19:57 -04:00
2023-03-09 13:15:00 +01:00
2023-03-02 17:45:58 -05:00
2023-01-20 12:27:24 -05:00
2023-03-14 12:06:35 -04:00
2023-03-18 12:04:02 +01:00
2023-01-24 13:55:05 +01:00
2022-10-11 16:03:03 -04:00
2023-03-27 15:19:57 -04:00
2023-03-14 12:06:35 -04:00
2023-02-10 07:41:41 -05:00
2023-03-02 17:45:58 -05:00