]> git.baikalelectronics.ru Git - uboot.git/commitdiff
qcs404-evb: Enable msm_gpio driver support
authorSumit Garg <sumit.garg@linaro.org>
Wed, 1 Feb 2023 13:58:49 +0000 (19:28 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 17:50:00 +0000 (12:50 -0500)
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
arch/arm/dts/qcs404-evb.dts
configs/qcs404evb_defconfig

index 0639af8fe336ba0655b6551a7144e15f8e0b4bc2..c8bcf9f71df22575d7484fcbed3ac0e96fab5891 100644 (file)
                pinctrl_north@1300000 {
                        compatible = "qcom,qcs404-pinctrl";
                        reg = <0x1300000 0x200000>;
+                       gpio-controller;
+                       gpio-count = <120>;
+                       gpio-bank-name="soc";
+                       #gpio-cells = <2>;
 
                        blsp1_uart2: uart {
                                pins = "GPIO_17", "GPIO_18";
index dae1551411521016a0044bd3e157c78aa950020b..d64cd7426932497484f43625406b0f1fa3b530d8 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_DM_PMIC=y
 CONFIG_PMIC_QCOM=y
 CONFIG_DM_RESET=y
 CONFIG_MSM_SERIAL=y
+CONFIG_MSM_GPIO=y
 CONFIG_SPMI_MSM=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y