[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fc2ee33d-db32-425f-ae5b-e56a15bc27e4@amlogic.com>
Date: Fri, 7 Feb 2025 15:07:27 +0800
From: Xianwei Zhao <xianwei.zhao@...ogic.com>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>, Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Bartosz Golaszewski <brgl@...ev.pl>, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-amlogic@...ts.infradead.org
Subject: Re: [PATCH v4 3/5] pinctrl: Add driver support for Amlogic SoCs
Hi Linus,
Thanks for your reply.
On 2025/1/27 17:59, Linus Walleij wrote:
> [ EXTERNAL EMAIL ]
>
> Hi Xianwei,
>
> thanks for your patch!
>
> On Wed, Jan 22, 2025 at 4:26 AM Xianwei Zhao via B4 Relay
> <devnull+xianwei.zhao.amlogic.com@...nel.org> wrote:
>
>> From: Xianwei Zhao <xianwei.zhao@...ogic.com>
>>
>> Add a new pinctrl driver for Amlogic SoCs. All future Amlogic
>> SoCs pinctrl drives use this, such A4, A5, S6, S7 etc. To support
>> new Amlogic SoCs, only need to add the corresponding dts file.
>>
>> Signed-off-by: Xianwei Zhao <xianwei.zhao@...ogic.com>
>> ---
>> drivers/pinctrl/Kconfig | 18 +
>> drivers/pinctrl/Makefile | 1 +
>> drivers/pinctrl/pinctrl-amlogic.c | 1053 +++++++++++++++++++++++++++++++++++++
>
> Please move this file into drivers/pinctrl/meson as I requested
> earlier. We can rename "meson" to "amlogic" later if that placement
> is confusing.
>
Will Move this file into drivers/pinctrl/meson in next version.
>> +config PINCTRL_AMLOGIC
>
> There is already PINCTRL_AMLOGIC_C3 and PINCTRL_AMLOGIC_T7
> as will be very apparent when you move this driver.
>
> What is a *proper* name for this family of SoCs?
>
This is for A4, Will use PINCTRL_AMLOGIC_A4 instead.
>> +MODULE_LICENSE("Dual BSD/GPL");
>
> On the top of the file you have:
>> +// SPDX-License-Identifier: GPL-2.0-only
>
> So this does not add up. Fix one or the other.
>
Will drop "MODULE_LICENSE("Dual BSD/GPL");".
> Yours,
> Linus Walleij
Powered by blists - more mailing lists