Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5297275rdb; Wed, 13 Dec 2023 05:03:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEwvrVLX2d7d61ABYoUQx4OUbjt19WduQsffEvN6Zki4nje5DJd7Et71dtKSjlDbAh14TOw X-Received: by 2002:a05:6a20:baa4:b0:187:9ff3:98ac with SMTP id fb36-20020a056a20baa400b001879ff398acmr3794754pzb.4.1702472626056; Wed, 13 Dec 2023 05:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702472626; cv=none; d=google.com; s=arc-20160816; b=bRYDN3BpjeyA+3ZAgzTbUEIUAeZl1yaotPtOH6uUJ4phMAFX024c04smgKJnh6P6KM di3AxXnTYR65vimjtdmol/HZGOzdjaNcQPKyW9IdKLS7EDNTsVTLAapZwSpsF9xMH+XI 70qO3bgJIFkx1+NgL38ft4Ur1Kp6jpbDWRGz578OPD749EbfV/6QXHd7sLApDF+fMACA s0ju4g86en18RcPjjAxD3obr0LYS/rY9FlBpRHYsJ4T7537ScaHxtC3aIFMferdzOgFm l5tiJHvo6S8GqjmCll08rVM8HLn1VWnu3U23eWbayIqDYUYPy8kJcVpKtoRlFzgXBatc rKHA== 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:dkim-signature; bh=Fl5SOQGYY46Eo2sjMCFW4/TqHA2I2SmZupfmLEEKiyg=; fh=bWjVwRPEct1Mqf2U5x4+WjsOtY0t9QZ5cer/BT7tb7A=; b=KW5Xfs8ICrTcWM0lIBb6fL3eL+wRhyrdlnLA27ZytpSqM+2duZY9tibqeneQptwZrq 99kZY2uPSN+yYEwB9EH+3uFn6CABLuF6LDjEyKvLB034o8X3HR0HQIXwbRt0WnkZ9YFJ ywr3+UorO/x1dqjuYyz8qMUIf+GuWgk6TP+yBqaZlzODKd2LW4vj9VJNC52HW9yWyw69 kGcoU4PVAkoFkfGO7nYcbVRe0mpO7+7T3hT9KhkngxYUwht+XEWGvekVKGvMVIVly7XY nVCdp2EZHvidu5vJOuN8CFgLqjrTU/BRGY3bM9o9s3gkFH/QJffeuH3EcL1JYRfy5REd VIpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pOAZ793f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id cm12-20020a056a020a0c00b005c200b11ba7si9919019pgb.763.2023.12.13.05.03.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 05:03:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pOAZ793f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B6CE58041FFA; Wed, 13 Dec 2023 05:03:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379076AbjLMNDP (ORCPT + 99 others); Wed, 13 Dec 2023 08:03:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379098AbjLMNDN (ORCPT ); Wed, 13 Dec 2023 08:03:13 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22CC8199F for ; Wed, 13 Dec 2023 05:02:56 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B73FFC433C8; Wed, 13 Dec 2023 13:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702472575; bh=SYhlR91tO42bA8AfGZXjJpENUJXvfJwI9ZrVd2yDl7o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pOAZ793fHzKh/HYPbFWxrP57xdIvDGz7zJAPafMIdiXo/gdClWfHHvXyABgyiaI3d IzjD7flCvOmUtRPQK/nwxFG4P+/wjewBRhds66wynKr/e/B9HcmsYwbGWOiDfrcGgF Mad+vti/3CHqhV9Mc8DmDCiHi5Llrhj8bBvRK8yG2/BfMYB5kldfx6AoNVi3LS5Yed voYZzMviyN03AtFIwzndO9A1hh6wyeIOadgNlhvE3YVLQFoRmcz/zTpvLmVk2qGecJ c2p65kbrZ/i6niLm0i+F8ERk9GXSfIiwFL6+xEZru50pieVHqYJCoculVkT2y+ID+D uMM7/fLCxbELQ== Date: Wed, 13 Dec 2023 13:02:49 +0000 From: Conor Dooley To: Marc Kleine-Budde 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: <20231213-waffle-grueling-3a5c3879395b@spud> References: <20231208-reenter-ajar-b6223e5134b3@spud> <20231208-palpitate-passable-c79bacf2036c@spud> <20231212-unreeling-depose-8b6b2e032555-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AuzXFLC6CIKr68l9" Content-Disposition: inline In-Reply-To: <20231212-unreeling-depose-8b6b2e032555-mkl@pengutronix.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 05:03:31 -0800 (PST) --AuzXFLC6CIKr68l9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 con= troller") > > 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-c= an.yaml 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 >=20 > Do we we want to have a "clock-names" property, as we need the clock > rate of the CAN bus clock. 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. Cheers, Conor. --AuzXFLC6CIKr68l9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXmreQAKCRB4tDGHoIJi 0pybAQCaXK2xUCp5W6797bY/KOydLDfzz6/zpgo3/ym1K/7tCgEAs+ZQmqrTvSuQ t2sr42Cf8RWYaRCGrwl6zg97g0jV0As= =jW/W -----END PGP SIGNATURE----- --AuzXFLC6CIKr68l9--