Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2311696pxp; Mon, 21 Mar 2022 16:37:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyznqOd+ZhNTccKqQMyrGtht9krSKwO7PMUOi5Nh+0h1709WiSe95FIxwJzc7YNbsXKGS3i X-Received: by 2002:a17:902:d645:b0:153:abad:be7d with SMTP id y5-20020a170902d64500b00153abadbe7dmr15043389plh.118.1647905830515; Mon, 21 Mar 2022 16:37:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647905830; cv=none; d=google.com; s=arc-20160816; b=Aatlz1OqiDJ+xoYlxvTN+56FnEt//7V/QikATT0dYSycr/Kv0VdCkPUnc6OVYlC7aj NmX1uSfGoQeHbceO+iyIzgewipQZ65jPwPom/tNdLoAnLFyYeEU857xqW6b9z8VoTqoC 3k28742a2EIf3G4fbFIEQK1PYpLj0N8auhIRCSTa3kCduSOQlZ2K+Gh8PvrCztkoFjwL GfabbF3IZpzPE/o24Dg3w3Thn6CG/Lr1PLzC8FVR40NzLeZ/cYgqaQh+bf+pIX31q7Xc ZTqKMoekelp7SZUoTC4xWPmJ2tq0cozX0Vbt1ata3u9apkAw1SRjJh8cm47qdeXwUqqZ Be5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=z9Xu2ilDevDfqq6AGHPJYyzJg2bj2RWky3njW0O5Gzc=; b=0AQr1+rTSLVtMv196GxfX/U1gWys2uIKmATKRbaVLJOO7zT+KtVaJSXsfVQ3MeCmjO rbEncaxM9A9HyFFUuhqwapu5qHKMSift0TeR8RDsBCr8JRGaeNUEOAs+OM4pwLCCrAOe O07DT/KB8X3P1rhgD6awXWnhJBjXSw874GNiPbrPehqVjRmqfFD+tt1krz+Tr8de3I6I sDf7MGXbEU7sewv4WuGjiFqfnKZTzU6LRIJpznGBCrztOHOIfDfCv64Bk5VDfm6kJNhU pPgA2CTEQwOWiieXbwQyk+wE3LFZEkwUba5rAfAAbNFqgy1dY+Y5uOrHDDmmZn84+6mm zzNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Tr6qLx7D; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b18-20020a170902d31200b00153b2d16470si11058363plc.120.2022.03.21.16.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 16:37:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Tr6qLx7D; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B8864D9C0; Mon, 21 Mar 2022 15:46:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229763AbiCUWrU (ORCPT + 99 others); Mon, 21 Mar 2022 18:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229729AbiCUWrA (ORCPT ); Mon, 21 Mar 2022 18:47:00 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ECB136627B; Mon, 21 Mar 2022 15:26:20 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id 77B891F43C7A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1647901578; bh=B8Pb07hkCfW+xPaMdiwdl2p2fFiGYRzPCnnydlob/vg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Tr6qLx7D1I+cpf7Bg25M1DfpHYW3LmJzrS546wmKykxyPgOQv1Df3Rntju+oWv201 1Ra/PeOakKqLV/N3BEUPbzEaYb0wn1biZgAZA65z7cMHgQsuxjTGm3bpqjzW59xCGk 5jhd37GA0/JDDEMVWyMozFZN9JK48X3vUMl+o8x/BB1h00W5ATPRwwTdYFbXNLc9ep RF5R5bwIIjsOsc+qU22Boj5yX79cEyZo4KS94s1yRpcME8W8RJ4VU7JDonUHzP2zr3 LGR7UELzrHvuqenyN4atQ0SwuxsVfoD3SIGKIZANQ2uKd+Tscr4Miw5sZXKZ/l+G1Q n99LtvS7z+gkw== Date: Mon, 21 Mar 2022 18:26:13 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Allen-KH Cheng Cc: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Project_Global_Chrome_Upstream_Group@mediatek.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Chen-Yu Tsai , Ryder Lee , Hui Liu Subject: Re: [PATCH v4 06/22] arm64: dts: mt8192: Add xhci node Message-ID: <20220321222613.aro6m72hoyubsggg@notapiano> References: <20220318144534.17996-1-allen-kh.cheng@mediatek.com> <20220318144534.17996-7-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220318144534.17996-7-allen-kh.cheng@mediatek.com> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 10:45:18PM +0800, Allen-KH Cheng wrote: > Add xhci node for mt8192 SoC. > > Signed-off-by: Allen-KH Cheng > Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: N?colas F. R. A. Prado > --- > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > index 28b93b76fe17..6bc36a4076f4 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > @@ -10,6 +10,7 @@ > #include > #include > #include > +#include > #include > > / { > @@ -718,6 +719,29 @@ > status = "disabled"; > }; > > + xhci: usb@11200000 { > + compatible = "mediatek,mt8192-xhci", > + "mediatek,mtk-xhci"; > + reg = <0 0x11200000 0 0x1000>, > + <0 0x11203e00 0 0x0100>; > + reg-names = "mac", "ippc"; > + interrupts-extended = <&gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>; > + interrupt-names = "host"; > + phys = <&u2port0 PHY_TYPE_USB2>, > + <&u3port0 PHY_TYPE_USB3>; > + assigned-clocks = <&topckgen CLK_TOP_USB_TOP_SEL>, > + <&topckgen CLK_TOP_SSUSB_XHCI_SEL>; > + assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL_D5_D4>, > + <&topckgen CLK_TOP_UNIVPLL_D5_D4>; > + clocks = <&infracfg CLK_INFRA_SSUSB>, > + <&infracfg CLK_INFRA_SSUSB_XHCI>, > + <&apmixedsys CLK_APMIXED_USBPLL>; > + clock-names = "sys_ck", "xhci_ck", "ref_ck"; > + wakeup-source; > + mediatek,syscon-wakeup = <&pericfg 0x420 102>; > + status = "disabled"; > + }; > + > nor_flash: spi@11234000 { > compatible = "mediatek,mt8192-nor"; > reg = <0 0x11234000 0 0xe0>; > -- > 2.18.0 > >