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: 12170801 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF37AC433DB for ; Mon, 29 Mar 2021 18:44:46 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 728B761968 for ; Mon, 29 Mar 2021 18:44:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 728B761968 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=t8kzLHaGA4JUe5Ln8Qu5MV18/HAoDQk2k54zoRxdIFs=; b=Hoz0tV9cgTgEByvIM2ZgsQGdQ 5zKiEoC2vvzsFhkkNn25i7pqMf6Z3OgbYBa3Sr7b22LwGF4IKM/DuBR3/y++kTHMfWaUOwlZgGKe3 IWOGNBL5cqr2/DwZ88lRO5Qf8B7uvK9xfWIJzcM4u4S7OPOZzh8xWyi/0CYOM56Eqqz0ei+eYKocA yMniN4un7crYhItlJ+OvB0+rH6bee27V9x0VOXgyoDQ/73j5Md42tH+39oNfQp6YDVZ02IxfvjJ3K tFtBdYuzIca1ByquztsSBrlB9h/G3RdGuPhRjBSTfQQRNDZMAMMeAy4Ihd/7TcOYgmajVhofL1GFQ l4m+kNUtQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwpa-0015vD-B5; Mon, 29 Mar 2021 18:41:43 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpMx-000amE-Jv for linux-arm-kernel@desiato.infradead.org; Mon, 29 Mar 2021 10:43:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=ps4LpZ7Yb73az5Zb+zKWOeptfhohgPTuUKjVlcOXSAw=; b=EtSk3sJ7d3hfl3d1h09ZUkmjfH CgSVdL0dfeG+03VR5iAadYoxZVXpzYktjiGe0WpudqjpBp6zSiEvJpGe/Y7SSkvCXWdQYQWgwyI1X EelFVFJdxVxV22rz5cfzv3Gj0VrVIeLxvTx+AYzxBN/GqKpbCW/MJdXgsrXBrffigmh0T/7iDFHhs 5YxHau5sFV+8pbQpOn7tVU40W5kT5UghjLKG4tI5FdIiLyAVB6bdhph1CS+32drB4dB/PW1mXn5T1 k0H4CekR/LW5Qbn5IfBf7toqTfnZ4zXAF8ik6+kV0F3ovUNo3DZHfutxkKKWDIudweJxCzinciexn sLWoS/eA==; Received: from szxga04-in.huawei.com ([45.249.212.190]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQmKM-001B6o-6z for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 07:29:02 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_082846_814951_A61FEB8D X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/fsl,imx8mp-dwc3.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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: 12170805 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA832C433DB for ; Mon, 29 Mar 2021 18:47:14 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 35F3A61968 for ; Mon, 29 Mar 2021 18:47:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 35F3A61968 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Pu8nID1B6INndnRVqvyS+n+ZMdayTdrpOrPXcZKkl7U=; b=NELj0pkZ7aRXXlwQoKVeCDrcJ xJOBz520L5Ym5xhXBAnMabMj+NvItbFrR5B34ZaorwUuNmRIiE4nkMD9/Z0isU/2t/xRptBY1plN3 LERL8JomTZeliW3423XQRGTSmCQmdAlcDGk3LfbkT2ytEd6QQkTBkNlviLe5bm7f7I3J+rf5rLm2R keBy1z7l60ic1toeqlbMmn6gfHf3P5K4EoqhCsnyT5ua5jh9MZ1DAAixnkGf7iFQd7M43AGUiz7x6 b/FAytHmcA56LdCQrhyok6kZclS3LcWQnYKZT08U/9AUEXz5a1TEqgIZDTEu3q8AlG052MrwxhDxT /bJGLipTw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lQwqf-0016FH-DZ; Mon, 29 Mar 2021 18:42:50 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQpNO-000amw-Iv for linux-arm-kernel@desiato.infradead.org; Mon, 29 Mar 2021 10:44:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=SfBE+j+b+/XHimm7xY0e/Fs+2g5MBVCmeWxkaumnOG8=; b=VnJsAw7AzymWXrcEZFuKMkQLdI JXNnQRr6H3oJe9WL9eGENTGotHhfU8nk+Igu6gE0GT8WbYLw7U8nxxpvWU+HcQ3sd0YYQg5GTj/Sb ZqN+RQxoHyW6P3mUKaMAshwP++W6+ETFPDElW+eE/WKGQMItTmc3tnW+RU15Uw3TKfI8UPwqasZpK ouO1ROkcB4a19vxQjZKD7PYw+Oqx5xNXuQAONFddDfchEs1TzmVnXE3XhwuuF5FaHCPynv+OQkViE 4XI85BLtbbkHZg5zuX09TbzGEcGxqmVE/D3w+UiQ/fgWxKOimt/d0D2QywdBoUgmAHf1faEtGZODZ 1v1o68Bg==; Received: from szxga06-in.huawei.com ([45.249.212.32]) by casper.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lQmKL-001B6r-OQ for linux-arm-kernel@lists.infradead.org; Mon, 29 Mar 2021 07:29:05 +0000 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210329_082846_205559_DB5127BC X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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(-) 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>,