Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2883549rwd; Wed, 14 Jun 2023 08:27:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4AM+Lzo78XvHNxKVLThOPz8MHA8rogxke2Jqp0Ca4Mm7GTnUF3GjdzmoTWpiEqliK+Drfn X-Received: by 2002:a17:902:6b8b:b0:1b1:b50c:e330 with SMTP id p11-20020a1709026b8b00b001b1b50ce330mr10708401plk.2.1686756463040; Wed, 14 Jun 2023 08:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686756463; cv=none; d=google.com; s=arc-20160816; b=TOBi7lIqCetH3YI/fiZ/28jbLjFyOinsJ5gxWn1Rf/fUxeREsKu2s45cXQ11fVa3yB TyTtUXqvCFlqChuLWgaae5pqTR75dwENMssTmeEyaAw9p22+h+TawaCG3BHxduJb9i1N ENFcEFCT4nvds1VY5iwSHmZW6+5Y2lHWyekYHL9Vv8ZOm8dudZekZS+z14hSPOLNJNjy FbQ6/fvm49iODQrIPUdXruvZHRO5VhNXuJPdhblcef1lyvGLhBYcE3qwyvSeR4mBeWSy 5ujzSXVpjApMbnAcczfdnOi0ENQBo9l/zmXykv1551C7sYbia/BKumVQeXZgMvDFHif9 wmpQ== 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=//LQdmeIx8VDOjysyrkzNeX5nkq2mzKxfmFr/6gfOOo=; b=LdsnQHHXySikb1SZi5woVIxTFAwBZ/Xdl76HqR4LPi67GnaUzow3cRgrdSz1rxi/UE DIbKgJHh4pFcRbLqb6cftvme895SmdqNUtNqCpkQbGxJvrTvYzoIHBx7eUhOJY4p9As+ cCD77+D6+x618CLGkyUMRkCHE2fNlqCJXf4lPHRRDJ1A1hl/hoBnaKtvzKIzSdw2Z/Bx pVd98/9+amb5IJhbXGM6LoYwc+xNjhmQyqBAYjT4hHnLBrhTtOCzk1Mn5QwVRV2WigiK zY3oS/RmKgvC774GYmFp4OKsAdyOVk/0z9uy8IWoUb8d+mDMRXaCFBd3yO7Sk6L9JCOO gv3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s10-20020a170902a50a00b001a51bb4ad81si10547994plq.44.2023.06.14.08.27.30; Wed, 14 Jun 2023 08:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S245560AbjFNOYG (ORCPT + 99 others); Wed, 14 Jun 2023 10:24:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236151AbjFNOYE (ORCPT ); Wed, 14 Jun 2023 10:24:04 -0400 Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 576A01BC6; Wed, 14 Jun 2023 07:24:03 -0700 (PDT) Received: by mail-il1-f176.google.com with SMTP id e9e14a558f8ab-33b1e83e1daso29019675ab.0; Wed, 14 Jun 2023 07:24:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686752642; x=1689344642; 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=//LQdmeIx8VDOjysyrkzNeX5nkq2mzKxfmFr/6gfOOo=; b=AFd2OrXBZq/X2W43HDwvFM4WCSp+qHM8IKvsA9wYQMb3wtPkmO3LwE4ro/YrdDeOrU dZiCkdvOE6FFH5/7nmcVr4cBfe0E41Btck7YEwptOB6pxqNdkPHPNMKYTUu0dXn8G4QS LrK4gS/GlF5GWDJ4ED5oA0R0iWGkHctMJTHRs6vfXdlYNHauMn9qIgBKczXUk7jiCsoW l9g0ypS7aa07GUzcaFnD5ZbH6cghi/+pTIUe71EHR0BjoYyMUWbK6C6QQ60fJ1nq7UfI mLRhld5KmDJZdP3Ta3dYGluolFbGfzs235jJ2rnyQ/cmE8/2bRkpJEuRJacs6PxEAyxf a2ag== X-Gm-Message-State: AC+VfDxPkm+uQpsmmA0Dde3hDB6A0uu8g6bdgcpz8iQk5Hf4TFrMnh5+ CUA88MGRnnyXyMllR28kCA== X-Received: by 2002:a92:db47:0:b0:33d:a34a:2d42 with SMTP id w7-20020a92db47000000b0033da34a2d42mr12955717ilq.20.1686752642282; Wed, 14 Jun 2023 07:24:02 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id c5-20020a02a405000000b0041848ea6594sm4885425jal.34.2023.06.14.07.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 07:24:01 -0700 (PDT) Received: (nullmailer pid 1344045 invoked by uid 1000); Wed, 14 Jun 2023 14:23:58 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Maksim Kiselev Cc: Rob Herring , Philipp Zabel , devicetree@vger.kernel.org, Andre Przywara , Conor Dooley , linux-arm-kernel@lists.infradead.org, Palmer Dabbelt , Conor Dooley , Lars-Peter Clausen , linux-riscv@lists.infradead.org, Ramona Bolboaca , Albert Ou , William Breathitt Gray , Jonathan Cameron , Cosmin Tanislav , Arnd Bergmann , Chen-Yu Tsai , Krzysztof Kozlowski , linux-iio@vger.kernel.org, Ibrahim Tilki , Miquel Raynal , Samuel Holland , Paul Walmsley , ChiYuan Huang , =?UTF-8?Q?Leonard_G=C3=B6hrs?= , Hugo Villeneuve , Caleb Connolly , linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Jernej Skrabec , Cristian Ciocaltea , ChiaEn Wu , Haibo Chen , Andy Shevchenko , Mike Looijmans In-Reply-To: <20230614132644.699425-3-bigunclemax@gmail.com> References: <20230614132644.699425-1-bigunclemax@gmail.com> <20230614132644.699425-3-bigunclemax@gmail.com> Message-Id: <168675263824.1343935.18392695577959894991.robh@kernel.org> Subject: Re: [PATCH v6 2/3] dt-bindings: iio: adc: Add Allwinner D1/T113s/R329/T507 SoCs GPADC Date: Wed, 14 Jun 2023 08:23:58 -0600 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 On Wed, 14 Jun 2023 16:26:26 +0300, Maksim Kiselev wrote: > Allwinner's D1/T113s/R329/T507 SoCs have a new general purpose ADC. > This ADC is the same for all of this SoCs. The only difference is > the number of available channels. > > Signed-off-by: Maksim Kiselev > Reviewed-by: Conor Dooley > --- > .../iio/adc/allwinner,sun20i-d1-gpadc.yaml | 91 +++++++++++++++++++ > 1 file changed, 91 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.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/dt-review-ci/linux/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml: patternProperties:^channel@[0-9a-f]+$:properties:reg:items: 'oneOf' conditional failed, one must be fixed: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml: patternProperties:^channel@[0-9a-f]+$:properties:reg:items: 'anyOf' conditional failed, one must be fixed: 'Maksimum' is not one of ['$ref', 'additionalItems', 'additionalProperties', 'allOf', 'anyOf', 'const', 'contains', 'default', 'dependencies', 'dependentRequired', 'dependentSchemas', 'deprecated', 'description', 'else', 'enum', 'exclusiveMaximum', 'exclusiveMinimum', 'items', 'if', 'minItems', 'minimum', 'maxItems', 'maximum', 'multipleOf', 'not', 'oneOf', 'pattern', 'patternProperties', 'properties', 'required', 'then', 'typeSize', 'unevaluatedProperties', 'uniqueItems'] 'type' was expected from schema $id: http://devicetree.org/meta-schemas/core.yaml# {'minimum': 0, 'Maksimum': 15} is not of type 'array' from schema $id: http://devicetree.org/meta-schemas/core.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml: patternProperties:^channel@[0-9a-f]+$:properties:reg: 'anyOf' conditional failed, one must be fixed: 'maxItems' is a required property hint: Only "maxItems" is required for a single entry if there are no constraints defined for the values. 'items' is not one of ['maxItems', 'description', 'deprecated'] 'items' is not one of ['description', 'deprecated', 'const', 'enum', 'minimum', 'maximum', 'multipleOf', 'default', '$ref', 'oneOf'] /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml: patternProperties:^channel@[0-9a-f]+$:properties:reg:items: 'oneOf' conditional failed, one must be fixed: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/iio/adc/allwinner,sun20i-d1-gpadc.yaml: patternProperties:^channel@[0-9a-f]+$:properties:reg:items: 'anyOf' conditional failed, one must be fixed: 'maxItems' is a required property hint: Only "maxItems" is required for a single entry if there are no constraints defined for the values. 'minimum' is not one of ['maxItems', 'description', 'deprecated'] 'Maksimum' is not one of ['maxItems', 'description', 'deprecated'] Additional properties are not allowed ('Maksimum', 'minimum' were unexpected) hint: Arrays must be described with a combination of minItems/maxItems/items 'Maksimum' is not one of ['description', 'deprecated', 'const', 'enum', 'minimum', 'maximum', 'multipleOf', 'default', '$ref', 'oneOf'] hint: cell array properties must define how many entries and what the entries are when there is more than one entry. from schema $id: http://devicetree.org/meta-schemas/core.yaml# {'minimum': 0, 'Maksimum': 15} is not of type 'array' hint: "items" can be a list defining each entry or a schema applying to all items. A list has an implicit size. A schema requires minItems/maxItems to define the size. from schema $id: http://devicetree.org/meta-schemas/core.yaml# hint: cell array properties must define how many entries and what the entries are when there is more than one entry. from schema $id: http://devicetree.org/meta-schemas/core.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230614132644.699425-3-bigunclemax@gmail.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.