Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4911194rdb; Tue, 12 Dec 2023 12:52:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFbHjLDtiuOZdttWyv832tYJ9dzY3FWynOu2gbtcbZhA+a4rUw1lb8qAurVf7YEbA7CvClW X-Received: by 2002:a17:902:da91:b0:1d0:bcb2:b905 with SMTP id j17-20020a170902da9100b001d0bcb2b905mr3927908plx.121.1702414378944; Tue, 12 Dec 2023 12:52:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702414378; cv=none; d=google.com; s=arc-20160816; b=TlSf5Rhj3TtxHWQV+6a43lV43HzkLDVyZFTqswGsxDLKC9z7W5XeXceoma2Xcj4x6g IMKiv6qPPTKNHSh8dNa9KckNSlIN+8ffTvW29u3cuBYnC8bdSFVrDJnAzNJ3k8OAddxk M10DnecqMRTKZrvVtMjh1o1zScjjxkz7wVqTQ7BomB+4/4Cca8ClqayvQCXYRoyQqf3H bFx53Ph/TEbjjVZ6cO1o+AWm3La93oD7UxninpKvNgcIpLicyjxyBg/zW6DqwU1fkUve 6EHzXBuyiMr+vPnxN22UZxxw9UFZMKBOboSGHJBFlZ5ctmIc0pOaF5rkYeImuqA4n4V9 Le3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=lDM5C+WPh3L1JuTzmBbE+BeG1Q9vn8SqnSpWSwFJRXU=; fh=UYbxMBIZ18BDZvDYyaGxDrVPsMl04Kx8mmhudBXxwec=; b=lZe21ZSaqzo8m/MOXmhHQeJmQBvKasG0zvtAem/dVyyc9vCGhQ5RQhqJmCTdRunqGO BIx4/ktq1B83Waf2/70kXk8dTdnVQ6bCqqQ7Vc5B0LEFCJD8AfzEyZKPgDOV6diIvTYv hwC32jg2QHlmlDnTHRnD0qJjYjYNEZaAR64U/KP7iAsdXqNV80c9gWENLdcz+aCs/2HD 752HxOc0Fmxr56944t9DXm7Cna1yo04TNI1nmxwKxlFo1EwEyGu0aQP/orgu6I53BgNa nnr6Xbfc1Bt2ug515AWOTxlYd7qE9oUuY1C++dbPVmfRwiWLU98FPbGV+MgVtbGlFIKg 4GlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u7-20020a170902e5c700b001cfd0ddc5d6si8583796plf.348.2023.12.12.12.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 12:52:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 28A2B80B180B; Tue, 12 Dec 2023 12:52:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377228AbjLLUwj (ORCPT + 99 others); Tue, 12 Dec 2023 15:52:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235260AbjLLUwZ (ORCPT ); Tue, 12 Dec 2023 15:52:25 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2C7FD2 for ; Tue, 12 Dec 2023 12:51:28 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rD9hL-0006JL-4s; Tue, 12 Dec 2023 21:49:47 +0100 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rD9hI-00FQAr-Q7; Tue, 12 Dec 2023 21:49:44 +0100 Received: from pengutronix.de (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id BF57D261699; Tue, 12 Dec 2023 20:49:42 +0000 (UTC) Date: Tue, 12 Dec 2023 21:49:41 +0100 From: Marc Kleine-Budde To: Conor Dooley Cc: linux-riscv@lists.infradead.org, Conor Dooley , Daire McNamara , Wolfgang Grandegger , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Michael Turquette , Stephen Boyd , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH RESEND v1 2/7] dt-bindings: can: mpfs: add missing required clock Message-ID: <20231212-unreeling-depose-8b6b2e032555-mkl@pengutronix.de> References: <20231208-reenter-ajar-b6223e5134b3@spud> <20231208-palpitate-passable-c79bacf2036c@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4h2qlcdcaxtarwhl" Content-Disposition: inline In-Reply-To: <20231208-palpitate-passable-c79bacf2036c@spud> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Dec 2023 12:52:56 -0800 (PST) --4h2qlcdcaxtarwhl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 08.12.2023 17:12:24, Conor Dooley wrote: > From: Conor Dooley >=20 > The CAN controller on PolarFire SoC has an AHB peripheral clock _and_ a > CAN bus clock. The bus clock was omitted when the binding was written, > but is required for operation. Make up for lost time and add it. >=20 > Cautionary tale in adding bindings without having implemented a real > user for them perhaps. >=20 > Fixes: c878d518d7b6 ("dt-bindings: can: mpfs: document the mpfs CAN contr= oller") > Signed-off-by: Conor Dooley > --- > .../devicetree/bindings/net/can/microchip,mpfs-can.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can= =2Eyaml b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml > index 45aa3de7cf01..05f680f15b17 100644 > --- a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml > +++ b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml > @@ -24,7 +24,10 @@ properties: > maxItems: 1 > =20 > clocks: > - maxItems: 1 > + maxItems: 2 > + items: > + - description: AHB peripheral clock > + - description: CAN bus clock Do we we want to have a "clock-names" property, as we need the clock rate of the CAN bus clock. Marc > =20 > required: > - compatible > @@ -39,7 +42,7 @@ examples: > can@2010c000 { > compatible =3D "microchip,mpfs-can"; > reg =3D <0x2010c000 0x1000>; > - clocks =3D <&clkcfg 17>; > + clocks =3D <&clkcfg 17>, <&clkcfg 37>; > interrupt-parent =3D <&plic>; > interrupts =3D <56>; > }; Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung N=C3=BCrnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | --4h2qlcdcaxtarwhl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEDs2BvajyNKlf9TJQvlAcSiqKBOgFAmV4x1gACgkQvlAcSiqK BOgF/AgAhJ4xir0nA6ujdFUlOe+BWbITRC3gKi4T8KNqQvU+8gfmDpk0EjBpkbT0 5H1M0A+FA44+z9JDq6MWnVWxoajf03KOfKBjbciOadSrrBXY96gIIAnJbpJTt8yj qCtULHegVD42Wd0VEtxqny4TTkSeTIDstqKX65M5PNn8wKKtVtbufPuFVTOZ08IA NSXUrGvAAhKVWGtY6fe/qw5BebQIDc6fdl3xzF0R6UZzKGluO5JVeMAItJ5HtT8K JiUGMmxEt+H2EpiQtVtY5arGq+RmwhMVSDu9CFCDgtNqbszvV8lXZebODUP+a2xu EDNNicG+TnD2kVzye9AYXJ+qizwySg== =Df6N -----END PGP SIGNATURE----- --4h2qlcdcaxtarwhl--