All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Marko <robert.marko@sartura.hr>
To: u-boot@lists.denx.de
Subject: [PATCH 3/3] msm_gpio: Add support for Qualcomm IPQ40xx
Date: Mon,  6 Jul 2020 10:37:56 +0200	[thread overview]
Message-ID: <20200706083756.6013-3-robert.marko@sartura.hr> (raw)
In-Reply-To: <20200706083756.6013-1-robert.marko@sartura.hr>

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>
---
 doc/device-tree-bindings/gpio/gpio-msm.txt | 3 ++-
 drivers/gpio/msm_gpio.c                    | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/device-tree-bindings/gpio/gpio-msm.txt b/doc/device-tree-bindings/gpio/gpio-msm.txt
index 966ce0af09..70a2c7f0dd 100644
--- a/doc/device-tree-bindings/gpio/gpio-msm.txt
+++ b/doc/device-tree-bindings/gpio/gpio-msm.txt
@@ -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.
diff --git a/drivers/gpio/msm_gpio.c b/drivers/gpio/msm_gpio.c
index ac5d20c1b9..868291eddb 100644
--- a/drivers/gpio/msm_gpio.c
+++ b/drivers/gpio/msm_gpio.c
@@ -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" },
 	{ }
 };
 
-- 
2.26.2

  parent reply	other threads:[~2020-07-06  8:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06  8:37 [PATCH 1/3] arm: Add support for Qualcomm IPQ40xx family Robert Marko
2020-07-06  8:37 ` [PATCH 2/3] msm_serial: Read bit rate register value from DT Robert Marko
2020-07-10 15:26   ` Tom Rini
2020-07-12  4:31   ` Ramon Fried
2020-07-29 13:43   ` Tom Rini
2020-07-06  8:37 ` Robert Marko [this message]
2020-07-10 15:26   ` [PATCH 3/3] msm_gpio: Add support for Qualcomm IPQ40xx Tom Rini
2020-07-12  4:31   ` Ramon Fried
2020-07-29 13:43   ` Tom Rini
2020-07-10 15:25 ` [PATCH 1/3] arm: Add support for Qualcomm IPQ40xx family Tom Rini
2020-07-10 15:52   ` Robert Marko
2020-07-10 16:57     ` Tom Rini
2020-07-10 17:31       ` Robert Marko
2020-07-10 17:43         ` Tom Rini
2020-07-13  8:32           ` Robert Marko
2020-07-29 13:43 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200706083756.6013-3-robert.marko@sartura.hr \
    --to=robert.marko@sartura.hr \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.