All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Jean-Francois Moine <moinejf@free.fr>,
	Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, Russell King <linux@arm.linux.org.uk>,
	Jason Cooper <jason@lakedaemon.net>,
	Pawel Moll <pawel.moll@arm.com>,
	Stephen Warren <swarren@wwwdotorg.org>,
	linux-kernel@vger.kernel.org,
	Rob Herring <rob.herring@calxeda.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	linux-arm-kernel@lists.infradead.org,
	Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT
Date: Wed, 28 Aug 2013 12:19:43 +0200	[thread overview]
Message-ID: <20130828121943.1c8327ca@skate> (raw)
In-Reply-To: <521DCD33.2070008@gmail.com>

Sebastian, Jean-François,

On Wed, 28 Aug 2013 12:13:07 +0200, Sebastian Hesselbarth wrote:
> On 08/28/2013 11:34 AM, Jean-Francois Moine wrote:
> > This patch adds the nodes to instantiate the audio devices of the Dove
> > boards.
> >
> > Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
> > ---
> >   arch/arm/boot/dts/dove.dtsi                  | 18 ++++++++++++++++++
> >   1 file changed, 18 insertions(+)
> >
> > 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 = <&ethphy>;
> >   				};
> >   			};
> > +
> > +			i2s0: audio-controller@b0000 {
> > +				compatible = "marvell,mvebu-audio";
> 
> [added Gregory to Cc]
> 
> Jean-Francois,
> 
> as Mark Brown already took the bindings patch for above generic
> compatible, how are we going to discriminate different
> implementations/features of Dove, Kirkwood, and Armada 370?

I agree that mvebu-audio is not a really good compatible string. It
should use the first SoC that introduced the IP block, so that if
future SOCs have variations, we can introduce separate compatible
strings.

So for now, the compatible string should be kirkwood-audio.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
	Jean-Francois Moine <moinejf@free.fr>,
	Russell King <linux@arm.linux.org.uk>,
	Jason Cooper <jason@lakedaemon.net>,
	Pawel Moll <pawel.moll@arm.com>,
	devicetree@vger.kernel.org,
	Stephen Warren <swarren@wwwdotorg.org>,
	linux-kernel@vger.kernel.org,
	Rob Herring <rob.herring@calxeda.com>,
	Gregory CLEMENT <gregory.clement@free-electrons.com>,
	linux-arm-kernel@lists.infradead.org,
	Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH 1/2] ARM: Dove: Add the audio devices in DT
Date: Wed, 28 Aug 2013 12:19:43 +0200	[thread overview]
Message-ID: <20130828121943.1c8327ca@skate> (raw)
In-Reply-To: <521DCD33.2070008@gmail.com>

Sebastian, Jean-François,

On Wed, 28 Aug 2013 12:13:07 +0200, Sebastian Hesselbarth wrote:
> On 08/28/2013 11:34 AM, Jean-Francois Moine wrote:
> > This patch adds the nodes to instantiate the audio devices of the Dove
> > boards.
> >
> > Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
> > ---
> >   arch/arm/boot/dts/dove.dtsi                  | 18 ++++++++++++++++++
> >   1 file changed, 18 insertions(+)
> >
> > 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 = <&ethphy>;
> >   				};
> >   			};
> > +
> > +			i2s0: audio-controller@b0000 {
> > +				compatible = "marvell,mvebu-audio";
> 
> [added Gregory to Cc]
> 
> Jean-Francois,
> 
> as Mark Brown already took the bindings patch for above generic
> compatible, how are we going to discriminate different
> implementations/features of Dove, Kirkwood, and Armada 370?

I agree that mvebu-audio is not a really good compatible string. It
should use the first SoC that introduced the IP block, so that if
future SOCs have variations, we can introduce separate compatible
strings.

So for now, the compatible string should be kirkwood-audio.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: Dove: Add the audio devices in DT
Date: Wed, 28 Aug 2013 12:19:43 +0200	[thread overview]
Message-ID: <20130828121943.1c8327ca@skate> (raw)
In-Reply-To: <521DCD33.2070008@gmail.com>

Sebastian, Jean-Fran?ois,

On Wed, 28 Aug 2013 12:13:07 +0200, Sebastian Hesselbarth wrote:
> On 08/28/2013 11:34 AM, Jean-Francois Moine wrote:
> > This patch adds the nodes to instantiate the audio devices of the Dove
> > boards.
> >
> > Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
> > ---
> >   arch/arm/boot/dts/dove.dtsi                  | 18 ++++++++++++++++++
> >   1 file changed, 18 insertions(+)
> >
> > 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 = <&ethphy>;
> >   				};
> >   			};
> > +
> > +			i2s0: audio-controller at b0000 {
> > +				compatible = "marvell,mvebu-audio";
> 
> [added Gregory to Cc]
> 
> Jean-Francois,
> 
> as Mark Brown already took the bindings patch for above generic
> compatible, how are we going to discriminate different
> implementations/features of Dove, Kirkwood, and Armada 370?

I agree that mvebu-audio is not a really good compatible string. It
should use the first SoC that introduced the IP block, so that if
future SOCs have variations, we can introduce separate compatible
strings.

So for now, the compatible string should be kirkwood-audio.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-08-28 10:20 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28  9:34 [PATCH 1/2] ARM: Dove: Add the audio devices in DT Jean-Francois Moine
2013-08-28  9:34 ` Jean-Francois Moine
2013-08-28 10:13 ` Sebastian Hesselbarth
2013-08-28 10:13   ` Sebastian Hesselbarth
2013-08-28 10:13   ` Sebastian Hesselbarth
2013-08-28 10:19   ` Thomas Petazzoni [this message]
2013-08-28 10:19     ` Thomas Petazzoni
2013-08-28 10:19     ` Thomas Petazzoni
2013-08-28 10:26     ` Sebastian Hesselbarth
2013-08-28 10:26       ` Sebastian Hesselbarth
2013-08-28 10:26       ` Sebastian Hesselbarth
2013-08-28 11:15       ` Thomas Petazzoni
2013-08-28 11:15         ` Thomas Petazzoni
2013-08-28 11:44         ` Sebastian Hesselbarth
2013-08-28 11:44           ` Sebastian Hesselbarth
2013-08-28 11:58           ` Thomas Petazzoni
2013-08-28 11:58             ` Thomas Petazzoni
2013-08-28 12:13             ` Russell King - ARM Linux
2013-08-28 12:13               ` Russell King - ARM Linux
2013-08-28 12:29               ` Thomas Petazzoni
2013-08-28 12:29                 ` Thomas Petazzoni
2013-08-28 12:42                 ` Russell King - ARM Linux
2013-08-28 12:42                   ` Russell King - ARM Linux
2013-08-28 12:51                   ` Thomas Petazzoni
2013-08-28 12:51                     ` Thomas Petazzoni
2013-08-28 13:58                     ` Russell King - ARM Linux
2013-08-28 13:58                       ` Russell King - ARM Linux
2013-08-28 12:16             ` Sebastian Hesselbarth
2013-08-28 12:16               ` Sebastian Hesselbarth
2013-08-29 10:07               ` Jean-Francois Moine
2013-08-29 10:07                 ` Jean-Francois Moine
2013-08-29 10:13                 ` Russell King - ARM Linux
2013-08-29 10:13                   ` Russell King - ARM Linux
2013-08-29 11:01                   ` Sebastian Hesselbarth
2013-08-29 11:01                     ` Sebastian Hesselbarth
2013-08-30 15:08                     ` Russell King - ARM Linux
2013-08-30 15:08                       ` Russell King - ARM Linux
2013-08-29  9:46         ` Jean-Francois Moine
2013-08-29  9:46           ` Jean-Francois Moine
2013-08-29 16:12       ` Mark Brown
2013-08-29 16:12         ` Mark Brown
2013-08-29 16:33         ` Russell King - ARM Linux
2013-08-29 16:33           ` Russell King - ARM Linux
2013-08-29 17:12           ` Mark Brown
2013-08-29 17:12             ` Mark Brown
2013-08-29 18:02             ` Sebastian Hesselbarth
2013-08-29 18:02               ` Sebastian Hesselbarth
2013-08-29 18:20               ` Mark Brown
2013-08-29 18:20                 ` Mark Brown
2013-08-29 18:34                 ` Russell King - ARM Linux
2013-08-29 18:34                   ` Russell King - ARM Linux
2013-08-28 19:49 ` Sergei Shtylyov
2013-08-28 19:49   ` Sergei Shtylyov
2013-08-29  9:38   ` Jean-Francois Moine
2013-08-29  9:38     ` Jean-Francois Moine
2013-08-29 14:13     ` Sergei Shtylyov
2013-08-29 14:13       ` Sergei Shtylyov

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=20130828121943.1c8327ca@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregory.clement@free-electrons.com \
    --cc=ian.campbell@citrix.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=moinejf@free.fr \
    --cc=pawel.moll@arm.com \
    --cc=rob.herring@calxeda.com \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=swarren@wwwdotorg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.