Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6439388rwb; Wed, 18 Jan 2023 05:19:52 -0800 (PST) X-Google-Smtp-Source: AMrXdXua4k/RYBSTjd2r5IUMDszR3PayPxWrL7zVe/lYp+Pymtwq91Ml+37UfgIRxz+2i1Ud57XA X-Received: by 2002:a17:907:39b:b0:84d:4712:9c42 with SMTP id ss27-20020a170907039b00b0084d47129c42mr6952558ejb.56.1674047992703; Wed, 18 Jan 2023 05:19:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674047992; cv=none; d=google.com; s=arc-20160816; b=k0TkrhnI3MiXjL4eu52gpJhIkfh78N1Fi3VjO2Umy3yl0dxvVPhfCljB257bHdlR6t 3uyxBarV3WDSJdjD1JBhZVjaTr16Gq8a/FrZZ1qyNKDaZyqgc5/HsunHkB0nJJYm0SVq 4QSsdgZy5xuWndJco8yc//OylfM4hM6GLBocA2TJ6hlhcQvyjYy9UmBXmdoQInnE2gky /nq5QcGHaBMsPZ0A6qGMyI7F38kCxnOBoFL0RZ9m2s53+LxM4nvCDNYubkUvK29VQgmH 5l9HYQk0zXUHQB3DUtYmN7WQNmRwIFvBE0nYquKDjEIXQ18BB73x7ZNH+6Hz7Ci2uQ3g S5rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BbvK0vbcj2dlur1G4GYdQfKYvi6plRhkQX5fG0/6XaA=; b=0e2pC4JGpLA4tc1PpZqX1cKcKA37jHHZ2FYvAZJKP7pfClEqkYIJ1t2qa/Gh+PE7U/ l/WWSWFkvIU3Kz55mr4udWH4ykby/guLPWancWMMNAIE7YBVRscqsIAp7wVb1uaOvryW jbPYlrjChXUjk4e8wrtUN186bsKGHEZKkNMow1ds2gb9ht3g3j3H0H12VE2xviS0Z1nI PzziOZH5ZbdXGTQlFJszFZj834Nx+Qw84xD3E4DPhACSD96YJO2kGcZA3kfX3yggfH8U w7WzTJa/z0gxJ+iIBkOnKqeBR6uBYfwoN9Jso9VTHEcyr0vjgMboGa2neLWjoH6/DJh6 OfvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Lwg4co7M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr7-20020a170907720700b008775c01f763si2254576ejc.539.2023.01.18.05.19.41; Wed, 18 Jan 2023 05:19:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Lwg4co7M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230287AbjARNRO (ORCPT + 45 others); Wed, 18 Jan 2023 08:17:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbjARNQV (ORCPT ); Wed, 18 Jan 2023 08:16:21 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 100E77D650; Wed, 18 Jan 2023 04:40:56 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id A50DA6602E0B; Wed, 18 Jan 2023 12:40:54 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1674045655; bh=+loW/XVzSr0xbOK3szJGLSNgt77x/7ltGgyJxfGL0Dg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Lwg4co7MNW1JwE74DkaEE6ExU6hkaR3ExFGYuucN3sCUcKLmIp/UM73u3ickeVvn1 5EXe6WN6+PtIsV+oWvqpMc905xTdpKfu3DLpuNhuXAXxwjrjWExk2OinrAUn6wYS4T fahWz4jcYoQUd8xgkSp2btTY/27JvHxMdd+sG3N6P/qbdtcqfChnCYSJaKLywzPlpl gVJ4aYoskD5qSK63XTQjd/+5N/U3tbVTc1YT7bL/mpxL7i1bVkso+nhG2PBqAfCy7F 7SXMMlJRKd9bucWAWMvmfTiHdnlHm7TUmBjo3XRvqLGjAK2xbkCABWe5+3brWtOJBF R4nIxrtcU81DA== Message-ID: <4da35cf7-5c8b-1086-36aa-760d20774c7c@collabora.com> Date: Wed, 18 Jan 2023 13:40:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 1/9] arm64: dts: mediatek: mt8186: Add MTU3 nodes Content-Language: en-US To: Allen-KH Cheng , Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Stephen Boyd , dri-devel@lists.freedesktop.org Cc: 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, hsinyi@chromium.org References: <20230118091829.755-1-allen-kh.cheng@mediatek.com> <20230118091829.755-2-allen-kh.cheng@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20230118091829.755-2-allen-kh.cheng@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Il 18/01/23 10:18, Allen-KH Cheng ha scritto: > Add MTU3 nodes for MT8186 SoC. > > Signed-off-by: Allen-KH Cheng > Tested-by: Chen-Yu Tsai > --- > arch/arm64/boot/dts/mediatek/mt8186.dtsi | 75 ++++++++++++++++++++++++ > 1 file changed, 75 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > index c0a3afd55eaf..3d88480913eb 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > @@ -908,6 +908,43 @@ > status = "disabled"; > }; > > + ssusb0: usb@11201000 { > + compatible = "mediatek,mt8186-mtu3", > + "mediatek,mtu3"; 78 columns; compatibles fit in one line. > + reg = <0 0x11201000 0 0x2dff>, > + <0 0x11203e00 0 0x0100>; 80 cols; regs fit in one line. > + reg-names = "mac", "ippc"; > + clocks = <&topckgen CLK_TOP_USB_TOP>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_REF>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_HCLK>, > + <&infracfg_ao CLK_INFRA_AO_ICUSB>; > + clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck"; > + interrupts = ; > + phys = <&u2port0 PHY_TYPE_USB2>; > + power-domains = <&spm MT8186_POWER_DOMAIN_SSUSB>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + status = "disabled"; > + > + usb_host0: usb@11200000 { > + compatible = "mediatek,mt8186-xhci", > + "mediatek,mtk-xhci"; 90 cols; fits in one line. ...same comments for ssusb1 :-) > + reg = <0 0x11200000 0 0x1000>; > + reg-names = "mac"; > + clocks = <&topckgen CLK_TOP_USB_TOP>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_REF>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_HCLK>, > + <&infracfg_ao CLK_INFRA_AO_ICUSB>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_XHCI>; > + clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck", "xhci_ck"; > + interrupts = ; > + mediatek,syscon-wakeup = <&pericfg 0x420 2>; > + wakeup-source; > + status = "disabled"; > + }; > + }; > + > mmc0: mmc@11230000 { > compatible = "mediatek,mt8186-mmc", > "mediatek,mt8183-mmc"; > @@ -939,6 +976,44 @@ > status = "disabled"; > }; > > + ssusb1: usb@11281000 { > + compatible = "mediatek,mt8186-mtu3", > + "mediatek,mtu3"; > + reg = <0 0x11281000 0 0x2dff>, > + <0 0x11283e00 0 0x0100>; > + reg-names = "mac", "ippc"; > + clocks = <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_P1_SYS>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_P1_REF>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_P1_HCLK>, > + <&clk26m>; > + clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck"; > + interrupts = ; > + phys = <&u2port1 PHY_TYPE_USB2>, > + <&u3port1 PHY_TYPE_USB3>; phys fit in one line. Regards, Angelo