Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5145515rwr; Mon, 1 May 2023 00:22:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5g5U3EzonP4/N5Aghjjm5+b0nAaqRa065od93J1yPt6nSnBJygPWxx5XCzSb7nqCZVRNTQ X-Received: by 2002:a05:6a00:2d16:b0:63d:2d99:2e92 with SMTP id fa22-20020a056a002d1600b0063d2d992e92mr18903077pfb.17.1682925758559; Mon, 01 May 2023 00:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682925758; cv=none; d=google.com; s=arc-20160816; b=aTm6Q+Q2Uex4LBrgnzzoUHY3lxe0WXaBWyoJmNBqlbjvdWf5QHJbyWH1/1ooHEMyKE QrUG40WAzV+RuPl0ycg3fE3Efoik5FZShEWUUGxbqadgc7usjtapjEjfor2KY9Wjf8mp eK/PGRqy7R47vMcre6rhOKAEKMl0nY64WdCZ+rzF9VK+CtxEz61NEiJcvaTWalgQOXEw hClPb5dXNesEwLNn7p6SrNF+GRcHo5p+QuO8YC2dIAWBeMYU2Rs/jrAXkXnNZ56E/el/ vjqcMU3JCZAjTmb587G9sQGUNNqa03FYhNl+BvGU8TorcUaEaTmOuNZCOHX2umXrZMYL 1FAw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=vGjckqNc9oAKUpdapLyExDXzKNBU6vQzE5IdanHWvf8=; b=rV6NqO6+0ryZP5K3WHY2N8VxlEZqhKDIWU+5YPBUpfrZy3SfAYLZ9Veh+vyqqEPTC9 jdBBAZTb4YO+9xSeB9181w+iHcZHJhhUYIQ0ZtfTzeT7YY/KVfo/CL2KHfm6OlKUdW7u NSjtxM4qup/XZmhg2XtU6v2MykLNk3UdzPsXPlU/bmZYMmMW7bCv1rTHsHp6Pipm8uiQ 9SamYAkniq15KUifdQ0udbCx0TdYCnNWVDMBm1/HrYF9fTv/ak7sDKx08SAx71+f1bjC pPS005lmBwYg/pEeYZxb/uQhM74rXCWlUedLUYwXOhN1Hoe7kFIRJDE2y/LaZPddyHSG Ys1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GwphBorO; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f203-20020a6238d4000000b0063af7d11986si26873991pfa.350.2023.05.01.00.22.27; Mon, 01 May 2023 00:22:38 -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=@linaro.org header.s=google header.b=GwphBorO; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232159AbjEAHQK (ORCPT + 99 others); Mon, 1 May 2023 03:16:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229537AbjEAHQJ (ORCPT ); Mon, 1 May 2023 03:16:09 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E615DC for ; Mon, 1 May 2023 00:16:07 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-50bc3a2d333so1675592a12.0 for ; Mon, 01 May 2023 00:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682925366; x=1685517366; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vGjckqNc9oAKUpdapLyExDXzKNBU6vQzE5IdanHWvf8=; b=GwphBorOFjC3rUTNp6gNHqjnsnneV2ooi20V1lKYA8VKatsTL/LaeRZViMVSEcphMj jEBk6tkzwn+tChW6uSUIXoIdCxlvNKR4/zlyFJ3DHmagiiNs+BDyTEV3uO94AM7qtLpb +7TQf0BPzTU89NcKxwwRgiqpoqBTESG1fWhCW+etPC1PlQny+IPRsX6zaxRVczXWZ1TC dtzEJgIz06XXmMWtYYTRPQPOJUvdXd+YW88TsMGdjjK43Zj9x2mKRCalUxFuiSpSisdb X5fF43GmvlEF20xLMl817FIX50b61X7Py0ahikKz9PMBUF9CFW4ypT51C1igHvDrbiJe 8I+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682925366; x=1685517366; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vGjckqNc9oAKUpdapLyExDXzKNBU6vQzE5IdanHWvf8=; b=JbuOfwYvXbugI6hoh2tpQwQbZeLhXEViyFfkVg8gLAU6K5JP1OsgSi0JHGPp+ndKbE CmVXLpg5iJ+4TySosNwR44I2/5jR5BatLgKLIh8HjrIGlyFrIP/k0aXnso5U9ihcod2H i+JIVmMJnMhEDh4WxBxaducYD8KKskUp61040yuj5Nx4bKsCjnqCtupHz8R6+iFFnEed Sv2Xli5A+ypovYD/pv4ISSuKQBpX9+Xp7TvWuY/iLnGx4eLO5s+RH0C8CvjvUdYz2KnD Cnftp/pTj4tKcJRLB5gAAnlHCDLrWTlZsN8KROcDXz/4FAD9imHHqVBbTFgNnLT31Bkz /Bog== X-Gm-Message-State: AC+VfDyG9tDoC6gVtPOqeGJK8acjy8zljzCxoBu0ZBkTrNWy0djiRb9c 3YxCQ1Kk8b3B7Fxm3V1bnTiIEg== X-Received: by 2002:a05:6402:1214:b0:507:5e52:cdb0 with SMTP id c20-20020a056402121400b005075e52cdb0mr4615980edw.9.1682925366073; Mon, 01 May 2023 00:16:06 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:637a:fd0c:58fd:9f00? ([2a02:810d:15c0:828:637a:fd0c:58fd:9f00]) by smtp.gmail.com with ESMTPSA id la5-20020a170906ad8500b0094e877ec197sm14722310ejb.148.2023.05.01.00.16.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 May 2023 00:16:05 -0700 (PDT) Message-ID: <62a0c7f6-be34-903a-14ba-21324292c5ec@linaro.org> Date: Mon, 1 May 2023 09:16:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v2 2/4] dt-bindings: net: can: Add poll-interval for MCAN Content-Language: en-US To: "Mendez, Judith" , Rob Herring Cc: Jakub Kicinski , Nishanth Menon , Rob Herring , Paolo Abeni , Chandrasekar Ramakrishnan , devicetree@vger.kernel.org, Oliver Hartkopp , linux-can@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Eric Dumazet , Tero Kristo , Schuyler Patton , Wolfgang Grandegger , "David S . Miller" , Krzysztof Kozlowski , Marc Kleine-Budde , Vignesh Raghavendra , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230424195402.516-1-jm@ti.com> <20230424195402.516-3-jm@ti.com> <168238155801.4123790.14706903991436332296.robh@kernel.org> <4ca0c282-35ea-c8c3-06f4-59d0de3b18f5@ti.com> From: Krzysztof Kozlowski In-Reply-To: <4ca0c282-35ea-c8c3-06f4-59d0de3b18f5@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 28/04/2023 18:17, Mendez, Judith wrote: > 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. There is no way your code have worked, so either you did not test it or your setup misses something. In both cases you would see errors, so please check what went wrong. Best regards, Krzysztof