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 2A904C369A2 for ; Tue, 8 Apr 2025 16:12:00 +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=Lz0nDWE/MWTEK1X0DsIbkkCXu4OgXjfr1/ShLbo5HCo=; b=cFFxnddZMutcb1EP49W1a1lwDQ OUwLqLShEWLyVaQuvnlvDx5xDwhZTieOGX0IPCss5nXfX5oIfCBmIuJBLSc/NA8IpddpJHtPjHk2/ kr6L8NQlderVe6RBwzahT2cnXP+PsaM8J1dxwUhQZrpx8g+v5Xj5x8QxItMEFtj8lbqMQSwgTUNvt C3zlnrpzXz4OfepxsBrjzjvqRiMFxaow1iomYdCm7fAcyFJOpwUc9/rZmcEJKua/xjtceIC8u1qZ7 px3rxIv7CRNRpR/4voWrSdkgtLxLPkTFcHPXZrN2bdJU4+lOw0XgpNQPPiVTCOnO+sSJAvlgh1jOi HB+Ufnjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u2BYD-00000004lR7-1kbv; Tue, 08 Apr 2025 16:11:49 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u2BUt-00000004kkX-0KPv; Tue, 08 Apr 2025 16:08:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 745A5614FE; Tue, 8 Apr 2025 16:08:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E3A6C4CEEB; Tue, 8 Apr 2025 16:08:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1744128502; bh=ckOi7tqsSO7KvykycTRL9CtPqRv/ASq7uban+AGPlrM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XhMp3L959j1gmsrQtuaA2pU6O+vcxsQ/GjFmQORiv/4t1XmucuB7D9c0aUFv9TbSt VY3TCIbQE/LjfJf6JlhJyXxAZgdzluIjdA5uRcXEgsUX5xCirJbir8FOJKtcA0DfGz DY/YyD0h9wkh3f+VC8iLjwQGTwdx1+rZsVe5twn+03E+pSYbmopQVZ3Ys/mUL7PyCZ JiG6D+DytWxgwDz80/bHD6oPKL2JUycQFvU9/P2xnaKkpSKeq52cXxqil2x3FuiHQ0 REmgxqP3yXoxXJk2IlcM2w9dMmMZqfZcGAo9v5GFLVGZsket2LnU2tXpy41zCX5nNE BDbvVNHd8Qhkg== Date: Tue, 8 Apr 2025 17:08:16 +0100 From: Conor Dooley To: Nicolas Frattaroli Cc: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , William Breathitt Gray , Sebastian Reichel , Kever Yang , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, linux-iio@vger.kernel.org, kernel@collabora.com, Jonas Karlman , Detlev Casanova Subject: Re: [PATCH 1/7] dt-bindings: pinctrl: rockchip: increase max amount of device functions Message-ID: <20250408-deviate-common-7846a921ddaa@spud> References: <20250408-rk3576-pwm-v1-0-a49286c2ca8e@collabora.com> <20250408-rk3576-pwm-v1-1-a49286c2ca8e@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3HY2P3D0tNzBUcfu" Content-Disposition: inline In-Reply-To: <20250408-rk3576-pwm-v1-1-a49286c2ca8e@collabora.com> 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 --3HY2P3D0tNzBUcfu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 08, 2025 at 02:32:13PM +0200, Nicolas Frattaroli wrote: > With the introduction of the RK3576, the maximum device function ID used > increased to 14, as anyone can easily verify for themselves with: >=20 > rg -g '*-pinctrl.dtsi' '<\d+\s+RK_P..\s+(?\d+)\s.*>;$' --trim \ > -NI -r '$func' arch/arm64/boot/dts/rockchip/ | sort -g | uniq >=20 > Unfortunately, this wasn't caught by dt-validate as those pins are > omit-if-no-ref and we had no reference to them in any tree so far. >=20 > Once again kick the can down the road by increasing the limit to 14. >=20 > Signed-off-by: Nicolas Frattaroli Acked-by: Conor Dooley > --- > Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.y= aml b/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml > index 960758dc417f7405010fab067bfbf6f5c4704179..125af766b99297dc229db1588= 46daea974dda28e 100644 > --- a/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml > @@ -135,7 +135,7 @@ additionalProperties: > description: > Pin bank index. > - minimum: 0 > - maximum: 13 > + maximum: 14 > description: > Mux 0 means GPIO and mux 1 to N means > the specific device function. >=20 > --=20 > 2.49.0 >=20 --3HY2P3D0tNzBUcfu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZ/VJ8AAKCRB4tDGHoIJi 0o+cAQC++yhzDEA1pD75hj4YsKzIeFWFw+DrbpYLeNqyLfXtlgEA/5+i3Yju2VbF KzvzOSVA72JUCgJJIxDgw7JYzYv+HQc= =xuix -----END PGP SIGNATURE----- --3HY2P3D0tNzBUcfu--