]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
msm_gpio: Add support for Qualcomm IPQ40xx
authorRobert Marko <robert.marko@sartura.hr>
Mon, 6 Jul 2020 08:37:56 +0000 (10:37 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
Snapdragon SoCs and IPQ40xx use common TLMM IP,
so existing driver supports IPQ40xx as well.

So lets simply add a compatible for IPQ40xx.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-By: Ramon Fried <rfried.dev@gmail.com>
doc/device-tree-bindings/gpio/gpio-msm.txt
drivers/gpio/msm_gpio.c

index 966ce0af09c449bc6093c5bf02efe01d325894f1..70a2c7f0ddb1d75f48c0ec2afa5852c7ece999c2 100644 (file)
@@ -1,7 +1,8 @@
 Qualcomm Snapdragon GPIO controller
 
 Required properties:
-- compatible : "qcom,msm8916-pinctrl" or "qcom,apq8016-pinctrl"
+- compatible : "qcom,msm8916-pinctrl", "qcom,apq8016-pinctrl" or
+                               "qcom,ipq4019-pinctrl"
 - reg : Physical base address and length of the controller's registers.
        This controller is called "Top Level Mode Multiplexing" in
        Qualcomm documentation.
index fe6b33e1dffa6fd32177f2e98f57e61c1ad0d7e4..416fb56a98d67a64dcb15b5336d31c308df94934 100644 (file)
@@ -118,6 +118,7 @@ static int msm_gpio_ofdata_to_platdata(struct udevice *dev)
 static const struct udevice_id msm_gpio_ids[] = {
        { .compatible = "qcom,msm8916-pinctrl" },
        { .compatible = "qcom,apq8016-pinctrl" },
+       { .compatible = "qcom,ipq4019-pinctrl" },
        { }
 };