From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 2/5] ARM: dts :sunxi: Add SPDIF pins to A10 and A20 Date: Mon, 21 Mar 2016 19:20:45 +0100 Message-ID: <20160321182045.GG30977@lukather> References: <1458576642-4078-1-git-send-email-codekipper@gmail.com> <1458576642-4078-3-git-send-email-codekipper@gmail.com> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="np6E2rbShIadjoVu" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <1458576642-4078-3-git-send-email-codekipper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: codekipper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --np6E2rbShIadjoVu Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Mon, Mar 21, 2016 at 05:10:39PM +0100, codekipper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > From: Marcus Cooper > > Add the SPDIF pins to the A10 and A20 dtsi. > > Signed-off-by: Marcus Cooper > --- > arch/arm/boot/dts/sun4i-a10.dtsi | 21 +++++++++++++++++++++ > arch/arm/boot/dts/sun7i-a20.dtsi | 21 +++++++++++++++++++++ > 2 files changed, 42 insertions(+) > > diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi > index 2c8f5e6..0483640 100644 > --- a/arch/arm/boot/dts/sun4i-a10.dtsi > +++ b/arch/arm/boot/dts/sun4i-a10.dtsi > @@ -1006,6 +1006,27 @@ > allwinner,drive = ; > allwinner,pull = ; > }; > + > + spdif_tx_pins_a: spdif@0 { > + allwinner,pins = "PB13"; > + allwinner,function = "spdif"; > + allwinner,drive = ; > + allwinner,pull = ; > + }; > + > + spdif_rx_pins_a: spdif@1 { > + allwinner,pins = "PB12"; > + allwinner,function = "spdif"; > + allwinner,drive = ; > + allwinner,pull = ; > + }; > + > + spdif_mclk_pins_a: spdif@2 { > + allwinner,pins = "PB3"; > + allwinner,function = "spdif"; > + allwinner,drive = ; > + allwinner,pull = ; > + }; If you're not going to use these pins, please don't add them yet. In order to avoid bloating the DT uselessly, we try to not add unused nodes. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --np6E2rbShIadjoVu--