linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] rockchip clock changes for 4.7 part 1
@ 2016-04-12  6:38 Heiko Stuebner
  2016-04-15 22:52 ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Heiko Stuebner @ 2016-04-12  6:38 UTC (permalink / raw)
  To: mturquette, sboyd; +Cc: linux-clk, linux-rockchip

Hi Mike, Stephen,

please find below clock changes for 4.7. As the tag explains it is mainly
the rk3399 support + necessary plumbing.

So if it looks ok, please pull.


Thanks
Heiko

The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca:

  Linux 4.6-rc1 (2016-03-26 16:03:24 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v4.7-rockchip-clk1

for you to fetch changes up to 115510053e5e5872f1f19a2220b04aab5542c5c4:

  clk: rockchip: add clock controller for the RK3399 (2016-03-28 14:57:07 +0200)

----------------------------------------------------------------
This is first big chunk of Rockchip clock-related changes for 4.7.

Main change is probably the added support for the new rk3399 soc
and necessary infrastructure changes surrounding it.

The biggest chunk is probably that clock code is now able to
handle multiple clock providers in one system, as the rk3399
has two of those. A general one and another smaller one in a
separate power domain. The rk3399 also uses another new pll type.
Thankfully it just fits nicely into our current structure.
It also needs some parts like the cpuclk mux parameters to be
a bit more flexible and an new fractional divider subtype without
gate.

Apart from this big change we have some more fixes and removal
of forgotten variables.

----------------------------------------------------------------
Heiko Stuebner (1):
      Merge branch 'v4.7-shared/clkids' into v4.7-clk/next

Shawn Lin (4):
      clk: rockchip: remove mux_core_reg from rockchip_cpuclk_reg_data
      clk: rockchip: fix warning reported by kernel-doc
      clk: rockchip: remove redundant checking of device_node
      clk: rockchip: release io resource when failing to init clk

Xing Zheng (7):
      clk: rockchip: add a COMPOSITE_FRACMUX_NOGATE type
      clk: rockchip: allow varying mux parameters for cpuclk pll-sources
      clk: rockchip: Add support for multiple clock providers
      clk: rockchip: add new pll-type for rk3399 and similar socs
      clk: rockchip: add dt-binding header for rk3399
      dt-bindings: add bindings for rk3399 clock controller
      clk: rockchip: add clock controller for the RK3399

 .../bindings/clock/rockchip,rk3399-cru.txt         |   62 +
 drivers/clk/rockchip/Makefile                      |    1 +
 drivers/clk/rockchip/clk-cpu.c                     |   29 +-
 drivers/clk/rockchip/clk-pll.c                     |  301 +++-
 drivers/clk/rockchip/clk-rk3036.c                  |   21 +-
 drivers/clk/rockchip/clk-rk3188.c                  |   51 +-
 drivers/clk/rockchip/clk-rk3228.c                  |   21 +-
 drivers/clk/rockchip/clk-rk3288.c                  |   23 +-
 drivers/clk/rockchip/clk-rk3368.c                  |   28 +-
 drivers/clk/rockchip/clk-rk3399.c                  | 1540 ++++++++++++++++++++
 drivers/clk/rockchip/clk.c                         |  146 +-
 drivers/clk/rockchip/clk.h                         |  106 +-
 include/dt-bindings/clock/rk3399-cru.h             |  752 ++++++++++
 13 files changed, 2945 insertions(+), 136 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3399-cru.txt
 create mode 100644 drivers/clk/rockchip/clk-rk3399.c
 create mode 100644 include/dt-bindings/clock/rk3399-cru.h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] rockchip clock changes for 4.7 part 1
  2016-04-12  6:38 [GIT PULL] rockchip clock changes for 4.7 part 1 Heiko Stuebner
@ 2016-04-15 22:52 ` Stephen Boyd
  2016-04-17  9:07   ` Heiko Stübner
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2016-04-15 22:52 UTC (permalink / raw)
  To: Heiko Stuebner; +Cc: mturquette, linux-clk, linux-rockchip

On 04/12, Heiko Stuebner wrote:
> Hi Mike, Stephen,
> 
> The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca:
> 
>   Linux 4.6-rc1 (2016-03-26 16:03:24 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git tags/v4.7-rockchip-clk1
> 
> for you to fetch changes up to 115510053e5e5872f1f19a2220b04aab5542c5c4:
> 
>   clk: rockchip: add clock controller for the RK3399 (2016-03-28 14:57:07 +0200)
> 
> ----------------------------------------------------------------
> This is first big chunk of Rockchip clock-related changes for 4.7.
> 
> Main change is probably the added support for the new rk3399 soc
> and necessary infrastructure changes surrounding it.
> 
> The biggest chunk is probably that clock code is now able to
> handle multiple clock providers in one system, as the rk3399
> has two of those. A general one and another smaller one in a
> separate power domain. The rk3399 also uses another new pll type.
> Thankfully it just fits nicely into our current structure.
> It also needs some parts like the cpuclk mux parameters to be
> a bit more flexible and an new fractional divider subtype without
> gate.
> 
> Apart from this big change we have some more fixes and removal
> of forgotten variables.
> 

Pulled into clk-next.

BUT, this has some checkpatch annoyances, mostly spaces before
tabs in the DT headers. For example:

WARNING: please, no space before tabs
#162: FILE: include/dt-bindings/clock/rk3399-cru.h:139:
+#define FCLK_CM0S ^I^I^I190$

WARNING: please, no space before tabs
#233: FILE: include/dt-bindings/clock/rk3399-cru.h:210:
+#define ACLK_PERF_CORE_L ^I^I260$

Please send another patch to fix those or do it in another pull,
whatever works for you.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] rockchip clock changes for 4.7 part 1
  2016-04-15 22:52 ` Stephen Boyd
@ 2016-04-17  9:07   ` Heiko Stübner
  0 siblings, 0 replies; 3+ messages in thread
From: Heiko Stübner @ 2016-04-17  9:07 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: mturquette, linux-clk, linux-rockchip

Am Freitag, 15. April 2016, 15:52:16 schrieb Stephen Boyd:
> On 04/12, Heiko Stuebner wrote:
> > Hi Mike, Stephen,
> > 
> > The following changes since commit 
f55532a0c0b8bb6148f4e07853b876ef73bc69ca:
> >   Linux 4.6-rc1 (2016-03-26 16:03:24 -0700)
> > 
> > are available in the git repository at:
> >   git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
> >   tags/v4.7-rockchip-clk1> 
> > for you to fetch changes up to 115510053e5e5872f1f19a2220b04aab5542c5c4:
> >   clk: rockchip: add clock controller for the RK3399 (2016-03-28 14:57:07
> >   +0200)> 
> > ----------------------------------------------------------------
> > This is first big chunk of Rockchip clock-related changes for 4.7.
> > 
> > Main change is probably the added support for the new rk3399 soc
> > and necessary infrastructure changes surrounding it.
> > 
> > The biggest chunk is probably that clock code is now able to
> > handle multiple clock providers in one system, as the rk3399
> > has two of those. A general one and another smaller one in a
> > separate power domain. The rk3399 also uses another new pll type.
> > Thankfully it just fits nicely into our current structure.
> > It also needs some parts like the cpuclk mux parameters to be
> > a bit more flexible and an new fractional divider subtype without
> > gate.
> > 
> > Apart from this big change we have some more fixes and removal
> > of forgotten variables.
> 
> Pulled into clk-next.
> 
> BUT, this has some checkpatch annoyances, mostly spaces before
> tabs in the DT headers. For example:
> 
> WARNING: please, no space before tabs
> #162: FILE: include/dt-bindings/clock/rk3399-cru.h:139:
> +#define FCLK_CM0S ^I^I^I190$
> 
> WARNING: please, no space before tabs
> #233: FILE: include/dt-bindings/clock/rk3399-cru.h:210:
> +#define ACLK_PERF_CORE_L ^I^I260$
> 
> Please send another patch to fix those or do it in another pull,
> whatever works for you.

sorry about that. Will send a fixup hopefully today or tomorrow.


Heiko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-17  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-12  6:38 [GIT PULL] rockchip clock changes for 4.7 part 1 Heiko Stuebner
2016-04-15 22:52 ` Stephen Boyd
2016-04-17  9:07   ` Heiko Stübner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).