Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3408489pxt; Tue, 10 Aug 2021 02:59:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXVgrbnT9+8P3NMZtSsl17Vcscr3cOf8abkLFz2Z1OlRa0Rg3iqiiqI4iIEE2U3JwnbqEQ X-Received: by 2002:a17:906:7d0:: with SMTP id m16mr10430980ejc.105.1628589568542; Tue, 10 Aug 2021 02:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628589568; cv=none; d=google.com; s=arc-20160816; b=Rl1gHdZvZUvCUTkBdBjYOny8e+KVT3u95HdR0qEnP2kTyN6hJS0wl95k+sDrB6NMVa eBWEYi4kwlBTu0Vsx0ZVisAlZhgRERJMw3iMhNjrWIzuXw3wwv75yc+Uh9aquGEOLdpk oo1YgoIu6I5LGPSR4zCfXyQcpEDjEwmaVibRRRfoYw3RcKEUfd+Oup8a4PTFXKWUI5fC k4EYq91A2ycLeugx89dpos/UzHSIqUz9QUn/T+8of9xwO8K77pwkZ36jEuPiDKuUV+ga gOq+B6VqizSP5tcoQQXWDMXCHNsGG+4y49r5+CSeHMBORqiab2o7rfVKmKUHogT83cro fg6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=YgAuxuU+h/XIrythtI0Ok15glLpfmuhqh3ISQ0rCYXI=; b=vYQK4MhZTY6f7JUMEoPcUnsZBSakzFpEhPxJfFkmZSvWSapOJrBvITVg5UUFP403dx AhQ/0afP+SoT1aYGMlIthnYoKXEObiW3NGsRLfp+Jdoq084Zl2cldJh+1U4SR5PVD2LA S5Yw4edV5oaJHRjpF0f3H//5H9j6cBDrBLlUfqgq2Ph7BBjFuD1FkjLcK6npar/68pxq /pWmJXZab5L71E/sJEDndP+GPEVMdXdZLqfWc0Wx0SoylV90JdoItSxQpgFgE8WhCjqh O9MHPi/guPM2HdZpr5FUL8sPz+RfRQtQAVq2tw6lptdXcrpUsaabNIVcH2mvkN04GZ+r v+nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kYuUmXzN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si24367079edb.418.2021.08.10.02.59.05; Tue, 10 Aug 2021 02:59:28 -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=@gmail.com header.s=20161025 header.b=kYuUmXzN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238439AbhHJIxR (ORCPT + 99 others); Tue, 10 Aug 2021 04:53:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238368AbhHJIxF (ORCPT ); Tue, 10 Aug 2021 04:53:05 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AEDDC061799; Tue, 10 Aug 2021 01:52:43 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id f5so9411945wrm.13; Tue, 10 Aug 2021 01:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=YgAuxuU+h/XIrythtI0Ok15glLpfmuhqh3ISQ0rCYXI=; b=kYuUmXzNmh4iMRRrDFnX6eGFRlyRVIY66rtAVqIlCv6sCqs5zgnJXLug7FE2zWp6Y7 Y48riTTJAQLRN+Ygt/VJlTJmZ+fVKXToiCfiZfnUojtwA3xSI1JmfHWoUmjlDk6mvEb5 RWrD+B/1Abr7YmRgUAv08Xx4bqnCAGzmvUaQegbLAxvfhp9F0CfIh1D8qZ5XWtH4rF2C Roup/1S7dGGU+BggzWR+AUoUY5zHyeHjBDSgE8ueQ0PLX6d2m9abLXzD0qFntuaMzYa4 5hGbYOyeSNb7sPJfJCb35QVjnTFzM8cZC/uA6THoxZVb2veLKeQfbF9KWdfYeaU21XF+ mYeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YgAuxuU+h/XIrythtI0Ok15glLpfmuhqh3ISQ0rCYXI=; b=g3LAjPzhxS3wCcbaBD/SIBzd6Ewq2HgmBx0nuWeo3W6i8dmPTxNGDzXH0UYGK4dFfQ 6UkBWEnyry0Y9aOl/esvro4IwoRuUt/DYma+c0cIhEwVRT+XxZtpt8S04Af1kuL2lMaB HI0WmayGcJDn7PpJDkhGlZjKn7xqVvyteGc1OMfcbP+GkjyQSY8/sH6FBxy/+upe8Tzv xFh+fzJPKxtmpfaF9Rb8Hxy6ea3NnR8wd3G/cnz5SsFwjuVaCtVdhyRVwr1c+XX//Bt4 r7wTVgENUTM4DQP0bzAf4QCS8h5dqVIqvbzIeNzN1ZxtTwR77RMOIvVYpSxEzCU+stDh mvLQ== X-Gm-Message-State: AOAM532aQCOFZofUPDQ3hqOIyjL3eHkhXwBrzh8J6DRi8AZo2DvjGgWu 19EXs97MIZUNJr4RPPxswn4= X-Received: by 2002:adf:d083:: with SMTP id y3mr11445963wrh.56.1628585562196; Tue, 10 Aug 2021 01:52:42 -0700 (PDT) Received: from ziggy.stardust ([207.188.163.204]) by smtp.gmail.com with ESMTPSA id p1sm218117wmq.48.2021.08.10.01.52.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Aug 2021 01:52:41 -0700 (PDT) Subject: Re: [v6 1/2] arm64: dts: mediatek: Add mt8192 clock controllers To: Chun-Jie Chen , Rob Herring , Nicolas Boichat Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Project_Global_Chrome_Upstream_Group@mediatek.com, Weiyi Lu References: <20210727023205.20319-1-chun-jie.chen@mediatek.com> <20210727023205.20319-2-chun-jie.chen@mediatek.com> From: Matthias Brugger Message-ID: <4517664b-7dd5-c338-69a9-86d0b6828f14@gmail.com> Date: Tue, 10 Aug 2021 10:52:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210727023205.20319-2-chun-jie.chen@mediatek.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/07/2021 04:32, Chun-Jie Chen wrote: > Add clock controller nodes for SoC mt8192 > > Signed-off-by: Weiyi Lu > Signed-off-by: Chun-Jie Chen Applied to v5.15-tmp/dst64 Please help making patch 2/2 better, adding clocks to all nodes. Thanks a lot! Matthias > --- > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 163 +++++++++++++++++++++++ > 1 file changed, 163 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > index 9757138a8bbd..c7c7d4e017ae 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi > @@ -5,6 +5,7 @@ > */ > > /dts-v1/; > +#include > #include > #include > #include > @@ -257,6 +258,24 @@ > }; > }; > > + topckgen: syscon@10000000 { > + compatible = "mediatek,mt8192-topckgen", "syscon"; > + reg = <0 0x10000000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + infracfg: syscon@10001000 { > + compatible = "mediatek,mt8192-infracfg", "syscon"; > + reg = <0 0x10001000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + pericfg: syscon@10003000 { > + compatible = "mediatek,mt8192-pericfg", "syscon"; > + reg = <0 0x10003000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > pio: pinctrl@10005000 { > compatible = "mediatek,mt8192-pinctrl"; > reg = <0 0x10005000 0 0x1000>, > @@ -282,6 +301,12 @@ > #interrupt-cells = <2>; > }; > > + apmixedsys: syscon@1000c000 { > + compatible = "mediatek,mt8192-apmixedsys", "syscon"; > + reg = <0 0x1000c000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > systimer: timer@10017000 { > compatible = "mediatek,mt8192-timer", > "mediatek,mt6765-timer"; > @@ -291,6 +316,12 @@ > clock-names = "clk13m"; > }; > > + scp_adsp: clock-controller@10720000 { > + compatible = "mediatek,mt8192-scp_adsp"; > + reg = <0 0x10720000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > uart0: serial@11002000 { > compatible = "mediatek,mt8192-uart", > "mediatek,mt6577-uart"; > @@ -311,6 +342,12 @@ > status = "disabled"; > }; > > + imp_iic_wrap_c: clock-controller@11007000 { > + compatible = "mediatek,mt8192-imp_iic_wrap_c"; > + reg = <0 0x11007000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > spi0: spi@1100a000 { > compatible = "mediatek,mt8192-spi", > "mediatek,mt6765-spi"; > @@ -436,6 +473,12 @@ > status = "disable"; > }; > > + audsys: clock-controller@11210000 { > + compatible = "mediatek,mt8192-audsys", "syscon"; > + reg = <0 0x11210000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > i2c3: i2c3@11cb0000 { > compatible = "mediatek,mt8192-i2c"; > reg = <0 0x11cb0000 0 0x1000>, > @@ -449,6 +492,12 @@ > status = "disabled"; > }; > > + imp_iic_wrap_e: clock-controller@11cb1000 { > + compatible = "mediatek,mt8192-imp_iic_wrap_e"; > + reg = <0 0x11cb1000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > i2c7: i2c7@11d00000 { > compatible = "mediatek,mt8192-i2c"; > reg = <0 0x11d00000 0 0x1000>, > @@ -488,6 +537,12 @@ > status = "disabled"; > }; > > + imp_iic_wrap_s: clock-controller@11d03000 { > + compatible = "mediatek,mt8192-imp_iic_wrap_s"; > + reg = <0 0x11d03000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > i2c1: i2c1@11d20000 { > compatible = "mediatek,mt8192-i2c"; > reg = <0 0x11d20000 0 0x1000>, > @@ -527,6 +582,12 @@ > status = "disabled"; > }; > > + imp_iic_wrap_ws: clock-controller@11d23000 { > + compatible = "mediatek,mt8192-imp_iic_wrap_ws"; > + reg = <0 0x11d23000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > i2c5: i2c5@11e00000 { > compatible = "mediatek,mt8192-i2c"; > reg = <0 0x11e00000 0 0x1000>, > @@ -540,6 +601,12 @@ > status = "disabled"; > }; > > + imp_iic_wrap_w: clock-controller@11e01000 { > + compatible = "mediatek,mt8192-imp_iic_wrap_w"; > + reg = <0 0x11e01000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > i2c0: i2c0@11f00000 { > compatible = "mediatek,mt8192-i2c"; > reg = <0 0x11f00000 0 0x1000>, > @@ -565,5 +632,101 @@ > #size-cells = <0>; > status = "disabled"; > }; > + > + imp_iic_wrap_n: clock-controller@11f02000 { > + compatible = "mediatek,mt8192-imp_iic_wrap_n"; > + reg = <0 0x11f02000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + msdc_top: clock-controller@11f10000 { > + compatible = "mediatek,mt8192-msdc_top"; > + reg = <0 0x11f10000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + msdc: clock-controller@11f60000 { > + compatible = "mediatek,mt8192-msdc"; > + reg = <0 0x11f60000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + mfgcfg: clock-controller@13fbf000 { > + compatible = "mediatek,mt8192-mfgcfg"; > + reg = <0 0x13fbf000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + mmsys: syscon@14000000 { > + compatible = "mediatek,mt8192-mmsys", "syscon"; > + reg = <0 0x14000000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + imgsys: clock-controller@15020000 { > + compatible = "mediatek,mt8192-imgsys"; > + reg = <0 0x15020000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + imgsys2: clock-controller@15820000 { > + compatible = "mediatek,mt8192-imgsys2"; > + reg = <0 0x15820000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + vdecsys_soc: clock-controller@1600f000 { > + compatible = "mediatek,mt8192-vdecsys_soc"; > + reg = <0 0x1600f000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + vdecsys: clock-controller@1602f000 { > + compatible = "mediatek,mt8192-vdecsys"; > + reg = <0 0x1602f000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + vencsys: clock-controller@17000000 { > + compatible = "mediatek,mt8192-vencsys"; > + reg = <0 0x17000000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + camsys: clock-controller@1a000000 { > + compatible = "mediatek,mt8192-camsys"; > + reg = <0 0x1a000000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + camsys_rawa: clock-controller@1a04f000 { > + compatible = "mediatek,mt8192-camsys_rawa"; > + reg = <0 0x1a04f000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + camsys_rawb: clock-controller@1a06f000 { > + compatible = "mediatek,mt8192-camsys_rawb"; > + reg = <0 0x1a06f000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + camsys_rawc: clock-controller@1a08f000 { > + compatible = "mediatek,mt8192-camsys_rawc"; > + reg = <0 0x1a08f000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + ipesys: clock-controller@1b000000 { > + compatible = "mediatek,mt8192-ipesys"; > + reg = <0 0x1b000000 0 0x1000>; > + #clock-cells = <1>; > + }; > + > + mdpsys: clock-controller@1f000000 { > + compatible = "mediatek,mt8192-mdpsys"; > + reg = <0 0x1f000000 0 0x1000>; > + #clock-cells = <1>; > + }; > }; > }; >