linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: efm32: switch to properly namespaced location property
Date: Tue, 8 Jul 2014 08:41:35 +0200	[thread overview]
Message-ID: <20140708064135.GE7827@pengutronix.de> (raw)
In-Reply-To: <CAOesGMjzzYwXKXZLvUVp-nAGf+R4G8eUjK+3CumB8i5LkoRCow@mail.gmail.com>

Hi Olof,

On Mon, Jul 07, 2014 at 10:46:52PM -0700, Olof Johansson wrote:
> On Mon, Jun 30, 2014 at 8:41 AM, Uwe Kleine-K?nig
> <u.kleine-koenig@pengutronix.de> wrote:
> > Now that both spi and serial driver support these (commits f2bb31057a42
> > (spi: efm32: properly namespace location property) and
> > 74be65a3cff5 (serial: efm32: properly namespace location property)) use
> > the better names.
> >
> > Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> > ---
> >  arch/arm/boot/dts/efm32gg-dk3750.dts | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/efm32gg-dk3750.dts b/arch/arm/boot/dts/efm32gg-dk3750.dts
> > index b4031fa4a567..d5dd2a2a7970 100644
> > --- a/arch/arm/boot/dts/efm32gg-dk3750.dts
> > +++ b/arch/arm/boot/dts/efm32gg-dk3750.dts
> > @@ -43,7 +43,7 @@
> >
> >                 spi0: spi at 4000c000 { /* USART0 */
> >                         cs-gpios = <&gpio 68 1>; // E4
> > -                       location = <1>;
> > +                       efm32,location = <1>;
> 
> Hrm, the prefix is normally the vendor, not the platform. I see that
Don't considering what it used normally (and I didn't do it wrong on
purpose) I consider a string identifying the platform to be more
sensible here. For one thing because the vendor can change (as it did with
efm32). Another reason is that the vendor can create another platform
that also needs some devices with a location property that has a
completely different semantic but would get the same name.
(Ok, if the semantic on the different platform is similar
$vendor,location would be more appropriate. Probably the decision on
what name to pick should be considered case by case.)

Just my 0.02 ?,
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

  reply	other threads:[~2014-07-08  6:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 15:40 [GIT PULL] efm32 for 3.17-rc1 Uwe Kleine-König
2014-06-30 15:41 ` [PATCH 1/2] ARM: efm32: switch to properly namespaced location property Uwe Kleine-König
2014-07-08  5:46   ` Olof Johansson
2014-07-08  6:41     ` Uwe Kleine-König [this message]
2014-07-08 16:06       ` Olof Johansson
2014-07-08 18:26         ` Uwe Kleine-König
2014-07-10 22:05           ` Olof Johansson
2014-07-11  8:16             ` [PATCH] serial: efm32: correct namespacing of " Uwe Kleine-König
2014-07-11  8:17             ` [PATCH] spi: " Uwe Kleine-König
2014-07-11 12:39               ` Mark Brown
2014-07-11  8:22             ` [PATCH] i2c: " Uwe Kleine-König
2014-07-11  8:28               ` Uwe Kleine-König
2014-07-11  8:38                 ` Wolfram Sang
2014-07-11  8:50               ` [PATCH v2] " Uwe Kleine-König
2014-07-17 13:40                 ` Wolfram Sang
2014-07-17 18:42                   ` Uwe Kleine-König
2014-06-30 15:41 ` [PATCH 2/2] ARM: efm32: switch to vendor,device compatible strings Uwe Kleine-König
  -- strict thread matches above, loose matches on Subject: below --
2015-09-10  8:09 [PATCH 0/2] arm: efm32: dts updates Uwe Kleine-König
2015-09-10  8:09 ` [PATCH 1/2] ARM: efm32: switch to properly namespaced location property Uwe Kleine-König

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=20140708064135.GE7827@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.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).