Re: [PATCH v4 3/5] pinctrl: Add driver support for Amlogic SoCs
From: Linus Walleij
Date: Mon Jan 27 2025 - 05:00:46 EST
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@xxxxxxxxxx> wrote:
> From: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
> ---
> 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.
> +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?
> +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.
Yours,
Linus Walleij