From patchwork Sat Jan 16 09:06:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364774 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY,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 50EF4C433DB for ; Sat, 16 Jan 2021 09:08:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1D5D723A59 for ; Sat, 16 Jan 2021 09:08:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726059AbhAPJHs (ORCPT ); Sat, 16 Jan 2021 04:07:48 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:9174 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725964AbhAPJHr (ORCPT ); Sat, 16 Jan 2021 04:07:47 -0500 X-UUID: b9104e2364bb4d6d91ad2047620d1b62-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=yGhzv1EUXi8QSnA1bSVjasGhtffl3aQKGg5i1yBbnS8=; b=Y5SBmYAYo7fcFrhZtZHxFoOdaSHU2ehxp00visSoefv7nbHwKZX+uWCA2bSW2W+fu+BNTiPU5dVtbIHvk5dnQGLSkFXLGfF//I3nyCLOS9CtjbCzkmNSuo79XPY4LXERSkJRFp604XpJfz2+Sbfyqo8wTRP0KMxizCtPKha0gLc=; X-UUID: b9104e2364bb4d6d91ad2047620d1b62-20210116 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 449338106; Sat, 16 Jan 2021 17:07:01 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:06:57 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:06:57 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 01/15] dt-bindings: usb: fix yamllint check warning Date: Sat, 16 Jan 2021 17:06:42 +0800 Message-ID: <20210116090656.11752-1-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-SNTS-SMTP: D4253F565DE206D3F1DE0E9951088A82B846C0C7F21195BBF20DABE1589C86902000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix warning: "missing starting space in comment" Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/usb-device.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.18.0 diff --git a/Documentation/devicetree/bindings/usb/usb-device.yaml b/Documentation/devicetree/bindings/usb/usb-device.yaml index 7bb25a45427d..23e76cfb2066 100644 --- a/Documentation/devicetree/bindings/usb/usb-device.yaml +++ b/Documentation/devicetree/bindings/usb/usb-device.yaml @@ -82,9 +82,9 @@ required: additionalProperties: true examples: - #hub connected to port 1 - #device connected to port 2 - #device connected to port 3 + # hub connected to port 1 + # device connected to port 2 + # device connected to port 3 # interface 0 of configuration 1 # interface 0 of configuration 2 - | From patchwork Sat Jan 16 09:06:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364767 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 61E93C43381 for ; Sat, 16 Jan 2021 09:09:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3714B23B1B for ; Sat, 16 Jan 2021 09:09:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726467AbhAPJHv (ORCPT ); Sat, 16 Jan 2021 04:07:51 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:62098 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726018AbhAPJHs (ORCPT ); Sat, 16 Jan 2021 04:07:48 -0500 X-UUID: e4595f3d832c47edb2ce69307b07627a-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=jcPT0Ouro3sFfGACLVKC62buUbGfh+WkruUymncuilQ=; b=pM0+Q+KrcysYMM92t99TDWsDjCAS0Cgnww6LQvb0FhonpynkePvBB2C/OY4bJD4de+NnlUbh+Xma5JzASnILj7EkPA6e7jWB8Zp4H0qVA65i/T8IpjxPFheyXr34T/SuuUvInpNCytahYM8twR9qpHdwhn8ixmI96tTgsH95VJc=; X-UUID: e4595f3d832c47edb2ce69307b07627a-20210116 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 245384260; Sat, 16 Jan 2021 17:07:01 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:06:58 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:06:58 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 02/15] dt-bindings: usb: mediatek: fix yamllint check warning Date: Sat, 16 Jan 2021 17:06:43 +0800 Message-ID: <20210116090656.11752-2-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 950C4F545F68DBC63BF8CFA97B963ECC14D56E0EA4CF1E0805DB59BDFF6F46BE2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fix warning: "too many spaces inside brackets" Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 2 +- Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml | 6 +++--- Documentation/devicetree/bindings/usb/mediatek,musb.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) -- 2.18.0 diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml index 38b1fe18aa79..a3817f3af59d 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml @@ -139,7 +139,7 @@ patternProperties: description: The hard wired USB devices. dependencies: - wakeup-source: [ 'mediatek,syscon-wakeup' ] + wakeup-source: ['mediatek,syscon-wakeup'] required: - compatible diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml index f5c04b9d2de9..66d78f534722 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml @@ -172,9 +172,9 @@ patternProperties: example if the host mode is enabled. dependencies: - connector: [ 'usb-role-switch' ] - port: [ 'usb-role-switch' ] - wakeup-source: [ 'mediatek,syscon-wakeup' ] + connector: ['usb-role-switch'] + port: ['usb-role-switch'] + wakeup-source: ['mediatek,syscon-wakeup'] required: - compatible diff --git a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml index 790efe8b6274..a515c9f30b96 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml @@ -66,8 +66,8 @@ properties: type: object dependencies: - usb-role-switch: [ 'connector' ] - connector: [ 'usb-role-switch' ] + usb-role-switch: ['connector'] + connector: ['usb-role-switch'] required: - compatible From patchwork Sat Jan 16 09:06:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364769 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 08BCCC433E0 for ; Sat, 16 Jan 2021 09:09:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3F3723A56 for ; Sat, 16 Jan 2021 09:09:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbhAPJIx (ORCPT ); Sat, 16 Jan 2021 04:08:53 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:5744 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726355AbhAPJHx (ORCPT ); Sat, 16 Jan 2021 04:07:53 -0500 X-UUID: 2c9c77b2efa4437b98702a15751ef833-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=AD0i1R8yJgFx1z7zUAccj3OpNdRw4eqgL8BYzLFKR2A=; b=TDsneO9aOnhLtyLK0eYApAbEy/Cd6uvlROpF5WqZCQuAamKSBlrMExY1xHHEnQPisaCT9U1zcJePvsVjCfVzUQSJplZ64YWcNCGk/4juXNxO14FlHe1pJGEYirh4EbixepLMeklcn8/bkQuo4fQO4QBGeeejmPocCBhlr5JPS/4=; X-UUID: 2c9c77b2efa4437b98702a15751ef833-20210116 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1308209122; Sat, 16 Jan 2021 17:07:03 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:07:00 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:07:00 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 06/15] dt-bindings: usb: mtk-xhci: add support mt2701 and mt7623 Date: Sat, 16 Jan 2021 17:06:47 +0800 Message-ID: <20210116090656.11752-6-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 8F824AF4D9B980C3A787CC4D4748F8E4E7A4D16D0FF44E694AC9C5BB9BD564332000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add two compatible for mt2701 and mt7623; add property "assigned-clock" and "assigned-clock-parents" used by mt7629. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.18.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml index a3817f3af59d..46fe3a189359 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml @@ -23,8 +23,10 @@ properties: compatible: items: - enum: + - mediatek,mt2701-xhci - mediatek,mt2712-xhci - mediatek,mt7622-xhci + - mediatek,mt7623-xhci - mediatek,mt7629-xhci - mediatek,mt8173-xhci - mediatek,mt8183-xhci @@ -67,6 +69,14 @@ properties: - const: dma_ck - const: xhci_ck + assigned-clocks: + minItems: 1 + maxItems: 5 + + assigned-clock-parents: + minItems: 1 + maxItems: 5 + phys: description: List of all PHYs used on this HCD, it's better to keep PHYs in order From patchwork Sat Jan 16 09:06:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364768 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY,URIBL_BLOCKED,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 6CBA8C43381 for ; Sat, 16 Jan 2021 09:09:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35F1023A59 for ; Sat, 16 Jan 2021 09:09:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727376AbhAPJJF (ORCPT ); Sat, 16 Jan 2021 04:09:05 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:33249 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726367AbhAPJHv (ORCPT ); Sat, 16 Jan 2021 04:07:51 -0500 X-UUID: b2694990a7934a7aadf4d061fea6d06f-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Pun8v9yMPDCTHtps/y4Jux1MOuwf6jBhU/B3znpzGRU=; b=uN3+wiSBq+h8XXRaOpRRENP2zrJiABCTaNGJ8e+0pqmTY7jXUe8eb+qFL1LlGQNoOBZY1WwHKAjM6XWkk8wKjS5/llZ+11vOwENymZlvWND0zCA4eT3Aq/2Yu6vf4cZM226Cbt7PLpxIDtfydQldtojYgRRpKSzPIhtsW7wxh3o=; X-UUID: b2694990a7934a7aadf4d061fea6d06f-20210116 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 648124648; Sat, 16 Jan 2021 17:07:02 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:07:00 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:07:00 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 07/15] dt-bindings: usb: mediatek: musb: add mt8516 compatbile Date: Sat, 16 Jan 2021 17:06:48 +0800 Message-ID: <20210116090656.11752-7-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: DE61612F5C69EEB0311F4163049276AC8C365331AAC1AD784024FF33524DA77B2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add support mt8516 compatbile Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/mediatek,musb.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 diff --git a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml index a515c9f30b96..e02d8f5d53dc 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml @@ -17,6 +17,7 @@ properties: compatible: items: - enum: + - mediatek,mt8516-musb - mediatek,mt2701-musb - const: mediatek,mtk-musb From patchwork Sat Jan 16 09:06:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364771 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 1C50FC43333 for ; Sat, 16 Jan 2021 09:08:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0659B23A56 for ; Sat, 16 Jan 2021 09:08:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726753AbhAPJHy (ORCPT ); Sat, 16 Jan 2021 04:07:54 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:16947 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726416AbhAPJHx (ORCPT ); Sat, 16 Jan 2021 04:07:53 -0500 X-UUID: 8c14cfce8a6b4ce4ac15279749a72152-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=1NGzGRnCR+w17RCentVNvfjPyjrgOicWDwDStm/Ppnk=; b=ElzSOKqb48uoFlfzZWiOUnafbWhWC2+zq/eXd+1ziahb/+qvjVP0yo1NIG5oEweiL11QbemUFKeAvHMozWcsM58h0rg6IEKQqafvIhYSM2riMx24SQ9UTjUFfbtMJwrmhlm9PqxTqgj9/G3I8qmmr0EpvrImHepVnLuQOu6FIPQ=; X-UUID: 8c14cfce8a6b4ce4ac15279749a72152-20210116 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 839267823; Sat, 16 Jan 2021 17:07:04 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:07:01 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:07:01 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 09/15] arm64: dts: mediatek: mt2712: harmonize node names Date: Sat, 16 Jan 2021 17:06:50 +0800 Message-ID: <20210116090656.11752-9-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: FA97D7232DB38159C8903CA725EFE3F987503E76C0F654681B44D61DEA36C8872000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is used to fix dtbs_check warning. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.18.0 diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index db17d0a4ed57..a9cca9c146fd 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -805,7 +805,7 @@ ranges; status = "disabled"; - usb_host0: xhci@11270000 { + usb_host0: usb@11270000 { compatible = "mediatek,mt2712-xhci", "mediatek,mtk-xhci"; reg = <0 0x11270000 0 0x1000>; @@ -818,7 +818,7 @@ }; }; - u3phy0: usb-phy@11290000 { + u3phy0: t-phy@11290000 { compatible = "mediatek,mt2712-tphy", "mediatek,generic-tphy-v2"; #address-cells = <1>; @@ -869,7 +869,7 @@ ranges; status = "disabled"; - usb_host1: xhci@112c0000 { + usb_host1: usb@112c0000 { compatible = "mediatek,mt2712-xhci", "mediatek,mtk-xhci"; reg = <0 0x112c0000 0 0x1000>; @@ -882,7 +882,7 @@ }; }; - u3phy1: usb-phy@112e0000 { + u3phy1: t-phy@112e0000 { compatible = "mediatek,mt2712-tphy", "mediatek,generic-tphy-v2"; #address-cells = <1>; From patchwork Sat Jan 16 09:06:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364770 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 76917C43217 for ; Sat, 16 Jan 2021 09:08:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 47BEE23A5E for ; Sat, 16 Jan 2021 09:08:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727228AbhAPJIl (ORCPT ); Sat, 16 Jan 2021 04:08:41 -0500 Received: from Mailgw01.mediatek.com ([1.203.163.78]:45297 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726629AbhAPJHy (ORCPT ); Sat, 16 Jan 2021 04:07:54 -0500 X-UUID: 6ba9a2f2d54843cc8c63397ca2bfe64d-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=7aYnpH3HNuIrIaHyA9QR6A7n68xEKo/2Nbjq9vRRJzw=; b=lHqeW6+cvti1hAbq+MiUlzwIUF5Qo/YGht2pIMnAmouC85B158GS827gk3TmiLNELc5bIyhfibMgWLUEMJjciLB9fVzJIpPqYsVzY1NjYiUMcBWvGc8fdrBp4tUym9CGHfGQaTPCEtn2ZpIPV7cr/1n/73UuMDdz0pgKhfQHdro=; X-UUID: 6ba9a2f2d54843cc8c63397ca2bfe64d-20210116 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1148076225; Sat, 16 Jan 2021 17:07:04 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:07:01 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:07:01 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 10/15] arm64: dts: mediatek: mt8516: harmonize node names and compatibles Date: Sat, 16 Jan 2021 17:06:51 +0800 Message-ID: <20210116090656.11752-10-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: DF0CEA2BEE36AA4CFFF4BD2F092C09DDF5DBA51F83E182D786589611B8C5061B2000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is used to fix dtbs_check warning: harmonize node names and compatibles; add property "usb-role-switch" for connector dependence. Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 9 +++++---- arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) -- 2.18.0 diff --git a/arch/arm64/boot/dts/mediatek/mt8516.dtsi b/arch/arm64/boot/dts/mediatek/mt8516.dtsi index e6e4d9d60094..70c9c7423bd4 100644 --- a/arch/arm64/boot/dts/mediatek/mt8516.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8516.dtsi @@ -450,7 +450,7 @@ }; usb0: usb@11100000 { - compatible = "mediatek,mtk-musb"; + compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb"; reg = <0 0x11100000 0 0x1000>; interrupts = ; interrupt-names = "mc"; @@ -463,7 +463,7 @@ }; usb1: usb@11190000 { - compatible = "mediatek,mtk-musb"; + compatible = "mediatek,mt8516-musb", "mediatek,mtk-musb"; reg = <0 0x11190000 0 0x1000>; interrupts = ; interrupt-names = "mc"; @@ -476,8 +476,9 @@ status = "disabled"; }; - usb_phy: usb@11110000 { - compatible = "mediatek,generic-tphy-v1"; + usb_phy: t-phy@11110000 { + compatible = "mediatek,mt8516-tphy", + "mediatek,generic-tphy-v1"; reg = <0 0x11110000 0 0x800>; #address-cells = <2>; #size-cells = <2>; diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi index 63fd70086bb8..7d738f01cf8d 100644 --- a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi +++ b/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi @@ -188,6 +188,7 @@ &usb0 { status = "okay"; dr_mode = "peripheral"; + usb-role-switch; usb_con: connector { compatible = "usb-c-connector"; From patchwork Sat Jan 16 09:06:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364772 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 CC40EC4332B for ; Sat, 16 Jan 2021 09:08:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A5C3C23A75 for ; Sat, 16 Jan 2021 09:08:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726533AbhAPJIZ (ORCPT ); Sat, 16 Jan 2021 04:08:25 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:46186 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726506AbhAPJH7 (ORCPT ); Sat, 16 Jan 2021 04:07:59 -0500 X-UUID: a74ab4bbbbb142cfbc7862f8f6dbfb7d-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=VR5RTJ8obuOVwCZGur1zpK6Fre5HWsYtAU4oqij905Q=; b=GAVoH0nhQoeRIdpxR03iofk41yiKuR4PqLe5gG3hGyzhhVpzJ+3zpnnQ05wEL8GxESzBOc97t6F7J9Bz6Hp871fh42hvcOfEa9SoMLvBaASzXmbpe3IuiV0/42yki1yYmIlSL1Ws9I+XZFP4UA6tBCbTsNtLxX3LtJT0YAFyu6w=; X-UUID: a74ab4bbbbb142cfbc7862f8f6dbfb7d-20210116 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 930869144; Sat, 16 Jan 2021 17:07:07 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:07:03 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:07:03 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 13/15] arm: dts: mt7629: harmonize node names and compatibles Date: Sat, 16 Jan 2021 17:06:54 +0800 Message-ID: <20210116090656.11752-13-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 83740CD150C773CF618FC4FA73D09DAFF1321D15ABC9DA8D35617FCFD9397B312000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- arch/arm/boot/dts/mt7629.dtsi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) -- 2.18.0 diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index 5cbb3d244c75..874043f0490d 100644 --- a/arch/arm/boot/dts/mt7629.dtsi +++ b/arch/arm/boot/dts/mt7629.dtsi @@ -329,8 +329,9 @@ status = "disabled"; }; - u3phy0: usb-phy@1a0c4000 { - compatible = "mediatek,generic-tphy-v2"; + u3phy0: t-phy@1a0c4000 { + compatible = "mediatek,mt7629-tphy", + "mediatek,generic-tphy-v2"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x1a0c4000 0xe00>; @@ -413,14 +414,15 @@ }; }; - pciephy1: pcie-phy@1a14a000 { - compatible = "mediatek,generic-tphy-v2"; + pciephy1: t-phy@1a14a000 { + compatible = "mediatek,mt7629-tphy", + "mediatek,generic-tphy-v2"; #address-cells = <1>; #size-cells = <1>; ranges = <0 0x1a14a000 0x1000>; status = "disabled"; - pcieport1: port1phy@0 { + pcieport1: pcie-phy@0 { reg = <0 0x1000>; clocks = <&clk20m>; clock-names = "ref"; From patchwork Sat Jan 16 09:06:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bmZlbmcgWXVuICjkupHmmKXls7Ap?= X-Patchwork-Id: 364773 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,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MIME_BASE64_TEXT, SPF_HELO_NONE, SPF_PASS, UNPARSEABLE_RELAY, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 89C15C43381 for ; Sat, 16 Jan 2021 09:08:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6F8E523A56 for ; Sat, 16 Jan 2021 09:08:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbhAPJIB (ORCPT ); Sat, 16 Jan 2021 04:08:01 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:46871 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726906AbhAPJIA (ORCPT ); Sat, 16 Jan 2021 04:08:00 -0500 X-UUID: 1fe82d121a43441cba0ab18cb43edf66-20210116 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=zs+CwzzlLB5XfSyxussKwdTKfOrG+slA6GzwOnDq/Iw=; b=C9oFTsvt+mR+t6vuT7lG9tIkJLk/moQzTpbyiJQLvygpM14mjin7U4vMz4K9rCj5bkiLs0To3mP9ijlVb+TdxwnoPKuUQe6iYEaqLQ1Eq2rTPPotdMxZPGKt6l94CC8FxlJ3xTVzgReZt9yClo3nD2QkoQiL21xqXcPE8b8HckU=; X-UUID: 1fe82d121a43441cba0ab18cb43edf66-20210116 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 600546261; Sat, 16 Jan 2021 17:07:10 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 16 Jan 2021 17:07:04 +0800 Received: from mtkslt301.mediatek.inc (10.21.14.114) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 16 Jan 2021 17:07:04 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Greg Kroah-Hartman , Matthias Brugger CC: Chunfeng Yun , Kishon Vijay Abraham I , Chun-Kuang Hu , Philipp Zabel , Min Guo , , , , , Subject: [PATCH next 15/15] arm: dts: mt2701: harmonize node names and compatibles Date: Sat, 16 Jan 2021 17:06:56 +0800 Message-ID: <20210116090656.11752-15-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210116090656.11752-1-chunfeng.yun@mediatek.com> References: <20210116090656.11752-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 3351F36B74ACAF5BC9F06954368254E694B34A1E7224F948F1C411D66B9947592000:8 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- arch/arm/boot/dts/mt2701.dtsi | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) -- 2.18.0 diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index fade14284017..4776f85d6d5b 100644 --- a/arch/arm/boot/dts/mt2701.dtsi +++ b/arch/arm/boot/dts/mt2701.dtsi @@ -607,7 +607,7 @@ }; usb0: usb@1a1c0000 { - compatible = "mediatek,mt8173-xhci"; + compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci"; reg = <0 0x1a1c0000 0 0x1000>, <0 0x1a1c4700 0 0x0100>; reg-names = "mac", "ippc"; @@ -620,8 +620,9 @@ status = "disabled"; }; - u3phy0: usb-phy@1a1c4000 { - compatible = "mediatek,mt2701-u3phy"; + u3phy0: t-phy@1a1c4000 { + compatible = "mediatek,mt2701-tphy", + "mediatek,generic-tphy-v1"; reg = <0 0x1a1c4000 0 0x0700>; #address-cells = <2>; #size-cells = <2>; @@ -646,7 +647,7 @@ }; usb1: usb@1a240000 { - compatible = "mediatek,mt8173-xhci"; + compatible = "mediatek,mt2701-xhci", "mediatek,mtk-xhci"; reg = <0 0x1a240000 0 0x1000>, <0 0x1a244700 0 0x0100>; reg-names = "mac", "ippc"; @@ -659,8 +660,9 @@ status = "disabled"; }; - u3phy1: usb-phy@1a244000 { - compatible = "mediatek,mt2701-u3phy"; + u3phy1: t-phy@1a244000 { + compatible = "mediatek,mt2701-tphy", + "mediatek,generic-tphy-v1"; reg = <0 0x1a244000 0 0x0700>; #address-cells = <2>; #size-cells = <2>; @@ -700,8 +702,9 @@ status = "disabled"; }; - u2phy0: usb-phy@11210000 { - compatible = "mediatek,generic-tphy-v1"; + u2phy0: t-phy@11210000 { + compatible = "mediatek,mt2701-tphy", + "mediatek,generic-tphy-v1"; reg = <0 0x11210000 0 0x0800>; #address-cells = <2>; #size-cells = <2>;