Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2620855rdb; Fri, 8 Dec 2023 13:46:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGnT9fus7jQTNzV7291gk/sjekTx1wroORFbekJOd8uB6qF4O8JGXhzPDjL3mv/ztVtqo1 X-Received: by 2002:a17:902:704c:b0:1d0:6ffd:9e23 with SMTP id h12-20020a170902704c00b001d06ffd9e23mr722637plt.117.1702071989457; Fri, 08 Dec 2023 13:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702071989; cv=none; d=google.com; s=arc-20160816; b=HymTOK3O2jwbfNT6taaukGj+AxS9HaMWsDQOOstvP0PEoXhokjVW0+f8ZmLmjluoq5 PV9VVp7Ch66v65RsieSfTb+ZIiD3QpQXhQkuKg8fjOKtdwcoXvwYGTny2PUaE/kYok+j MAdZ7QB9rWnooRAj99cJ6mM/5NIdMpUW7hxCS1iFVYKmLFqKu8an5NhJdmKZJE+DCd8c P2LmZ8eerRnsj8KiWMoSRokDJWAHtItuYICDNMbz3G6OyT341PVjfk3KMVTPu3n/h7E+ YxvjFuNHDv4e4hkUY2ObBr1NecL1/vEhhYLvasNYEwmWJ6EzbrbWJFqJ4un1evrSckc+ lpFA== 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=CAfN68Sm3Ma2VnLB4uj+2M8nBwQbTqyO/LCdJPBLHVk=; fh=QoYqANI+8kpODGcg0Z0eS+FvRqp7FrXiR6g1zl3s2N4=; b=DTJ7vhr5EF6Tqu1/3tLoFCb2z4MbFjVZcZY9nh6uSGJ/F9qnHeYnx/TCi/CS04vRq7 BTGBdNlTCDAQ8oCpiEAGD+6Gb7IyfVo2h5cAz0u89OwOtZXsIJJUOjIVYzJtrdZePoWF YkjGOI5bdQwkYRzZx4fu1vkceg7TEtUdZtfeO2dynDzXuQmM3FbAq+beH9a4LjEVxMlm 9WGTDzlySCANxQDXrUyZlY6mElC4a28pqdFn2pNAxJMdkq6Pwdu5LMWg1phIj6IE1Sqc 1pEovInao/uX3Sppp1Ad5hS6L8JfCSvZCl5ZOHEfy6buscAluFBc5tjezxKMlKn9xV4e 5LGw== 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; 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 d16-20020a170902ced000b001d0d312bc13si2155924plg.401.2023.12.08.13.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:46:29 -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; 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 09C0581EEBF8; Fri, 8 Dec 2023 13:46:27 -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 S1574793AbjLHVm2 (ORCPT + 99 others); Fri, 8 Dec 2023 16:42:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234176AbjLHVm1 (ORCPT ); Fri, 8 Dec 2023 16:42:27 -0500 Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91E13198A; Fri, 8 Dec 2023 13:42:33 -0800 (PST) Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-6d9dc789f23so1284253a34.3; Fri, 08 Dec 2023 13:42:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702071753; x=1702676553; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CAfN68Sm3Ma2VnLB4uj+2M8nBwQbTqyO/LCdJPBLHVk=; b=a4w4GlhL/az785aU+qrXETD6+OL6D6GbWeWjCj7v9QN5fAj60HBfgzgrlk9BZ1pVnx 5HFPqXsa5tUnpeTzyILT8WnfA5dQR5PnI60DVH5ovcUDok6LmvO8013aM/9vfSqdx30T upql/dIxXs4gAxJbRZrT9BioimMOt4DFAYtHqFvR32nvH61folMpxxH6PWp0igUsFcrh iXj2CR/UeOhVOnmPxRRCrsc1MDXqXPs0biM3IYNHYw1OScBFV/OdLeuSo0+FZVBqp63e sp+NyXNmjbgh7GdxQTqTGILnhF4eIC7spEE5gUj4XuWCQCh6KfyWC7VgxSHRw+zHbDu0 V9fw== X-Gm-Message-State: AOJu0Yz0vlOdLJFUGFrmD3ecGgowEbI2fe6r1PaDms9tM/kuwnsszcVf krmv6d3sIaixsozScG7Lcg== X-Received: by 2002:a05:6870:1b0f:b0:1fb:75a:c415 with SMTP id hl15-20020a0568701b0f00b001fb075ac415mr846554oab.62.1702071752839; Fri, 08 Dec 2023 13:42:32 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id gb8-20020a056870670800b001fb4aaf261csm607175oab.32.2023.12.08.13.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 13:42:32 -0800 (PST) Received: (nullmailer pid 2852367 invoked by uid 1000); Fri, 08 Dec 2023 21:42:30 -0000 Date: Fri, 8 Dec 2023 15:42:30 -0600 From: Rob Herring To: Conor Dooley Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , Jakub Kicinski , linux-can@vger.kernel.org, Krzysztof Kozlowski , Paul Walmsley , Albert Ou , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Daire McNamara , Wolfgang Grandegger , Conor Dooley , linux-riscv@lists.infradead.org, Eric Dumazet , Marc Kleine-Budde , Palmer Dabbelt , Paolo Abeni , "David S. Miller" Subject: Re: [PATCH RESEND v1 2/7] dt-bindings: can: mpfs: add missing required clock Message-ID: <20231208214230.GA2850699-robh@kernel.org> References: <20231208-reenter-ajar-b6223e5134b3@spud> <20231208-palpitate-passable-c79bacf2036c@spud> <170206026051.2485962.13304186324857333888.robh@kernel.org> <20231208-contusion-professed-3b2235f7d3df@spud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231208-contusion-professed-3b2235f7d3df@spud> X-Spam-Status: No, score=-1.0 required=5.0 tests=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]); Fri, 08 Dec 2023 13:46:27 -0800 (PST) On Fri, Dec 08, 2023 at 07:25:39PM +0000, Conor Dooley wrote: > On Fri, Dec 08, 2023 at 12:31:00PM -0600, Rob Herring wrote: > > > > On Fri, 08 Dec 2023 17:12:24 +0000, Conor Dooley wrote: > > > From: Conor Dooley > > > > > > 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. > > > > > > Cautionary tale in adding bindings without having implemented a real > > > user for them perhaps. > > > > > > 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(-) > > > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml: properties:clocks: {'maxItems': 2, 'items': [{'description': 'AHB peripheral clock'}, {'description': 'CAN bus clock'}]} should not be valid under {'required': ['maxItems']} > > hint: "maxItems" is not needed with an "items" list > > from schema $id: http://devicetree.org/meta-schemas/items.yaml# > > > Oh dear, me of all people. Happens to the best of us. :)