From: "Alexander Müller" <serveralex@gmail.com>
To: mturquette@baylibre.com, linux-clk@vger.kernel.org,
linux-amlogic@lists.infradead.org
Subject: [PATCH v2 0/7] Add Amlogic meson8b clock gates
Date: Wed, 13 Jul 2016 19:49:34 +0200 [thread overview]
Message-ID: <1468432181-9550-1-git-send-email-serveralex@gmail.com> (raw)
This patch series adds support for the Amlogic meson8b clock gates. The Amlogic
U-Boot disables most of them at boot. In order to enable ethernet, USB and other
components it's mandatory to enable the clock gates when loading the corresponding
drivers.
The meson8b clock gate support is based on the previous work done for Amlogic gxbb
currently available in clk-next.
Changes since v1:
- Fixed GXBB spelling
- Moved newly introduced CLKID defines to private header
- Moved CLK_NR_CLKS define from DT binding to private header
- Rebased to linux-amlogic/v4.7/integ making Kconfig select obsolete
Alexander Müller (7):
clk: meson: Rename meson8b-clkc.c to reflect gxbb naming convention
meson: clk: Move register definitions to meson8b.h
meson: clk: Rename register names according to Amlogic datasheet
clk: meson: Copy meson8b CLKID defines to private header file
meson: clk: Add CLKIDs for clock gates
gxbb: clk: Move MESON_GATE macro to gxbb
meson: clk: Add support for clock gates
drivers/clk/meson/Makefile | 2 +-
drivers/clk/meson/clkc.h | 14 -
drivers/clk/meson/gxbb.c | 176 ++++----
drivers/clk/meson/meson8b-clkc.c | 458 --------------------
drivers/clk/meson/meson8b.c | 705 +++++++++++++++++++++++++++++++
drivers/clk/meson/meson8b.h | 148 +++++++
include/dt-bindings/clock/meson8b-clkc.h | 2 -
7 files changed, 949 insertions(+), 556 deletions(-)
delete mode 100644 drivers/clk/meson/meson8b-clkc.c
create mode 100644 drivers/clk/meson/meson8b.c
create mode 100644 drivers/clk/meson/meson8b.h
--
2.5.0
next reply other threads:[~2016-07-13 17:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 17:49 Alexander Müller [this message]
2016-07-13 17:49 ` [PATCH v2 1/7] clk: meson: Rename meson8b-clkc.c to reflect gxbb naming convention Alexander Müller
2016-07-13 17:49 ` [PATCH v2 2/7] meson: clk: Move register definitions to meson8b.h Alexander Müller
2016-07-13 21:34 ` Michael Turquette
2016-07-13 17:49 ` [PATCH v2 3/7] meson: clk: Rename register names according to Amlogic datasheet Alexander Müller
2016-07-13 17:49 ` [PATCH v2 4/7] clk: meson: Copy meson8b CLKID defines to private header file Alexander Müller
2016-07-13 17:49 ` [PATCH v2 5/7] meson: clk: Add CLKIDs for clock gates Alexander Müller
2016-07-13 21:39 ` Michael Turquette
2016-07-13 17:49 ` [PATCH v2 6/7] gxbb: clk: Move MESON_GATE macro to gxbb Alexander Müller
2016-07-13 21:32 ` Michael Turquette
2016-07-14 17:09 ` Alexander Müller
2016-07-16 20:14 ` Michael Turquette
2016-07-13 17:49 ` [PATCH v2 7/7] meson: clk: Add support for clock gates Alexander Müller
2016-07-13 21:53 ` Michael Turquette
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=1468432181-9550-1-git-send-email-serveralex@gmail.com \
--to=serveralex@gmail.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
/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;
as well as URLs for NNTP newsgroup(s).