Re: [PATCH v4 3/5] pinctrl: Add driver support for Amlogic SoCs
From: Linus Walleij <hidden>
Date: 2025-01-27 09:59:31
Also in:
linux-amlogic, linux-devicetree, linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2025-01-27 09:59:31
Also in:
linux-amlogic, linux-devicetree, linux-gpio, lkml
Hi Xianwei, thanks for your patch! On Wed, Jan 22, 2025 at 4:26 AM Xianwei Zhao via B4 Relay [off-list ref] wrote:
From: Xianwei Zhao <xianwei.zhao@amlogic.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@amlogic.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.
+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