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.ma...@sartura.hr>
Reviewed-by: Caleb Connolly <caleb.conno...@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;
 }
 
-- 
2.44.0

Reply via email to