Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1620790pxb; Sun, 22 Aug 2021 23:57:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRX8oJC0khlBYo87NyyNAzwrrXoJD7iZ4MG+8VeyKv1Y526o0m/lkapNGSoYoyfmxxUoJY X-Received: by 2002:a17:906:3a57:: with SMTP id a23mr34190297ejf.469.1629701847859; Sun, 22 Aug 2021 23:57:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629701847; cv=none; d=google.com; s=arc-20160816; b=KUgW0ceq4d58jCNUWUk5qCiDxiHstOpx+kczB91V+m9oEkSuJO87RLXqNy1J/HA1Kp LqAhlJG8+Zon2aqgl+DAlGO0TwjPxPmlmSzgu7jZ5WVFXSnG/Oc3Sr5sxEm9HxwtMYTr VbEBDutlfmun0xRT9+orTYRIafF3Vku3AMN6r/58tRWMdWbZgMv3M9uM99DCnnl1AeGO VwLKjfD59gWtihi24zjG06ovAcKv+8efC706hkosJU3fYDs5l4zCoCK16N1Kk6/Jr0ma vC+QqHYn72GzXxkhwh5CD6PFBRV5gai9OT2zA0OhKP2R6EbFsuoLa3+wv8IAxye0o4Tb FkAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ykVwd28+PpS9RdFtwLjN4T/dzr4Pp61Ec9sxPTtcctc=; b=lx/hBZN6nAkHUHBndGwwMS5WDfpXtwz2A2OQTintz8/t7IcA2a74jv0LgIPI373yA0 DxLEwgNfxPPD18JEdBWVmsDNZ1Y/0qnWKNvDee+/FD/VffWrW9xpZ30+cI1CYbiIEKee QLSMd2+IqUAJll+Bys8NkPsusQZKgVn+dycYBvwW05pKmAaGwB4tOhfxEbY6UAJAPbzI f15CNTE0V+T3ikuULm2ieZ6Jh5Gw7uU7wHXLB7PBdnEBmGlFedpPmILxlHHmXSzuDxQU yMtEgKubreNjktxDmKIc/EA35eVO0vDcfFaVFUZSWD1ydUqPJvH1WXzEA7f4a8AxVrYr bm4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=J1ffpX3I; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb8si6400442edb.361.2021.08.22.23.57.04; Sun, 22 Aug 2021 23:57:27 -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=@chromium.org header.s=google header.b=J1ffpX3I; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233201AbhHWGya (ORCPT + 99 others); Mon, 23 Aug 2021 02:54:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231779AbhHWGy3 (ORCPT ); Mon, 23 Aug 2021 02:54:29 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56730C061756 for ; Sun, 22 Aug 2021 23:53:47 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id k5so35842443lfu.4 for ; Sun, 22 Aug 2021 23:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ykVwd28+PpS9RdFtwLjN4T/dzr4Pp61Ec9sxPTtcctc=; b=J1ffpX3IK1WLgUymbrNtz4fC5SSzlNQoHe9i5k3n9fPJ3OyXL1cEhKhqg7JTfQXsqb gxIp9u/kV11VpBiYxcQ7TKGNkG5fheHOcrJHHRE/xv2ZKa13vPtCsMEnMhaT1ZyqP/gq PVBK1Gbsn2A6HFPU7XC7ioqAN3pMiNhqFPrPw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ykVwd28+PpS9RdFtwLjN4T/dzr4Pp61Ec9sxPTtcctc=; b=lxHTg+IkMpu0xCcgIsGxtC0q9erQcwRkqlj1KcI8tvda97FTTXR+thSxmSHjmWZaS8 0yUDqQDunPBRYhgRaTyoF5pX6XfWLuPBxS0AW+HvdlEkC2KQM8Ny1a/831aRHOwJGbG1 pBwETtkWPaEDqa386NBfmOLs3ZqWQC6HHI0PYO5ve8wdjg/njUt6+aarrn6XBUFzyOAF qJ/1G1mFdpH4+U0vv5oCGJK/QUk1J7FHPKVAiXqwRWqLIVeNXOg7JuqUzUNClZluma5v UiEGMEJBJWOx8cMUukTFxLzGuDueB2iS73urawqlo9ytAMjUAysumNYFyIFK1Wk0brBj WI8Q== X-Gm-Message-State: AOAM532WnW1KuO9YA5eMYZmmJIlBx+k+If2hwiAWY4w4lQnfBIV0IzZZ ftZecEV7I3dqIJ41LclruEB4XvRhPIOnjx5DHN1vFg== X-Received: by 2002:a19:ca09:: with SMTP id a9mr8363402lfg.342.1629701625387; Sun, 22 Aug 2021 23:53:45 -0700 (PDT) MIME-Version: 1.0 References: <20210820111504.350-1-chun-jie.chen@mediatek.com> <20210820111504.350-2-chun-jie.chen@mediatek.com> In-Reply-To: <20210820111504.350-2-chun-jie.chen@mediatek.com> From: Chen-Yu Tsai Date: Mon, 23 Aug 2021 14:53:34 +0800 Message-ID: Subject: Re: [v2 01/24] dt-bindings: ARM: Mediatek: Add new document bindings of MT8195 clock To: Chun-Jie Chen Cc: Matthias Brugger , Stephen Boyd , Nicolas Boichat , Rob Herring , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , LKML , "moderated list:ARM/Mediatek SoC support" , linux-clk@vger.kernel.org, Devicetree List , srv_heupstream , Project_Global_Chrome_Upstream_Group Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Aug 20, 2021 at 7:17 PM Chun-Jie Chen wrote: > > This patch adds the new binding documentation for system clock > and functional clock on Mediatek MT8195. > > Signed-off-by: Chun-Jie Chen > --- > .../arm/mediatek/mediatek,mt8195-clock.yaml | 254 ++++++++++++++++++ > .../mediatek/mediatek,mt8195-sys-clock.yaml | 73 +++++ > 2 files changed, 327 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.yaml > create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-sys-clock.yaml > > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.yaml > new file mode 100644 > index 000000000000..17fcbb45d121 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-clock.yaml > @@ -0,0 +1,254 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt8195-clock.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: MediaTek Functional Clock Controller for MT8195 > + > +maintainers: > + - Chun-Jie Chen > + > +description: > + The clock architecture in Mediatek like below > + PLLs --> > + dividers --> > + muxes > + --> > + clock gate > + > + The devices except apusys_pll provide clock gate control in different IP blocks. > + The apusys_pll provides Plls which generated from SoC 26m for AI Processing Unit. > + > +properties: > + compatible: > + items: > + - enum: > + - mediatek,mt8195-scp_adsp > + - mediatek,mt8195-imp_iic_wrap_s > + - mediatek,mt8195-imp_iic_wrap_w > + - mediatek,mt8195-mfgcfg > + - mediatek,mt8195-vppsys0 > + - mediatek,mt8195-wpesys > + - mediatek,mt8195-wpesys_vpp0 > + - mediatek,mt8195-wpesys_vpp1 > + - mediatek,mt8195-vppsys1 > + - mediatek,mt8195-imgsys > + - mediatek,mt8195-imgsys1_dip_top > + - mediatek,mt8195-imgsys1_dip_nr > + - mediatek,mt8195-imgsys1_wpe > + - mediatek,mt8195-ipesys > + - mediatek,mt8195-camsys > + - mediatek,mt8195-camsys_rawa > + - mediatek,mt8195-camsys_yuva > + - mediatek,mt8195-camsys_rawb > + - mediatek,mt8195-camsys_yuvb > + - mediatek,mt8195-camsys_mraw > + - mediatek,mt8195-ccusys > + - mediatek,mt8195-vdecsys_soc > + - mediatek,mt8195-vdecsys > + - mediatek,mt8195-vdecsys_core1 > + - mediatek,mt8195-vencsys > + - mediatek,mt8195-vencsys_core1 > + - mediatek,mt8195-apusys_pll The indentation is slightly off by 2 extra spaces. [...] > diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-sys-clock.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-sys-clock.yaml > new file mode 100644 > index 000000000000..dbf33ea6cb9f > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,mt8195-sys-clock.yaml > @@ -0,0 +1,73 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt8195-sys-clock.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" > + > +title: MediaTek System Clock Controller for MT8195 > + > +maintainers: > + - Chun-Jie Chen > + > +description: > + The clock architecture in Mediaek like below Typo. > + PLLs --> > + dividers --> > + muxes > + --> > + clock gate > + > + The apmixedsys provides most of PLLs which generated from SoC 26m. > + The topckgen provides dividers and muxes which provide the clock source to other IP blocks. > + The infracfg_ao and pericfg_ao provides clock gate in peripheral and infrastructure IP blocks. > + > +properties: > + compatible: > + items: > + - enum: > + - mediatek,mt8195-topckgen > + - mediatek,mt8195-infracfg_ao > + - mediatek,mt8195-apmixedsys > + - mediatek,mt8195-pericfg_ao Indentation off here as well. Otherwise, Reviewed-by: Chen-Yu Tsai