Message ID | 20230104091922.3959602-3-bhupesh.sharma@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5048705wrt; Wed, 4 Jan 2023 01:24:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXv0sRJPkVoMD/nhf+78yNDhHyNPK6zD8mevzpyZ9zeGmrwiMfNprwpAu2BhtEmC1wDslRTH X-Received: by 2002:aa7:db53:0:b0:47d:9b86:111 with SMTP id n19-20020aa7db53000000b0047d9b860111mr41278422edt.6.1672824274666; Wed, 04 Jan 2023 01:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672824274; cv=none; d=google.com; s=arc-20160816; b=W9n5BKTVSAk4IO2kwQW0Bg6QFlpslym/P4DO2jrKsJpRHyEJDuc/1CZ0A1IjwYlJF2 ZSyboco920PQAD5n+GXTG03UGm7VcGtqm2EByUZwEP0KbYxQI11gowNH00ob9QLVRD7a oJ5LvT6rcTLa2hWxMQSmnnsQLp/JXPb/BgugquGvZ4yGiHglghrWm3YZh78UJW4dG84C KrN4TQgQ1Vv4OrFtj/SNhgRzpSjLSsGO4IopVSz0t7jVq1oWEyF1S4SmS4NJUcM+bzFc F+yE7IPvnuB9AQntzpwlOoNgCuOZQiu+pkuyL/Jct5KeSiqzcbJNmT4N+l02YWiWWUne 4xBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1G1WrgAhnt9agzGWzGIJSePzdmnF9/zsBwV6xg6YY9k=; b=HiF0NfHUft/CCh32sMZb+Zl/lhkE/wf9L0MF+tVi4NNuHZlPcbJK9vgpt5sVF/YBdT 00F6I80AqCnDV/fMmMQwPj7d594s0ndi7dTps3RhUzB7dy1SKsi44P2+cOHk00hCYCnN nolNGgIYqTwiNqbFp07GcU1utldx8WVNJXpL/nN/qMgt2/oalmFekn9BgM2DdqnIQV+g 3GLfJ8x1kxQruJw6BvbSVdXjxHertwzGSCe1oFzohhRMRMlWrqN7D1dwS4+m5pf7f/Up o2YJS3ZMwycxIbYn6gOjKEhGcAk6hk2beHMzzXTK/xkeZBXwEUDy4nOpOMyluTsd+50a CSOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GDMHYBKO; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t6-20020a05640203c600b0047338d1bfc4si24589723edw.175.2023.01.04.01.24.11; Wed, 04 Jan 2023 01:24:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=GDMHYBKO; 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 S239064AbjADJU3 (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Wed, 4 Jan 2023 04:20:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239102AbjADJTo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 4 Jan 2023 04:19:44 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23E551DDCC for <linux-kernel@vger.kernel.org>; Wed, 4 Jan 2023 01:19:41 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id a30so6772308pfr.6 for <linux-kernel@vger.kernel.org>; Wed, 04 Jan 2023 01:19:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1G1WrgAhnt9agzGWzGIJSePzdmnF9/zsBwV6xg6YY9k=; b=GDMHYBKOUekAtt2zSWtFMLOxRt6vLRVca+p1PkQ43UOeFbWtp9iu9Pgl8CyZZeQ6zF bBC2d6U/LxMDZbcAUEs7gNw3UWXv+0QS9yMuYX/lyw1Q+3SyBUt2efkRM/sgHtwBLSe/ p/Udiqdg8rSIWWb6gE3nsgo3563qLqveqMcgeLhGES6/tnrAy8Y3x0U5PXKpxSsEeVZh Gp7boUotSrNCmprZmd2kSKbyH/swClOBkI88+aTNwfKhwY8ChGOyiZ33TJaHsE3G5MN2 OVkItu3AwPhelYioyWJkNn+wiQQtdRM4h0kbVAaTxPfcsmyamOkp5Z+ucm6Dn41L0Mmd qyIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1G1WrgAhnt9agzGWzGIJSePzdmnF9/zsBwV6xg6YY9k=; b=epJkpiCsJGBOOq0jR3t7nXrTS5jOreCGD5GsNY6SUJUZaDDsWPVaQl8Q6F/4iijaLI Iw5MOGhiweYdXY116Z4pHiToRSg/f1dq/cFRg6wTXTheVMTMbs27PXYwi5fSEwgueRfl f66YSjudpTMMSqxkHdEZvEnLe2LjzTkOocA6KU0nswiWKfrXMtFDXD52+qLr/TXxo80Q oiFfhWu5FPX8Dwl8e3+UllluoS/L4H330gUtXWWg9Qx3md5LohI2HgiZmJHgaBaoKVlb ylCN0ESyeRwQ8Dot8OW44dzuA0UOglRuXiUNu0uSFECmiq8RbVv7gEAbpU23V3lSyRDW 9u/A== X-Gm-Message-State: AFqh2ko3dXCBjtaD8odtlr6Lh0bzYB4Az3PDVRuC/Gt0bBJHBY2I1VEZ 74wX/CftddsmB1MIYA5zesbLIw== X-Received: by 2002:a05:6a00:150c:b0:581:38df:f9f8 with SMTP id q12-20020a056a00150c00b0058138dff9f8mr39313914pfu.4.1672823980564; Wed, 04 Jan 2023 01:19:40 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1c5e:e3b5:c341:16de:ce17:b857]) by smtp.gmail.com with ESMTPSA id b189-20020a621bc6000000b00580d877a50fsm19205877pfb.55.2023.01.04.01.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Jan 2023 01:19:39 -0800 (PST) From: Bhupesh Sharma <bhupesh.sharma@linaro.org> To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: quic_schowdhu@quicinc.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Subject: [PATCH 2/2] dt-bindings: soc: qcom: eud: Fix identation issues in the example Date: Wed, 4 Jan 2023 14:49:22 +0530 Message-Id: <20230104091922.3959602-3-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230104091922.3959602-1-bhupesh.sharma@linaro.org> References: <20230104091922.3959602-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754083386524418271?= X-GMAIL-MSGID: =?utf-8?q?1754083386524418271?= |
Series |
Fix EUD dt-binding doc & sc7280 EUD node syntax
|
|
Commit Message
Bhupesh Sharma
Jan. 4, 2023, 9:19 a.m. UTC
As noted by Konrad while reviewing [1], the example
node in the EUD yaml documentation has identation
issues.
So fix them.
[1]. https://lore.kernel.org/linux-arm-msm/20221231131945.3286639-1-bhupesh.sharma@linaro.org
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Comments
On Wed, 04 Jan 2023 14:49:22 +0530, Bhupesh Sharma wrote: > As noted by Konrad while reviewing [1], the example > node in the EUD yaml documentation has identation > issues. > > So fix them. > > [1]. https://lore.kernel.org/linux-arm-msm/20221231131945.3286639-1-bhupesh.sharma@linaro.org > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml | 8 +++++--- > 1 file changed, 5 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/soc/qcom/qcom,eud.example.dtb: eud@88e0000: reg: [[0, 143523840], [0, 8192], [0, 143532032], [0, 4096]] is too long From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230104091922.3959602-3-bhupesh.sharma@linaro.org 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.
On Thu, 5 Jan 2023 at 08:24, Rob Herring <robh@kernel.org> wrote: > > > On Wed, 04 Jan 2023 14:49:22 +0530, Bhupesh Sharma wrote: > > As noted by Konrad while reviewing [1], the example > > node in the EUD yaml documentation has identation > > issues. > > > > So fix them. > > > > [1]. https://lore.kernel.org/linux-arm-msm/20221231131945.3286639-1-bhupesh.sharma@linaro.org > > > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > > --- > > Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml | 8 +++++--- > > 1 file changed, 5 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/soc/qcom/qcom,eud.example.dtb: eud@88e0000: reg: [[0, 143523840], [0, 8192], [0, 143532032], [0, 4096]] is too long > From schema: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml > > doc reference errors (make refcheckdocs): > > See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230104091922.3959602-3-bhupesh.sharma@linaro.org > > 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. Ok, let me try and fix this via v2. Thanks.
On Wed, Jan 04, 2023 at 02:49:22PM +0530, Bhupesh Sharma wrote: > As noted by Konrad while reviewing [1], the example > node in the EUD yaml documentation has identation > issues. I don't see any indentation changes... > > So fix them. > > [1]. https://lore.kernel.org/linux-arm-msm/20221231131945.3286639-1-bhupesh.sharma@linaro.org > > Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml > index c98aab209bc5d..385ebd7cbbf0c 100644 > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml > @@ -55,9 +55,10 @@ additionalProperties: false > examples: > - | > eud@88e0000 { > - compatible = "qcom,sc7280-eud","qcom,eud"; > - reg = <0x88e0000 0x2000>, > - <0x88e2000 0x1000>; > + compatible = "qcom,sc7280-eud", "qcom,eud"; > + reg = <0 0x88e0000 0 0x2000>, > + <0 0x88e2000 0 0x1000>; > + > ports { > #address-cells = <1>; > #size-cells = <0>; > @@ -67,6 +68,7 @@ examples: > remote-endpoint = <&usb2_role_switch>; > }; > }; > + > port@1 { > reg = <1>; > eud_con: endpoint { > -- > 2.38.1 > >
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml index c98aab209bc5d..385ebd7cbbf0c 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,eud.yaml @@ -55,9 +55,10 @@ additionalProperties: false examples: - | eud@88e0000 { - compatible = "qcom,sc7280-eud","qcom,eud"; - reg = <0x88e0000 0x2000>, - <0x88e2000 0x1000>; + compatible = "qcom,sc7280-eud", "qcom,eud"; + reg = <0 0x88e0000 0 0x2000>, + <0 0x88e2000 0 0x1000>; + ports { #address-cells = <1>; #size-cells = <0>; @@ -67,6 +68,7 @@ examples: remote-endpoint = <&usb2_role_switch>; }; }; + port@1 { reg = <1>; eud_con: endpoint {