linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: "Andreas Färber" <afaerber@suse.de>
Cc: devicetree@vger.kernel.org, daniel.thompson@linaro.org,
	linus.walleij@linaro.org, liuwei@actions-semi.com,
	linux-kernel@vger.kernel.org, amit.kucheria@linaro.org,
	linux-gpio@vger.kernel.org, robh+dt@kernel.org,
	mp-cs@actions-semi.com, 96boards@ucrobotics.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 06/10] arm64: dts: actions: Add S900 gpio nodes
Date: Mon, 19 Feb 2018 23:13:28 +0530	[thread overview]
Message-ID: <20180219174328.lcrzbj6oswvmaxmt@linaro.org> (raw)
In-Reply-To: <fb5f904e-a262-df5b-a947-957e579ec4c9@suse.de>

Hi Andreas,

On Sat, Feb 17, 2018 at 10:08:37PM +0100, Andreas Färber wrote:
> Am 17.02.2018 um 21:44 schrieb Manivannan Sadhasivam:
> > Add gpio nodes for Actions Semi S900 SoC.
> > 
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > ---
> >  arch/arm64/boot/dts/actions/s900.dtsi | 7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi
> > index 0156483f0f4d..e359509ad9d3 100644
> > --- a/arch/arm64/boot/dts/actions/s900.dtsi
> > +++ b/arch/arm64/boot/dts/actions/s900.dtsi
> > @@ -180,6 +180,13 @@
> >  			clocks = <&cmu CLK_GPIO>;
> >  		};
> >  
> > +		gpio: gpio@e01b0000 {
> > +			compatible = "actions,s900-gpio";
> > +			reg = <0x0 0xe01b0000 0x0 0x1000>;
> > +			gpio-controller;
> 
> Same as the bindings example, this is lacking gpio-ranges.
>
Sure, will add it.
> https://github.com/afaerber/linux/commit/f4526bbacd75d014a69e6e3ff051638589ee71a3
> 
> Also why have only one node? That forces the information about GPIO
> banks into the driver rather than into the DT.
> 
In next revision all banks will be made as individual gpio-controllers,
which will in turn have individual nodes. The justification was already
provided in gpio driver patch.

Thanks,
Mani
> > +			#gpio-cells = <2>;
> > +		};
> > +
> >  		timer: timer@e0228000 {
> >  			compatible = "actions,s900-timer";
> >  			reg = <0x0 0xe0228000 0x0 0x8000>;
> 
> Regards,
> Andreas
> 
> -- 
> SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Felix Imendörffer, Jane Smithard, Graham Norton
> HRB 21284 (AG Nürnberg)

  reply	other threads:[~2018-02-19 17:43 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-17 20:44 [PATCH 00/10] Add Actions Semi S900 pinctrl and gpio support Manivannan Sadhasivam
2018-02-17 20:44 ` [PATCH 01/10] dt-bindings: pinctrl: Add bindings for Actions S900 SoC Manivannan Sadhasivam
2018-02-17 21:03   ` Andreas Färber
2018-02-19 17:13     ` Manivannan Sadhasivam
2018-02-19 20:34   ` Rob Herring
2018-02-17 20:44 ` [PATCH 02/10] arm64: dts: actions: Add pinctrl node for S900 Manivannan Sadhasivam
2018-02-17 20:44 ` [PATCH 03/10] arm64: actions: Enable PINCTRL in platforms Kconfig Manivannan Sadhasivam
2018-02-17 20:44 ` [PATCH 04/10] pinctrl: actions: Add Actions S900 pinctrl driver Manivannan Sadhasivam
2018-02-17 21:41   ` Andreas Färber
2018-02-19 17:29     ` Manivannan Sadhasivam
2018-02-20  7:53   ` Philippe Ombredanne
2018-02-21 14:56     ` Manivannan Sadhasivam
2018-02-17 20:44 ` [PATCH 05/10] dt-bindings: gpio: Add gpio nodes for Actions S900 SoC Manivannan Sadhasivam
2018-02-19 20:35   ` Rob Herring
2018-02-21 14:58     ` Manivannan Sadhasivam
2018-02-21 18:05       ` Andreas Färber
2018-02-21 23:52       ` Rob Herring
2018-02-17 20:44 ` [PATCH 07/10] arm64: dts: actions: Add gpio line names to Bubblegum-96 board Manivannan Sadhasivam
2018-02-17 20:44 ` [PATCH 08/10] gpio: Add gpio driver for Actions OWL S900 SoC Manivannan Sadhasivam
     [not found]   ` <CAHp75Vcmtq_mpkqx4+Yr24nRQEHJZmcypbOJLukZpdXVYzizNQ@mail.gmail.com>
2018-02-19 17:20     ` Manivannan Sadhasivam
2018-02-20  7:55   ` Philippe Ombredanne
2018-02-21 14:55     ` Manivannan Sadhasivam
     [not found] ` <20180217204433.3095-1-manivannan.sadhasivam-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2018-02-17 20:44   ` [PATCH 06/10] arm64: dts: actions: Add S900 gpio nodes Manivannan Sadhasivam
     [not found]     ` <20180217204433.3095-7-manivannan.sadhasivam-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2018-02-17 21:08       ` Andreas Färber
2018-02-19 17:43         ` Manivannan Sadhasivam [this message]
2018-02-17 20:44   ` [PATCH 09/10] MAINTAINERS: Add reviewer for ACTIONS platforms Manivannan Sadhasivam
2018-02-17 20:44 ` [PATCH 10/10] MAINTAINERS: Add Actions Semi S900 pinctrl and gpio entries Manivannan Sadhasivam
2018-02-17 21:21   ` Andreas Färber
2018-02-19 17:30     ` Manivannan Sadhasivam
2018-02-17 21:19 ` [PATCH 00/10] Add Actions Semi S900 pinctrl and gpio support Andreas Färber
2018-02-19 17:40   ` Manivannan Sadhasivam
  -- strict thread matches above, loose matches on Subject: below --
2018-02-28 17:48 Manivannan Sadhasivam
2018-02-28 17:49 ` [PATCH 06/10] arm64: dts: actions: Add S900 gpio nodes Manivannan Sadhasivam

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=20180219174328.lcrzbj6oswvmaxmt@linaro.org \
    --to=manivannan.sadhasivam@linaro.org \
    --cc=96boards@ucrobotics.com \
    --cc=afaerber@suse.de \
    --cc=amit.kucheria@linaro.org \
    --cc=daniel.thompson@linaro.org \
    --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=liuwei@actions-semi.com \
    --cc=mp-cs@actions-semi.com \
    --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).