From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 500EFCF9C6F for ; Mon, 23 Sep 2024 21:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fM0ujQ8p/l7ud1ZtL5iuBmpEgB4QL+W7Klh4gSu3qOc=; b=pohiCRofpMh2w+OQvUxaTCKVar twEXVlQCO1RN/6/z72N05POmKIjCS0b2p1KSkrs11Yq1iiXmetFu70YMAnOrpg0BsfdamQ7cV5gEq WB46UaeQa5VuzXpAOXmQ6+WGdW4r5vLP8zfyzgeIbZ9I38LI2qPCvBc1sbBDAcEz+FAH/n9NqSwV7 a6ImIqATt4T242yhPg6F3hFP4C03lNWdmBcggneyramnTCyVHMwyuQw2STfm/7FP75gXUx4ev3Pvu AWT9arIaeyt11+g8xbT9U6P84IMIIOHw1XwxNQK7hXRTivQxiPKOEmAmc8wZt5/xIgWvVpmNDNnF+ l3hrYFjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1ssqjX-00000000WVG-24gz; Mon, 23 Sep 2024 21:36:39 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1ssqiP-00000000WND-2I3e for linux-arm-kernel@lists.infradead.org; Mon, 23 Sep 2024 21:35:31 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 80E32A42989; Mon, 23 Sep 2024 21:35:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26033C4CEC4; Mon, 23 Sep 2024 21:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727127328; bh=WFTUDl44zGhYUZJMB+uystwayMKCAqI/vQQ2xHtr7dA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M3fCKQe5Y7yhiKcP5KgmAEIMhqvz3/fJS1G0HFowOyMdCIuyuZvNyqU+eEwY24FBv S03kHhxSzSlfYA7NEzi5MUNimnl9XrCFpvGumT9iSf9Iqx0qa1XUKG+5BxNklQeD/J 7WVhwR3k+bsSEAvr1CmWKzY1r735KyoVuHBFhUHbXg39GdrjA1JnKUDPvPbuh/loVB pJNNiM6oYmB2IBEU70ZkH5TzyE1zhfgsP6ITOWgFGQAZUE2rsdUv7Wy2iHULhKH8Lm U6Oi/oZMkW6sViQSG61wRukMR/OkY928NoD9bhTqX6zA5Rrxk3iaASAWOm2bifxryp qFB0FyEZ3CXgg== Date: Mon, 23 Sep 2024 22:35:23 +0100 From: Conor Dooley To: Andrei Stefanescu Cc: Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chester Lin , Matthias Brugger , Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP S32 Linux Team Subject: Re: [PATCH v3 2/4] dt-bindings: gpio: add support for NXP S32G2/S32G3 SoCs Message-ID: <20240923-clatter-barometer-102125af2de3@spud> References: <20240919134732.2626144-1-andrei.stefanescu@oss.nxp.com> <20240919134732.2626144-3-andrei.stefanescu@oss.nxp.com> <20240920-reapply-amusement-a37cf13fd910@squawk> <16950e81-e0ef-4e7c-b0ef-4f56415dceed@oss.nxp.com> <20240921-party-glass-bfb7099c7ded@spud> <20240922-plug-legible-74f56d898123@spud> <3b51ff7b-ab9b-431c-a43a-49b5a5e74dff@oss.nxp.com> <20240923-rentable-okay-922af44b66c8@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CEFQZhZu0M/q00MG" Content-Disposition: inline In-Reply-To: <20240923-rentable-okay-922af44b66c8@spud> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240923_143529_738364_7BB47868 X-CRM114-Status: GOOD ( 24.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --CEFQZhZu0M/q00MG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 23, 2024 at 10:34:05PM +0100, Conor Dooley wrote: > On Mon, Sep 23, 2024 at 01:47:25PM +0300, Andrei Stefanescu wrote: > > Hi, > >=20 > > On 23/09/2024 00:07, Conor Dooley wrote: > > > On Sun, Sep 22, 2024 at 11:04:22PM +0200, Krzysztof Kozlowski wrote: > > >> On Sat, Sep 21, 2024 at 10:58:46PM +0100, Conor Dooley wrote: > > >>> On Fri, Sep 20, 2024 at 03:40:31PM +0200, Krzysztof Kozlowski wrote: > > >>>> On 20/09/2024 15:33, Andrei Stefanescu wrote: > > >=20 > > >>>>>>> +properties: > > >>>>>>> + compatible: > > >>>>>>> + items: > > >>>>>>> + - const: nxp,s32g2-siul2-gpio > > >>>>>> > > >>>>>> Commit message and binding description say s32g2 and s32g3, but = there's > > >>>>>> only a compatible here for g2. > > >>>>> > > >>>>> Yes, the SIUL2 GPIO hardware is the same for both S32G2 and S32G3= SoCs. I plan > > >>>>> to reuse the same compatible when I add the SIUL2 GPIO device tre= e node for > > >>>>> the S32G3 boards. Would that be ok? > > >>>> > > >>>> There are only few exceptions where re-using compatible is allowed= =2E Was > > >>>> S32G on them? Please consult existing practice/maintainers and pas= t reviews. > >=20 > > I will add another compatible: "nxp,s32g3-siul2-gpio" for the S32G3 SoC= =2E We currently > > also have the SIUL2 pinctrl driver in upstream with only one compatible: > > "nxp,s32g2-siul2-pinctrl". Should I also send a separate patch to add a= n S32G3 compatible > > to it? > >=20 >=20 > That would be great, thanks. Wait, the driver doesn't need to have 2 compatibles, only the binding does. Make the g3 compatible fall back to the g2 one, and the driver doesn't need to change. --CEFQZhZu0M/q00MG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZvHfGgAKCRB4tDGHoIJi 0tAaAP92LyBZgD1JxGH46B1wIjokDf3LXzerrGAFp8aq/1sHFAD9EhgmXmOeQh+6 cGA4MM57MldiZ0Xxx2k+tXjLCyUftw0= =crvz -----END PGP SIGNATURE----- --CEFQZhZu0M/q00MG--