ARM: dts: qcom-pma8084: add gpio-ranges to mpps nodes
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 8 Oct 2021 01:25:06 +0000 (04:25 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Oct 2021 00:11:35 +0000 (19:11 -0500)
Add gpio-ranges property to mpps device tree nodes, adding the mapping between
pinctrl and GPIO pins.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-8-dmitry.baryshkov@linaro.org
arch/arm/boot/dts/qcom-pma8084.dtsi

index e921c5e..fcee2af 100644 (file)
@@ -42,6 +42,7 @@
                        reg = <0xa000>;
                        gpio-controller;
                        #gpio-cells = <2>;
+                       gpio-ranges = <&pma8084_mpps 0 0 8>;
                        interrupts = <0 0xa0 0 IRQ_TYPE_NONE>,
                                     <0 0xa1 0 IRQ_TYPE_NONE>,
                                     <0 0xa2 0 IRQ_TYPE_NONE>,