Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2372247rwr; Fri, 28 Apr 2023 09:26:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xW7dx3eFCb+DgoNo4tbykImuwgyT7dF88j5JnCBxzHjgrouAadlgAo1wHIsKagHiWBpqg X-Received: by 2002:a17:90a:708a:b0:246:9c75:351a with SMTP id g10-20020a17090a708a00b002469c75351amr7116361pjk.12.1682699172168; Fri, 28 Apr 2023 09:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682699172; cv=none; d=google.com; s=arc-20160816; b=k4B+mCH9ubwmzl2702Un2FCjGmPBBpYk4BzrzLnOYwdcIPUjKp0KUwY/FVWnzWn2RT 5gHLH1Gu9O2kaB7z5lTWoeXwapZT17oMXTzW8p1avkz9pU97IOPo/I+fV9e/nhGZt1OD ALDsVsh/Hy4CXQZ7BZJk7XLBvbWgJG1Cx7wYuItqioa3Z/+KTJJ0+61VBuNPyaF+NwJg gGus0n1Dknp3Hu8PSdaGn6AHAkiu6D5xz88kFAXtkxaoKPnnxGIN+16Cg1/+o4YcsKVT YN4YNc6ONGqybPl6YrenoxIc0+9S1WcmzOFXeTdBTQkriNByD6/Ki/t3bZw3r0XPWeFT bdPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=NDNmB15csVq52QGrJG43+4WY3PAWdHduZDfYDdEr4QE=; b=fWb/wRt4flQL225dT676l8oZVLOmX3EJzsBOuScgk+QotI8PcqDnge5oqM2/Z0rjqQ 2s4QwyyvJT67w52Ne9ghve6fqpzBCv3EmMWSLPm9h7D+deNkK+mnhXADhwQUaAthQnir o9sfXUPjVvw71RlNK/vrOWRbG88OW7Kg8FYv/jcIwiCYWBHlp7jrp4q5QZp3/qPTtmyJ BpgNt3P7Zpm8ydKpK5n7W+vC0ZeUAOIAw1YlBtRAGAPYOuhuwhOqQ79h3oYz4rBzUBf7 FyD7IEfeDtUyhopqqWwfbuZVzFZM7mSGXfwtWq95n8kjWFRxP8reU/Gs+BP1fPJV1yfk ZVAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ur94zBU+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h71-20020a63834a000000b0052584091339si15313101pge.244.2023.04.28.09.26.00; Fri, 28 Apr 2023 09:26:12 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ur94zBU+; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346081AbjD1QR4 (ORCPT + 99 others); Fri, 28 Apr 2023 12:17:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbjD1QRy (ORCPT ); Fri, 28 Apr 2023 12:17:54 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B49BC135; Fri, 28 Apr 2023 09:17:52 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33SGHL5Q058563; Fri, 28 Apr 2023 11:17:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682698641; bh=NDNmB15csVq52QGrJG43+4WY3PAWdHduZDfYDdEr4QE=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=ur94zBU+mZwP7FosfA9NyBcqgznXlFhjNiNZZ9cY9R5s887mWbf5fEhMzqp+e20Ep AQ8vu9k0XL8UdhThYdRPGCHaHaJIMxef9Rm6o51/QokXkfpEshDMgo8aDU8Kodpf7P eUztAKHQpyTwMU//Ty/K5fwPROsYpU5Vem1ucjak= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33SGHK7Z024029 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Apr 2023 11:17:20 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 28 Apr 2023 11:17:20 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 28 Apr 2023 11:17:20 -0500 Received: from [128.247.81.102] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33SGHKRI074613; Fri, 28 Apr 2023 11:17:20 -0500 Message-ID: <4ca0c282-35ea-c8c3-06f4-59d0de3b18f5@ti.com> Date: Fri, 28 Apr 2023 11:17:20 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 2/4] dt-bindings: net: can: Add poll-interval for MCAN To: Rob Herring CC: Jakub Kicinski , Nishanth Menon , Rob Herring , Paolo Abeni , Chandrasekar Ramakrishnan , , Oliver Hartkopp , , , Eric Dumazet , Tero Kristo , Schuyler Patton , Wolfgang Grandegger , "David S . Miller" , Krzysztof Kozlowski , Marc Kleine-Budde , Vignesh Raghavendra , , References: <20230424195402.516-1-jm@ti.com> <20230424195402.516-3-jm@ti.com> <168238155801.4123790.14706903991436332296.robh@kernel.org> Content-Language: en-US From: "Mendez, Judith" In-Reply-To: <168238155801.4123790.14706903991436332296.robh@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 Hello Rob, On 4/24/2023 7:13 PM, Rob Herring wrote: > > On Mon, 24 Apr 2023 14:54:00 -0500, Judith Mendez wrote: >> On AM62x SoC, MCANs on MCU domain do not have hardware interrupt >> routed to A53 Linux, instead they will use software interrupt by >> hrtimer. To enable timer method, interrupts should be optional so >> remove interrupts property from required section and introduce >> poll-interval property. >> >> Signed-off-by: Judith Mendez >> --- >> Changelog: >> v2: >> 1. Add poll-interval property to enable timer polling method >> 2. Add example using poll-interval property >> >> .../bindings/net/can/bosch,m_can.yaml | 26 ++++++++++++++++--- >> 1 file changed, 23 insertions(+), 3 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/bosch,m_can.yaml: 'example with interrupts' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'dependentRequired', 'dependentSchemas', 'patternProperties', 'properties', 'not', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select', '$ref'] > from schema $id: http://devicetree.org/meta-schemas/base.yaml# > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml: 'example with timer polling' is not one of ['$id', '$schema', 'title', 'description', 'examples', 'required', 'allOf', 'anyOf', 'oneOf', 'definitions', '$defs', 'additionalProperties', 'dependencies', 'dependentRequired', 'dependentSchemas', 'patternProperties', 'properties', 'not', 'if', 'then', 'else', 'unevaluatedProperties', 'deprecated', 'maintainers', 'select', '$ref'] > from schema $id: http://devicetree.org/meta-schemas/base.yaml# > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230424195402.516-3-jm@ti.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. Thanks Rob, I was not getting the errors, but I have fixed now. Thanks. regards, Judith