From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/9] clk: rockchip: add support for the clock-tree of the rk3368
Date: Thu, 18 Jun 2015 16:18:27 +0200 [thread overview]
Message-ID: <1434637116-17124-1-git-send-email-heiko@sntech.de> (raw)
This series adds support for the clock controller of rk3368
ARM64 socs.
The first 3 patches are fixes for small issues I found while
building the clocktree. The first one fixes an issue if a rmii
phy is used on the rk3288 and the later two 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 4 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 5 and 6 finally add
support for these inverters and add the currently missing
definitions to the already present clock drivers.
Patches 7, 8 and 9 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.
changes since v1:
- add CLK_SET_RATE_PARENT to sclk_mac to provide sane rates
when using a rmii phy with soc-side clock generation.
Both as fix for the 3288 and in the newly added rk3368.
Heiko Stuebner (9):
clk: rockchip: rk3288: add CLK_SET_RATE_PARENT to sclk_mac
clk: rockchip: fix faulty vip parent name on rk3288
clk: rockchip: protect register macros against multipart values
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 | 13 +-
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, 1537 insertions(+), 13 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@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 v2 0/9] clk: rockchip: add support for the clock-tree of the rk3368
Date: Thu, 18 Jun 2015 16:18:27 +0200 [thread overview]
Message-ID: <1434637116-17124-1-git-send-email-heiko@sntech.de> (raw)
This series adds support for the clock controller of rk3368
ARM64 socs.
The first 3 patches are fixes for small issues I found while
building the clocktree. The first one fixes an issue if a rmii
phy is used on the rk3288 and the later two 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 4 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 5 and 6 finally add
support for these inverters and add the currently missing
definitions to the already present clock drivers.
Patches 7, 8 and 9 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.
changes since v1:
- add CLK_SET_RATE_PARENT to sclk_mac to provide sane rates
when using a rmii phy with soc-side clock generation.
Both as fix for the 3288 and in the newly added rk3368.
Heiko Stuebner (9):
clk: rockchip: rk3288: add CLK_SET_RATE_PARENT to sclk_mac
clk: rockchip: fix faulty vip parent name on rk3288
clk: rockchip: protect register macros against multipart values
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 | 13 +-
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, 1537 insertions(+), 13 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 v2 0/9] clk: rockchip: add support for the clock-tree of the rk3368
Date: Thu, 18 Jun 2015 16:18:27 +0200 [thread overview]
Message-ID: <1434637116-17124-1-git-send-email-heiko@sntech.de> (raw)
This series adds support for the clock controller of rk3368
ARM64 socs.
The first 3 patches are fixes for small issues I found while
building the clocktree. The first one fixes an issue if a rmii
phy is used on the rk3288 and the later two 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 4 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 5 and 6 finally add
support for these inverters and add the currently missing
definitions to the already present clock drivers.
Patches 7, 8 and 9 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.
changes since v1:
- add CLK_SET_RATE_PARENT to sclk_mac to provide sane rates
when using a rmii phy with soc-side clock generation.
Both as fix for the 3288 and in the newly added rk3368.
Heiko Stuebner (9):
clk: rockchip: rk3288: add CLK_SET_RATE_PARENT to sclk_mac
clk: rockchip: fix faulty vip parent name on rk3288
clk: rockchip: protect register macros against multipart values
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 | 13 +-
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, 1537 insertions(+), 13 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
next reply other threads:[~2015-06-18 14:18 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-18 14:18 Heiko Stuebner [this message]
2015-06-18 14:18 ` [PATCH v2 0/9] clk: rockchip: add support for the clock-tree of the rk3368 Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` [PATCH v2 1/9] clk: rockchip: rk3288: add CLK_SET_RATE_PARENT to sclk_mac Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-07-02 22:51 ` Stephen Boyd
2015-07-02 22:51 ` Stephen Boyd
2015-06-18 14:18 ` [PATCH v2 2/9] clk: rockchip: fix faulty vip parent name on rk3288 Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-07-02 22:51 ` Stephen Boyd
2015-07-02 22:51 ` Stephen Boyd
2015-07-02 22:51 ` Stephen Boyd
2015-06-18 14:18 ` [PATCH v2 3/9] clk: rockchip: protect register macros against multipart values Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-07-02 22:51 ` Stephen Boyd
2015-07-02 22:51 ` Stephen Boyd
2015-07-02 22:51 ` Stephen Boyd
2015-06-18 14:18 ` [PATCH v2 4/9] clk: rockchip: add COMPOSITE_NOGATE_DIVTBL variant Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-07-02 22:52 ` Stephen Boyd
2015-07-02 22:52 ` Stephen Boyd
2015-07-02 22:52 ` Stephen Boyd
2015-06-18 14:18 ` [PATCH v2 5/9] clk: rockchip: add support for phase inverters Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-07-02 21:52 ` Stephen Boyd
2015-07-02 21:52 ` Stephen Boyd
2015-07-02 21:52 ` Stephen Boyd
2015-06-18 14:18 ` [PATCH v2 6/9] clk: rockchip: define the inverters of rk3066/rk3188 and rk3288 Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
[not found] ` <1434637116-17124-1-git-send-email-heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
2015-06-18 14:18 ` [PATCH v2 7/9] dt-bindings: add documentation of rk3668 clock controller Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` [PATCH v2 8/9] clk: rockchip: add dt-binding header for rk3368 Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-07-02 21:54 ` Stephen Boyd
2015-07-02 21:54 ` Stephen Boyd
2015-07-02 21:54 ` Stephen Boyd
2015-06-18 14:18 ` [PATCH v2 9/9] clk: rockchip: add rk3368 clock controller Heiko Stuebner
2015-06-18 14:18 ` Heiko Stuebner
2015-06-18 14:18 ` 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=1434637116-17124-1-git-send-email-heiko@sntech.de \
--to=heiko@sntech.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 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.