Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3308108rdh; Thu, 28 Sep 2023 08:10:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmpfZIkvapBUN3G4IywaWZAMSleMxHS311NChBr334G9IeMKpN+RfFARLRSHv+BOy4TBRp X-Received: by 2002:a05:6a20:8408:b0:134:d4d3:f0a8 with SMTP id c8-20020a056a20840800b00134d4d3f0a8mr1650097pzd.3.1695913803033; Thu, 28 Sep 2023 08:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695913803; cv=none; d=google.com; s=arc-20160816; b=XMFwwr1x0MZCSiEl4YyrWKZsJJtGhOtpuCTkdmJFsNjQJWTXt3i6kvoInKmU98UL4q ZkpVqvlDmKTuewGQP16+9+kRHt+qB3Sr5xHuIIM/rAV1o+YM8RMlQAcLNLrhfsRGCCyg f3rafmGI+7hf2BH+h/XIXzpfWM5U99QlMop3OJkllJOzq+S45eGcs/U2bRGklJ0OEklL ZqnJakKjKxBjxeIfp/xHpcJMHOp7KGLIQX02im+vINZgBnU3qN885LmnC2s+Qhuk2gz5 lGhaCnHjJWodqiGBcxhy0pohWuOndHIICuxKjGHlA+of54JAANPN9YvAeQfEPfE7sdfE LUAg== 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:dkim-signature; bh=7ADbRJMCnhQxlygeg8yUGEgA3AQkoMO4DxBAB28uAAU=; fh=ERNfcxdpGLDVCuX/irjF9wOQ5Q9mvHh6x2nt1Kx1y5c=; b=Si9U5u5Qsl3HdbqXOLucqD69LpXsezYIXdEUnamtqyHx927JnQD4ej38d2TrMDCVCb 3d98EIJ3adTLMliaInf0uqng/fD9K6hgGAueWkheLMDP6SLdGNs98tnui3bqJYf7z4zo fL9H0C/H4Lk+Nt+hZENj2b8Ugnpwk1OAyfMV1sfkKI4W5k6N+wVbamYxlT7HEpKZiEsx WoQ7xX9WdcebfOpD8nfvq50yPFGKMA+h9wa8CZWOMxXTL8etPqdLrkvtMM2DjxZmZwY7 FYmcFiDwOYR72mePgNmGyzV2N6KleZRiMZ7mDWkVEdI2CwkJ/SQNIg9zFu4Mc4r/u7Ye V0TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r9fyjiAJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id r3-20020a632b03000000b0056fc3ceaba4si18440648pgr.432.2023.09.28.08.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r9fyjiAJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 02E63820DA2B; Thu, 28 Sep 2023 07:47:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231263AbjI1Or1 (ORCPT + 99 others); Thu, 28 Sep 2023 10:47:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230466AbjI1OrU (ORCPT ); Thu, 28 Sep 2023 10:47:20 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BBD1AE; Thu, 28 Sep 2023 07:47:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7281C43395; Thu, 28 Sep 2023 14:47:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695912438; bh=ImbJJt6lxA8I9pgmrzl1yvRbcB2Hjbk9mPdoIz4rOhc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=r9fyjiAJjrsDcK5xUPyR39tdDZzscjdbcTlaVXqFYJ7f8ZiyLNT+hvLyGmwBuT1EX CCuLc5/7IIiDZSFbAAbJyhLe9tbjkUY2J9fam3hQm2VVKETUs68AZztINVKfPjPvWq c3nPwq9X/9C7W56zW5IzaZXzAb6A+MnKL2HryVomatX0iSPwiITU3hPTuheVLwK4J/ pfQFCuBZDMVefdsco7rJxZz2BlRHnqbDSF2ZPepWvgOteyqUkxP1EkJ913nZVtx6tv 2pXlC19w43Orm43W3l2poUcEWHscncVxInCoqkpq7dwTuCDUDbzz9al6fchGSi7FGR X9P2qRZlW2c+w== Received: (nullmailer pid 408734 invoked by uid 1000); Thu, 28 Sep 2023 14:47:11 -0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Xianwei Zhao Cc: Jerome Brunet , Stephen Boyd , Martin Blumenstingl , linux-amlogic@lists.infradead.org, Rob Herring , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , linux-arm-kernel@lists.infradead.org, Kevin Hilman , Krzysztof Kozlowski , devicetree@vger.kernel.org, Michael Turquette In-Reply-To: <20230928063448.3544464-3-xianwei.zhao@amlogic.com> References: <20230928063448.3544464-1-xianwei.zhao@amlogic.com> <20230928063448.3544464-3-xianwei.zhao@amlogic.com> Message-Id: <169591240804.408241.17087442588468882782.robh@kernel.org> Subject: Re: [PATCH 2/4] dt-bindings: clock: add Amlogic C3 peripherals clock controller bindings Date: Thu, 28 Sep 2023 09:47:11 -0500 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 07:47:41 -0700 (PDT) On Thu, 28 Sep 2023 14:34:46 +0800, Xianwei Zhao wrote: > Add the peripherals clock controller dt-bindings for Amlogic C3 SoC family > > Signed-off-by: Xianwei Zhao > --- > .../clock/amlogic,c3-peripherals-clkc.yaml | 86 +++++++ > .../clock/amlogic,c3-peripherals-clkc.h | 230 ++++++++++++++++++ > 2 files changed, 316 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/amlogic,c3-peripherals-clkc.yaml > create mode 100644 include/dt-bindings/clock/amlogic,c3-peripherals-clkc.h > 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/clock/amlogic,c3-peripherals-clkc.yaml: properties:clocks: 'oneOf' conditional failed, one must be fixed: [{'description': 'input oscillator (usually at 24MHz)'}, {'description': 'input fixed pll'}, {'description': 'input fixed pll div2'}, {'description': 'input fixed pll div2p5'}, {'description': 'input fixed pll div3'}, {'description': 'input fixed pll div4'}, {'description': 'input fixed pll div5'}, {'description': 'input fixed pll div7'}, {'description': 'input gp0 pll'}, {'description': 'input hifi pll'}] is too long [{'description': 'input oscillator (usually at 24MHz)'}, {'description': 'input fixed pll'}, {'description': 'input fixed pll div2'}, {'description': 'input fixed pll div2p5'}, {'description': 'input fixed pll div3'}, {'description': 'input fixed pll div4'}, {'description': 'input fixed pll div5'}, {'description': 'input fixed pll div7'}, {'description': 'input gp0 pll'}, {'description': 'input hifi pll'}] is too short False schema does not allow 10 1 was expected 10 is greater than the maximum of 2 10 is greater than the maximum of 3 10 is greater than the maximum of 4 10 is greater than the maximum of 5 10 is greater than the maximum of 6 10 is greater than the maximum of 7 10 is greater than the maximum of 8 10 is greater than the maximum of 9 hint: "minItems" is only needed if less than the "items" list length from schema $id: http://devicetree.org/meta-schemas/items.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/clock/amlogic,c3-peripherals-clkc.yaml: properties:clock-names: 'oneOf' conditional failed, one must be fixed: [{'const': 'xtal'}, {'const': 'fixed_pll'}, {'const': 'fclk_div2'}, {'const': 'fclk_div2p5'}, {'const': 'fclk_div3'}, {'const': 'fclk_div4'}, {'const': 'fclk_div5'}, {'const': 'fclk_div7'}, {'const': 'gp0_pll'}, {'const': 'hifi_pll'}] is too long [{'const': 'xtal'}, {'const': 'fixed_pll'}, {'const': 'fclk_div2'}, {'const': 'fclk_div2p5'}, {'const': 'fclk_div3'}, {'const': 'fclk_div4'}, {'const': 'fclk_div5'}, {'const': 'fclk_div7'}, {'const': 'gp0_pll'}, {'const': 'hifi_pll'}] is too short False schema does not allow 10 1 was expected 10 is greater than the maximum of 2 10 is greater than the maximum of 3 10 is greater than the maximum of 4 10 is greater than the maximum of 5 10 is greater than the maximum of 6 10 is greater than the maximum of 7 10 is greater than the maximum of 8 10 is greater than the maximum of 9 hint: "minItems" is only needed if less than the "items" list length from schema $id: http://devicetree.org/meta-schemas/items.yaml# Error: Documentation/devicetree/bindings/clock/amlogic,c3-peripherals-clkc.example.dts:23.31-32 syntax error FATAL ERROR: Unable to parse input tree make[2]: *** [scripts/Makefile.lib:419: Documentation/devicetree/bindings/clock/amlogic,c3-peripherals-clkc.example.dtb] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1427: dt_binding_check] Error 2 make: *** [Makefile:234: __sub-make] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230928063448.3544464-3-xianwei.zhao@amlogic.com 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.