Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2819535pxv; Mon, 12 Jul 2021 02:41:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrwn2qOFoyvG065hXkmkwUn9OPYgme428fmwvskLbOn01kZXnagAPeGVlDDCLMhHT5drMV X-Received: by 2002:a05:6638:348c:: with SMTP id t12mr38963713jal.1.1626082908592; Mon, 12 Jul 2021 02:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626082908; cv=none; d=google.com; s=arc-20160816; b=jaLFr4ZHzwC2G46aHTjMV884AgBWu05ZIYfHUDyZAx2lJSYE11UVhotCx7bZ5Jf5F/ bTicZ/9dHw4fEWvdND60EzNZuVe06G6A663dy1CJiKHfIXB2enavaJ/Az7X6JlN3Lzu/ pB18DWZkLxz8AIZfeM9kr7Wj3+fBPcM2hKCKp8o2gqwTlSDcczwku3poIADFTnsqEVOq Lqqrfly+pNjlWqLUNWzz1XJBj2mS1AEX9XlPyip0nK77XtsZWJmD92aENjQO1J0L9J1N r10mXoRrcQ+f2HG3FMjVV2Jesh+g53kfb+FsL3h7C6LMXcC9jYWgjw835Pq0TBLHJhnB zY9A== 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=fxJCUCjSlgXxGDjLXHj9U/H++hzbmhE6H12woYxnzEo=; b=nuM+XYSuOEIVmItqVULukDfvp1rt/bJ5bq4E/WuaA3vWOCM1CQx2/kwwA3j1mAdEl5 2g6QUrh4TlbDfS6aoEoT7UAFMKu9XxsfxREG09yeYt9tj3b22JLluMr/Um9GmvopOkLe h45wwykE+TINlVTFSJd+lMkTT0QF6ngGtlL1jW9zzI+kKZRRgvio8Dsl9lb99/Yulwe/ KqJyKtVVBuyvZeZlBoOTaK4d9BNkCgkJFQvv9PFFVGX8WAU+lWX95JcU1T12R1UfruDI uLErBa+asEPsFUwhILJWt2pQmBoe75fYFbVkp1WF+2czy6xYwOswsmWSIlccx48/47F2 Je0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=kEXIVazN; 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 j12si16977147jar.85.2021.07.12.02.41.37; Mon, 12 Jul 2021 02:41:48 -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=kEXIVazN; 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 S237691AbhGLJmh (ORCPT + 99 others); Mon, 12 Jul 2021 05:42:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381969AbhGLJk5 (ORCPT ); Mon, 12 Jul 2021 05:40:57 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CAC6C0613E8 for ; Mon, 12 Jul 2021 02:38:09 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id n14so42082913lfu.8 for ; Mon, 12 Jul 2021 02:38:08 -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=fxJCUCjSlgXxGDjLXHj9U/H++hzbmhE6H12woYxnzEo=; b=kEXIVazNxdPeQjIQRJkZ34NK8TOWTN8cN3PTg4u6h+qBpMX/8NP2QnXimoDsrD47U1 Nx9WHbWZ5zUBwObZWK89MK5QKklyaL19EKODkPwj8rr8NhSRf6ZHb7DGRkq9nGOS6W6s rlmPcHBaJlpyL6qugKjw7qGyQhPNR06FjEh2o= 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=fxJCUCjSlgXxGDjLXHj9U/H++hzbmhE6H12woYxnzEo=; b=Df1muPtx7PMlqfD9fTYZzvwkGShUTseS0lHhN+msA9WGyCPCyT04E0YNIqhNGO6YnY L7/hL68maKmejxkN2u0En+DCC4yYNmvRyJEEDYJ8h7uNU5MhfNLyc15wNEOug0RisQV3 rkxRzEWUqrpk/Kz/S1r0OtTvS9c9ylUZIwbxDTezfHWDfseS/NZo5h4xatzi9RD6nedN fxuBJIOMHBV8OSC7hpAZ99YM8qBbzcWIVIDURQlU0KxrAuCv3QOahCjfnxtEGiVhd/Rw QM6BurWAz4ILa0HvH3EL8rY6EHe1HTw9IyOAmkKhsy8OseJnkLlb+lDq7MM37p+ufYC4 b0Zw== X-Gm-Message-State: AOAM531O2phfI1X+qXgqNah4XesmVsrjiCFWHS8mLMGqCVz1NajxlgXI Ue2xxsVeHMnAjIauXH8zqh24dYchSNJvF7gWceMlJQ== X-Received: by 2002:a19:858b:: with SMTP id h133mr20580359lfd.656.1626082687405; Mon, 12 Jul 2021 02:38:07 -0700 (PDT) MIME-Version: 1.0 References: <20210616224743.5109-1-chun-jie.chen@mediatek.com> <20210616224743.5109-3-chun-jie.chen@mediatek.com> In-Reply-To: <20210616224743.5109-3-chun-jie.chen@mediatek.com> From: Chen-Yu Tsai Date: Mon, 12 Jul 2021 17:37:56 +0800 Message-ID: Subject: Re: [PATCH 02/22] clk: mediatek: Add dt-bindings of MT8195 clocks To: Chun-Jie Chen Cc: Matthias Brugger , Stephen Boyd , Nicolas Boichat , Rob Herring , linux-arm-kernel@lists.infradead.org, LKML , linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, 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 Thu, Jun 17, 2021 at 7:02 AM Chun-Jie Chen wrote: > > Add MT8195 clock dt-bindings, include topckgen, apmixedsys, > infracfg_ao, pericfg_ao and subsystem clocks. > > Signed-off-by: Chun-Jie Chen > --- > include/dt-bindings/clock/mt8195-clk.h | 989 +++++++++++++++++++++++++ > 1 file changed, 989 insertions(+) This is a really long list. I don't think all of them need to be exposed, especially the intermediate ones in TOPCKGEN. In such cases the not-to-be- exposed clock indices could be moved to a header file in the driver directory, or simply left out. The Allwinner/sunxi-ng drivers do the former while the Rockchip drivers do the latter. The Mediatek clock drivers are more similar in structure and design to the Rockchip ones. Regards ChenYu