public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: max.schwarz@online.de (Max Schwarz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 00/11] Add real clock support for Rockchip's RK3188
Date: Mon, 19 May 2014 12:09:30 +0200	[thread overview]
Message-ID: <31832939.LB4tpb30Bt@typ> (raw)
In-Reply-To: <3477211.Gkyeur83TV@diego>

Hello Heiko,

This series:
Acked-by: Max Schwarz <max.schwarz@online.de>
Tested-by: Max Schwarz <max.schwarz@online.de>
on Radxa Rock (RK3188).

Cheers,
  Max

On Wednesday 07 May 2014 at 23:09:53, Heiko St?bner wrote:
> This series add a clock driver infrastructure for Rockchip SoCs in
> general and clock-definitions for the RK3188 in particular.
> 
> Due to the lack of any usable documentation of the RK3188 clocks, the
> clock tree is based on my own doc [0] collected by analyzing the
> clock_data code in current Rockchip kernels. As a result the gathered
> data may contain errors. So to prevent API issues with the clock-ids,
> the exported ones are currently limited to well understood or really
> measured clocks.
> 
> The previous attempt to define parts separately in the devicetree did
> not really fit with the clock structure, which became apparent with more
> knowledge about the clock tree and this new driver framework, heavily
> inspired by the Samsung clock driver, fits very well for clock controllers
> in Rockchip SoCs.
> 
> The whole structure should support Rockchip SoCs at least down to
> the RK28xx (ARM9) which all share a very similar setup of their clock
> controllers in PLL, divider and gate handling as well as the included
> softreset parts.
> 
> changes since v1:
> - adapt to apply on current clk-next branch
> - add saradc clock
> - add rk3188a cru, which has a slightly different handling of one
>   pll value (bwadj)
> 
> [0]
> https://docs.google.com/document/d/1voaR9Xk3lisCQIG3ThySOSnSHBUequljQYnceFl
> r53w/edit?usp=sharing
> 
> Heiko Stuebner (11):
>   clk: divider: add CLK_DIVIDER_READ_ONLY flag
>   clk: rockchip: add basic infrastructure
>   clk: rockchip: add clock type for pll clocks and pll used on rk3066
>   clk: rockchip: add special cpu clock type
>   clk: rockchip: add reset controller
>   dt-bindings: add documentation for rk3188 clock and reset unit
>   clk: rockchip: add clock driver for rk3188 clocks
>   ARM: rockchip: Select ARCH_HAS_RESET_CONTROLLER
>   ARM: dts: rk3188: add cru node and update device clocks to use it
>   ARM: dts: rockchip: move rk3188 core input clocks into main dtsi
>   ARM: dts: rockchip: remove the now obsolete rk3188-clocks.dtsi
> 
>  .../bindings/clock/rockchip,rk3188-cru.txt         |  74 ++++
>  arch/arm/boot/dts/rk3188-clocks.dtsi               | 289 -------------
>  arch/arm/boot/dts/rk3188.dtsi                      |  80 +++-
>  arch/arm/mach-rockchip/Kconfig                     |   1 +
>  drivers/clk/clk-divider.c                          |  10 +-
>  drivers/clk/rockchip/Makefile                      |   6 +
>  drivers/clk/rockchip/clk-cpu.c                     | 434
> +++++++++++++++++++ drivers/clk/rockchip/clk-pll.c                     |
> 316 ++++++++++++++ drivers/clk/rockchip/clk-rk3188.c                  | 479
> +++++++++++++++++++++ drivers/clk/rockchip/clk.c                         |
> 168 ++++++++ drivers/clk/rockchip/clk.h                         | 251
> +++++++++++ drivers/clk/rockchip/softrst.c                     | 115 +++++
>  include/dt-bindings/clock/rk3188-cru.h             |  81 ++++
>  include/linux/clk-provider.h                       |   4 +
>  14 files changed, 2013 insertions(+), 295 deletions(-)
>  create mode 100644
> Documentation/devicetree/bindings/clock/rockchip,rk3188-cru.txt delete mode
> 100644 arch/arm/boot/dts/rk3188-clocks.dtsi
>  create mode 100644 drivers/clk/rockchip/clk-cpu.c
>  create mode 100644 drivers/clk/rockchip/clk-pll.c
>  create mode 100644 drivers/clk/rockchip/clk-rk3188.c
>  create mode 100644 drivers/clk/rockchip/clk.c
>  create mode 100644 drivers/clk/rockchip/clk.h
>  create mode 100644 drivers/clk/rockchip/softrst.c
>  create mode 100644 include/dt-bindings/clock/rk3188-cru.h

      parent reply	other threads:[~2014-05-19 10:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 21:09 [PATCH v2 00/11] Add real clock support for Rockchip's RK3188 Heiko Stübner
2014-05-07 21:10 ` [PATCH v2 01/11] clk: divider: add CLK_DIVIDER_READ_ONLY flag Heiko Stübner
2014-05-16 23:43   ` Tomasz Figa
2014-05-07 21:11 ` [PATCH v2 02/11] clk: rockchip: add basic infrastructure Heiko Stübner
2014-05-07 21:12 ` [PATCH v2 03/11] clk: rockchip: add clock type for pll clocks and pll used on rk3066 Heiko Stübner
2014-05-07 21:12 ` [PATCH v2 04/11] clk: rockchip: add special cpu clock type Heiko Stübner
2014-05-07 21:13 ` [PATCH v2 05/11] clk: rockchip: add reset controller Heiko Stübner
2014-05-07 21:14 ` [PATCH v2 06/11] dt-bindings: add documentation for rk3188 clock and reset unit Heiko Stübner
2014-05-07 21:14 ` [PATCH v2 07/11] clk: rockchip: add clock driver for rk3188 clocks Heiko Stübner
2014-05-07 21:15 ` [PATCH v2 08/11] ARM: rockchip: Select ARCH_HAS_RESET_CONTROLLER Heiko Stübner
2014-05-07 21:15 ` [PATCH v2 09/11] ARM: dts: rk3188: add cru node and update device clocks to use it Heiko Stübner
2014-05-07 21:15 ` [PATCH v2 10/11] ARM: dts: rockchip: move rk3188 core input clocks into main dtsi Heiko Stübner
2014-05-07 21:16 ` [PATCH v2 11/11] ARM: dts: rockchip: remove the now obsolete rk3188-clocks.dtsi Heiko Stübner
2014-05-19 10:09 ` Max Schwarz [this message]

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=31832939.LB4tpb30Bt@typ \
    --to=max.schwarz@online.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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