Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6274622rwr; Mon, 24 Apr 2023 17:15:32 -0700 (PDT) X-Google-Smtp-Source: AKy350ZWibDpYZv1U2bcIJQaiPYhUI0rbZS57sNN11j3a2eDekC768Qv9wJy1TubNdHtdSfqqN6E X-Received: by 2002:a05:6a00:24ca:b0:63b:8afe:a4dc with SMTP id d10-20020a056a0024ca00b0063b8afea4dcmr20676714pfv.30.1682381731696; Mon, 24 Apr 2023 17:15:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682381731; cv=none; d=google.com; s=arc-20160816; b=w0JB3mTXX+hbjOSFdTuL/U5eEZ0K8Sz84/7LpItHauM3Lb5/hHHyLuRpBiwthMv5st 6n9Yy757JoFFyGQt+NXboCa5QrCEipSYqXbgZZX8ri5cRDX82q283yXjt7JVPU2o2Tax 31hyao8MZZ5yi47qX8TxSgWtflgQFDYN5q3xojGDOCTbmUvPRWCAQEXYV/+84SSXtYzQ ORdt4jZhg9mGqh3ok5YMAAbWNGYN2D7BuqwEJ7E7RMRkg5Xwz9apcIiYySYQJyyBBUTj OX8A1wAU3zcB5ZpgzeQ0cBOQbaZBqPpQ4MgS2LPPJTLtU6wrbJBV1hd3SyrcfhtL4uZd O91A== 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=pFwtgW0wvfFjibNHY+PyADwbRVqhSb57mZWqoTJnZz4=; b=e9Dr9q2uepb8fWXSa7nVrZSM3xpCUevZ8+N5h/Y2HSKsY4qFV46ER+yCmkgGMjICiY 9N08SnqqSlAvQwut6eJa8H3cHqUSHiBS6NII8inQZgeaeht1NiCViWox+PqEczoyPzic sOQVx0vXl7BXwOA9bJiPT7gGlneiP6xeJ++vRusvgKs2x4HjpSb0tvxVMqrumTd2PI5L jJ9Hm6+eFTCLRTn5YEwf7U//ksRKvKH52KG+WbEznrxBtKed/gx36TYZtWZKRM4nB/Zb 4mr46TxzVSEAr8FQeUoiv2ZdBL3XVi0CNWlMfUxsp6Xc6/1JehiANs+iRvLYz9F/Qt7F 0x/w== 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 o16-20020a635a10000000b0051b3d5543c3si11880587pgb.130.2023.04.24.17.15.17; Mon, 24 Apr 2023 17:15:31 -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 S232302AbjDYANV (ORCPT + 99 others); Mon, 24 Apr 2023 20:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231189AbjDYANU (ORCPT ); Mon, 24 Apr 2023 20:13:20 -0400 Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3883B4C16; Mon, 24 Apr 2023 17:13:19 -0700 (PDT) Received: by mail-oi1-f180.google.com with SMTP id 5614622812f47-38e4c98e5ceso1738347b6e.1; Mon, 24 Apr 2023 17:13:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682381598; x=1684973598; 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=pFwtgW0wvfFjibNHY+PyADwbRVqhSb57mZWqoTJnZz4=; b=NtQ83Wkc0rMiMEIdF7D5L1qpsogTz9NbZR4moigHipQhtkKpIxF2lmkqwlvxkpsiPb CsRu0nSA2Q2Ce+81W++eJfAZU8ZY0/c2iDeGkaUawYOKaMRX86fetaP38HLUqFTIlsOJ lBdXTe+2A2QgzMxVGG962NRacgqoUE4d/k3O/t9vayN5lNLMB66k1LTAxwa2eAopcR7K 8laTmKU4AB/WS/tpR2GBueO0wPSGfSUtwy5QpIyxQ4EiDkcqP5QAaL0skCRvDmdriwvy MrwrNCPv2YT8nHadBVJXJ5yL4Om3WsIiZbihGXj0jCg7iXy7f4cRLCpvbnV//RAMzbTW NPgQ== X-Gm-Message-State: AAQBX9cMLyRo6Jd2MU4TZ4SxK3rGeKLrS3SeTwrurzLPD0iysUOAwDHD I7GOWhD79BZR30Tln/Ku5Q== X-Received: by 2002:a05:6870:a706:b0:17e:dc2b:f4b4 with SMTP id g6-20020a056870a70600b0017edc2bf4b4mr11693226oam.15.1682381598317; Mon, 24 Apr 2023 17:13:18 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id n3-20020a056870e40300b00172ac40356csm4963304oag.50.2023.04.24.17.13.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 17:13:17 -0700 (PDT) Received: (nullmailer pid 4124744 invoked by uid 1000); Tue, 25 Apr 2023 00:13:16 -0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: Rob Herring To: Judith Mendez 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 In-Reply-To: <20230424195402.516-3-jm@ti.com> References: <20230424195402.516-1-jm@ti.com> <20230424195402.516-3-jm@ti.com> Message-Id: <168238155801.4123790.14706903991436332296.robh@kernel.org> Subject: Re: [PATCH v2 2/4] dt-bindings: net: can: Add poll-interval for MCAN Date: Mon, 24 Apr 2023 19:13:16 -0500 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 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.