Re: [PATCH v3 2/2] pinctrl: add NXP S32 SoC family support
From: Linus Walleij <hidden>
Date: 2023-01-09 13:30:14
Also in:
linux-arm-kernel, linux-devicetree, lkml
Hi Chester, thanks for your patch! On Wed, Dec 21, 2022 at 8:33 AM Chester Lin [off-list ref] wrote:
Add the pinctrl driver for NXP S32 SoC family. This driver is mainly based on NXP's downstream implementation on CodeAurora[1]. [1] https://source.codeaurora.org/external/autobsps32/linux/tree/drivers/pinctrl/freescale?h=bsp34.0-5.10.120-rt Signed-off-by: Matthew Nunez <redacted> Signed-off-by: Phu Luu An <redacted> Signed-off-by: Stefan-Gabriel Mirea <redacted> Signed-off-by: Larisa Grigore <redacted> Signed-off-by: Ghennadi Procopciuc <Ghennadi.Procopciuc@oss.nxp.com> Signed-off-by: Andrei Stefanescu <redacted> Signed-off-by: Radu Pirea <redacted> Signed-off-by: Chester Lin <redacted>
(...)
drivers/pinctrl/freescale/Kconfig | 14 + drivers/pinctrl/freescale/Makefile | 2 + drivers/pinctrl/freescale/pinctrl-s32.h | 76 ++ drivers/pinctrl/freescale/pinctrl-s32cc.c | 983 ++++++++++++++++++++++ drivers/pinctrl/freescale/pinctrl-s32g2.c | 773 +++++++++++++++++
Should this driver really be grouped together with the legacy branded "freescale" stuff? Does it share any hardware or structure or code with the Freescale drivers? Maybe you should bite the bullet and created drivers/pinctrl/nxp? Also create a new MAINTAINERS entry so we do not get the Freescale legacy maintainer list. Overall the driver looks good, I am a bit sceptic about the things that Kryzstof is talking about as well so that needs to be resolved. Yours, Linus Walleij