Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3687979pxb; Mon, 30 Aug 2021 08:19:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+4ejRXd5xwgqV/O5I+9ZaB4TG+Piyvosxnn85FXNiyqYwIbWtdKjAQ7mJXs50DmgRW/4w X-Received: by 2002:a17:906:7848:: with SMTP id p8mr24985008ejm.212.1630336785274; Mon, 30 Aug 2021 08:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630336785; cv=none; d=google.com; s=arc-20160816; b=sX0Re7PGS/gxL7IvqCviGTauZ/D9h6yL5hrfTkZxvsaSk64krFtb3PlnMqoB0NGFOe tWLaOKdsNE+uW/qsTQkTUm/qfik8LufBSCO6B5FLCYLV+Mh0DEYf+PbrmRyWNfALxTr6 /WKWkPPVjPEObPl2pAfBIuhyDjj6CJ9LwUEX9x6PE21KZ/Sjsa6gQ6o6pxksPyD+2s+u DkX3aoPVAFbfShVGZae4XaztKgrW/EX9aWLeTiTeoezXZRlLrX/ZCZnKhZmbhkebT/Sw ktIb7TRAMhyYTQduS0eDvkK3MwsV88te55VqGYUPDBT/8TVtlyfEprcl67DGDyx9dx8o ErLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:references:in-reply-to :sensitivity:importance:date:subject:cc:to:from:message-id :mime-version:dkim-signature; bh=SVRxIURUTlUQcS+qeyAvPuF2X50eOrZozknwhrAkrHE=; b=rw78/z0JwKpA/4bzDGrFj2HAhBUdstinTDnybZkqAh4fjb6QAy4/upy3NNvb1S78NU b58GLaHqkAPd7w21VsvyDw6sSDwCyWt/O3mbt3FnngzCwnRY87TTZB/oadUrT7Gq98ql aMR65ml6+FdpCQ1Wph3SfpAYdZlfYkTYMUfpLCOpgjrt3fHIV2N6WTETr+Klq6i7/uuN 3TJsVsR1ORThT9Wv2Pub6AMlkn9Q9fastZfeMqGH4ZDEkZJ8rL3MDEXLRW8YY9gPpWBZ TS94GGXgdq0kpKyNFK8cjolMJxkwFDE+iqGZxz2AcqQLkhCNH+w54E374wkiPIhqhprH ykug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=QOsw9NiU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ji10si16215750ejc.496.2021.08.30.08.19.11; Mon, 30 Aug 2021 08:19:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=QOsw9NiU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237428AbhH3PS3 (ORCPT + 99 others); Mon, 30 Aug 2021 11:18:29 -0400 Received: from mout.gmx.net ([212.227.17.21]:46323 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237218AbhH3PS2 (ORCPT ); Mon, 30 Aug 2021 11:18:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1630336630; bh=I4E4Rendp4jhii6JjCdLdSOCsheSaYn1ijpWYeUaEGg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QOsw9NiUDAuitqrd56V08G2iexnppzgWJSujTvskYkAaEl2e68FC0B/pnWbyY4acp JcuTC2dui9IWp87CS6+kDlcDSprshruxdbBcr9henp/fqbW3BM02a3pXtA/+APZsFQ RJxpFd00q4taH0qoMS9C/nj50LFI+rvfqc8Rh9u8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [157.180.227.230] ([157.180.227.230]) by web-mail.gmx.net (3c-app-gmx-bap54.server.lan [172.19.172.124]) (via HTTP); Mon, 30 Aug 2021 17:17:10 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Sungbo Eo Cc: linux-mediatek@lists.infradead.org, Chunfeng Yun , Greg Kroah-Hartman , Rob Herring , Matthias Brugger , Min Guo , devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sungbo Eo Subject: Aw: [PATCH v3 1/1] arm: dts: mt7623: add musb device nodes Content-Type: text/plain; charset=UTF-8 Date: Mon, 30 Aug 2021 17:17:10 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20210822041333.5264-2-mans0n@gorani.run> References: <20210808123840.176738-1-mans0n@gorani.run> <20210822041333.5264-1-mans0n@gorani.run> <20210822041333.5264-2-mans0n@gorani.run> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:PVW6ogB5IbVNYXNq4+VxktgDFJueM9d5jQy5Rc1v6z6lh4eyTqTHewYt/atURSDJ+CJFA rN7JrQhEJXZW92ieXxpkeQLMC6AYQp95fO9zjZkWUbXEYNb/T+rT+9yn1xI77qoiadf+vQV+t0m8 sEPfs5gJXP9SPaNIPnXEhOORxp1HQxUkGeDhYqdsLYjZD9HoJhlTzX2I2954wG4bSB3P2v/Eld3R 415V93aGmBS9xlJC7ZNzMss/0b/QrRNGHGo4UBStiurfLO8FjVbkAbSK+AfDlALv7rtVDX2C+rBB Fk= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FTnVLzCX/RQ=:3m5+bh5XwLWE4iT48hrfMw 8UfDFqeGQG+dhulVq1TFTUPelPBz4C9DbBso4DHlrLLmA3Ph55vBrPG6VGSj4uwn4ibHwBlLh GRQ/4uDUGIv0gbQV4tGiCoDO/Ymp0qzVCFqdMtTFvgbmgVkpbCSIAw0OIUPif7a06znjcejQp 82XLP4HqVE9ehbB6v42Pc0sdpV4KU2YQm/MqOHZecC567saXVFSpWJv6hNeIMTqWuaIhLWIqN cip5moBG4n7e1IsuqywKoMZ0ZxGsbNmNa2VFjBDociNneBnQ/nysCTOtuPr7TZtHyq4r1PuIi +SRAN2REc1GPeKnQhHVcOu2986sDjCtuIh9Gd0qmPVy3gfmomO7PxUIiZ7PSbIGwsgKZgwMxs OpRKc/qfVCCgAdvYLYFpMQJbK1ZGUZKgF0HrUOZ1/tTvPYUJRyMP/c0l5LV+cmUFG/KCfe4FH rXg+zbWH8M41rpSbWr3fLekiMob9LV4DPF1pMJVdNd4t8ZjaUjPNWEEpDkc79/i/J8uL4Qzd5 j5czFvgcQyRxN1Q7H3yFRpVJVRFMLOrueMnUcokdfhnAvSs+OE7fU1n0SDuTegztqsT4J0c+G IYBnP6xghu4NCC/gcvz1EBIPWhjJ9xTOsO+4pD8N4LvSb8m5AurR4Fn6chPdZlmuqaAU2cVTl hYNal+q4dCTu9nGBQsA6Iq37q8WY+flvdy8Hs7A2oqrUj20iUBtLVLK1uUUgHUOtrX9jBb6gd GyNYsH/3it/6LNSsI3f22meVFTm6/566IXry/rmpROSZxtQGSu7EdaO1yLiHxhad3Zo276JhP +td334ANPRmWZDSLo4d/XymfYwPPmdLdIXs5rZWovA4Mh6iYss= Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tested-by: Frank Wunderlich after adding nodes for r2 https://patchwork.kernel.org/project/linux-mediatek/patch/20210830145958.1= 08605-1-linux@fw-web.de/ regards Frank > Gesendet: Sonntag, 22. August 2021 um 06:13 Uhr > Von: "Sungbo Eo" > An: linux-mediatek@lists.infradead.org > Cc: "Chunfeng Yun" , "Greg Kroah-Hartman" , "Rob Herring" , "Matthias B= rugger" , "Min Guo" , "Frank= Wunderlich" , devicetree@vger.kernel.org, linux-= usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vg= er.kernel.org, "Sungbo Eo" > Betreff: [PATCH v3 1/1] arm: dts: mt7623: add musb device nodes > > MT7623 has an musb controller that is compatible with the one from MT270= 1. > > Signed-off-by: Sungbo Eo > --- > v3: > * remove unnecessary status=3Dokay from u2port2 > > v2: > * rename usb3 label to usb0 > * move usb0 & u2phy1 nodes to the right sorted place > * disable u2phy1 by default > * correct u2port2 node name to match its reg address > --- > arch/arm/boot/dts/mt7623.dtsi | 33 +++++++++++++++++++++++++++++++++ > arch/arm/boot/dts/mt7623a.dtsi | 4 ++++ > 2 files changed, 37 insertions(+) > > diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dt= si > index 3c11f7cfcc40..21c8a291b74e 100644 > --- a/arch/arm/boot/dts/mt7623.dtsi > +++ b/arch/arm/boot/dts/mt7623.dtsi > @@ -585,6 +585,39 @@ spi2: spi@11017000 { > status =3D "disabled"; > }; > > + usb0: usb@11200000 { > + compatible =3D "mediatek,mt7623-musb", > + "mediatek,mtk-musb"; > + reg =3D <0 0x11200000 0 0x1000>; > + interrupts =3D ; > + interrupt-names =3D "mc"; > + phys =3D <&u2port2 PHY_TYPE_USB2>; > + dr_mode =3D "otg"; > + clocks =3D <&pericfg CLK_PERI_USB0>, > + <&pericfg CLK_PERI_USB0_MCU>, > + <&pericfg CLK_PERI_USB_SLV>; > + clock-names =3D "main","mcu","univpll"; > + power-domains =3D <&scpsys MT2701_POWER_DOMAIN_IFR_MSC>; > + status =3D "disabled"; > + }; > + > + u2phy1: t-phy@11210000 { > + compatible =3D "mediatek,mt7623-tphy", > + "mediatek,generic-tphy-v1"; > + reg =3D <0 0x11210000 0 0x0800>; > + #address-cells =3D <2>; > + #size-cells =3D <2>; > + ranges; > + status =3D "disabled"; > + > + u2port2: usb-phy@11210800 { > + reg =3D <0 0x11210800 0 0x0100>; > + clocks =3D <&topckgen CLK_TOP_USB_PHY48M>; > + clock-names =3D "ref"; > + #phy-cells =3D <1>; > + }; > + }; > + > audsys: clock-controller@11220000 { > compatible =3D "mediatek,mt7623-audsys", > "mediatek,mt2701-audsys", > diff --git a/arch/arm/boot/dts/mt7623a.dtsi b/arch/arm/boot/dts/mt7623a.= dtsi > index 0735a1fb8ad9..d304b62d24b5 100644 > --- a/arch/arm/boot/dts/mt7623a.dtsi > +++ b/arch/arm/boot/dts/mt7623a.dtsi > @@ -35,6 +35,10 @@ &scpsys { > clock-names =3D "ethif"; > }; > > +&usb0 { > + power-domains =3D <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; > +}; > + > &usb1 { > power-domains =3D <&scpsys MT7623A_POWER_DOMAIN_HIF>; > }; > -- > 2.33.0 > >