Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2620696pxj; Mon, 10 May 2021 07:11:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaGPzcNjDESOBvAd1U2T7decRmQYsa+pYjTYKj8W73sf8YoNZ65nlcC2w7x5X0nR/AX63j X-Received: by 2002:aa7:d8ce:: with SMTP id k14mr30378219eds.248.1620655892496; Mon, 10 May 2021 07:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620655892; cv=none; d=google.com; s=arc-20160816; b=AHp8kjssUwVGv/a1vFI2+D4PGKutKwpoE9ySAw70tNCvt0WbtAGpKFVh+7bIaPEm7L Trhuq0NvzVXd5qhmpM7BpHuzVqi4Okm2ZYP++MoQ83tpWnGrztPJB6yVXz2ChTXyAiE3 S9vc/Xnh19V+oL4BAgGoeP0CmILD2fAMnHM5DiIgIfeaPcYGAnTHUGbWMq3M872H1JaW 2yfvmM4qG/UM5c/mcPl/zmww3jcmgFdXz9pm0ri1X1LUEpcHLdxKcR33Wjwi+cTspY97 RXmcBDhfKbe6nBgApiwoiJCiSvx78riP0jvgCPhnyf3rAIPj+uQv0XT7NBrCJbnBlGdQ 63IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=JKsO3/Ex9MYUNGYvtUUsilRIUDXYRO1OT6ejMhv7T8k=; b=gS703e+HFHSNTBpuhkUQVE/FpMKtB5mh/vRyqTmAm+KlFOCayTg+cfza9WGuzo60RV /roOD7EBfPWdSGa1DeToOXV0MMK2D/WdcNYy+M8myiRiJJ8vltoYznfAcEe1tfK2dhn3 ExHrep/W5U1DsfyZrFzYriZjs6zyDx7D0yrPUeIdOJdWKRdrJyTbxBUVRkUfNNUJiJWg 7RJkNWLZVN2p80588KKnUCARGNrGPNJPZaik/hBJYKL0jGuCrnAEIN8MO6qFvE+Mh3XV GSq9ADB2eDg7Yr3S8JYy0KFHK7seSYCgUHu7C4UxvllqHMZbdTec3g3KqS5bypIb9dEj 48rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si13001925ejx.546.2021.05.10.07.11.08; Mon, 10 May 2021 07:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344237AbhEJOJw (ORCPT + 99 others); Mon, 10 May 2021 10:09:52 -0400 Received: from mail-ot1-f45.google.com ([209.85.210.45]:44556 "EHLO mail-ot1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236259AbhEJOC5 (ORCPT ); Mon, 10 May 2021 10:02:57 -0400 Received: by mail-ot1-f45.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so14477675otp.11; Mon, 10 May 2021 07:01:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject:date :message-id; bh=JKsO3/Ex9MYUNGYvtUUsilRIUDXYRO1OT6ejMhv7T8k=; b=IAZHduJ4ITLsJb1ZPAZwrEwfPXhROp8zcUw7QyqEFNUdO/ESryuNkA+N5UEYXp5GMK jwoo8skjwFUhLvoO/Ks1Fe4dS4/6hASWa06xuQlRCvGiNWW8Xe022amps1+JTFaroGHv EshcFTUHMorSOhrUv1cCttjyQKN3Vxo9XIclCEF9bkGYS2AXD8HlscbSa9gYZVaefJpx xciBmgIjhN5owv3790CMOkPjT9imtk0SsIgilfifRDKlNb6irEg8TyNwN9KEl7EmlGky 7Qnqmsa7JWlFHd1jCn/gVf0N2vayd9V9ZyswpcYyxveb/QAfEM6UxL4FFYsbIrMFhNsA d9Rg== X-Gm-Message-State: AOAM532Cqf0n+um1U7VtBR1qmWdcH47sBHGZGhBy4fykrpOV6iCBUQ7m gSyvUOtL94hLEXaYQbpiUxIhoPI8fA== X-Received: by 2002:a05:6830:17cb:: with SMTP id p11mr22366787ota.283.1620655310131; Mon, 10 May 2021 07:01:50 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 64sm2648753oob.12.2021.05.10.07.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 07:01:48 -0700 (PDT) Received: (nullmailer pid 41441 invoked by uid 1000); Mon, 10 May 2021 14:01:39 -0000 From: Rob Herring To: Billy Tsai Cc: linux-arm-kernel@lists.infradead.org, p.zabel@pengutronix.de, linux-pwm@vger.kernel.org, BMC-SW@aspeedtech.com, linux-aspeed@lists.ozlabs.org, andrew@aj.id.au, linux-kernel@vger.kernel.org, lee.jones@linaro.org, robh+dt@kernel.org, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, devicetree@vger.kernel.org, joel@jms.id.au In-Reply-To: <20210510073511.7291-2-billy_tsai@aspeedtech.com> References: <20210510073511.7291-1-billy_tsai@aspeedtech.com> <20210510073511.7291-2-billy_tsai@aspeedtech.com> Subject: Re: [v4 1/2] dt-bindings: Add bindings for aspeed pwm-tach. Date: Mon, 10 May 2021 09:01:39 -0500 Message-Id: <1620655299.806171.41440.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 May 2021 15:35:10 +0800, Billy Tsai wrote: > This patch adds device binding for aspeed pwm-tach device which is a > multi-function device include pwm and tach function and pwm/tach device > bindings which should be the child-node of pwm-tach device. > > Signed-off-by: Billy Tsai > --- > .../bindings/hwmon/aspeed,ast2600-tach.yaml | 66 +++++++++++++++ > .../bindings/mfd/aspeed,ast2600-pwm-tach.yaml | 82 +++++++++++++++++++ > .../bindings/pwm/aspeed,ast2600-pwm.yaml | 62 ++++++++++++++ > 3 files changed, 210 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml > create mode 100644 Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml > create mode 100644 Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml > 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/linux-dt-review/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml: Additional properties are not allowed ('child-node' was unexpected) hint: Keywords must be a subset of known json-schema keywords from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml: 'child-node' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'patternProperties', 'properties', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select'] from schema $id: http://devicetree.org/meta-schemas/base.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml: 'additionalProperties' is a required property hint: A schema without a "$ref" to another schema must define all properties and use "additionalProperties" from schema $id: http://devicetree.org/meta-schemas/base.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml: Additional properties are not allowed ('child-node' was unexpected) hint: Keywords must be a subset of known json-schema keywords from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml: 'child-node' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'patternProperties', 'properties', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select'] from schema $id: http://devicetree.org/meta-schemas/base.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml: 'additionalProperties' is a required property hint: A schema without a "$ref" to another schema must define all properties and use "additionalProperties" from schema $id: http://devicetree.org/meta-schemas/base.yaml# schemas/pwm/aspeed,ast2600-pwm.yaml: ignoring, error in schema: schemas/hwmon/aspeed,ast2600-tach.yaml: ignoring, error in schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml: Additional properties are not allowed ('child-node' was unexpected) hint: Keywords must be a subset of known json-schema keywords from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml: 'child-node' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'patternProperties', 'properties', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select'] from schema $id: http://devicetree.org/meta-schemas/base.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml: 'additionalProperties' is a required property hint: A schema without a "$ref" to another schema must define all properties and use "additionalProperties" from schema $id: http://devicetree.org/meta-schemas/base.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/hwmon/aspeed,ast2600-tach.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/pwm/aspeed,ast2600-pwm.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml: ignoring, error in schema: warning: no schema found in file: ./Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.yaml Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.example.dt.yaml:0:0: /example-0/pwm_tach@1e610000: failed to match any schema with compatible: ['aspeed,ast2600-pwm-tach', 'syscon', 'simple-mfd'] Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.example.dt.yaml:0:0: /example-0/pwm_tach@1e610000/pwm: failed to match any schema with compatible: ['aspeed,ast2600-pwm'] Documentation/devicetree/bindings/mfd/aspeed,ast2600-pwm-tach.example.dt.yaml:0:0: /example-0/pwm_tach@1e610000/tach: failed to match any schema with compatible: ['aspeed,ast2600-tach'] See https://patchwork.ozlabs.org/patch/1476200 This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. 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.