Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2525663rdb; Fri, 8 Dec 2023 10:31:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMNeYHqOSiVTqfpBzBF6y9kWUDNbkzBNflbmm01y1swnardfK49Gpf6IGaueAB49gjXIaO X-Received: by 2002:a05:6a20:6d88:b0:18f:97c:9274 with SMTP id gl8-20020a056a206d8800b0018f097c9274mr408891pzb.89.1702060316074; Fri, 08 Dec 2023 10:31:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702060316; cv=none; d=google.com; s=arc-20160816; b=mOoGsMrNhy0oE9x0sdHBiRpW8cj46w8/fxu4h9oyHFqFpFx6viziQ/sullUkWNAb9s ZqkN7XPUEGTr0oO3lP3Jhc/LKsCxRgiC8HdpUtXxYA8hU1i38CeC/iDsou3xZKDYw1L7 W1vBvXIA7PlbokZ8XfsSzki49c6EKrkZSVvL5ic995Z1fnLY0pyVaFM+A+mfctxb0IXj 8u7Nnpi6r6Capa3FR3J+C+VKygrsGptsRARj1IeXCq56PBMbVa105CQfB7ZiLx692mWW COIZCaxWkHswTxlgc6qiiSIapoIT9OgNKOMQE0TdH3w1rD1pZOsM7L2JYA9fgJM19Yrn uyHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding; bh=v+yJeduNngKCWy3/DH0y84rogwCflce9ufqE8UYu448=; fh=aMX1HD23MPWxT5brQGXxpkBMiTEDnL6Xy10yMutmsOU=; b=XpNaQya8urU7qzqqZRAkC/S+i4VV7qOrIpVB3t14tJvG7hJ2VEaI5pY9yfPCbwiBxS vyig/I3Agsiwv0G6eI16mZXXGgzAzODEIKsmgK88+5o6K90kxKULuBfCAhV5WW4kX/QR vobPLq+iLq+mtbZ3mdjtX2qBVwlyPNKQ4SabQ9xPpoOQTC2EkIOobea8O1NNp2+kdg1T DJo/DBr/UMugCWmb/K8bphjxCOqOJ6xxLvgXtqgrpiVlFawwaLUJMmhCJoltq3saTmAp OnSb8ZTXHvOny3sujUrIPoC+m2dkfItJQgo6rz82MeEM4ynk+FYH7j15/rFbGzFMXWih SwJw== 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: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 cj25-20020a056a00299900b006cd905021d4si1922313pfb.367.2023.12.08.10.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:31:56 -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; 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 09BD780964FD; Fri, 8 Dec 2023 10:31:18 -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 S233827AbjLHSbB (ORCPT + 99 others); Fri, 8 Dec 2023 13:31:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbjLHSa7 (ORCPT ); Fri, 8 Dec 2023 13:30:59 -0500 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B174BD; Fri, 8 Dec 2023 10:31:03 -0800 (PST) Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-6d9f7af8918so218560a34.0; Fri, 08 Dec 2023 10:31:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702060262; x=1702665062; h=date:subject:message-id:references:in-reply-to:cc:to:from :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=v+yJeduNngKCWy3/DH0y84rogwCflce9ufqE8UYu448=; b=DTZWEvGkrzLRVyFaf2n1WVyiGQFjsweGp3Gj2cuBhEKA85U/g2mjBA9ZaICa72S0E8 W26fuAQgdKhZ0VIr0Uvlt5xRsIPKzdrfhKhBAEF2E2YYg09TdYbHM94QbD7ougo3g0Bv uBrpSkQLCccLYUtHSBWxfOSb8n0hjSogSyR9a5KtHT+uG5x1Plc3J6U6DWAjyMKecWGA IbpIIgH4iJgW8MC/qXVA290UTny5ho6b/+QCJ1H92LYq+FOtJS49eZ6ImDYlb4la74PK aMBnxcnZGH2BwMyL1Mft0NZTj1aoTGcSy3/N1GC/2D82F9KrUlJ6FJRAMcYLE4gc7m/7 CCrQ== X-Gm-Message-State: AOJu0Yxlvsv6aTOM1rHC3XDS30O0NntO+L3zEY7VsXHSiqA9HCfV8Obp HI8k5CNbSi6GTay6kIpChg== X-Received: by 2002:a05:6870:7029:b0:1fb:75b:2fd4 with SMTP id u41-20020a056870702900b001fb075b2fd4mr579114oae.107.1702060262327; Fri, 08 Dec 2023 10:31:02 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id hb5-20020a056870780500b001fb1e0a25e8sm507468oab.26.2023.12.08.10.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 10:31:01 -0800 (PST) Received: (nullmailer pid 2485978 invoked by uid 1000); Fri, 08 Dec 2023 18:31:00 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Conor Dooley Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Turquette , Rob Herring , 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" In-Reply-To: <20231208-palpitate-passable-c79bacf2036c@spud> References: <20231208-reenter-ajar-b6223e5134b3@spud> <20231208-palpitate-passable-c79bacf2036c@spud> Message-Id: <170206026051.2485962.13304186324857333888.robh@kernel.org> Subject: Re: [PATCH RESEND v1 2/7] dt-bindings: can: mpfs: add missing required clock Date: Fri, 08 Dec 2023 12:31:00 -0600 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 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]); Fri, 08 Dec 2023 10:31:18 -0800 (PST) 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# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231208-palpitate-passable-c79bacf2036c@spud The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.