devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
@ 2014-06-11  8:12 Geert Uytterhoeven
  2014-06-11  8:30 ` [alsa-devel] " Kuninori Morimoto
  0 siblings, 1 reply; 36+ messages in thread
From: Geert Uytterhoeven @ 2014-06-11  8:12 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Simon, Magnus, Linux-sh list, Ben Dooks,
	devicetree@vger.kernel.org, ALSA Development Mailing List

Hi Morimoto-san,

CC devicetree, alsa-devel

On Wed, Jun 11, 2014 at 9:40 AM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
>> On Wed, Jun 11, 2014 at 8:54 AM, Kuninori Morimoto
>> <kuninori.morimoto.gx@renesas.com> wrote:
>> > +               compatible = "asahi-kasei,ak4643";
>>
>> As Sergei already commented,
>> Documentation/devicetree/bindings/vendor-prefixes.txt
>> says
>>
>>         ak      Asahi Kasei Corp.
>
> I know, but,
>
> grep asahi-kasei sound/soc/codecs/*
> sound/soc/codecs/ak4104.c:      { .compatible = "asahi-kasei,ak4104", },
> sound/soc/codecs/ak4554.c:      { .compatible = "asahi-kasei,ak4554" },
> sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4642",   .data = &ak4642_drvdata},
> sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4643",   .data = &ak4643_drvdata},
> sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4648",   .data = &ak4648_drvdata},
> sound/soc/codecs/ak5386.c:      { .compatible = "asahi-kasei,ak5386", },
>
> ak4642 driver can't probe by "ak";

That's bad. And all but one of these match entries have been added
_after_ the addition of "ak" to vendor-prefixes.txt...

Outside sound, there's also "asahi-kasei,ak8975" vs. "ak,ak8975".

> My code is based on "code", not "document"

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
  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 ` Kuninori Morimoto
  2014-06-11  8:40   ` Ben Dooks
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-06-11  8:30 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, Simon, Ben Dooks


Hi Geert

> > grep asahi-kasei sound/soc/codecs/*
> > sound/soc/codecs/ak4104.c:      { .compatible = "asahi-kasei,ak4104", },
> > sound/soc/codecs/ak4554.c:      { .compatible = "asahi-kasei,ak4554" },
> > sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4642",   .data = &ak4642_drvdata},
> > sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4643",   .data = &ak4643_drvdata},
> > sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4648",   .data = &ak4648_drvdata},
> > sound/soc/codecs/ak5386.c:      { .compatible = "asahi-kasei,ak5386", },
> >
> > ak4642 driver can't probe by "ak";
> 
> That's bad. And all but one of these match entries have been added
> _after_ the addition of "ak" to vendor-prefixes.txt...
> 
> Outside sound, there's also "asahi-kasei,ak8975" vs. "ak,ak8975".

In my quick check,
The driver which is supporting "ak" is only ak8975.
Other Asahi-Kasei driver is using "asahi-kasei".

Very interesting is that the document of ak8975
./Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt
said it should be "asahi-kasei"

what is the policy of Documentation/devicetree/bindings/vendor-prefixes.txt ?

-----------------------------------------------
grep compatible `find | grep ".*/ak"`
./arch/arm/boot/dts/aks-cdu.dts:                compatible = "gpio-leds";
./drivers/iio/magnetometer/ak8975.c:    { .compatible = "asahi-kasei,ak8975", },
./drivers/iio/magnetometer/ak8975.c:    { .compatible = "ak8975", },
./sound/soc/codecs/ak4104.c:    { .compatible = "asahi-kasei,ak4104", },
./sound/soc/codecs/ak5386.c:    { .compatible = "asahi-kasei,ak5386", },
./sound/soc/codecs/ak4554.c:    { .compatible = "asahi-kasei,ak4554" },
./sound/soc/codecs/ak4642.c:    { .compatible = "asahi-kasei,ak4642",   .data = &ak4642_drvdata},
./sound/soc/codecs/ak4642.c:    { .compatible = "asahi-kasei,ak4643",   .data = &ak4643_drvdata},
./sound/soc/codecs/ak4642.c:    { .compatible = "asahi-kasei,ak4648",   .data = &ak4648_drvdata},
./Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt:  - compatible : should be "asahi-kasei,ak8975"
./Documentation/devicetree/bindings/iio/magnetometer/ak8975.txt:        compatible = "asahi-kasei,ak8975";
./Documentation/devicetree/bindings/sound/ak4642.txt:  - compatible : "asahi-kasei,ak4642" or "asahi-kasei,ak4643" or "asahi-kasei,ak4648"
./Documentation/devicetree/bindings/sound/ak4642.txt:           compatible = "asahi-kasei,ak4642";
./Documentation/devicetree/bindings/sound/ak5386.txt:  - compatible : "asahi-kasei,ak5386"
./Documentation/devicetree/bindings/sound/ak5386.txt:   compatible = "asahi-kasei,ak5386";
./Documentation/devicetree/bindings/sound/ak4104.txt:  - compatible : "asahi-kasei,ak4104"
./Documentation/devicetree/bindings/sound/ak4104.txt:   compatible = "asahi-kasei,ak4104";
./Documentation/devicetree/bindings/sound/ak4554.c:  - compatible : "asahi-kasei,ak4554"
./Documentation/devicetree/bindings/sound/ak4554.c:     compatible = "asahi-kasei,ak4554";

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
  2014-06-11  8:30 ` [alsa-devel] " Kuninori Morimoto
@ 2014-06-11  8:40   ` Ben Dooks
  2014-06-11 16:54     ` Mark Brown
  0 siblings, 1 reply; 36+ messages in thread
From: Ben Dooks @ 2014-06-11  8:40 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven
  Cc: devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, Simon

On 11/06/14 09:30, Kuninori Morimoto wrote:
> 
> Hi Geert
> 
>>> grep asahi-kasei sound/soc/codecs/*
>>> sound/soc/codecs/ak4104.c:      { .compatible = "asahi-kasei,ak4104", },
>>> sound/soc/codecs/ak4554.c:      { .compatible = "asahi-kasei,ak4554" },
>>> sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4642",   .data = &ak4642_drvdata},
>>> sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4643",   .data = &ak4643_drvdata},
>>> sound/soc/codecs/ak4642.c:      { .compatible = "asahi-kasei,ak4648",   .data = &ak4648_drvdata},
>>> sound/soc/codecs/ak5386.c:      { .compatible = "asahi-kasei,ak5386", },
>>>
>>> ak4642 driver can't probe by "ak";

Should we add ak, as well?

-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
  2014-06-11  8:40   ` Ben Dooks
@ 2014-06-11 16:54     ` Mark Brown
  2014-06-11 16:57       ` Geert Uytterhoeven
  0 siblings, 1 reply; 36+ messages in thread
From: Mark Brown @ 2014-06-11 16:54 UTC (permalink / raw)
  To: Ben Dooks
  Cc: Kuninori Morimoto, Geert Uytterhoeven, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Simon, Magnus, Linux-sh list

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

On Wed, Jun 11, 2014 at 09:40:06AM +0100, Ben Dooks wrote:
> On 11/06/14 09:30, Kuninori Morimoto wrote:

> >>> ak4642 driver can't probe by "ak";

> Should we add ak, as well?

They're usually referred to as AKM when abbreviated and their web site
is http://www.akm.com/ - don't know what the stock ticker symbol is.  In
any case there's no real cost to adding both abbreviated and
non-abbreviated forms if we want to transition.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
  2014-06-11 16:54     ` Mark Brown
@ 2014-06-11 16:57       ` Geert Uytterhoeven
  2014-06-11 17:02         ` Mark Brown
  0 siblings, 1 reply; 36+ messages in thread
From: Geert Uytterhoeven @ 2014-06-11 16:57 UTC (permalink / raw)
  To: Mark Brown
  Cc: Ben Dooks, Kuninori Morimoto, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Simon, Magnus, Linux-sh list

On Wed, Jun 11, 2014 at 6:54 PM, Mark Brown <broonie@kernel.org> wrote:
> On Wed, Jun 11, 2014 at 09:40:06AM +0100, Ben Dooks wrote:
>> On 11/06/14 09:30, Kuninori Morimoto wrote:
>
>> >>> ak4642 driver can't probe by "ak";
>
>> Should we add ak, as well?
>
> They're usually referred to as AKM when abbreviated and their web site
> is http://www.akm.com/ - don't know what the stock ticker symbol is.  In
> any case there's no real cost to adding both abbreviated and
> non-abbreviated forms if we want to transition.

commit ae8c4209af2cec065fef15d200a42a04130799f7
Author: Stephen Warren <swarren@nvidia.com>
Date:   Mon Nov 19 15:34:43 2012 -0700

    of: Add vendor prefix for Asahi Kasei Corp.

    Their stock ticker is 3407.T which wouldn't make a good DT vendor
    prefix. Use the company name initials instead.

    Signed-off-by: Stephen Warren <swarren@nvidia.com>
    Signed-off-by: Rob Herring <rob.herring@calxeda.com>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
  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
  0 siblings, 2 replies; 36+ messages in thread
From: Mark Brown @ 2014-06-11 17:02 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Ben Dooks, Kuninori Morimoto, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Simon, Magnus, Linux-sh list

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

On Wed, Jun 11, 2014 at 06:57:44PM +0200, Geert Uytterhoeven wrote:
> On Wed, Jun 11, 2014 at 6:54 PM, Mark Brown <broonie@kernel.org> wrote:

> > They're usually referred to as AKM when abbreviated and their web site
> > is http://www.akm.com/ - don't know what the stock ticker symbol is.  In
> > any case there's no real cost to adding both abbreviated and
> > non-abbreviated forms if we want to transition.

>     of: Add vendor prefix for Asahi Kasei Corp.

>     Their stock ticker is 3407.T which wouldn't make a good DT vendor
>     prefix. Use the company name initials instead.

Sounds like akm, is a better bet then, especially as ak, has no real
adoption.  

I think the bikeshed would be much better painted pink with yellow spots :)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei" (was: Re: [PATCH 3/3 v3] ARM: shmobile: lager: add sound support on DT)
  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
  1 sibling, 0 replies; 36+ messages in thread
From: Geert Uytterhoeven @ 2014-06-11 17:08 UTC (permalink / raw)
  To: Mark Brown
  Cc: Ben Dooks, Kuninori Morimoto, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Simon, Magnus, Linux-sh list

On Wed, Jun 11, 2014 at 7:02 PM, Mark Brown <broonie@kernel.org> wrote:
> On Wed, Jun 11, 2014 at 06:57:44PM +0200, Geert Uytterhoeven wrote:
>> On Wed, Jun 11, 2014 at 6:54 PM, Mark Brown <broonie@kernel.org> wrote:
>> > They're usually referred to as AKM when abbreviated and their web site
>> > is http://www.akm.com/ - don't know what the stock ticker symbol is.  In
>> > any case there's no real cost to adding both abbreviated and
>> > non-abbreviated forms if we want to transition.
>
>>     of: Add vendor prefix for Asahi Kasei Corp.
>
>>     Their stock ticker is 3407.T which wouldn't make a good DT vendor
>>     prefix. Use the company name initials instead.
>
> Sounds like akm, is a better bet then, especially as ak, has no real
> adoption.

Except for Автомат Калашникова...

> I think the bikeshed would be much better painted pink with yellow spots :)

Definitely.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei"
  2014-06-11 17:02         ` Mark Brown
  2014-06-11 17:08           ` Geert Uytterhoeven
@ 2014-06-11 18:51           ` Stephen Warren
  2014-06-11 19:04             ` Mark Brown
  1 sibling, 1 reply; 36+ messages in thread
From: Stephen Warren @ 2014-06-11 18:51 UTC (permalink / raw)
  To: Mark Brown, Geert Uytterhoeven
  Cc: Ben Dooks, Kuninori Morimoto, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Simon, Magnus, Linux-sh list

[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]

On 06/11/2014 11:02 AM, Mark Brown wrote:
> On Wed, Jun 11, 2014 at 06:57:44PM +0200, Geert Uytterhoeven wrote:
>> On Wed, Jun 11, 2014 at 6:54 PM, Mark Brown <broonie@kernel.org> wrote:
> 
>>> They're usually referred to as AKM when abbreviated and their web site
>>> is http://www.akm.com/ - don't know what the stock ticker symbol is.  In
>>> any case there's no real cost to adding both abbreviated and
>>> non-abbreviated forms if we want to transition.
> 
>>     of: Add vendor prefix for Asahi Kasei Corp.
> 
>>     Their stock ticker is 3407.T which wouldn't make a good DT vendor
>>     prefix. Use the company name initials instead.
> 
> Sounds like akm, is a better bet then, especially as ak, has no real
> adoption.  
> 
> I think the bikeshed would be much better painted pink with yellow spots :)

Sorry to jump in on this late, but what on earth is wrong with "ak". It
went through the appropriate review process, and is already in use.
Admittedly only in a single ARM DT file, but it's still in use. We'll
have to allow the ak prefix forever given that DT is an ABI, so rather
than introducing more random variations, we should just stick with what
we have.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei"
  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
  0 siblings, 1 reply; 36+ messages in thread
From: Mark Brown @ 2014-06-11 19:04 UTC (permalink / raw)
  To: Stephen Warren
  Cc: Geert Uytterhoeven, Ben Dooks, Kuninori Morimoto,
	devicetree@vger.kernel.org, ALSA Development Mailing List, Simon,
	Magnus, Linux-sh list

[-- Attachment #1: Type: text/plain, Size: 808 bytes --]

On Wed, Jun 11, 2014 at 12:51:41PM -0600, Stephen Warren wrote:
> On 06/11/2014 11:02 AM, Mark Brown wrote:

> > I think the bikeshed would be much better painted pink with yellow spots :)

> Sorry to jump in on this late, but what on earth is wrong with "ak". It
> went through the appropriate review process, and is already in use.
> Admittedly only in a single ARM DT file, but it's still in use. We'll
> have to allow the ak prefix forever given that DT is an ABI, so rather
> than introducing more random variations, we should just stick with what
> we have.

Well, the issue is that in reality the bulk of the drivers are using
asahi-kasei, we're going to have to churn at least something anyway.  We
seem to have one in tree user of ak in a DTS file and two DTSs using
asahi-kasei with seven drivers.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei"
  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 11:12                 ` [alsa-devel] "ak" vs "asahi-kasei" Mark Brown
  0 siblings, 2 replies; 36+ messages in thread
From: Stephen Warren @ 2014-06-11 19:16 UTC (permalink / raw)
  To: Mark Brown
  Cc: Geert Uytterhoeven, Ben Dooks, Kuninori Morimoto,
	devicetree@vger.kernel.org, ALSA Development Mailing List, Simon,
	Magnus, Linux-sh list

[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]

On 06/11/2014 01:04 PM, Mark Brown wrote:
> On Wed, Jun 11, 2014 at 12:51:41PM -0600, Stephen Warren wrote:
>> On 06/11/2014 11:02 AM, Mark Brown wrote:
> 
>>> I think the bikeshed would be much better painted pink with yellow spots :)
> 
>> Sorry to jump in on this late, but what on earth is wrong with "ak". It
>> went through the appropriate review process, and is already in use.
>> Admittedly only in a single ARM DT file, but it's still in use. We'll
>> have to allow the ak prefix forever given that DT is an ABI, so rather
>> than introducing more random variations, we should just stick with what
>> we have.
> 
> Well, the issue is that in reality the bulk of the drivers are using
> asahi-kasei, we're going to have to churn at least something anyway.  We
> seem to have one in tree user of ak in a DTS file and two DTSs using
> asahi-kasei with seven drivers.

As far as DTs go, there are only 2 users of asahi-kasei, and they were
both added well after the prefix was documented, so those seem like
plain old bugs.

But due to ABIness, perhaps we have to support both ak and asahi-kasei.
I don't think fixing this implies we should introduce a third option akm
though. No DT is using that today.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-06-11 19:16               ` Stephen Warren
@ 2014-06-12  0:53                 ` Kuninori Morimoto
  2014-06-12  0:59                   ` Simon Horman
                                     ` (2 more replies)
  2014-06-12 11:12                 ` [alsa-devel] "ak" vs "asahi-kasei" Mark Brown
  1 sibling, 3 replies; 36+ messages in thread
From: Kuninori Morimoto @ 2014-06-12  0:53 UTC (permalink / raw)
  To: Rob Herring, linux-kernel
  Cc: Mark Brown, Stephen Warren, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Linux-sh list, Magnus, Simon,
	Geert Uytterhoeven, Ben Dooks

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.)

It went through the appropriate review process,
and is already in use.
But, almost all Asahi Kasei chip driver is
using "asahi-kasei" prefix today.

Due to ABIness, 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)

OTOH, Asahi Kasei is usually referred 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>,
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


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH] of: Add vendor 2nd prefix for Asahi Kasei Corp
  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-09-04  6:08                   ` [PATCH][resend] " Kuninori Morimoto
  2 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-06-12  0:59 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Rob Herring, linux-kernel, Mark Brown, Stephen Warren,
	devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, Geert Uytterhoeven, Ben Dooks

On Wed, Jun 11, 2014 at 05:53:02PM -0700, 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.)
> 
> It went through the appropriate review process,
> and is already in use.
> But, almost all Asahi Kasei chip driver is
> using "asahi-kasei" prefix today.
> 
> Due to ABIness, 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)
> 
> OTOH, Asahi Kasei is usually referred 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>,
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
>  .../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
> 

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] "ak" vs "asahi-kasei"
  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 11:12                 ` Mark Brown
  1 sibling, 0 replies; 36+ messages in thread
From: Mark Brown @ 2014-06-12 11:12 UTC (permalink / raw)
  To: Stephen Warren
  Cc: Geert Uytterhoeven, Ben Dooks, Kuninori Morimoto,
	devicetree@vger.kernel.org, ALSA Development Mailing List, Simon,
	Magnus, Linux-sh list

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Wed, Jun 11, 2014 at 01:16:23PM -0600, Stephen Warren wrote:

> As far as DTs go, there are only 2 users of asahi-kasei, and they were
> both added well after the prefix was documented, so those seem like
> plain old bugs.

> But due to ABIness, perhaps we have to support both ak and asahi-kasei.
> I don't think fixing this implies we should introduce a third option akm
> though. No DT is using that today.

See my prior comments about how fetching pink with yellow spots would be :)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH] of: Add vendor 2nd prefix for Asahi Kasei Corp
       [not found]                   ` <87sinbdk44.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2014-06-12 15:33                     ` Stephen Warren
  0 siblings, 0 replies; 36+ messages in thread
From: Stephen Warren @ 2014-06-12 15:33 UTC (permalink / raw)
  To: Kuninori Morimoto, Rob Herring,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Mark Brown, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ALSA Development Mailing List, Linux-sh list, Magnus, Simon,
	Geert Uytterhoeven, Ben Dooks

On 06/11/2014 06:53 PM, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> 
> Current vendor-prefixes.txt already has
> "ak" prefix for Asahi Kasei Corp by
> ae8c4209af2cec065fef15d200a42a04130799f7
> (of: Add vendor prefix for Asahi Kasei Corp.)
> 
> It went through the appropriate review process,
> and is already in use.
> But, almost all Asahi Kasei chip driver is
> using "asahi-kasei" prefix today.

I'm fine with this patch, but just wanted to comment on this part of the
commit description:

What is in the drivers isn't relevant; that's not what drives the ABI.
The issue is that some *DTs* use ak and some use asahi-kasei, so both
those need to be supported.

That said, we should document which one of the two prefixes is
preferred, and use this for any new AK binding.

It would also be nice to ensure the preferred prefix is in all drivers'
of_match_tables, and remove the deprecated prefix from all drivers'
of_match_tables *except* where there's already a DT file that references
the deprecated vendor prefix.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  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-09-04  6:08                   ` Kuninori Morimoto
  2014-09-22 13:00                     ` Mark Rutland
  2 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-09-04  6:08 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-kernel, Mark Brown, Stephen Warren,
	devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, Simon, Geert Uytterhoeven

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)

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


^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-09-04  6:08                   ` [PATCH][resend] " Kuninori Morimoto
@ 2014-09-22 13:00                     ` Mark Rutland
  2014-09-22 13:24                       ` Geert Uytterhoeven
  0 siblings, 1 reply; 36+ messages in thread
From: Mark Rutland @ 2014-09-22 13:00 UTC (permalink / raw)
  To: Kuninori Morimoto, olof, Stephen Warren, robh
  Cc: devicetree@vger.kernel.org, ALSA Development Mailing List, Simon,
	Linux-sh list, Magnus, linux-kernel@vger.kernel.org, Mark Brown,
	Geert Uytterhoeven, grant.likely

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
> 

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-09-22 13:00                     ` Mark Rutland
@ 2014-09-22 13:24                       ` Geert Uytterhoeven
  2014-09-22 13:27                         ` Mark Rutland
  0 siblings, 1 reply; 36+ messages in thread
From: Geert Uytterhoeven @ 2014-09-22 13:24 UTC (permalink / raw)
  To: Mark Rutland
  Cc: Kuninori Morimoto, Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Brown,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ALSA Development Mailing List, Linux-sh list, Magnus, Simon,
	Grant Likely

Hi Mark,

On Mon, Sep 22, 2014 at 3:00 PM, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org> wrote:
> 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.

Instead of deleting, we can deprecate, like was done for powervr:

powervr PowerVR (deprecated, use img)

Still missing is an update for checkpatch to warn when a deprecated
vendor prefix is used.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-09-22 13:24                       ` Geert Uytterhoeven
@ 2014-09-22 13:27                         ` Mark Rutland
  2014-11-13  2:18                           ` Kuninori Morimoto
  0 siblings, 1 reply; 36+ messages in thread
From: Mark Rutland @ 2014-09-22 13:27 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Kuninori Morimoto, Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel@vger.kernel.org, Mark Brown,
	devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, Simon, grant.likely@linaro.org

On Mon, Sep 22, 2014 at 02:24:24PM +0100, Geert Uytterhoeven wrote:
> Hi Mark,

Hi Geert,

> On Mon, Sep 22, 2014 at 3:00 PM, Mark Rutland <mark.rutland@arm.com> wrote:
> > 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.
> 
> Instead of deleting, we can deprecate, like was done for powervr:
> 
> powervr PowerVR (deprecated, use img)

Ah. I tried to see if we had any deprecated bindings, but I somehow
failed to search correctly and missed powervr.

> Still missing is an update for checkpatch to warn when a deprecated
> vendor prefix is used.

Marking it deprecated and warning with checkpatch is certainly
preferable.

Mark.

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  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>
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-11-13  2:18 UTC (permalink / raw)
  To: Mark Rutland
  Cc: Geert Uytterhoeven, Kuninori Morimoto, Olof Johansson,
	Stephen Warren, Rob Herring, linux-kernel@vger.kernel.org,
	Mark Brown, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Linux-sh list, Magnus, Simon,
	grant.likely@linaro.org


Hi Mark, Geert

Sorry for my super late response about this

> > > 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.
> > 
> > Instead of deleting, we can deprecate, like was done for powervr:
> > 
> > powervr PowerVR (deprecated, use img)
> 
> Ah. I tried to see if we had any deprecated bindings, but I somehow
> failed to search correctly and missed powervr.
> 
> > Still missing is an update for checkpatch to warn when a deprecated
> > vendor prefix is used.
> 
> Marking it deprecated and warning with checkpatch is certainly
> preferable.

I guess removing "ak" line from vendor-prefixes.txt is very enough
for warn for a deprecated vendor prefix on checkpatch ?

  ...
- ak	Asahi Kasei Corp.
  ...
+ asahi-kasei	Asahi Kasei Corp.

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
       [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
  0 siblings, 1 reply; 36+ messages in thread
From: Joe Perches @ 2014-11-13  2:21 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Mark Rutland, Geert Uytterhoeven, Kuninori Morimoto,
	Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Mark Brown,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ALSA Development Mailing List, Linux-sh list, Magnus, Simon,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

On Thu, 2014-11-13 at 02:18 +0000, Kuninori Morimoto wrote:
> > > Still missing is an update for checkpatch to warn when a deprecated
> > > vendor prefix is used.
> > 
> > Marking it deprecated and warning with checkpatch is certainly
> > preferable.
> 
> I guess removing "ak" line from vendor-prefixes.txt is very enough
> for warn for a deprecated vendor prefix on checkpatch ?

Huh?  No idea what you mean.
What are you suggesting about checkpatch?


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-11-13  2:21                               ` Joe Perches
@ 2014-11-13  2:51                                 ` Simon Horman
  2014-11-13  3:33                                   ` Kuninori Morimoto
  0 siblings, 1 reply; 36+ messages in thread
From: Simon Horman @ 2014-11-13  2:51 UTC (permalink / raw)
  To: Joe Perches
  Cc: Kuninori Morimoto, Mark Rutland, Geert Uytterhoeven,
	Kuninori Morimoto, Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel@vger.kernel.org, Mark Brown,
	devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, grant.likely@linaro.org

On Wed, Nov 12, 2014 at 06:21:49PM -0800, Joe Perches wrote:
> On Thu, 2014-11-13 at 02:18 +0000, Kuninori Morimoto wrote:
> > > > Still missing is an update for checkpatch to warn when a deprecated
> > > > vendor prefix is used.
> > > 
> > > Marking it deprecated and warning with checkpatch is certainly
> > > preferable.
> > 
> > I guess removing "ak" line from vendor-prefixes.txt is very enough
> > for warn for a deprecated vendor prefix on checkpatch ?
> 
> Huh?  No idea what you mean.
> What are you suggesting about checkpatch?

Hi Joe,

I think that what Morimoto-san wanted to say was something like this:

  I guess that removing the "ak" line from vendor-prefixes.txt would
  be sufficient to cause checkpatch to generate a warning about
  using the deprecated "ak" vendor prefix. Is that a good approach?

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-11-13  2:51                                 ` Simon Horman
@ 2014-11-13  3:33                                   ` Kuninori Morimoto
  2014-11-13 11:07                                     ` Mark Brown
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-11-13  3:33 UTC (permalink / raw)
  To: Simon Horman
  Cc: Joe Perches, Mark Rutland, Geert Uytterhoeven, Kuninori Morimoto,
	Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel@vger.kernel.org, Mark Brown,
	devicetree@vger.kernel.org, ALSA Development Mailing List,
	Linux-sh list, Magnus, grant.likely@linaro.org


Hi Joe, Simon

> > > I guess removing "ak" line from vendor-prefixes.txt is very enough
> > > for warn for a deprecated vendor prefix on checkpatch ?
> > 
> > Huh?  No idea what you mean.
> > What are you suggesting about checkpatch?
> 
> Hi Joe,
> 
> I think that what Morimoto-san wanted to say was something like this:
> 
>   I guess that removing the "ak" line from vendor-prefixes.txt would
>   be sufficient to cause checkpatch to generate a warning about
>   using the deprecated "ak" vendor prefix. Is that a good approach?

Yes, this is.
Thank you Simon, Sorry Joe.


^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH][resend] of: Add vendor 2nd prefix for Asahi Kasei Corp
  2014-11-13  3:33                                   ` Kuninori Morimoto
@ 2014-11-13 11:07                                     ` Mark Brown
       [not found]                                       ` <20141113110740.GE3815-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
  0 siblings, 1 reply; 36+ messages in thread
From: Mark Brown @ 2014-11-13 11:07 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Simon Horman, Joe Perches, Mark Rutland, Geert Uytterhoeven,
	Kuninori Morimoto, Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Linux-sh list, Magnus,
	grant.likely@linaro.org

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On Thu, Nov 13, 2014 at 03:33:38AM +0000, Kuninori Morimoto wrote:

> > I think that what Morimoto-san wanted to say was something like this:

> >   I guess that removing the "ak" line from vendor-prefixes.txt would
> >   be sufficient to cause checkpatch to generate a warning about
> >   using the deprecated "ak" vendor prefix. Is that a good approach?

> Yes, this is.
> Thank you Simon, Sorry Joe.

It'd be a bit nicer to be able to leave it there with a note saying it
was legacy (if only so people don't try to add it back) but I don't mind
too much.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH v3] of: replace Asahi Kasei Corp venter prefix
       [not found]                                       ` <20141113110740.GE3815-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-11-14  1:43                                         ` Kuninori Morimoto
       [not found]                                           ` <87k32yd0bd.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-11-14  1:43 UTC (permalink / raw)
  To: Mark Brown, Mark Rutland
  Cc: Simon Horman, Joe Perches, Geert Uytterhoeven, Kuninori Morimoto,
	Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ALSA Development Mailing List, Linux-sh list, Magnus,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Current vendor-prefixes.txt already has
"ak" prefix for Asahi Kasei Corp by
ae8c4209af2cec065fef15d200a42a04130799f7
(of: Add vendor prefix for Asahi Kasei Corp.)

It went through the appropriate review process.
But, almost all Asahi Kasei chip drivers are
using "asahi-kasei" prefix today.
(arch/arm/boot/dts/tegra20-seaboard.dts only is
using "ak,ak8975", but there are instances of
"asahi-kasei,ak8975" in other dts files.
And drivers/iio/magnetometer/ak8975.c
doesn't support "ak,ak8975")
So, we made a mistake there.

In addition, checkpatch.pl reports WARNING
if it is using "asahi-kasei" prerfix in DT file.
(DT compatible string vendor "asahi-kasei" appears un-documented)

Marking it deprecated and warning with checkpatch
is certainly preferable.
So, this patch replace "ak" to "asahi-kasei" in
vendor-prefixes.txt. (and fixup tegra20-seaboard)

OTOH, Asahi Kasei is usually referred to as "AKM",
but this patch doesn't care about it.
Because no DT is using that today.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
 .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 723999d..ddcb4cd 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -9,7 +9,6 @@ ad	Avionic Design GmbH
 adapteva	Adapteva, Inc.
 adi	Analog Devices, Inc.
 aeroflexgaisler	Aeroflex Gaisler AB
-ak	Asahi Kasei Corp.
 allwinner	Allwinner Technology Co., Ltd.
 altr	Altera Corp.
 amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
@@ -20,6 +19,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
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index a1d4bf9..7f5cf80 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -405,7 +405,7 @@
 		clock-frequency = <400000>;
 
 		magnetometer@c {
-			compatible = "ak,ak8975";
+			compatible = "asahi-kasei,ak8975";
 			reg = <0xc>;
 			interrupt-parent = <&gpio>;
 			interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix
       [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
  1 sibling, 2 replies; 36+ messages in thread
From: Alexandre Courbot @ 2014-11-14  8:38 UTC (permalink / raw)
  To: Kuninori Morimoto, Mark Brown, Mark Rutland
  Cc: Simon Horman, Joe Perches, Geert Uytterhoeven, Kuninori Morimoto,
	Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	ALSA Development Mailing List, Linux-sh list, Magnus,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On 11/14/2014 10:43 AM, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
>
> Current vendor-prefixes.txt already has
> "ak" prefix for Asahi Kasei Corp by
> ae8c4209af2cec065fef15d200a42a04130799f7
> (of: Add vendor prefix for Asahi Kasei Corp.)
>
> It went through the appropriate review process.
> But, almost all Asahi Kasei chip drivers are
> using "asahi-kasei" prefix today.
> (arch/arm/boot/dts/tegra20-seaboard.dts only is
> using "ak,ak8975", but there are instances of
> "asahi-kasei,ak8975" in other dts files.
> And drivers/iio/magnetometer/ak8975.c
> doesn't support "ak,ak8975")
> So, we made a mistake there.
>
> In addition, checkpatch.pl reports WARNING
> if it is using "asahi-kasei" prerfix in DT file.
> (DT compatible string vendor "asahi-kasei" appears un-documented)
>
> Marking it deprecated and warning with checkpatch
> is certainly preferable.
> So, this patch replace "ak" to "asahi-kasei" in
> vendor-prefixes.txt. (and fixup tegra20-seaboard)
>
> OTOH, Asahi Kasei is usually referred to as "AKM",
> but this patch doesn't care about it.
> Because no DT is using that today.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> ---
>   .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
>   arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 723999d..ddcb4cd 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -9,7 +9,6 @@ ad	Avionic Design GmbH
>   adapteva	Adapteva, Inc.
>   adi	Analog Devices, Inc.
>   aeroflexgaisler	Aeroflex Gaisler AB
> -ak	Asahi Kasei Corp.
>   allwinner	Allwinner Technology Co., Ltd.
>   altr	Altera Corp.
>   amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
> @@ -20,6 +19,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
> diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
> index a1d4bf9..7f5cf80 100644
> --- a/arch/arm/boot/dts/tegra20-seaboard.dts
> +++ b/arch/arm/boot/dts/tegra20-seaboard.dts
> @@ -405,7 +405,7 @@
>   		clock-frequency = <400000>;
>
>   		magnetometer@c {
> -			compatible = "ak,ak8975";
> +			compatible = "asahi-kasei,ak8975";

Mmm. So does this mean this device was never probed because the driver 
did not recognize its compatible property? I cannot find "ak,ak8975" 
anywhere else in the kernel.

If so,

Acked-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix
  2014-11-14  8:38                                             ` Alexandre Courbot
@ 2014-11-14  9:16                                               ` Arnd Bergmann
  2014-11-14  9:30                                               ` Thierry Reding
  1 sibling, 0 replies; 36+ messages in thread
From: Arnd Bergmann @ 2014-11-14  9:16 UTC (permalink / raw)
  To: Alexandre Courbot
  Cc: Kuninori Morimoto, Mark Brown, Mark Rutland, Simon Horman,
	Joe Perches, Geert Uytterhoeven, Kuninori Morimoto,
	Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Linux-sh list, Magnus,
	grant.likely@linaro.org, linux-arm-kernel, linux-tegra

On Friday 14 November 2014 17:38:58 Alexandre Courbot wrote:
> > diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
> > index a1d4bf9..7f5cf80 100644
> > --- a/arch/arm/boot/dts/tegra20-seaboard.dts
> > +++ b/arch/arm/boot/dts/tegra20-seaboard.dts
> > @@ -405,7 +405,7 @@
> >               clock-frequency = <400000>;
> >
> >               magnetometer@c {
> > -                     compatible = "ak,ak8975";
> > +                     compatible = "asahi-kasei,ak8975";
> 
> Mmm. So does this mean this device was never probed because the driver 
> did not recognize its compatible property? I cannot find "ak,ak8975" 
> anywhere else in the kernel.
> 

No, the i2c bus behaves in a special way by matching the "ak8975"
i2c driver name with any "*,ak8975" DT compatible string. Both
of the above will work with existing kernels.

	Arnd

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [PATCH v3] of: replace Asahi Kasei Corp venter prefix
  2014-11-14  8:38                                             ` Alexandre Courbot
  2014-11-14  9:16                                               ` Arnd Bergmann
@ 2014-11-14  9:30                                               ` Thierry Reding
  1 sibling, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2014-11-14  9:30 UTC (permalink / raw)
  To: Alexandre Courbot
  Cc: Kuninori Morimoto, Mark Brown, Mark Rutland, Simon Horman,
	Joe Perches, Geert Uytterhoeven, Kuninori Morimoto,
	Olof Johansson, Stephen Warren, Rob Herring,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	ALSA Development Mailing List, Linux-sh list, Magnus,
	grant.likely@linaro.org, linux-arm-kernel, linux-tegra

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

On Fri, Nov 14, 2014 at 05:38:58PM +0900, Alexandre Courbot wrote:
> On 11/14/2014 10:43 AM, Kuninori Morimoto wrote:
[...]
> >diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
> >index a1d4bf9..7f5cf80 100644
> >--- a/arch/arm/boot/dts/tegra20-seaboard.dts
> >+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
> >@@ -405,7 +405,7 @@
> >  		clock-frequency = <400000>;
> >
> >  		magnetometer@c {
> >-			compatible = "ak,ak8975";
> >+			compatible = "asahi-kasei,ak8975";
> 
> Mmm. So does this mean this device was never probed because the driver did
> not recognize its compatible property?

I2C (like SPI) has a fallback in case the OF table yields no match. The
of_modalias_node() that it uses extracts the module name from the device
tree node's compatible string by skipping the vendor prefix. The
resulting string is then set as the I2C client's name and causes the I2C
standard ID matching to succeed (see of_i2c_register_devices() for how
this is done in detail).

> I cannot find "ak,ak8975" anywhere else in the kernel.
> 
> If so,
> 
> Acked-by: Alexandre Courbot <acourbot@nvidia.com>

Technically this is breaking backwards-compatibility from a DT
perspective, but I think it's safe to do because the Linux kernel has a
way of dealing with this and other operating systems should be able to
deal with this in a similar way (or even easier by letting the driver
match on the ak prefix as well for this particular chip).

So:

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [alsa-devel] [PATCH v3] of: replace Asahi Kasei Corp venter prefix
       [not found]                                           ` <87k32yd0bd.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  2014-11-14  8:38                                             ` Alexandre Courbot
@ 2014-11-14  9:35                                             ` Thierry Reding
  2014-11-17  0:51                                               ` [PATCH v4] " Kuninori Morimoto
  1 sibling, 1 reply; 36+ messages in thread
From: Thierry Reding @ 2014-11-14  9:35 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Mark Brown, Mark Rutland, Rob Herring,
	ALSA Development Mailing List, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	Stephen Warren, Linux-sh list, Magnus,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

On Fri, Nov 14, 2014 at 01:43:03AM +0000, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
> 
> Current vendor-prefixes.txt already has
> "ak" prefix for Asahi Kasei Corp by
> ae8c4209af2cec065fef15d200a42a04130799f7

It's usually enough to show the first 12 (or so) characters of the SHA1
here. git will show you the right one if you do something like:

	git log --abbrev=12 --abbrev-commit

It's probably useful to "git config core.abbrev 12" for Linux kernel
repositories.

Other than that it seems like you're being overly careful about not
exceeding 72 characters. Your lines seem to wrap at around less than
50 columns. However, making lines too short results in equally hard to
read commit messages, so please try to shoot for 72 columns for maximum
readability.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH v4] of: replace Asahi Kasei Corp venter prefix
  2014-11-14  9:35                                             ` [alsa-devel] " Thierry Reding
@ 2014-11-17  0:51                                               ` Kuninori Morimoto
  2014-11-17 10:26                                                 ` Sergei Shtylyov
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-11-17  0:51 UTC (permalink / raw)
  To: Rob Herring
  Cc: Mark Brown, Mark Rutland, Thierry Reding,
	ALSA Development Mailing List, linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	Stephen Warren, Linux-sh list, Magnus,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

It went through the appropriate review process. But, almost all
Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
(arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
 but there are instances of "asahi-kasei,ak8975" in other dts files.
 And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975")
So, we made a mistake there.

In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
prerfix in DT file.
(DT compatible string vendor "asahi-kasei" appears un-documented)

Marking it deprecated and warning with checkpatch is certainly
preferable. So, this patch replace "ak" to "asahi-kasei" in
vendor-prefixes.txt. (and fixup tegra20-seaboard)

OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
doesn't care about it. Because no DT is using that today.

Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
v3 -> v4

 - git-comment uses 72 char in 1 line
 - added Thierry/Alexandre's Acked-by

 .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 723999d..ddcb4cd 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -9,7 +9,6 @@ ad	Avionic Design GmbH
 adapteva	Adapteva, Inc.
 adi	Analog Devices, Inc.
 aeroflexgaisler	Aeroflex Gaisler AB
-ak	Asahi Kasei Corp.
 allwinner	Allwinner Technology Co., Ltd.
 altr	Altera Corp.
 amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
@@ -20,6 +19,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
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index a1d4bf9..7f5cf80 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -405,7 +405,7 @@
 		clock-frequency = <400000>;
 
 		magnetometer@c {
-			compatible = "ak,ak8975";
+			compatible = "asahi-kasei,ak8975";
 			reg = <0xc>;
 			interrupt-parent = <&gpio>;
 			interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH v4] of: replace Asahi Kasei Corp venter prefix
  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
  0 siblings, 1 reply; 36+ messages in thread
From: Sergei Shtylyov @ 2014-11-17 10:26 UTC (permalink / raw)
  To: Kuninori Morimoto, Rob Herring
  Cc: Mark Brown, Mark Rutland, Thierry Reding,
	ALSA Development Mailing List, linux-tegra, Stephen Warren,
	Linux-sh list, Magnus, linux-kernel@vger.kernel.org,
	Olof Johansson, devicetree@vger.kernel.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel, grant.likely@linaro.org

Hello.

On 11/17/2014 3:51 AM, Kuninori Morimoto wrote:

> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

    s/venter/vendor/ in the subject. Sorry for a late comment.

> Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
> by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

> It went through the appropriate review process. But, almost all
> Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
> (arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
>   but there are instances of "asahi-kasei,ak8975" in other dts files.
>   And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975")
> So, we made a mistake there.

> In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
> prerfix in DT file.
> (DT compatible string vendor "asahi-kasei" appears un-documented)

> Marking it deprecated and warning with checkpatch is certainly
> preferable. So, this patch replace "ak" to "asahi-kasei" in
> vendor-prefixes.txt. (and fixup tegra20-seaboard)

> OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
> doesn't care about it. Because no DT is using that today.

> Acked-by: Thierry Reding <treding@nvidia.com>
> Acked-by: Alexandre Courbot <acourbot@nvidia.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

    One normally places ACKs after his own sign-off.

WBR, Sergei


^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH v5] of: replace Asahi Kasei Corp vendor prefix
  2014-11-17 10:26                                                 ` Sergei Shtylyov
@ 2014-11-18  0:30                                                   ` Kuninori Morimoto
       [not found]                                                     ` <877fytxsde.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-11-18  0:30 UTC (permalink / raw)
  To: Rob Herring
  Cc: Mark Brown, Mark Rutland, Thierry Reding,
	ALSA Development Mailing List, linux-tegra, Stephen Warren,
	Linux-sh list, Magnus, linux-kernel@vger.kernel.org,
	Olof Johansson, devicetree@vger.kernel.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel, grant.likely@linaro.org

From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

It went through the appropriate review process. But, almost all
Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
(arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
 but there are instances of "asahi-kasei,ak8975" in other dts files.
 And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
So, we made a mistake there.

In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
prerfix in DT file.
(DT compatible string vendor "asahi-kasei" appears un-documented)

Marking it deprecated and warning with checkpatch is certainly
preferable. So, this patch replace "ak" to "asahi-kasei" in
vendor-prefixes.txt. (and fixup tegra20-seaboard)

OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
doesn't care about it. Because no DT is using that today.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
---
v4 -> v5

 - venter -> vendor on Subject
 - fixup Acked-by ordering

 .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 723999d..ddcb4cd 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -9,7 +9,6 @@ ad	Avionic Design GmbH
 adapteva	Adapteva, Inc.
 adi	Analog Devices, Inc.
 aeroflexgaisler	Aeroflex Gaisler AB
-ak	Asahi Kasei Corp.
 allwinner	Allwinner Technology Co., Ltd.
 altr	Altera Corp.
 amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
@@ -20,6 +19,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
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index a1d4bf9..7f5cf80 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -405,7 +405,7 @@
 		clock-frequency = <400000>;
 
 		magnetometer@c {
-			compatible = "ak,ak8975";
+			compatible = "asahi-kasei,ak8975";
 			reg = <0xc>;
 			interrupt-parent = <&gpio>;
 			interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH v5][resend] of: replace Asahi Kasei Corp venter prefix
       [not found]                                                     ` <877fytxsde.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2014-11-28  0:22                                                       ` Kuninori Morimoto
       [not found]                                                         ` <87egsob2cl.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 36+ messages in thread
From: Kuninori Morimoto @ 2014-11-28  0:22 UTC (permalink / raw)
  To: Matthias Brugger, Jason Cooper, Heiko Stuebner, Shawn Guo,
	Florian Vaussard, Rob Herring, Mark Brown
  Cc: Mark Rutland, Thierry Reding, ALSA Development Mailing List,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren, Linux-sh list,
	Magnus, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

It went through the appropriate review process. But, almost all
Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
(arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
 but there are instances of "asahi-kasei,ak8975" in other dts files.
 And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
So, we made a mistake there.

In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
prerfix in DT file.
(DT compatible string vendor "asahi-kasei" appears un-documented)

Marking it deprecated and warning with checkpatch is certainly
preferable. So, this patch replace "ak" to "asahi-kasei" in
vendor-prefixes.txt. (and fixup tegra20-seaboard)

OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
doesn't care about it. Because no DT is using that today.

Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
---
 .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 723999d..ddcb4cd 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -9,7 +9,6 @@ ad	Avionic Design GmbH
 adapteva	Adapteva, Inc.
 adi	Analog Devices, Inc.
 aeroflexgaisler	Aeroflex Gaisler AB
-ak	Asahi Kasei Corp.
 allwinner	Allwinner Technology Co., Ltd.
 altr	Altera Corp.
 amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
@@ -20,6 +19,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
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index a1d4bf9..7f5cf80 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -405,7 +405,7 @@
 		clock-frequency = <400000>;
 
 		magnetometer@c {
-			compatible = "ak,ak8975";
+			compatible = "asahi-kasei,ak8975";
 			reg = <0xc>;
 			interrupt-parent = <&gpio>;
 			interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH v5][resend] of: replace Asahi Kasei Corp venter prefix
       [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>
  0 siblings, 1 reply; 36+ messages in thread
From: Sergei Shtylyov @ 2014-11-28 11:45 UTC (permalink / raw)
  To: Kuninori Morimoto, Matthias Brugger, Jason Cooper, Heiko Stuebner,
	Shawn Guo, Florian Vaussard, Rob Herring, Mark Brown
  Cc: Mark Rutland, Thierry Reding, ALSA Development Mailing List,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren, Linux-sh list,
	Magnus, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

Hello.

On 11/28/2014 3:22 AM, Kuninori Morimoto wrote:

> From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

> Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
> by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

> It went through the appropriate review process. But, almost all
> Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
> (arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
>   but there are instances of "asahi-kasei,ak8975" in other dts files.
>   And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
> So, we made a mistake there.

> In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
> prerfix in DT file.
> (DT compatible string vendor "asahi-kasei" appears un-documented)

> Marking it deprecated and warning with checkpatch is certainly
> preferable. So, this patch replace "ak" to "asahi-kasei" in
> vendor-prefixes.txt. (and fixup tegra20-seaboard)

> OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
> doesn't care about it. Because no DT is using that today.

> Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Acked-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

    It's "venter" ISO "vendor" again in the subject. And you already fixed 
that in the previous posting... :-)

WBR, Sergei

^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH v5][resend] of: replace Asahi Kasei Corp vendor prefix
       [not found]                                                             ` <5478603D.1080404-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2014-12-02  4:57                                                               ` Kuninori Morimoto
       [not found]                                                                 ` <87d282sl6w.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
  2015-01-13 20:03                                                                 ` [PATCH v5][resend] " Rob Herring
  0 siblings, 2 replies; 36+ messages in thread
From: Kuninori Morimoto @ 2014-12-02  4:57 UTC (permalink / raw)
  To: Matthias Brugger, Jason Cooper, Heiko Stuebner, Rob Herring
  Cc: Shawn Guo, Florian Vaussard, Mark Brown, Mark Rutland,
	Thierry Reding, ALSA Development Mailing List,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren, Linux-sh list,
	Magnus, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

It went through the appropriate review process. But, almost all
Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
(arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
 but there are instances of "asahi-kasei,ak8975" in other dts files.
 And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
So, we made a mistake there.

In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
prerfix in DT file.
(DT compatible string vendor "asahi-kasei" appears un-documented)

Marking it deprecated and warning with checkpatch is certainly
preferable. So, this patch replace "ak" to "asahi-kasei" in
vendor-prefixes.txt. (and fixup tegra20-seaboard)

OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
doesn't care about it. Because no DT is using that today.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
v4 -> v5

 - venter -> vendor on Subject
 - fixup Acked-by ordering

 .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 723999d..ddcb4cd 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -9,7 +9,6 @@ ad	Avionic Design GmbH
 adapteva	Adapteva, Inc.
 adi	Analog Devices, Inc.
 aeroflexgaisler	Aeroflex Gaisler AB
-ak	Asahi Kasei Corp.
 allwinner	Allwinner Technology Co., Ltd.
 altr	Altera Corp.
 amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
@@ -20,6 +19,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
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index a1d4bf9..7f5cf80 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -405,7 +405,7 @@
 		clock-frequency = <400000>;
 
 		magnetometer@c {
-			compatible = "ak,ak8975";
+			compatible = "asahi-kasei,ak8975";
 			reg = <0xc>;
 			interrupt-parent = <&gpio>;
 			interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH v5][resend v2] of: replace Asahi Kasei Corp vendor prefix
       [not found]                                                                 ` <87d282sl6w.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
@ 2014-12-15  3:53                                                                   ` Kuninori Morimoto
  0 siblings, 0 replies; 36+ messages in thread
From: Kuninori Morimoto @ 2014-12-15  3:53 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring, Mark Brown
  Cc: Jason Cooper, Heiko Stuebner, Shawn Guo, Florian Vaussard,
	Mark Rutland, Thierry Reding, ALSA Development Mailing List,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren, Linux-sh list,
	Magnus, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Olof Johansson,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Simon Horman,
	Geert Uytterhoeven, Joe Perches, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org

From: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>

Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)

It went through the appropriate review process. But, almost all
Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
(arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
 but there are instances of "asahi-kasei,ak8975" in other dts files.
 And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
So, we made a mistake there.

In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
prerfix in DT file.
(DT compatible string vendor "asahi-kasei" appears un-documented)

Marking it deprecated and warning with checkpatch is certainly
preferable. So, this patch replace "ak" to "asahi-kasei" in
vendor-prefixes.txt. (and fixup tegra20-seaboard)

OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
doesn't care about it. Because no DT is using that today.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
Acked-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Alexandre Courbot <acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
Rob, Mark

There is no response about this patch.
Mark, is it possible to care about this patch ?
It has relationship to ASoC.

 .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
 arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 723999d..ddcb4cd 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -9,7 +9,6 @@ ad	Avionic Design GmbH
 adapteva	Adapteva, Inc.
 adi	Analog Devices, Inc.
 aeroflexgaisler	Aeroflex Gaisler AB
-ak	Asahi Kasei Corp.
 allwinner	Allwinner Technology Co., Ltd.
 altr	Altera Corp.
 amcc	Applied Micro Circuits Corporation (APM, formally AMCC)
@@ -20,6 +19,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
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
index a1d4bf9..7f5cf80 100644
--- a/arch/arm/boot/dts/tegra20-seaboard.dts
+++ b/arch/arm/boot/dts/tegra20-seaboard.dts
@@ -405,7 +405,7 @@
 		clock-frequency = <400000>;
 
 		magnetometer@c {
-			compatible = "ak,ak8975";
+			compatible = "asahi-kasei,ak8975";
 			reg = <0xc>;
 			interrupt-parent = <&gpio>;
 			interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* Re: [PATCH v5][resend] of: replace Asahi Kasei Corp vendor prefix
  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>
@ 2015-01-13 20:03                                                                 ` Rob Herring
  1 sibling, 0 replies; 36+ messages in thread
From: Rob Herring @ 2015-01-13 20:03 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Matthias Brugger, Jason Cooper, Heiko Stuebner, Shawn Guo,
	Florian Vaussard, Mark Brown, Mark Rutland, Thierry Reding,
	ALSA Development Mailing List, linux-tegra@vger.kernel.org,
	Stephen Warren, Linux-sh list, Magnus,
	linux-kernel@vger.kernel.org, Olof Johansson,
	devicetree@vger.kernel.org, Simon Horman, Geert Uytterhoeven,
	Joe Perches, Kuninori Morimoto, linux-arm-kern

On Mon, Dec 1, 2014 at 10:57 PM, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
>
> Current vendor-prefixes.txt already has "ak" prefix for Asahi Kasei Corp
> by ae8c4209af2c(of: Add vendor prefix for Asahi Kasei Corp.)
>
> It went through the appropriate review process. But, almost all
> Asahi Kasei chip drivers are using "asahi-kasei" prefix today.
> (arch/arm/boot/dts/tegra20-seaboard.dts only is using "ak,ak8975",
>  but there are instances of "asahi-kasei,ak8975" in other dts files.
>  And drivers/iio/magnetometer/ak8975.c doesn't support "ak,ak8975" prefix)
> So, we made a mistake there.
>
> In addition, checkpatch.pl reports WARNING if it is using "asahi-kasei"
> prerfix in DT file.
> (DT compatible string vendor "asahi-kasei" appears un-documented)
>
> Marking it deprecated and warning with checkpatch is certainly
> preferable. So, this patch replace "ak" to "asahi-kasei" in
> vendor-prefixes.txt. (and fixup tegra20-seaboard)
>
> OTOH, Asahi Kasei is usually referred to as "AKM", but this patch
> doesn't care about it. Because no DT is using that today.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> Acked-by: Thierry Reding <treding@nvidia.com>
> Acked-by: Alexandre Courbot <acourbot@nvidia.com>

Applied for 3.20. Thanks.

> ---
> v4 -> v5
>
>  - venter -> vendor on Subject
>  - fixup Acked-by ordering
>
>  .../devicetree/bindings/vendor-prefixes.txt        |    2 +-
>  arch/arm/boot/dts/tegra20-seaboard.dts             |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 723999d..ddcb4cd 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -9,7 +9,6 @@ ad      Avionic Design GmbH
>  adapteva       Adapteva, Inc.
>  adi    Analog Devices, Inc.
>  aeroflexgaisler        Aeroflex Gaisler AB
> -ak     Asahi Kasei Corp.
>  allwinner      Allwinner Technology Co., Ltd.
>  altr   Altera Corp.
>  amcc   Applied Micro Circuits Corporation (APM, formally AMCC)
> @@ -20,6 +19,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
> diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts
> index a1d4bf9..7f5cf80 100644
> --- a/arch/arm/boot/dts/tegra20-seaboard.dts
> +++ b/arch/arm/boot/dts/tegra20-seaboard.dts
> @@ -405,7 +405,7 @@
>                 clock-frequency = <400000>;
>
>                 magnetometer@c {
> -                       compatible = "ak,ak8975";
> +                       compatible = "asahi-kasei,ak8975";
>                         reg = <0xc>;
>                         interrupt-parent = <&gpio>;
>                         interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>;
> --
> 1.7.9.5
>

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2015-01-13 20:03 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).