Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5915955rdb; Thu, 14 Dec 2023 03:32:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN0EINBuObhjHaoqDw55flXrdqjVVPlUXwiVqmPnRYREHWpefnN1LdVF0S/OHZ9H8/Dm1a X-Received: by 2002:a9d:4d12:0:b0:6d9:fd47:6fbc with SMTP id n18-20020a9d4d12000000b006d9fd476fbcmr7926363otf.28.1702553523153; Thu, 14 Dec 2023 03:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702553523; cv=none; d=google.com; s=arc-20160816; b=muMJvtjP4o89lhfw8eBTDgnIENQbcWu6poSxgk1v/FEreyfcZlU+G9+f+VuivYvkVS ssv2RUnI0YFLXpx/QqyRqUEJFGwK1SEbPReyppHnCCtsaeSTFzEH7NG6vu2Xra5z/I3S ASnxlmxHPAFj/UE44tuPrIPe7TiKF+UcyDQ23eRqMXiYh9WqXvq4IujzRExyaPhmG5rU R+5cvPeGdt89okA5DRaFi+wa1krIyKkQDeKcpxYyZ+poi4D78awTjx35ixWItujo2N1t bvSMpITATtcfAseKCUqdUlcMBHE2iK7UP/SrNJE0/hmdqohzi4OtwK0ew3amEI3RfqrT l3LQ== 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=hyF5sMZkB5zO3Z5A/Q3bR9mTmdgjKK6Jyr7UYX6d4no=; fh=UYbxMBIZ18BDZvDYyaGxDrVPsMl04Kx8mmhudBXxwec=; b=lJQoLvY7PsGGrzhvsSZbJWrmnGQKVIBbgHSyfvc1pkiEboExO19myVX7iD3t45KAmh h5m+pNBh3AmExRycH6rHM3ShLLp8bDL4dolCKfj0smJYdk6hRzm1WCJavIEpl+BZ/7Gf iemjrLAv6kO2gIGBdqNbg7UO0QMeEZxK1Yf8H9I2hjd2Awz++20/MwwI+wA2Y133gEmT yU0KIeWgEM+2nrpp7u4oMdJTLGvZDLtuwsASZA6xAFkT0M2rgxwmFuJmb+VCdih7eEOx xAk3QBdl4ui/G+J06+mzK6GGPcbXkonNnL9mqYlrBNe+uJwdOOu50V07qa6pgG8FLqB0 m72A== 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:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b9-20020a056a000cc900b0069100706960si11012966pfv.116.2023.12.14.03.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 03:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 6D7FB8108BC8; Thu, 14 Dec 2023 03:31:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443921AbjLNLbf (ORCPT + 99 others); Thu, 14 Dec 2023 06:31:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443866AbjLNLbe (ORCPT ); Thu, 14 Dec 2023 06:31:34 -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 B7048B7 for ; Thu, 14 Dec 2023 03:31:40 -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 1rDjvo-0007MZ-Dp; Thu, 14 Dec 2023 12:31:08 +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 1rDjvm-00Fn0N-Dm; Thu, 14 Dec 2023 12:31:06 +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 5826D262EFD; Thu, 14 Dec 2023 11:31:05 +0000 (UTC) Date: Thu, 14 Dec 2023 12:31:04 +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: <20231214-tinderbox-glitzy-60d1936ab85f-mkl@pengutronix.de> References: <20231208-reenter-ajar-b6223e5134b3@spud> <20231208-palpitate-passable-c79bacf2036c@spud> <20231212-unreeling-depose-8b6b2e032555-mkl@pengutronix.de> <20231213-waffle-grueling-3a5c3879395b@spud> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="td3sd7zfsqtxdr4k" Content-Disposition: inline In-Reply-To: <20231213-waffle-grueling-3a5c3879395b@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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 14 Dec 2023 03:31:50 -0800 (PST) --td3sd7zfsqtxdr4k Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 13.12.2023 13:02:49, Conor Dooley wrote: > On Tue, Dec 12, 2023 at 09:49:41PM +0100, Marc Kleine-Budde wrote: > > 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 c= ontroller") > > > 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.yaml b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.ya= ml > > > index 45aa3de7cf01..05f680f15b17 100644 > > > --- a/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.ya= ml > > > +++ b/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.ya= ml > > > @@ -24,7 +24,10 @@ properties: > > > maxItems: 1 > > > =20 > > > clocks: > > > - maxItems: 1 > > > + maxItems: 2 > > > + items: > > > + - description: AHB peripheral clock > > > + - description: CAN bus clock > >=20 > > Do we we want to have a "clock-names" property, as we need the clock > > rate of the CAN bus clock. >=20 > We should not need the clock-names property to be able to get both of > the clocks. clk_bulk_get_all() for example should be usable here. ACK, but we need the clock rate of CAN clock. Does this binding check that the CAN clock rate is the 2nd one? regards, 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 | --td3sd7zfsqtxdr4k Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEDs2BvajyNKlf9TJQvlAcSiqKBOgFAmV653YACgkQvlAcSiqK BOhMmggApdGofXs7BcJbjT8hpDnLCGwmugpp0y3veU4Okm1P5NHwewyOaznIC4l7 VKu8jX23jiHIWYz2czWfTtoPskoi2RCs5Hj4t1eoFYywF9BAAwHITK7KtsR9fuZ7 XwdRZzjWHEh+I0BFmKv6GEpldjTZz269Nn47wy96FKErGKF2taHACZ97p5nqIwMz uB7dZtekAf4scC6jKLZYwUUl68YwktTMZWu9PkjfH3oLS+H2oXHxxzUg6mME5R/o 2Nj92O17r0Md7j3QioEGIKNrr7dKubY0QPgZ+lP/ImoLgFDmAPC6tYlWR00kDf9b ho3kmb28TrV4g0HQA1ZMBrJX78JxlA== =M/Nz -----END PGP SIGNATURE----- --td3sd7zfsqtxdr4k--