From: Jian Hu <jian.hu@amlogic.com>
To: Jerome Brunet <jbrunet@baylibre.com>,
Yixun Lan <yixun.lan@amlogic.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>,
<qianggui.song@amlogic.com>, <sboyd@kernel.org>,
<khilman@baylibre.com>, <mturquette@baylibre.com>,
<linux-kernel@vger.kernel.org>, <bo.yang@amlogic.com>,
<qiufang.dai@amlogic.com>, <linux-arm-kernel@lists.infradead.org>,
<carlo@caione.org>, <linux-amlogic@lists.infradead.org>,
<sunny.luo@amlogic.com>, <linux-clk@vger.kernel.org>,
<xingyu.chen@amlogic.com>, Rob Herring <robh@kernel.org>
Subject: Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver
Date: Mon, 16 Jul 2018 13:58:58 +0800 [thread overview]
Message-ID: <d00bfbac-a041-3dc9-0cda-9a6eef5f3216@amlogic.com> (raw)
In-Reply-To: <1531316752.2708.113.camel@baylibre.com>
Hi Jerome
On 2018/7/11 21:45, Jerome Brunet wrote:
> On Wed, 2018-07-11 at 21:41 +0800, Jian Hu wrote:
>>>>>> +static struct clk_regmap g12a_mpll0 = {
>>>>>> + .data = &(struct clk_regmap_gate_data){
>>>>>> + .offset = HHI_MPLL_CNTL1,
>>>>>> + .bit_idx = 31,
>>>>>> + },
>>>>>> + .hw.init = &(struct clk_init_data){
>>>>>> + .name = "mpll0",
>>>>>> + .ops = &clk_regmap_gate_ops,
>>>>>> + .parent_names = (const char *[]){ "mpll0_div" },
>>>>>> + .num_parents = 1,
>>>>>> + .flags = CLK_SET_RATE_PARENT,
>>>>>> + },
>>>>>> +};
>>>
>>> The previous had a predivider (1 or 2) in front of these mpll. Even if the
>>> predivider is usually set to be a passthrough, it is better to model the tree
>>> correctly.
>>>
>>> Is this SoC any different ?
>>>
>>
>> I am not sure the difference, I will confirm with IC design guys.
>
> I suggest that you have a look at the (upstream) axg and gxbb clock driver for
> this
>
> Same goes for the fdiv gates.
>
> Last, please trim your replies a bit. It will make easier to see what you are
> replying to.
>
> .
>
I have confirmed with IC design guys, axg and gxbb clock driver have a
prediver in frount of these mpll, according to the Spec, we can get the
prediver function in HHI_MPLL_CNTL5 bit12, the G12A SoC have not the
prediver function.
next prev parent reply other threads:[~2018-07-16 5:59 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1531134767-29927-1-git-send-email-jian.hu@amlogic.com>
[not found] ` <1531134767-29927-4-git-send-email-jian.hu@amlogic.com>
2018-07-09 14:58 ` Stephen Boyd
[not found] ` <CAFBinCBB9N_p6S_-dfiV=zDCf-RYnA3C-ir6oNLC7JAfdOqqiw@mail.gmail.com>
[not found] ` <ec49c089-bccf-9aac-5d0f-43bc27770ad9@amlogic.com>
2018-07-10 9:54 ` Jerome Brunet
2018-07-10 12:59 ` Yixun Lan
2018-07-10 15:51 ` Jerome Brunet
2018-07-11 13:41 ` Jian Hu
2018-07-11 13:45 ` Jerome Brunet
2018-07-16 5:58 ` Jian Hu [this message]
2018-07-16 13:38 ` Kevin Hilman
2018-07-17 1:24 ` Yixun Lan
2018-07-19 14:06 ` Kevin Hilman
2018-07-19 14:27 ` Yixun Lan
2018-07-19 14:53 ` Kevin Hilman
2018-07-11 8:05 ` Jian Hu
2018-07-16 13:41 ` Kevin Hilman
[not found] ` <1531134767-29927-3-git-send-email-jian.hu@amlogic.com>
2018-07-09 22:13 ` [PATCH 2/3] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings Martin Blumenstingl
2018-07-10 9:26 ` Jerome Brunet
2018-07-11 12:53 ` Jian Hu
2018-07-11 8:22 ` Jian Hu
[not found] ` <1531134767-29927-2-git-send-email-jian.hu@amlogic.com>
2018-07-09 21:57 ` [PATCH 1/3] dt-bindings: clk: g12a: New binding for Meson-G12A SoC Martin Blumenstingl
2018-07-11 8:10 ` Jian Hu
2018-07-10 9:29 ` Jerome Brunet
[not found] ` <f6f387ff-271b-9b4b-5b6e-072b4e56d840@amlogic.com>
2018-07-14 14:30 ` Martin Blumenstingl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d00bfbac-a041-3dc9-0cda-9a6eef5f3216@amlogic.com \
--to=jian.hu@amlogic.com \
--cc=bo.yang@amlogic.com \
--cc=carlo@caione.org \
--cc=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mturquette@baylibre.com \
--cc=narmstrong@baylibre.com \
--cc=qianggui.song@amlogic.com \
--cc=qiufang.dai@amlogic.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=sunny.luo@amlogic.com \
--cc=xingyu.chen@amlogic.com \
--cc=yixun.lan@amlogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®