From: serveralex@gmail.com (Alexander Müller)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v5 0/6] Add Amlogic meson8b clock gates
Date: Sat, 27 Aug 2016 19:40:48 +0200 [thread overview]
Message-ID: <1472319654-59048-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 v4:
- Rebased to linux-clk/clk-meson-gxbb-ao branch
Changes since v3:
- Include include/dt-bindings/clock/meson8b-clkc.h to prevent code duplicates
Changes since v2:
- Added commit description for patch 2
- Changed CLK_NR_CLOCKS macro to constant int
- Moved back MESON_GATE macro to share it between gxbb and meson8b
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 (6):
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
gxbb: clk: Adjust MESON_GATE macro to be shared with meson8b
meson: clk: Add support for clock gates
drivers/clk/meson/Makefile | 2 +-
drivers/clk/meson/clkc.h | 2 +-
drivers/clk/meson/gxbb.c | 162 ++++++-------
drivers/clk/meson/{meson8b-clkc.c => meson8b.c} | 293 +++++++++++++++++++++---
drivers/clk/meson/meson8b.h | 151 ++++++++++++
include/dt-bindings/clock/meson8b-clkc.h | 2 -
6 files changed, 497 insertions(+), 115 deletions(-)
rename drivers/clk/meson/{meson8b-clkc.c => meson8b.c} (51%)
create mode 100644 drivers/clk/meson/meson8b.h
--
2.5.0
next reply other threads:[~2016-08-27 17:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 17:40 Alexander Müller [this message]
2016-08-27 17:40 ` [PATCH v5 1/6] clk: meson: Rename meson8b-clkc.c to reflect gxbb naming convention Alexander Müller
2016-08-27 17:40 ` [PATCH v5 2/6] meson: clk: Move register definitions to meson8b.h Alexander Müller
2016-08-27 17:40 ` [PATCH v5 3/6] meson: clk: Rename register names according to Amlogic datasheet Alexander Müller
2016-08-27 17:40 ` [PATCH v5 4/6] clk: meson: Copy meson8b CLKID defines to private header file Alexander Müller
2016-08-27 17:40 ` [PATCH v5 5/6] gxbb: clk: Adjust MESON_GATE macro to be shared with meson8b Alexander Müller
2016-08-27 17:40 ` [PATCH v5 6/6] meson: clk: Add support for clock gates Alexander Müller
2016-10-11 7:59 ` [PATCH v5 0/6] Add Amlogic meson8b " 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=1472319654-59048-1-git-send-email-serveralex@gmail.com \
--to=serveralex@gmail.com \
--cc=linus-amlogic@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;
as well as URLs for NNTP newsgroup(s).