Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3185579rwd; Mon, 29 May 2023 06:59:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5FIRIpUAZhIxY6nseVm9MZzsTXGifNCpnix+hVKKAdD54sPq6yAZTlXFgRbVyEeMyuNa8k X-Received: by 2002:a05:6a20:12c2:b0:10d:12a8:c95b with SMTP id v2-20020a056a2012c200b0010d12a8c95bmr10419538pzg.0.1685368775001; Mon, 29 May 2023 06:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685368774; cv=none; d=google.com; s=arc-20160816; b=L4WeaHBE3Ug5HqapdvsnnCUbZVMHNLnwSkDCpW3VbINoLoKo5/V+SJ7Ykm0fnXN+i8 99FjLOjd+FR6/amsIABvt4wX3juje9HhAO+e2psBdD9JrqrPkYWc63vhTqiZLMPlB0Cj euWV2uE9M6KQyy/z/XWmQ7TBczuQdQ/4+16xeGLFprtN3VL7szMaBhRs0rObu46SWVTZ nO77vGp4ja0W4p9vmd+EBYgwS8ip3KFp4PdVcN/w76ASqeAdtKV0iLFkBKFNv9E11bMF pWy07ziXuhwrCJ4cx/miDWCvapYkvCxdoRxinI042Eyb8YQ6FaJLQHHxIUti0QHFDk6C 9efA== 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=QMg7icjeG89PrUOfRTyZk0yCyfktq3KwivNjgB8ujGA=; b=pUYZCzQm8SvlfXDJrAlg2mUyEz0k73GIm0M78DsActPoz+EJetEscrzd1j7aLxxS3b Qj5VpCBplmnLCK4nKdn5W8O/ISBNjtTqGK9cAs+0ltzisex/RqEa14ujaV8/Gl0FF3cq MRDGcnkXSmT9+4/1ZSqyuz9+aZ35nh9MtjbAyWie7rM2I8RiD0HFSMCuvNIQx8XWLXZl /F7LCCKJgZyoTU7wRVj/aqk+oCPGRjb2iFIySklIufHajcfnI8dZa2NsqyPIdePhlMq5 jLw40ZqEzY2yYHpgN0dfyaBBahnSMHaokIFXByfVgHZkUjde8j+Y7NfSX+naHGBtf1Us FqkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=jz3UGmF4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638b43000000b0053f01212571si9705134pge.257.2023.05.29.06.59.22; Mon, 29 May 2023 06:59:34 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=jz3UGmF4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbjE2Nm6 (ORCPT + 99 others); Mon, 29 May 2023 09:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjE2Nm4 (ORCPT ); Mon, 29 May 2023 09:42:56 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33AE68E; Mon, 29 May 2023 06:42:55 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-30abe551605so2346103f8f.0; Mon, 29 May 2023 06:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685367773; x=1687959773; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=QMg7icjeG89PrUOfRTyZk0yCyfktq3KwivNjgB8ujGA=; b=jz3UGmF4zV/9ZmH3OmhLmGLamQqD/jZ4tmokA/ET2IpieZgSY68L0+c1ietFsX4TU7 6BSGEZT3NGRiZ+MieAT8hphWP9r0eX+UwKn+A7HRxoS7fj/D08/TqRl2aTKUbN+z0Fuh BI2tXbCqIKrUNKJWjn2YP4s+qlMVhimEP+zMosSsk45/FBFs0lLVwPZsZeQRSqXlZaHy 9WlKGeT43JbCWOF/Orv0EWP5LuSob5rFTnfR5yHX77ec1qv6eORm2OLXTL81V+9Nd3jL CAPia/n8/Pw9NAKK00E/V3MRG+iEFCcyLsH3fW/y+xf9g0v8IYrtsdQ8Ws0OLjSsP5Cc fqIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685367773; x=1687959773; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QMg7icjeG89PrUOfRTyZk0yCyfktq3KwivNjgB8ujGA=; b=JQxkbeC89fqtulaJgi/0urUp0YLms4OEBfv0KwVSk0ewxZ53BGBybWlwgHj9xAqW15 3Gh81i5YZYM3wKV7uWmTJt0UTCGGKyVndmDo20zxmmc+dWbCnfxFzyZjKG0yeYzFfdXP jLw2E4GxBrERuOen+lLwF8cerOxZvMy1JMy8DKdNfUvyoEDJUe5HDlsJwM4Cun5joypy lBGTl/1nqpQYLBNcV5N+K8EGFpr3ihOkwIr484kATnGDBIBIlGjOzS1VxqUurpC3aQUy k8Gk5XqIeYMFTPjsV6nPzTtYgAE1rSUtLTACtPwRAWmOL2N2mpCeijgcsS8dyGV7weo6 LCog== X-Gm-Message-State: AC+VfDxfQAqVvFc22rxme56baSfSdAhxGHOGAOlsGPO/Zf9nn3PjW1K7 tpxErouyalHK7GQEYQfBQyM= X-Received: by 2002:adf:da52:0:b0:309:7010:b869 with SMTP id r18-20020adfda52000000b003097010b869mr5917714wrl.8.1685367773521; Mon, 29 May 2023 06:42:53 -0700 (PDT) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id f8-20020a1c6a08000000b003f41bb52834sm18081032wmc.38.2023.05.29.06.42.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 May 2023 06:42:52 -0700 (PDT) Message-ID: <2ac28066-9798-79d7-5247-6af48ac95311@gmail.com> Date: Mon, 29 May 2023 15:42:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v5 1/6] arm64: dts: mediatek: mt8186: Add MTU3 nodes Content-Language: en-US, ca-ES, es-ES To: Allen-KH Cheng , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno 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: <20230324021258.15863-1-allen-kh.cheng@mediatek.com> <20230324021258.15863-2-allen-kh.cheng@mediatek.com> From: Matthias Brugger In-Reply-To: <20230324021258.15863-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,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 24/03/2023 03:12, Allen-KH Cheng wrote: > Add MTU3 nodes for MT8186 SoC. > > Signed-off-by: Allen-KH Cheng > Tested-by: Chen-Yu Tsai > Reviewed-by: AngeloGioacchino Del Regno Applied > --- > arch/arm64/boot/dts/mediatek/mt8186.dtsi | 68 ++++++++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > index a0d3e1f731bd..178421fd8380 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > @@ -981,6 +981,40 @@ > status = "disabled"; > }; > > + ssusb0: usb@11201000 { > + compatible = "mediatek,mt8186-mtu3", "mediatek,mtu3"; > + reg = <0 0x11201000 0 0x2dff>, <0 0x11203e00 0 0x0100>; > + 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"; > + 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"; > @@ -1012,6 +1046,40 @@ > 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>; > + power-domains = <&spm MT8186_POWER_DOMAIN_SSUSB_P1>; > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + status = "disabled"; > + > + usb_host1: usb@11280000 { > + compatible = "mediatek,mt8186-xhci", "mediatek,mtk-xhci"; > + reg = <0 0x11280000 0 0x1000>; > + reg-names = "mac"; > + 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>, > + <&infracfg_ao CLK_INFRA_AO_SSUSB_TOP_P1_XHCI>; > + clock-names = "sys_ck", "ref_ck", "mcu_ck", "dma_ck","xhci_ck"; > + interrupts = ; > + mediatek,syscon-wakeup = <&pericfg 0x424 2>; > + wakeup-source; > + status = "disabled"; > + }; > + }; > + > u3phy0: t-phy@11c80000 { > compatible = "mediatek,mt8186-tphy", > "mediatek,generic-tphy-v2";