Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-09-01 Thread Leo Yan
Hi Kevin, On Tue, Sep 01, 2015 at 05:28:03PM -0700, Kevin Hilman wrote: > On Sun, Aug 2, 2015 at 6:13 PM, Leo Yan wrote: > > On Hi6220, there have some clocks which can use mailbox channel to send > > messages to power controller to change frequency; this includes CPU, GPU > > and DDR clocks. >

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-09-01 Thread Kevin Hilman
On Sun, Aug 2, 2015 at 6:13 PM, Leo Yan wrote: > On Hi6220, there have some clocks which can use mailbox channel to send > messages to power controller to change frequency; this includes CPU, GPU > and DDR clocks. > > For dynamic frequency scaling, firstly need write the frequency value to > SRAM

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-09-01 Thread Kevin Hilman
On Sun, Aug 2, 2015 at 6:13 PM, Leo Yan wrote: > On Hi6220, there have some clocks which can use mailbox channel to send > messages to power controller to change frequency; this includes CPU, GPU > and DDR clocks. > > For dynamic frequency scaling, firstly need write the

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-09-01 Thread Leo Yan
Hi Kevin, On Tue, Sep 01, 2015 at 05:28:03PM -0700, Kevin Hilman wrote: > On Sun, Aug 2, 2015 at 6:13 PM, Leo Yan wrote: > > On Hi6220, there have some clocks which can use mailbox channel to send > > messages to power controller to change frequency; this includes CPU, GPU >

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-04 Thread Leo Yan
Hi Stephen, On Mon, Aug 03, 2015 at 02:37:52PM -0700, Stephen Boyd wrote: > On 08/03, Leo Yan wrote: > > diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c > > b/drivers/clk/hisilicon/clk-hi6220-stub.c > > new file mode 100644 > > index 000..0931666 > > --- /dev/null > > +++

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-04 Thread Leo Yan
Hi Stephen, On Mon, Aug 03, 2015 at 02:37:52PM -0700, Stephen Boyd wrote: On 08/03, Leo Yan wrote: diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c b/drivers/clk/hisilicon/clk-hi6220-stub.c new file mode 100644 index 000..0931666 --- /dev/null +++

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-03 Thread Stephen Boyd
On 08/03, Leo Yan wrote: > diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c > b/drivers/clk/hisilicon/clk-hi6220-stub.c > new file mode 100644 > index 000..0931666 > --- /dev/null > +++ b/drivers/clk/hisilicon/clk-hi6220-stub.c > @@ -0,0 +1,279 @@ > +/* > + * Hi6220 stub clock driver > +

Re: [PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-03 Thread Stephen Boyd
On 08/03, Leo Yan wrote: diff --git a/drivers/clk/hisilicon/clk-hi6220-stub.c b/drivers/clk/hisilicon/clk-hi6220-stub.c new file mode 100644 index 000..0931666 --- /dev/null +++ b/drivers/clk/hisilicon/clk-hi6220-stub.c @@ -0,0 +1,279 @@ +/* + * Hi6220 stub clock driver + * + *

[PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-02 Thread Leo Yan
On Hi6220, there have some clocks which can use mailbox channel to send messages to power controller to change frequency; this includes CPU, GPU and DDR clocks. For dynamic frequency scaling, firstly need write the frequency value to SRAM region, and then send message to mailbox to trigger power

[PATCH v3 4/5] clk: Hi6220: add stub clock driver

2015-08-02 Thread Leo Yan
On Hi6220, there have some clocks which can use mailbox channel to send messages to power controller to change frequency; this includes CPU, GPU and DDR clocks. For dynamic frequency scaling, firstly need write the frequency value to SRAM region, and then send message to mailbox to trigger power