Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1220846rdb; Wed, 24 Jan 2024 08:16:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMyF5lueM/gcYLex0VNjO5LN85W0sT4wzYeQnCUiDJkGX01FF6Zz35d495wRoGzVBMlRH0 X-Received: by 2002:a05:6870:4152:b0:205:fe77:4f71 with SMTP id r18-20020a056870415200b00205fe774f71mr3468295oad.15.1706112989309; Wed, 24 Jan 2024 08:16:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706112989; cv=pass; d=google.com; s=arc-20160816; b=yT2EI0CamWOUgHP6/pKzC37K4Kg387gAahsxpzbHttzyZXwtXcdW1pCjpXctCQQlHA RJjWXFZqB4mrYEqkdHSFq9xMOcwl11GdfyPBBr/a5O9XM/35cHeLnywutEc1gYZTWtWF bYmnlshbIVZHHI4yDyk10MUVM2L+Gxyib0uKfFsbBakzxEQqiCVdYsHs8nXRVZI61oXH EGDnPExgJ+1zOeVJqt28NeBkBqTPPkaRYtVSEGyketJnNVWpkGVTKwI/rCR99GM6fjan 3tir8RJM37luMPjzMBEXTXy7ER7bFSmZmRU22RBxb8r7+BNJZq5GK27ILX7UodpJzPYB AFPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jd3k2AWiyI8WU8W2eGFzr2mPcG8pngiH7RNDjoaWfEw=; fh=V3jKuWO6aDdXBpimF0c6Qv5addzhwLLS41e6abknyl8=; b=LDs19w7Xcb9MvwL8mO6gcQ9tR74tHrF23cweeTU9d1vbiqZL6wZ4bO/ugngpaJ6U1m OTZXzy90l2bscrPcBdHOrSKaTlE92rsQsb4fynsqhG/smUrus7PJ1f+fW6urvpEqfAgA yFDO6iW6X2Rmo863zArFAg668cB7HAmlwfVy3uEAAfuaFXH2fX0gUZ1Pc7BA2undV4Lu NE9MpxrTtfLKJng2gYBm/vQ0I+wrvg1KzX9vZUh3JeQXQTefIRidWBATNDYZcZzWmFXo jk/xW63vI6+efawIM/qg5cgRlcARiW3aIuojKO4A2TWUB9HDXmiRsFDt5Jgg7ZkXJcQ2 pPsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D9Q8tohb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id bp37-20020a05622a1ba500b0042a0a0b2cf6si10501064qtb.670.2024.01.24.08.16.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 08:16:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=D9Q8tohb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37316-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37316-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 12D3E1C2137B for ; Wed, 24 Jan 2024 16:16:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B8DD7CF1D; Wed, 24 Jan 2024 16:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="D9Q8tohb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BC7657CF03; Wed, 24 Jan 2024 16:16:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706112978; cv=none; b=n0iReUBG/HFwW5ZXTxtX9wcMq3QVuArw1UtkjqiCmMGDzx4UvS29W8yf7AoOur/9/QMygpheUQ1EuzQ4uuyRBg3ANF5K3zyeE71QPcwOrnqHWC0zC3EIiQBjdzy8HPOl1WnvSP1x2uqTVTxEHW+G/yz2aowK8v716orVoo9zmGg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706112978; c=relaxed/simple; bh=/Y+fj7oNVpD22CS0LwKmfcpc8EY7p2jBwyx6uzCSGuQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=snC3OmL0tTLzFhO5YlUI5fGCzFoA0FjbLOOV1pT9Oed1a7DqHkSDcOHfyQb23HSTSb+hikIPpP0J5wWn/prfuX1JmJRBBv2COvQvMsEhZcEDUwckb3g2NfSNBB2X4FU/7Zu249/vELyZdMujyXoSxMCV22YMKmdHL17nHcY/5Zc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D9Q8tohb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 565D9C433C7; Wed, 24 Jan 2024 16:16:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706112978; bh=/Y+fj7oNVpD22CS0LwKmfcpc8EY7p2jBwyx6uzCSGuQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D9Q8tohbTthid5ztVhtaVxbxx3yvOdQKUGlWCsQJ/OuscgR3JRyNUUgeUaVE2oOuk +bJVlq2yiLjhBKHSNVcXFz1p7rVrs3/FvBxevhML7MgFgKsXtg0iHtDEkZ6yaEpLiY ysVuXtpPNV5eia0sqv3dN3o73bDlp2nNQWehBv20mhQa83AObgUirj5+zeBUGltVg0 W7UHH0Bv8RvzuXR7iLqdQr6enjKqzeg/mYv2oNIHLgjTPODb94VCj8PGhUz04N3aJV T/ZGpK2RsIP4TuFd3N93fvhybWUxff+jgO5y9dtJZ357UV0iMFdA9GmufN3kFRvuDb f57vFsuz2SbNA== Date: Wed, 24 Jan 2024 16:16:12 +0000 From: Conor Dooley To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Conor Dooley , Krishna Potthuri , Krzysztof Kozlowski , Linus Walleij , Rob Herring , Sai Krishna Potthuri , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ZYNQ ARCHITECTURE" , "open list:PIN CONTROL SUBSYSTEM" Subject: Re: [PATCH] dt-bindings: pinctr: pinctrl-zynq: Fix compatible string Message-ID: <20240124-frolic-onyx-56bd63791aca@spud> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2FhCrXjjKDsJhluq" Content-Disposition: inline In-Reply-To: --2FhCrXjjKDsJhluq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 24, 2024 at 10:07:46AM +0100, Michal Simek wrote: > Compatible string doesn't really match with compatible string listed in t= he > driver itself. While binding was converted from txt to yaml > xlnx,zynq-pinctrl was listed as compatible string but example was using > xlnx,pinctrl-zynq and also this string is used in all DTSes. > xlnx,zynq-pinctrl is used only in dt binding and not present in any DT > which is stable for quite a long time that's why use old compatible string > and update binding document instead of starting to use unused compatible > string. >=20 > Fixes: 153df45acda0 ("dt-bindings: pinctrl: pinctrl-zynq: Convert to yaml= ") > Signed-off-by: Michal Simek I assume that U-Boot etc all use the "incorrect" compatible as was in the example? If they do, then the patch seems good to me. Thanks, Conor. > --- >=20 > .../{xlnx,zynq-pinctrl.yaml =3D> xlnx,pinctrl-zynq.yaml} | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > rename Documentation/devicetree/bindings/pinctrl/{xlnx,zynq-pinctrl.yaml= =3D> xlnx,pinctrl-zynq.yaml} (98%) >=20 > diff --git a/Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.= yaml b/Documentation/devicetree/bindings/pinctrl/xlnx,pinctrl-zynq.yaml > similarity index 98% > rename from Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.y= aml > rename to Documentation/devicetree/bindings/pinctrl/xlnx,pinctrl-zynq.yaml > index d2676f92ef5b..de6c10ba36c4 100644 > --- a/Documentation/devicetree/bindings/pinctrl/xlnx,zynq-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/xlnx,pinctrl-zynq.yaml > @@ -1,7 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > %YAML 1.2 > --- > -$id: http://devicetree.org/schemas/pinctrl/xlnx,zynq-pinctrl.yaml# > +$id: http://devicetree.org/schemas/pinctrl/xlnx,pinctrl-zynq.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > =20 > title: Xilinx Zynq Pinctrl > @@ -28,7 +28,7 @@ description: | > =20 > properties: > compatible: > - const: xlnx,zynq-pinctrl > + const: xlnx,pinctrl-zynq > =20 > reg: > description: Specifies the base address and size of the SLCR space. > @@ -181,7 +181,7 @@ examples: > - | > #include > pinctrl0: pinctrl@700 { > - compatible =3D "xlnx,zynq-pinctrl"; > + compatible =3D "xlnx,pinctrl-zynq"; > reg =3D <0x700 0x200>; > syscon =3D <&slcr>; > =20 > --=20 > 2.36.1 >=20 --2FhCrXjjKDsJhluq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZbE3zAAKCRB4tDGHoIJi 0sPzAQCNRelXi/3uPTNzp0NMcUDp2hCNDXY/Zz1AqGOkW9F1fQD3bklsW3G6KflA U0OhD68HpwMBn+rmyCVmS5flpbfqBQ== =9BWH -----END PGP SIGNATURE----- --2FhCrXjjKDsJhluq--