Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4125507rwj; Tue, 20 Dec 2022 06:27:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXu9HHWX8XvU8J14erwo9WfENC3qwgTLuq4X9bGrvTKU0/EafjWbw3iVVsFvDEBNH9uhKaCh X-Received: by 2002:a17:90b:3d07:b0:223:f66c:6d25 with SMTP id pt7-20020a17090b3d0700b00223f66c6d25mr726580pjb.36.1671546446849; Tue, 20 Dec 2022 06:27:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671546446; cv=none; d=google.com; s=arc-20160816; b=Zwvpr22xmlfBuvVsLN+QVnK7voE1KzL1esy3cLa3x5457erzU9/bkXUE80n3AT0s1j UsZbnIMYZShskoV7oMRmkuXMbxr5Yx7e+g/WkMs2oJw7BZiPpfiwzmjJ1oQeksSIuHPy ykld0GZ/o+xyCxXEp7ZJFNNCHM3JJLROuUcnexkXb+MNzxmW/pi0FjRZ6XCWLhaK6wiy yHMXVLi+T5LGsFfvB6MU/af+BaYMZeRuP+vUBX4G7t/Av2m3kMdhN1kxhzCSYvMOQKyN YpORVpLcXn8Vo8wLe/MZ9gXjI+KSpI42XyXk8WZ/+x/MG56fkSoBRN2R5LR+4t5fUgb0 vvUA== 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=SjBHXkyHGiWve/uXORSeTIM3nsUbZRLtIdh/xsIJaqY=; b=jIej4fGZ3prwuAYXbXze9gyigjONphXuh3DMnTJI2kkKhfSx2MAaASaBnOoRhxaIC3 yV7XxRxJNJmO8FaBEUcBWcyZwWlgv9/N9UKXPbE7BtvCeojhBWSVupL2TMTm1bbcSc43 yhQdn+qWfRsRevWqaGCZrEN/DpapB+htXCw6kqY8VbtcGEIohO10JigB5UrvBk3uJ6ER HfRDIhBSm5/Vn1tsVSrzdeoNk2FcpdijgYo1aXk3EtWkZ4BUTGeVfR5g1+kECCH1NgjC +u1SQjLKozDvyr1WxwUipb9qa9iok3cBTYdfSxofkJchCoYBT6Glhm3nk2uJjFIXy3IR jhVw== 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 lx2-20020a17090b4b0200b002239c987051si362159pjb.128.2022.12.20.06.27.15; Tue, 20 Dec 2022 06:27:26 -0800 (PST) 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 S233854AbiLTOKY (ORCPT + 69 others); Tue, 20 Dec 2022 09:10:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233814AbiLTOKR (ORCPT ); Tue, 20 Dec 2022 09:10:17 -0500 Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9C221B7A2; Tue, 20 Dec 2022 06:10:12 -0800 (PST) Received: by mail-oi1-f174.google.com with SMTP id s187so10622351oie.10; Tue, 20 Dec 2022 06:10:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=SjBHXkyHGiWve/uXORSeTIM3nsUbZRLtIdh/xsIJaqY=; b=3vCWeUFmZqqKAmbz1pbBx31HxJdX73A4uyQxK9JfPsFO8MPc8XXMlQarVGisPAx4U5 vgiLei66bnWr5stcJ8gS97tt3pNgppxTC2DT3eDhmSMfOYZQNdWkk77TpAjSSzrsBAY4 ZIIT2T+YH6S4fEm1wW1bFnCs5L+loxITGa6itbgGZd0vUpWdjZiHE9qksE2puEuCALHR e2Sk2sfcbY2ZHiERyybRVJAmVgIT6CeFbjwa2WXMTUhQF2yYA68Bmk1zd+IkWiCaysE5 IMog1vBKNZNBsUeCt5hjyYW/Ni+x54UYwTkKIbh9gkHoU++2/n98dcFHxPf9TKjdrSFV U45Q== X-Gm-Message-State: AFqh2krFkHlS1yPLO5LFmQRzQt7fGRJyJgCxmijalsbTSdEW0NiLewPj bjiEX+pPsmFtHM4qC6qKWQ== X-Received: by 2002:a05:6808:2182:b0:361:8ea:a3b5 with SMTP id be2-20020a056808218200b0036108eaa3b5mr3111612oib.54.1671545411626; Tue, 20 Dec 2022 06:10:11 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id p26-20020a9d745a000000b006391adb6034sm5642896otk.72.2022.12.20.06.10.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 06:10:11 -0800 (PST) Received: (nullmailer pid 226274 invoked by uid 1000); Tue, 20 Dec 2022 14:10:10 -0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: Rob Herring To: Jim Liu Cc: linux-gpio@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, brgl@bgdev.pl, openbmc@lists.ozlabs.org, JJLIU0@nuvoton.com, linux-kernel@vger.kernel.org, KWLIU@nuvoton.com, devicetree@vger.kernel.org, linus.walleij@linaro.org, robh+dt@kernel.org In-Reply-To: <20221220080139.1803-4-JJLIU0@nuvoton.com> References: <20221220080139.1803-1-JJLIU0@nuvoton.com> <20221220080139.1803-4-JJLIU0@nuvoton.com> Message-Id: <167154528944.200721.11678821541440830244.robh@kernel.org> Subject: Re: [PATCH v3 3/3] dt-bindings: gpio: add npcm7xx sgpio driver bindings Date: Tue, 20 Dec 2022 08:10:10 -0600 X-Spam-Status: No, score=-1.4 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 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 Tue, 20 Dec 2022 16:01:39 +0800, Jim Liu wrote: > Add dt-bindings document for the NPCM7xx sgpio driver > > Signed-off-by: Jim Liu > --- > Changes for v3: > - modify description > - modify in/out property name > Changes for v2: > - modify description > --- > .../bindings/gpio/nuvoton,sgpio.yaml | 83 +++++++++++++++++++ > 1 file changed, 83 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/nuvoton,sgpio.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/gpio/nuvoton,sgpio.yaml: properties:nuvoton,input-ngpios: True is not of type 'object' hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/nuvoton,sgpio.yaml: properties:nuvoton,input-ngpios: More than one condition true in oneOf schema: {'description': 'Vendor specific properties must have a type and ' 'description unless they have a defined, common ' 'suffix.', 'oneOf': [{'additionalProperties': False, 'description': 'A vendor boolean property can use "type: ' 'boolean"', 'properties': {'deprecated': True, 'description': True, 'type': {'const': 'boolean'}}, 'required': ['type', 'description']}, {'additionalProperties': False, 'description': 'A vendor string property with exact values ' 'has an implicit type', 'oneOf': [{'required': ['enum']}, {'required': ['const']}], 'properties': {'const': {'type': 'string'}, 'deprecated': True, 'description': True, 'enum': {'items': {'type': 'string'}}}, 'required': ['description']}, {'description': 'A vendor property needs a $ref to ' 'types.yaml', 'oneOf': [{'required': ['$ref']}, {'required': ['allOf']}], 'properties': {'$ref': {'pattern': 'types.yaml#/definitions/'}, 'allOf': {'items': [{'properties': {'$ref': {'pattern': 'types.yaml#/definitions/'}}, 'required': ['$ref']}]}}, 'required': ['description']}, {'description': 'A vendor property can have a $ref to a a ' '$defs schema', 'properties': {'$ref': {'pattern': '^#/(definitions|\\$defs)/'}}, 'required': ['$ref']}], 'type': 'object'} hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/nuvoton,sgpio.yaml: properties:nuvoton,output-ngpios: True is not of type 'object' hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/nuvoton,sgpio.yaml: properties:nuvoton,output-ngpios: More than one condition true in oneOf schema: {'description': 'Vendor specific properties must have a type and ' 'description unless they have a defined, common ' 'suffix.', 'oneOf': [{'additionalProperties': False, 'description': 'A vendor boolean property can use "type: ' 'boolean"', 'properties': {'deprecated': True, 'description': True, 'type': {'const': 'boolean'}}, 'required': ['type', 'description']}, {'additionalProperties': False, 'description': 'A vendor string property with exact values ' 'has an implicit type', 'oneOf': [{'required': ['enum']}, {'required': ['const']}], 'properties': {'const': {'type': 'string'}, 'deprecated': True, 'description': True, 'enum': {'items': {'type': 'string'}}}, 'required': ['description']}, {'description': 'A vendor property needs a $ref to ' 'types.yaml', 'oneOf': [{'required': ['$ref']}, {'required': ['allOf']}], 'properties': {'$ref': {'pattern': 'types.yaml#/definitions/'}, 'allOf': {'items': [{'properties': {'$ref': {'pattern': 'types.yaml#/definitions/'}}, 'required': ['$ref']}]}}, 'required': ['description']}, {'description': 'A vendor property can have a $ref to a a ' '$defs schema', 'properties': {'$ref': {'pattern': '^#/(definitions|\\$defs)/'}}, 'required': ['$ref']}], 'type': 'object'} hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20221220080139.1803-4-JJLIU0@nuvoton.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.