devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@gmail.com>,
	olof@lixom.net, Stephen Warren <swarren@wwwdotorg.org>,
	robh@kernel.org
Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	ALSA Development Mailing List <alsa-devel@alsa-project.org>,
	Simon <horms@verge.net.au>,
	Linux-sh list <linux-sh@vger.kernel.org>,
	Magnus <magnus.damm@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Mark Brown <broonie@kernel.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	grant.likely@linaro.org
Subject: Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
Date: Mon, 22 Sep 2014 14:00:26 +0100	[thread overview]
Message-ID: <20140922130026.GK3290@leverpostej> (raw)
In-Reply-To: <878ulzx6hr.wl%kuninori.morimoto.gx@gmail.com>

On Thu, Sep 04, 2014 at 07:08:37AM +0100, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> 
> Current vendor-prefixes.txt already has
> "ak" prefix for Asahi Kasei Corp by
> ae8c4209af2cec065fef15d200a42a04130799f7
> (of: Add vendor prefix for Asahi Kasei Corp.)
> 
> But, almost all Asahi Kasei chip driver is
> using "asahi-kasei" prefix today.
> 
> This patch adds "asahi-kasei" to vendor-prefixes.txt.
> checkpatch.pl will report WARNING without this patch.
> (DT compatible string vendor "asahi-kasei" appears un-documented)

If we're adding a new string, we should figure out what's happening with
the old one. We want some consistency here.

>From a quick grep, it looks like the only use of "ak" is "ak,ak8975" in
arch/arm/boot/dts/tegra20-seaboard.dts. There are instances of
"asahi-kasei,ak8975" in other dts files.

Olof added "asahi-kasei,ak8975" to the ak8975 driver in February 2012
(see 54461c3067b2), and the "asahi-kasei" prefix is currently far more
common. This was only documented in May 2013 (see f4b7f751c6fd).

Stephen added the "ak" vendor-refix was added later in November 2012
(see ae8c4209af2c), and the only instance seems to work due to the i2c
subsystem doing something dehind the scenes with the compatible string.
So I think we made a mistake there.

Given all that, I think we should get rid of the "ak" prefix entirely,
fix up the seaboard dts, and leave the legacy matching for "ak,ak8975"
up to the i2c framework. However, that would imply deleting from
vendor-prefixes.txt (if we want people to be warned on use of "ak"), and
that's not a good precedent to set.

Thoughts?

Mark.

> OTOH, Asahi Kasei is usually referred to as "AKM",
> but this patch doesn't care about it.
> Because no DT is using it today.
> 
> Cc: Stephen Warren <swarren@wwwdotorg.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
> Acked-by: Simon Horman <horms+renesas@verge.net.au>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  .../devicetree/bindings/vendor-prefixes.txt        |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index abc3080..7e4bb83 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -17,6 +17,7 @@ amstaos	AMS-Taos Inc.
>  apm	Applied Micro Circuits Corporation (APM)
>  arm	ARM Ltd.
>  armadeus	ARMadeus Systems SARL
> +asahi-kasei	Asahi Kasei Corp.
>  atmel	Atmel Corporation
>  auo	AU Optronics Corporation
>  avago	Avago Technologies
> -- 
> 1.7.9.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2014-09-22 13:00 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11  8:12 "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT) Geert Uytterhoeven
2014-06-11  8:30 ` [alsa-devel] " Kuninori Morimoto
2014-06-11  8:40   ` Ben Dooks
2014-06-11 16:54     ` Mark Brown
2014-06-11 16:57       ` Geert Uytterhoeven
2014-06-11 17:02         ` Mark Brown
2014-06-11 17:08           ` Geert Uytterhoeven
2014-06-11 18:51           ` [alsa-devel] "ak" vs "asahi-kasei" Stephen Warren
2014-06-11 19:04             ` Mark Brown
2014-06-11 19:16               ` Stephen Warren
2014-06-12  0:53                 ` [PATCH] of: Add vendor 2nd prefix for Asahi Kasei Corp Kuninori Morimoto
2014-06-12  0:59                   ` Simon Horman
     [not found]                   ` <87sinbdk44.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-06-12 15:33                     ` Stephen Warren
2014-09-04  6:08                   ` [PATCH][resend] " Kuninori Morimoto
2014-09-22 13:00                     ` Mark Rutland [this message]
2014-09-22 13:24                       ` Geert Uytterhoeven
2014-09-22 13:27                         ` Mark Rutland
2014-11-13  2:18                           ` Kuninori Morimoto
     [not found]                             ` <87y4rfhmgl.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-11-13  2:21                               ` Joe Perches
2014-11-13  2:51                                 ` Simon Horman
2014-11-13  3:33                                   ` Kuninori Morimoto
2014-11-13 11:07                                     ` Mark Brown
     [not found]                                       ` <20141113110740.GE3815-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-11-14  1:43                                         ` [PATCH v3] of: replace Asahi Kasei Corp venter prefix Kuninori Morimoto
     [not found]                                           ` <87k32yd0bd.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-11-14  8:38                                             ` Alexandre Courbot
2014-11-14  9:16                                               ` Arnd Bergmann
2014-11-14  9:30                                               ` Thierry Reding
2014-11-14  9:35                                             ` [alsa-devel] " Thierry Reding
2014-11-17  0:51                                               ` [PATCH v4] " Kuninori Morimoto
2014-11-17 10:26                                                 ` Sergei Shtylyov
2014-11-18  0:30                                                   ` [PATCH v5] of: replace Asahi Kasei Corp vendor prefix Kuninori Morimoto
     [not found]                                                     ` <877fytxsde.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-11-28  0:22                                                       ` [PATCH v5][resend] of: replace Asahi Kasei Corp venter prefix Kuninori Morimoto
     [not found]                                                         ` <87egsob2cl.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-11-28 11:45                                                           ` Sergei Shtylyov
     [not found]                                                             ` <5478603D.1080404-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-12-02  4:57                                                               ` [PATCH v5][resend] of: replace Asahi Kasei Corp vendor prefix Kuninori Morimoto
     [not found]                                                                 ` <87d282sl6w.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2014-12-15  3:53                                                                   ` [PATCH v5][resend v2] " Kuninori Morimoto
2015-01-13 20:03                                                                 ` [PATCH v5][resend] " Rob Herring
2014-06-12 11:12                 ` [alsa-devel] "ak" vs "asahi-kasei" Mark Brown

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=20140922130026.GK3290@leverpostej \
    --to=mark.rutland@arm.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=grant.likely@linaro.org \
    --cc=horms@verge.net.au \
    --cc=kuninori.morimoto.gx@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=olof@lixom.net \
    --cc=robh@kernel.org \
    --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 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).