From: b.galvani@gmail.com (Beniamino Galvani)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/4] Meson clock driver
Date: Sun, 3 Dec 2017 10:17:09 +0100 [thread overview]
Message-ID: <20171203091713.22029-1-b.galvani@gmail.com> (raw)
Hi,
this is a basic clock driver for u-boot that supports
enabling/disabling clock gates and getting their frequency. With this,
some hardcoded initializations can be removed from the board code, and
drivers can use the information from device tree to initialize clocks.
Beniamino Galvani (4):
ARM: dts: update gxbb-clkc.h from Linux 4.14
ARM: meson: add clock measurement function
clk: add Amlogic meson clock driver
meson: use the clock driver
arch/arm/include/asm/arch-meson/clock.h | 34 ++++++
arch/arm/include/asm/arch-meson/gxbb.h | 10 --
arch/arm/include/asm/arch-meson/i2c.h | 11 --
arch/arm/mach-meson/Kconfig | 2 +
arch/arm/mach-meson/Makefile | 2 +-
arch/arm/mach-meson/clock.c | 45 ++++++++
board/amlogic/odroid-c2/odroid-c2.c | 4 +-
board/amlogic/p212/p212.c | 3 +-
drivers/clk/Makefile | 1 +
drivers/clk/clk_meson.c | 196 ++++++++++++++++++++++++++++++++
drivers/i2c/meson_i2c.c | 20 +++-
include/dt-bindings/clock/gxbb-clkc.h | 75 ++++++++++++
12 files changed, 373 insertions(+), 30 deletions(-)
create mode 100644 arch/arm/include/asm/arch-meson/clock.h
delete mode 100644 arch/arm/include/asm/arch-meson/i2c.h
create mode 100644 arch/arm/mach-meson/clock.c
create mode 100644 drivers/clk/clk_meson.c
--
2.14.3
next reply other threads:[~2017-12-03 9:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-03 9:17 Beniamino Galvani [this message]
2017-12-03 9:17 ` [PATCH 1/4] ARM: dts: update gxbb-clkc.h from Linux 4.14 Beniamino Galvani
2017-12-06 13:38 ` Neil Armstrong
2017-12-03 9:17 ` [PATCH 2/4] ARM: meson: add clock measurement function Beniamino Galvani
2017-12-06 13:40 ` Neil Armstrong
2017-12-11 14:57 ` Simon Glass
2017-12-03 9:17 ` [PATCH 3/4] clk: add Amlogic meson clock driver Beniamino Galvani
2017-12-06 13:41 ` Neil Armstrong
2017-12-11 14:57 ` Simon Glass
2018-03-29 8:42 ` Neil Armstrong
2018-03-29 22:41 ` Simon Glass
2018-03-30 7:53 ` Neil Armstrong
2018-03-30 8:41 ` Simon Glass
2018-03-30 14:27 ` Andreas Färber
2018-03-31 8:44 ` Simon Glass
2017-12-03 9:17 ` [PATCH 4/4] meson: use the " Beniamino Galvani
2017-12-06 13:43 ` Neil Armstrong
2017-12-11 14:57 ` Simon Glass
2017-12-13 2:33 ` [U-Boot,4/4] " Tom Rini
2018-03-28 8:59 ` [PATCH 0/4] Meson " Neil Armstrong
2018-03-28 10:52 ` Beniamino Galvani
2018-03-28 13:44 ` Neil Armstrong
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=20171203091713.22029-1-b.galvani@gmail.com \
--to=b.galvani@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).