From: Eugen Hristev <eugen.hristev@microchip.com>
To: <linus.walleij@linaro.org>, <robh+dt@kernel.org>,
<linux-gpio@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Subject: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
Date: Thu, 17 Sep 2020 16:12:57 +0300 [thread overview]
Message-ID: <20200917131257.273882-2-eugen.hristev@microchip.com> (raw)
In-Reply-To: <20200917131257.273882-1-eugen.hristev@microchip.com>
Add support for sama7g5 pinctrl block, which has 5 PIO banks.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c
index 1c852293cb96..9f62152d0a62 100644
--- a/drivers/pinctrl/pinctrl-at91-pio4.c
+++ b/drivers/pinctrl/pinctrl-at91-pio4.c
@@ -999,10 +999,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = {
.nbanks = 4,
};
+static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = {
+ .nbanks = 5,
+};
+
static const struct of_device_id atmel_pctrl_of_match[] = {
{
.compatible = "atmel,sama5d2-pinctrl",
.data = &atmel_sama5d2_pioctrl_data,
+ }, {
+ .compatible = "microchip,sama7g5-pinctrl",
+ .data = µchip_sama7g5_pioctrl_data,
}, {
/* sentinel */
}
--
2.25.1
next prev parent reply other threads:[~2020-09-17 13:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
2020-09-17 13:12 ` Eugen Hristev [this message]
2020-09-17 14:28 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Nicolas Ferre
2020-09-21 6:27 ` Ludovic Desroches
2020-09-29 13:28 ` Linus Walleij
2020-09-17 14:26 ` [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Nicolas.Ferre
2020-09-21 6:27 ` Ludovic Desroches
2020-09-23 20:22 ` Rob Herring
2020-09-29 20:41 ` Linus Walleij
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=20200917131257.273882-2-eugen.hristev@microchip.com \
--to=eugen.hristev@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).