From: Robert Marko Date: Mon, 22 Apr 2024 11:43:26 +0000 (+0200) Subject: pinctrl: qcom: ipq4019: adapt pin name lookup to upstream DTS X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c88f0b12595f250ae7192c7427a9ca75dbdc59d9;p=u-boot.git pinctrl: qcom: ipq4019: adapt pin name lookup to upstream DTS 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 Reviewed-by: Caleb Connolly Signed-off-by: Caleb Connolly --- 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; }