From patchwork Mon Mar 29 07:27:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 410790 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3396577jai; Mon, 29 Mar 2021 00:29:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3t/3Wzu8EmibymGVp1VpJMrL3Q9SddIY3+R3Idr61Uq5uUpnEbSNVJAYiv4A1f2WVFkHs X-Received: by 2002:a05:6402:145:: with SMTP id s5mr9683501edu.221.1617002956739; Mon, 29 Mar 2021 00:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617002956; cv=none; d=google.com; s=arc-20160816; b=rflphpD0yUBa1oh4D/r5xs0Dcyaf/a4MRm0Un0sn5EcvUKX/u4831oAs8gf5WYF66d Bc6KsbimBwu2H0oNOtjVS48x1R/VRi9AsXPsfuFmk7mwUzdERkq5nD4ljgfFg+aVW7Mx NbUmSmolW8ocQb+1Jb8TxhBi1ZgwlTZT9qXyi8D0H6o1LGu7F8QbqX8mkh4LtN/gE6sB GWrfYVMRJJyct8cmQyvIYQggTgtRHPj+HNeGvxykk6QgD0q7KhsdPAf8F/6QVoB3dDB0 L8u2e7kK9rbavj6U+fhydbvV9X+6aj/x14ymzOSPN6mYSRSY5M2EVXIhjpb/ntaC++DI T1oA== 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; bh=ps4LpZ7Yb73az5Zb+zKWOeptfhohgPTuUKjVlcOXSAw=; b=pNZ0IPelAfv0DeGPOVh2z7w3Tcm8QwZjUdKn6wVEuBp3wNwu8lMst0dFy+m9+jYGTq o72Y3cDLa3uiiCQCUChNQN/+JxFAABE1Goll1wHj4mKv1HRsFb6hwlGYcnpLLgc+r+Ua UAyc110UiGUxQN5o3xnBBt3JtsAFFfEi1j00P1WNVFZl3eieYWWAittGbTLQKu360PDJ dUC1k/4gd5vI36BeS94RJHsvXsWi+N2+9xbtBfJeHKaCTIJLd/DcbnRys3mB+nr7zYBB qrNKhocJZ+c54lfQpbNrLB2b4rrskGddzJsI1eOtn6CCp4nuWPJAEzpC0luz2V3KEFUf 5G7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h20si11617953edq.97.2021.03.29.00.29.16; Mon, 29 Mar 2021 00:29:16 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230503AbhC2H2n (ORCPT + 6 others); Mon, 29 Mar 2021 03:28:43 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:15083 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230432AbhC2H2c (ORCPT ); Mon, 29 Mar 2021 03:28:32 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F83zQ4LVzz19Jm0; Mon, 29 Mar 2021 15:26:26 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.179.202) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 29 Mar 2021 15:28:21 +0800 From: Zhen Lei To: Greg Kroah-Hartman , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-usb , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH 1/2] dt-bindings: usb: dwc3-imx8mp: Use the correct name for child node "snps, dwc3" Date: Mon, 29 Mar 2021 15:27:13 +0800 Message-ID: <20210329072714.2135-2-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210329072714.2135-1-thunder.leizhen@huawei.com> References: <20210329072714.2135-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.179.202] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org File snps,dwc3.yaml describes the schema of Synopsys DesignWare USB3 Controller, it directly or indirectly contains "$ref: usb.yaml". So the node name of "snps,dwc3" must start with "usb". Otherwise, the following warning will be displayed: Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.example.dt.yaml: \ dwc3@38100000: $nodename:0: 'dwc3@38100000' does not match '^usb(@.*)?' From schema: Documentation/devicetree/bindings/usb/snps,dwc3.yaml In addition, replace "type: object" with "$ref: snps,dwc3.yaml#". Ensure that all properties of the child node comply with snps,dwc3.yaml. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) -- 1.8.3 Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml index cb4c6f6d3a33a3f..974032b1fda04fb 100644 --- a/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml @@ -52,11 +52,8 @@ properties: # Required child node: patternProperties: - "^dwc3@[0-9a-f]+$": - type: object - description: - A child node must exist to represent the core DWC3 IP block - The content of the node is defined in dwc3.txt. + "^usb@[0-9a-f]+$": + $ref: snps,dwc3.yaml# required: - compatible @@ -87,7 +84,7 @@ examples: dma-ranges = <0x40000000 0x40000000 0xc0000000>; ranges; - dwc3@38100000 { + usb@38100000 { compatible = "snps,dwc3"; reg = <0x38100000 0x10000>; clocks = <&clk IMX8MP_CLK_HSIO_AXI>, From patchwork Mon Mar 29 07:27:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 410791 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3396590jai; Mon, 29 Mar 2021 00:29:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgRKJdX3c/S1y+m5IUYvOT5W31v+NQcmQg4q/LeWz5/GK+dZhuib4UxPoXuYXrbSyNBZxi X-Received: by 2002:a17:906:95c9:: with SMTP id n9mr26667214ejy.16.1617002957845; Mon, 29 Mar 2021 00:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617002957; cv=none; d=google.com; s=arc-20160816; b=QYHZL/lNNk/s0Xqiig5tlTmzPyj7zEkXjtHbmbAQ+89exEcYhQjrj8EqrVn24InZ3+ AAox/1rDn/THjtxoIfQrPb3B0KNF8RoOudZHImwtcQUvWDDVI75f27rst3YHbhKO59dp FX1KXlgqMiKcQ8kJJgq3N3GnlgDxu4MxMS7j6lX3JDo+bJAjtZ+oi/AVFAMKIJdQS7b4 B+gfnHsWrfFSObyNP7P/sCSz5uACJ1ZthBq6+H4CL0+hi4PSU1HuDAec1moNx++l4U9A nLktjNfCL7t92Wf1HpD6ZDIe4xEn5OF9s+7ta94kkfaxBVUapOw7o0bdT5mwfweP6h+w 0TeQ== 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; bh=SfBE+j+b+/XHimm7xY0e/Fs+2g5MBVCmeWxkaumnOG8=; b=ATCh4xZNLsC2YDjqpQIaNOQ+QFLkhRwFbbyd4PZ3Lnfv/Xc69AN/OSnF0xPxRCmZAp 8m/cCVEUiXsRdzc4bOVny0jOLh75Zhq4rCj2XyZY03mfXS3Eubpw/5Ab2hTLTxg+K+Kc X8VlLcqGP3Gky51UwpTuqEAUmkk4d7ZLMCVTvhbh2W1z4g+z4BwH0i8ZKaAFB9iqSp7O g2AjqdgVc0b35oye2b+jyI0DuPb+AZWYbs8Em9F1NL2tIOQ7jPT1vmG59lLNO/bdpIbg ViZUaU6nL58gKixn9AN1FM5CUlANT8HCndc+XA9T8U8BEUhbXbqXcqLpQTn3iWhZ605l uiRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h20si11617953edq.97.2021.03.29.00.29.17; Mon, 29 Mar 2021 00:29:17 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231213AbhC2H2o (ORCPT + 6 others); Mon, 29 Mar 2021 03:28:44 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:15379 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbhC2H2c (ORCPT ); Mon, 29 Mar 2021 03:28:32 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4F83zs1ByVzkgXK; Mon, 29 Mar 2021 15:26:49 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.179.202) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 29 Mar 2021 15:28:21 +0800 From: Zhen Lei To: Greg Kroah-Hartman , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-usb , devicetree , linux-arm-kernel , linux-kernel CC: Zhen Lei Subject: [PATCH 2/2] arm64: dts: imx8mp: Use the correct name for child node "snps, dwc3" Date: Mon, 29 Mar 2021 15:27:14 +0800 Message-ID: <20210329072714.2135-3-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210329072714.2135-1-thunder.leizhen@huawei.com> References: <20210329072714.2135-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.179.202] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org After the node name of "snps,dwc3" has been corrected to start with "usb" in fsl,imx8mp-dwc3.yaml. Its name in dts should be modified accordingly. Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index c7523fd4eae9b53..4967d72f41f613f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -828,7 +828,7 @@ ranges; status = "disabled"; - usb_dwc3_0: dwc3@38100000 { + usb_dwc3_0: usb@38100000 { compatible = "snps,dwc3"; reg = <0x38100000 0x10000>; clocks = <&clk IMX8MP_CLK_HSIO_AXI>, @@ -869,7 +869,7 @@ ranges; status = "disabled"; - usb_dwc3_1: dwc3@38200000 { + usb_dwc3_1: usb@38200000 { compatible = "snps,dwc3"; reg = <0x38200000 0x10000>; clocks = <&clk IMX8MP_CLK_HSIO_AXI>,