Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6224630rwl; Mon, 9 Jan 2023 05:55:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXs70HPD2ESu4+eDlPXipZmRfrlLOSo+yiUdI1S13fuLSuabGQ/I2G6ugyPot3CTH5YFRSpq X-Received: by 2002:a17:90a:d916:b0:226:f79e:7907 with SMTP id c22-20020a17090ad91600b00226f79e7907mr7270397pjv.11.1673272547629; Mon, 09 Jan 2023 05:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673272547; cv=none; d=google.com; s=arc-20160816; b=CTopahUOnW2c1HV01uoIFUw8lBJJGTH/79/KpF+aG9HWP3cju2+BnKEcyQPW6lNgzc a8/VY5jkuiTCokgie6fJ0JYC+O3Af37mhIxL9p8iV3gqPpX+OavJr2oYQSUKup7rLvF5 kuB3UM4RwxxKYza96ujBRzCkdwzLKft+QbMRgQqwfilmL0fjrSDehGcIdcgLfpiARnhV qSNpKj9l5CLWVEeiOuHkdopAU2agiVH0W5thIJlKVvzDb+iVsG6vWmasSXUlogi9NyuY 9hy2AH31FBF2U+Ih9xWhAhEGRQdzQtEoO1+Zjcyod2nwrN1NMegqnAC/GE3KkSk+uABp 3WlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZOu+YPGL4HyTcJPErwyvfcCw8AgjES/LkJyDaqUA8xo=; b=tlg6NEaxlxTwpAjLl4pjki30xRirKW/Br21eBCxwFRyGimjpOKPCqWl5dPqTe4nW8O 2J1W4Vu20Zo10j4msSPSLq4A0xFljPZB5iCrrDx4M/mS2scLd3oWWgvikJLBqexBi0CE 8KG+JpKG50DCxB7hrPKYrqnjXsC0sTdMRrIDJ2EjcTF54uewBRHjumPmGqzht/3cGZ1D xR76VBoYxmGGnAeDUIND1yvYJI4ZSBTt51nOF5s7/xHLlcWUDCFtdsFjxMxJn26OKoYf HWdhTxFYrcjHG6ACGYYHen0FFXat8yI3Mil/AVgkZXZBW/MGr19TZQscE08A38+nIBQL dTjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MmIVeiwG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj17-20020a17090b4d9100b00225c0b4ebdfsi14798009pjb.148.2023.01.09.05.55.41; Mon, 09 Jan 2023 05:55:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MmIVeiwG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233120AbjAINaL (ORCPT + 55 others); Mon, 9 Jan 2023 08:30:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbjAIN34 (ORCPT ); Mon, 9 Jan 2023 08:29:56 -0500 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 642DA1A397 for ; Mon, 9 Jan 2023 05:29:54 -0800 (PST) Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-4b718cab0e4so112420267b3.9 for ; Mon, 09 Jan 2023 05:29:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZOu+YPGL4HyTcJPErwyvfcCw8AgjES/LkJyDaqUA8xo=; b=MmIVeiwGGg+w70IfORtKA6uSn4jgusMZs9qTk/5aGLvuqebaBKnrGkH6v+NUOPGYiS pUYVE1LkpaG8IeDssdw2Kfc9H49sXT70cp3n3BiXevLPVrBq7cgURKvFKVns547Nes3i Ffs6cWYDiTYFeFWs78lXv0zXPqy1UBATpUC3gNQoXF8tdDK+YQirEmupV8NWBBLDXvDU 86FFej0tZSemF/dgnmgaSd0iU72hGQ6GiUfaFynsSaoILuKh9jsUTGmB5iTbtPElwCiu gcQV3iLt4GSV5Zy17yf9NP9SURfc80q1QdEgQaGRrbNXGOK6uNppyuBTOrCwE9XP1GgH kIdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZOu+YPGL4HyTcJPErwyvfcCw8AgjES/LkJyDaqUA8xo=; b=XRABjaEPrmP8h8dynO8bSUtVMrpSKsCKD85qcx/hfTZFbhnuTEwbA5ijAX0fpL9B2L 3ZdwjzilcwX6kSiiAvBb/Ijyucc9cfJ0Uo69yVgkUcg2ahRYOTg7xaaHHXx9mVAAnDrD 4jnpTlOEPHy7RvNrE2v0pTp2z+84vKb/VNXuSRkx94nomtCBX35AngorcJdtH8/aC5fC d/0+zBgPnK4vJ2tYQDt4hRIzg5OA/0UKVk3BJXbvu+7Oio0uFggb3nlixEG//lQ7k7Yh vfVncu/gg4irfhwlr2k/HV0E0429XMP5/8KYnlVJpc6gnkFd9YXsjcYzR7R1FI//8aif T/Lg== X-Gm-Message-State: AFqh2koPnUm/Y4RWGJEDeCFBP/An7scxDFBwUl60DoeHrK7HazsVt8el PYHpBm9H34gjnrnzBQoaRHx+zPWIrZmxe4KXOSoCHg== X-Received: by 2002:a81:441c:0:b0:463:e60:e538 with SMTP id r28-20020a81441c000000b004630e60e538mr1091802ywa.130.1673270993625; Mon, 09 Jan 2023 05:29:53 -0800 (PST) MIME-Version: 1.0 References: <20221221073232.21888-1-clin@suse.com> <20221221073232.21888-3-clin@suse.com> In-Reply-To: <20221221073232.21888-3-clin@suse.com> From: Linus Walleij Date: Mon, 9 Jan 2023 14:29:42 +0100 Message-ID: Subject: Re: [PATCH v3 2/2] pinctrl: add NXP S32 SoC family support To: Chester Lin Cc: Dong Aisheng , Fabio Estevam , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , =?UTF-8?Q?Andreas_F=C3=A4rber?= , s32@nxp.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Larisa Grigore , Ghennadi Procopciuc , Andrei Stefanescu , Radu Pirea , Matthias Brugger , Matthew Nunez , Phu Luu An , Stefan-Gabriel Mirea Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Chester, thanks for your patch! On Wed, Dec 21, 2022 at 8:33 AM Chester Lin 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 > Signed-off-by: Phu Luu An > Signed-off-by: Stefan-Gabriel Mirea > Signed-off-by: Larisa Grigore > Signed-off-by: Ghennadi Procopciuc > Signed-off-by: Andrei Stefanescu > Signed-off-by: Radu Pirea > Signed-off-by: Chester Lin (...) > 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