[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e1f0b672-65de-6afa-cec4-e2d910c58b7c@amlogic.com>
Date: Thu, 19 Jul 2018 22:27:55 +0800
From: Yixun Lan <yixun.lan@...ogic.com>
To: Kevin Hilman <khilman@...libre.com>
CC: <yixun.lan@...ogic.com>, Jerome Brunet <jbrunet@...libre.com>,
<qianggui.song@...ogic.com>, Rob Herring <robh@...nel.org>,
Neil Armstrong <narmstrong@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
<mturquette@...libre.com>, <linux-kernel@...r.kernel.org>,
<linux-clk@...r.kernel.org>, <bo.yang@...ogic.com>,
<sboyd@...nel.org>, <jian.hu@...ogic.com>,
<xingyu.chen@...ogic.com>, <qiufang.dai@...ogic.com>,
<linux-amlogic@...ts.infradead.org>, <sunny.luo@...ogic.com>,
<carlo@...one.org>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver
On 07/19/2018 10:06 PM, Kevin Hilman wrote:
> Yixun Lan <yixun.lan@...ogic.com> writes:
>
> [...]
>
>>>
>>> As Jerome said, I think consistency is an important goal, so leaving off
>>> the "meson-" for drivers/clk is fine with me.
>>>
>> ok
>>
>>> Also for consistency, for the rest of the drivers, keeping "meson-" is
>>> probably the right thing to do.
>>>
>> ok, for the above, you are talking about the already exist compatible
>> names? or the patches we will push in the future?
>
> I'm talking about future patches.
>
ok
>>> However, patches would be welcome to add compatibles without the "meson"
>>> for the rest of the drivers & documentation as well, but please do not
>>> remove any compatibles.
>>>
>> I assume you are talking about the patches in the future we will push?
>> to drop the "meson".
>>
>> I'm confused here, as the above two paragraphs conflict with each other
>
> Yeah, what I wrote is confusing, sorry about that.
>
> What I mean is that new patches should stay consistent with compatibles
> in their existing drivers/subsystems. That means keeping the "meson-"
> prefix for everything except drivers/clk.
>
sounds good to me.
> In addition to that, patches would be welcome for *adding* compatibles
> without "meson" to all the current drivers.
>
not sure if I parse above correctly, so let me rephrase..
for "all the current drivers", do you mean all the drivers which already
accepted at mainline kernel, which are mmc, uart, spi, i2c ..
all of them follow "amlogic,meson-${SOC}-${FUNCTION}", so do you propose
to add compatbiles like "amlogic,${SOC}-${FUNCTION}" ?
take i2c for example, there is "amlogic,meson-axg-i2c" already, do you
want to add another "amlogic,axg-i2c" ? I feel this will adding more
confusion..
How about only following the "amlogic,${SOC}-${FUNCTION}" syntax in the
new added drivers in the future, for example NAND, PCIE driver which we
want to push (those drivers doesn't exist in current mainline kernel).
Yixun
Powered by blists - more mailing lists