Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp180114rwb; Wed, 7 Dec 2022 16:22:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf5VyhfZO8slfZjTn9vWqiOiR4FUqu8zyvJ41v+X5/fk6d5CoGxfttVRtuGzw0vfnswFy/gQ X-Received: by 2002:a17:902:b182:b0:189:dc5e:887d with SMTP id s2-20020a170902b18200b00189dc5e887dmr14876724plr.55.1670458938888; Wed, 07 Dec 2022 16:22:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670458938; cv=none; d=google.com; s=arc-20160816; b=ERRKVk4TnKaOyGc6KfDmTV1XJn5jPK50hGaMhXg6SfNMztXoQ1cAeqvZpVPr5q2QN7 Nf0VkYXc0cexWaMh92pipCWmvWIcjFDXxaz/qu/DDo5KGW2Et0v8RjrCQw/Qq+YG79/t S1A47m83LgxFJFW/d7TJTCSNc/ruB3QrZOxpTYlEILL6hIu//k+fN5ylp+FrcR1brZTy UjuXVJZ3DIOG584T7YGARPv1eOcChMeoq4WVDE9dBZ1D7YMC4ZO0cf5ywo8kZ8QdapEd 2DNLBwSNrU8bDB+3JfG4Iv+ERJHBO0yCA1YMZnX4zjBkpmOh9hf6zFLpgKPymrkLm1M6 34sQ== 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=ff3cokBLft8feKASwtORz5rCPHq4zUkqXInCT5nyqYA=; b=XA0DHM+0iY5DIM3jnrNQgmYemtDyF0Tntrlu80xHIkp+CON7ZyQessPtX2hhjvCRtm XuHrSC1nXeDGOTeA0TQn5OKsVz21HhwrI4uCh4Ac8dWeWfjp7P97cTw7PL4XlqnWyF3L 7F4PWN5pkzD+yBQZnpvs0LHbV7mn4wHnGKL31s9Wky75rTK6KFVid7DaVPYmAF8RTkvA 5W01umoTifBZ97fwJ4g9jf+qcu548bdbKrfuF4UKPUKzkxPQjf9itrHetIqiw9iYoV14 F0Wk82hFlNyxrFdcJZDu/8nn9WWDTs2EPnKNhmvSlroDVhbz4IDN5rtarn1+8r5YpPp5 /m4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fIDItAjM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15-20020a1709027b8f00b00189c4a9c5ecsi13361998pll.297.2022.12.07.16.22.08; Wed, 07 Dec 2022 16:22:18 -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=@gmail.com header.s=20210112 header.b=fIDItAjM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229971AbiLGXEg (ORCPT + 74 others); Wed, 7 Dec 2022 18:04:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229942AbiLGXEf (ORCPT ); Wed, 7 Dec 2022 18:04:35 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 600BF2DE8; Wed, 7 Dec 2022 15:04:34 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id t17so19109835pjo.3; Wed, 07 Dec 2022 15:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ff3cokBLft8feKASwtORz5rCPHq4zUkqXInCT5nyqYA=; b=fIDItAjMev2MvAAyeruSl2KVDnU+sdaUg9FJwgg0MVJrxWXLmnXqPn7nxezvrSPkHB /2Lo/fCc2k0ksRQiCsqfi3FF6ViLwShr+LG+/hqVwlsOqpHvVd13JhOHUwJYqXcKaJVI JWCJ8N2iJDba1qJC/xmJrW0jUUJOmk4X1n+LToJxsLKsEJBjd37+ldRm/jEPI5AKrPuP Fr0TzjTQXXrt9yNKC+uyVaUstL6i9zMqirJAIPRTJtJ1rCUd66YvEdWhKAlnJNIg/XcN gsM9cZTwo6TS6Bohsw4ca1vm7tuLLv6UBvJgFcEKynWi0HrZACPIF5tXrMJOeWMFBGf+ eyqQ== 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=ff3cokBLft8feKASwtORz5rCPHq4zUkqXInCT5nyqYA=; b=4Lp0kGp4cgM4brVj8bI52FH3H1QcDfe5qeIZDIvdUi1eNkHpLcN5lZpBXd+O5t8FZT jGNA17M/Ct72mNKdRm85aprx55IjSYJK5uMIv9n3ptMy90FzUNDn0OBZzC2I53Y0uTcb qWibW4nsYUF4ilqwLfP8hPh9IdByiRkWvAV3PVibxW/90xNhC6jAKtt6ZTjOtcTN9ScH xVXuFc4pDOkwt8Ul6vNcd5YYQ23PycutPYUc9/eEbJfFsJqa5BlpV49X6txHcWxKgjlT hTHXifJf8F3I8Qc2jL6/9wPB+9NdjWeOSd8A2OcOIQcIt96leKPo4iJNOnWZLKYpcREF 9dJw== X-Gm-Message-State: ANoB5pmZXReitArZVWZm8HHjkn0mhbu0BaFNqzCRTUEI+p92cDGXRzi1 RDvhD8gSqfr5evmkps/9An24qrCLE8Uh3vKhSf0= X-Received: by 2002:a17:902:a514:b0:189:97c3:6382 with SMTP id s20-20020a170902a51400b0018997c36382mr44756888plq.168.1670454273676; Wed, 07 Dec 2022 15:04:33 -0800 (PST) MIME-Version: 1.0 References: <20221128054820.1771-1-clin@suse.com> <20221128054820.1771-3-clin@suse.com> In-Reply-To: <20221128054820.1771-3-clin@suse.com> From: Fabio Estevam Date: Wed, 7 Dec 2022 20:04:18 -0300 Message-ID: Subject: Re: [PATCH v2 2/2] pinctrl: add NXP S32 SoC family support To: Chester Lin Cc: Dong Aisheng , Shawn Guo , Jacky Bai , Pengutronix Kernel Team , s32@nxp.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linus Walleij , Larisa Grigore , Ghennadi Procopciuc , Andrei Stefanescu , Radu Pirea , =?UTF-8?Q?Andreas_F=C3=A4rber?= , 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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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, On Mon, Nov 28, 2022 at 2:49 AM Chester Lin wrote: > +static struct platform_driver s32g_pinctrl_driver = { > + .driver = { > + .name = "s32g-siul2-pinctrl", > + .owner = THIS_MODULE, > + .of_match_table = s32_pinctrl_of_match, > + .pm = &s32g_pinctrl_pm_ops, > + }, > + .probe = s32g_pinctrl_probe, > + .remove = s32_pinctrl_remove, Do you really want to allow this pinctrl driver to be removed? In other imx8m pinctrl drivers we pass: .suppress_bind_attrs = true, Check drivers/pinctrl/freescale/pinctrl-imx8mm.c for example. > +module_platform_driver(s32g_pinctrl_driver); And we also register it in arch_initcall() level. Maybe you want to align these points with imx8m?