All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko@sntech.de>
To: mturquette@linaro.org, sboyd@codeaurora.org
Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org,
	Heiko Stuebner <heiko@sntech.de>
Subject: [PATCH 0/8] clk: rockchip: add support for the clock-tree of the rk3368
Date: Sat, 13 Jun 2015 18:22:14 +0200	[thread overview]
Message-ID: <1434212542-17145-1-git-send-email-heiko@sntech.de> (raw)

This series adds support for the clock controller of rk3368
ARM64 socs.

The first 2 patches are fixes for small issues I found while
building the clocktree. Both do not harm the functionality
of the older socs, as there is no camera interface driver in
them anyway and the issue with the defines only surfaced on
the rk3368.

Patch 3 then adds a new definition for a branch-type.

Some clocks (mainly the hsadc and camera interfaces) have a phase
inverter connected to the clock that makes it possible to adjust
the clock phase by 180 degrees. Patches 4 and 5 finally add
support for these inverters and add the currently missing
definitions to the already present clock drivers.

Patches 6, 7 and 8 finally add the shared dt-binding header and
the rk3368 clock tree itself. The cpu-clocks in there where
tested sucessfully with the big_little_cpufreq driver.


Heiko Stuebner (8):
  clk: rockchip: protect register macros against multipart values
  clk: rockchip: fix faulty vip parent name on rk3288
  clk: rockchip: add COMPOSITE_NOGATE_DIVTBL variant
  clk: rockchip: add support for phase inverters
  clk: rockchip: define the inverters of rk3066/rk3188 and rk3288
  dt-bindings: add documentation of rk3668 clock controller
  clk: rockchip: add dt-binding header for rk3368
  clk: rockchip: add rk3368 clock controller

 .../bindings/clock/rockchip,rk3368-cru.txt         |  61 ++
 drivers/clk/rockchip/Makefile                      |   2 +
 drivers/clk/rockchip/clk-inverter.c                | 126 +++
 drivers/clk/rockchip/clk-rk3188.c                  |   9 +-
 drivers/clk/rockchip/clk-rk3288.c                  |  11 +-
 drivers/clk/rockchip/clk-rk3368.c                  | 881 +++++++++++++++++++++
 drivers/clk/rockchip/clk.c                         |   7 +
 drivers/clk/rockchip/clk.h                         |  72 +-
 include/dt-bindings/clock/rk3368-cru.h             | 379 +++++++++
 9 files changed, 1536 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3368-cru.txt
 create mode 100644 drivers/clk/rockchip/clk-inverter.c
 create mode 100644 drivers/clk/rockchip/clk-rk3368.c
 create mode 100644 include/dt-bindings/clock/rk3368-cru.h

-- 
2.1.4

WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
To: mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Heiko Stuebner <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
Subject: [PATCH 0/8] clk: rockchip: add support for the clock-tree of the rk3368
Date: Sat, 13 Jun 2015 18:22:14 +0200	[thread overview]
Message-ID: <1434212542-17145-1-git-send-email-heiko@sntech.de> (raw)

This series adds support for the clock controller of rk3368
ARM64 socs.

The first 2 patches are fixes for small issues I found while
building the clocktree. Both do not harm the functionality
of the older socs, as there is no camera interface driver in
them anyway and the issue with the defines only surfaced on
the rk3368.

Patch 3 then adds a new definition for a branch-type.

Some clocks (mainly the hsadc and camera interfaces) have a phase
inverter connected to the clock that makes it possible to adjust
the clock phase by 180 degrees. Patches 4 and 5 finally add
support for these inverters and add the currently missing
definitions to the already present clock drivers.

Patches 6, 7 and 8 finally add the shared dt-binding header and
the rk3368 clock tree itself. The cpu-clocks in there where
tested sucessfully with the big_little_cpufreq driver.


Heiko Stuebner (8):
  clk: rockchip: protect register macros against multipart values
  clk: rockchip: fix faulty vip parent name on rk3288
  clk: rockchip: add COMPOSITE_NOGATE_DIVTBL variant
  clk: rockchip: add support for phase inverters
  clk: rockchip: define the inverters of rk3066/rk3188 and rk3288
  dt-bindings: add documentation of rk3668 clock controller
  clk: rockchip: add dt-binding header for rk3368
  clk: rockchip: add rk3368 clock controller

 .../bindings/clock/rockchip,rk3368-cru.txt         |  61 ++
 drivers/clk/rockchip/Makefile                      |   2 +
 drivers/clk/rockchip/clk-inverter.c                | 126 +++
 drivers/clk/rockchip/clk-rk3188.c                  |   9 +-
 drivers/clk/rockchip/clk-rk3288.c                  |  11 +-
 drivers/clk/rockchip/clk-rk3368.c                  | 881 +++++++++++++++++++++
 drivers/clk/rockchip/clk.c                         |   7 +
 drivers/clk/rockchip/clk.h                         |  72 +-
 include/dt-bindings/clock/rk3368-cru.h             | 379 +++++++++
 9 files changed, 1536 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3368-cru.txt
 create mode 100644 drivers/clk/rockchip/clk-inverter.c
 create mode 100644 drivers/clk/rockchip/clk-rk3368.c
 create mode 100644 include/dt-bindings/clock/rk3368-cru.h

-- 
2.1.4

WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/8] clk: rockchip: add support for the clock-tree of the rk3368
Date: Sat, 13 Jun 2015 18:22:14 +0200	[thread overview]
Message-ID: <1434212542-17145-1-git-send-email-heiko@sntech.de> (raw)

This series adds support for the clock controller of rk3368
ARM64 socs.

The first 2 patches are fixes for small issues I found while
building the clocktree. Both do not harm the functionality
of the older socs, as there is no camera interface driver in
them anyway and the issue with the defines only surfaced on
the rk3368.

Patch 3 then adds a new definition for a branch-type.

Some clocks (mainly the hsadc and camera interfaces) have a phase
inverter connected to the clock that makes it possible to adjust
the clock phase by 180 degrees. Patches 4 and 5 finally add
support for these inverters and add the currently missing
definitions to the already present clock drivers.

Patches 6, 7 and 8 finally add the shared dt-binding header and
the rk3368 clock tree itself. The cpu-clocks in there where
tested sucessfully with the big_little_cpufreq driver.


Heiko Stuebner (8):
  clk: rockchip: protect register macros against multipart values
  clk: rockchip: fix faulty vip parent name on rk3288
  clk: rockchip: add COMPOSITE_NOGATE_DIVTBL variant
  clk: rockchip: add support for phase inverters
  clk: rockchip: define the inverters of rk3066/rk3188 and rk3288
  dt-bindings: add documentation of rk3668 clock controller
  clk: rockchip: add dt-binding header for rk3368
  clk: rockchip: add rk3368 clock controller

 .../bindings/clock/rockchip,rk3368-cru.txt         |  61 ++
 drivers/clk/rockchip/Makefile                      |   2 +
 drivers/clk/rockchip/clk-inverter.c                | 126 +++
 drivers/clk/rockchip/clk-rk3188.c                  |   9 +-
 drivers/clk/rockchip/clk-rk3288.c                  |  11 +-
 drivers/clk/rockchip/clk-rk3368.c                  | 881 +++++++++++++++++++++
 drivers/clk/rockchip/clk.c                         |   7 +
 drivers/clk/rockchip/clk.h                         |  72 +-
 include/dt-bindings/clock/rk3368-cru.h             | 379 +++++++++
 9 files changed, 1536 insertions(+), 12 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/rockchip,rk3368-cru.txt
 create mode 100644 drivers/clk/rockchip/clk-inverter.c
 create mode 100644 drivers/clk/rockchip/clk-rk3368.c
 create mode 100644 include/dt-bindings/clock/rk3368-cru.h

-- 
2.1.4

             reply	other threads:[~2015-06-13 16:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13 16:22 Heiko Stuebner [this message]
2015-06-13 16:22 ` [PATCH 0/8] clk: rockchip: add support for the clock-tree of the rk3368 Heiko Stuebner
2015-06-13 16:22 ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 1/8] clk: rockchip: protect register macros against multipart values Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 2/8] clk: rockchip: fix faulty vip parent name on rk3288 Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 3/8] clk: rockchip: add COMPOSITE_NOGATE_DIVTBL variant Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 4/8] clk: rockchip: add support for phase inverters Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 5/8] clk: rockchip: define the inverters of rk3066/rk3188 and rk3288 Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
     [not found] ` <1434212542-17145-1-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2015-06-13 16:22   ` [PATCH 6/8] dt-bindings: add documentation of rk3668 clock controller Heiko Stuebner
2015-06-13 16:22     ` Heiko Stuebner
2015-06-13 16:22     ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 7/8] clk: rockchip: add dt-binding header for rk3368 Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22 ` [PATCH 8/8] clk: rockchip: add rk3368 clock controller Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner
2015-06-13 16:22   ` Heiko Stuebner

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=1434212542-17145-1-git-send-email-heiko@sntech.de \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mturquette@linaro.org \
    --cc=sboyd@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.