[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8eef101-1014-4ed1-509c-c16062b4f25c@microchip.com>
Date: Thu, 17 Sep 2020 16:28:02 +0200
From: Nicolas Ferre <nicolas.ferre@...rochip.com>
To: Eugen Hristev <eugen.hristev@...rochip.com>,
<linus.walleij@...aro.org>, <robh+dt@...nel.org>,
<linux-gpio@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
CC: Ludovic Desroches <ludovic.desroches@...rochip.com>
Subject: Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
On 17/09/2020 at 15:12, Eugen Hristev wrote:
> Add support for sama7g5 pinctrl block, which has 5 PIO banks.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
Reviewed-by: Nicolas Ferre <nicolas.ferre@...rochip.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 */
> }
>
Thanks Eugen, regards,
--
Nicolas Ferre
Powered by blists - more mailing lists