Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5975696rdb; Thu, 14 Dec 2023 05:17:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRdVta3J/kLlF9p8kGGNMAMhGnWzMiWSeVLrIP8eJBWLwrjddtLR5XEVGGQoe7PfLP1c/6 X-Received: by 2002:a05:6a20:5648:b0:18c:57a7:ea29 with SMTP id is8-20020a056a20564800b0018c57a7ea29mr4796135pzc.45.1702559867472; Thu, 14 Dec 2023 05:17:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702559867; cv=none; d=google.com; s=arc-20160816; b=yAlQAMGj7jFC4F3HA1Gi06A14tb/wBBCNuZme0Yh5JtRoLYubs1Yf9ABvjcq+VP0XD OQfG3Ot3DDU8UvVnEA2Gz88fDSYdwOsXUTO9zGhUPDnkNohh5TXuJReT6N4olBkTLa7u mpEd7ocq3PYuyuRva1ng08qBlXHNTr8uAPvACmq2Nie+Gyq5mTeHcxSQYwJeLHbJbOGv nVX+MUO5jJrwO6wEniEVy/pJER/1PXWtMnOx49Oq/6Zi5y9UMjewRHemz6NmQnXHuec1 mZnTkSU7ZpIwZC2206eSNOySDTpM7+J6ziotKfCTjqePXx8eDWfs5ayjCi8JOnH1QdSr jOrA== 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=uwEFB+n8jzgBOSk2C3H/6xokuIz4qQiZ4b37+aioklo=; fh=bWjVwRPEct1Mqf2U5x4+WjsOtY0t9QZ5cer/BT7tb7A=; b=nRtHFPRNWp/bamHbcHAmbOHbMYFD2G+I9Yl6AQcoPK65oHyXGmzvXdEFVppsbf0EpP BgzIMSaL26qg4zAnJwjEcoN964JMtPEIjD0YIxrUj1Gulyx37KsHrSqZW8qL9l3YGH17 RBLguG2xNi6DvNEBPodpHU7KQVdNzxGzqFf9PEZ3j2gC5Ugey1T8P3DS08d4JOl0tL17 grX0CmMBB9nUEWlm+9tllXB6a6gxPlLgIuvT4m1l/cfRFbrCb3vMOCi3PIjZuZ9suprX lD0I5b0YU6Da5ma6GL6t3CWWSoTfVKrmXeNqzf5r+2vLsCUS1uDHKw8lYm0gV0+yKjdk 8Crg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cs7sirs9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c2-20020a056a000ac200b006cb6fc94847si11375522pfl.172.2023.12.14.05.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 05:17:47 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cs7sirs9; 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; 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 lipwig.vger.email (Postfix) with ESMTP id D21F78160390; Thu, 14 Dec 2023 05:17:23 -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 S229599AbjLNNQ4 (ORCPT + 99 others); Thu, 14 Dec 2023 08:16:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjLNNQz (ORCPT ); Thu, 14 Dec 2023 08:16:55 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41CA610E for ; Thu, 14 Dec 2023 05:17:02 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2EFFC433C8; Thu, 14 Dec 2023 13:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702559821; bh=JHyomd0Q9NPn9A6jdZewEr+8uII5CmAyP0V6PrfA4bA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cs7sirs9h0XVwnqWYZLR/SKUFu2N9cpp0Yiz0d+uM6Gx48N7jql/U1q1F0Baw8AK0 KAsMhLeqa+jA25Lv7z282d9rx/9Bx3RtE/7rtOpsLo2hAMJVn/cb8uNlOCUh9G1tRa Q4BlAFF9y8gqm4V1uwSrFjju+NkuQAPifpstroy8LPfPit/KVjSN39cF+u1fdTDuFr wxH9zOBWW1Jj+JAaA2/6ttNAWNB3DcevrU39jZyxIV3queyCIejv1lioZzsj2CMqI5 YpAEj54TSUVWnVHEfGb4FtOIqjOnmePv+hf2aM31ld4yumAISfJy8yxIVIZjHqK8C8 P5OilGkQLL67g== Date: Thu, 14 Dec 2023 13:16:55 +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: <20231214-tinderbox-paver-d1ff0fc5c428@spud> References: <20231208-reenter-ajar-b6223e5134b3@spud> <20231208-palpitate-passable-c79bacf2036c@spud> <20231212-unreeling-depose-8b6b2e032555-mkl@pengutronix.de> <20231213-waffle-grueling-3a5c3879395b@spud> <20231214-tinderbox-glitzy-60d1936ab85f-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8sbtDukOq8t99rKn" Content-Disposition: inline In-Reply-To: <20231214-tinderbox-glitzy-60d1936ab85f-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 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]); Thu, 14 Dec 2023 05:17:24 -0800 (PST) --8sbtDukOq8t99rKn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 14, 2023 at 12:31:04PM +0100, Marc Kleine-Budde wrote: > 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 _an= d_ a > > > > CAN bus clock. The bus clock was omitted when the binding was writt= en, > > > > 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= controller") > > > > 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,mp= fs-can.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. > >=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. >=20 > ACK, but we need the clock rate of CAN clock. Does this binding check > that the CAN clock rate is the 2nd one? The items list requires that the can clock be the second one, so drivers etc can rely on that ordering. --8sbtDukOq8t99rKn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXsARwAKCRB4tDGHoIJi 0h9wAP903owgON0b07MdLtwGROU5QzSNFLxoBOqorLvQyAIqpAD+NUlz2g5CmXeF 4jrpFftFyQNgWbQ8mC2atxX5XKUNvA4= =LB6e -----END PGP SIGNATURE----- --8sbtDukOq8t99rKn--