RE: [PATCH] arm64: dts: renesas: r8a77995: add GPIO device nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Simon-san,

> From: Simon Horman
> Sent: Wednesday, September 13, 2017 4:50 PM
> 
> On Wed, Sep 13, 2017 at 03:52:08PM +0900, Yoshihiro Shimoda wrote:
> > This patch adds GPIO device nodes for r8a77995.
> >
> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
> > ---
> >  This patch should be applied after the following patch is applied:
> >   "gpio: rcar: Add r8a77995 (R-Car D3) support".
> 
> I think it can be applied in parallel with that patch as the driver
> will match on "renesas,rcar-gen3-gpio". Right?

That's right.
My little concern was checkpatch.pl output warning if we didn't applied
the gpio patch :)

Best regards,
Yoshihiro Shimoda

> >  arch/arm64/boot/dts/renesas/r8a77995.dtsi | 112 ++++++++++++++++++++++++++++++
> >  1 file changed, 112 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
> > index 84b6bd5..a1c9271 100644
> > --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
> > +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
> > @@ -139,6 +139,118 @@
> >  			#power-domain-cells = <1>;
> >  		};
> >
> > +		gpio0: gpio@e6050000 {
> > +			compatible = "renesas,gpio-r8a77995",
> > +				     "renesas,rcar-gen3-gpio",
> > +				     "renesas,gpio-rcar";
> > +			reg = <0 0xe6050000 0 0x50>;
> > +			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
> > +			#gpio-cells = <2>;
> > +			gpio-controller;
> > +			gpio-ranges = <&pfc 0 0 9>;
> > +			#interrupt-cells = <2>;
> > +			interrupt-controller;
> > +			clocks = <&cpg CPG_MOD 912>;
> > +			power-domains = <&cpg>;
> > +			resets = <&cpg 912>;
> > +		};
> 
> ...




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux