[PATCH 3/3] pinctrl: qcom: ipq4019: adapt pin name lookup to upstream DTS

Caleb Connolly caleb.connolly at linaro.org
Thu Apr 18 14:41:08 CEST 2024



On 18/04/2024 10:14, Robert Marko wrote:
> We want to use OF_UPSTREAM on IPQ40XX as its well supported upstream, so
> as a preparation update pinctrl driver to look for the upstream pin format.
> 
> Signed-off-by: Robert Marko <robert.marko at sartura.hr>

Reviewed-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
>  drivers/pinctrl/qcom/pinctrl-ipq4019.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pinctrl/qcom/pinctrl-ipq4019.c b/drivers/pinctrl/qcom/pinctrl-ipq4019.c
> index 4479230313..4fcc4b1810 100644
> --- a/drivers/pinctrl/qcom/pinctrl-ipq4019.c
> +++ b/drivers/pinctrl/qcom/pinctrl-ipq4019.c
> @@ -36,7 +36,7 @@ static const char *ipq4019_get_function_name(struct udevice *dev,
>  static const char *ipq4019_get_pin_name(struct udevice *dev,
>  					unsigned int selector)
>  {
> -	snprintf(pin_name, MAX_PIN_NAME_LEN, "GPIO_%u", selector);
> +	snprintf(pin_name, MAX_PIN_NAME_LEN, "gpio%u", selector);
>  	return pin_name;
>  }
>  

-- 
// Caleb (they/them)


More information about the U-Boot mailing list