From mboxrd@z Thu Jan 1 00:00:00 1970 From: moinejf@free.fr (Jean-Francois Moine) Date: Thu, 29 Aug 2013 11:38:48 +0200 Subject: [PATCH 1/2] ARM: Dove: Add the audio devices in DT In-Reply-To: <521E5438.90109@cogentembedded.com> References: <20130828113459.48ecbb34@armhf> <521E5438.90109@cogentembedded.com> Message-ID: <20130829113848.6d8f7f21@armhf> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, 28 Aug 2013 23:49:12 +0400 Sergei Shtylyov wrote: > > diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi > > index 499abad..78227e2 100644 > > --- a/arch/arm/boot/dts/dove.dtsi > > +++ b/arch/arm/boot/dts/dove.dtsi > > @@ -573,6 +573,24 @@ > > phy-handle = <ðphy>; > > }; > > }; > > + > > + i2s0: audio-controller at b0000 { > > According to ePAPR [1] the node should be called "sound", not > "audio-controller". > > > + compatible = "marvell,mvebu-audio"; > > + reg = <0xb0000 0x2210>; > > + interrupts = <19>, <20>; > > + clocks = <&gate_clk 12>; > > + clock-names = "internal"; > > + status = "disabled"; > > + }; AFAIK, "sound" describes the global audio subsystem. For the Cubox, this will be done by something like: sound { compatible = "simple-audio"; audio-controller = <&i2s1>; audio-codec = <&spdif>; codec-dai-name = "dit-hifi"; }; -- Ken ar c'henta? | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Francois Moine Subject: Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT Date: Thu, 29 Aug 2013 11:38:48 +0200 Message-ID: <20130829113848.6d8f7f21@armhf> References: <20130828113459.48ecbb34@armhf> <521E5438.90109@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <521E5438.90109@cogentembedded.com> Sender: linux-kernel-owner@vger.kernel.org To: Sergei Shtylyov Cc: linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth , Jason Cooper , Mark Rutland , devicetree@vger.kernel.org, Russell King , Ian Campbell , Pawel Moll , Stephen Warren , linux-kernel@vger.kernel.org, Rob Herring List-Id: devicetree@vger.kernel.org On Wed, 28 Aug 2013 23:49:12 +0400 Sergei Shtylyov wrote: > > diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.d= tsi > > index 499abad..78227e2 100644 > > --- a/arch/arm/boot/dts/dove.dtsi > > +++ b/arch/arm/boot/dts/dove.dtsi > > @@ -573,6 +573,24 @@ > > phy-handle =3D <ðphy>; > > }; > > }; > > + > > + i2s0: audio-controller@b0000 { =20 >=20 > According to ePAPR [1] the node should be called "sound", not=20 > "audio-controller". >=20 > > + compatible =3D "marvell,mvebu-audio"; > > + reg =3D <0xb0000 0x2210>; > > + interrupts =3D <19>, <20>; > > + clocks =3D <&gate_clk 12>; > > + clock-names =3D "internal"; > > + status =3D "disabled"; > > + }; AFAIK, "sound" describes the global audio subsystem. For the Cubox, this will be done by something like: sound { compatible =3D "simple-audio"; audio-controller =3D <&i2s1>; audio-codec =3D <&spdif>; codec-dai-name =3D "dit-hifi"; }; --=20 Ken ar c'henta=C3=B1 | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/