All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] Meson clock driver
@ 2017-12-03  9:17 ` Beniamino Galvani
  0 siblings, 0 replies; 44+ messages in thread
From: Beniamino Galvani @ 2017-12-03  9:17 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2018-03-31  8:44 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-03  9:17 [U-Boot] [PATCH 0/4] Meson clock driver Beniamino Galvani
2017-12-03  9:17 ` Beniamino Galvani
2017-12-03  9:17 ` [U-Boot] [PATCH 1/4] ARM: dts: update gxbb-clkc.h from Linux 4.14 Beniamino Galvani
2017-12-03  9:17   ` Beniamino Galvani
2017-12-06 13:38   ` [U-Boot] " Neil Armstrong
2017-12-06 13:38     ` Neil Armstrong
2017-12-03  9:17 ` [U-Boot] [PATCH 2/4] ARM: meson: add clock measurement function Beniamino Galvani
2017-12-03  9:17   ` Beniamino Galvani
2017-12-06 13:40   ` [U-Boot] " Neil Armstrong
2017-12-06 13:40     ` Neil Armstrong
2017-12-11 14:57   ` [U-Boot] " Simon Glass
2017-12-11 14:57     ` Simon Glass
2017-12-03  9:17 ` [U-Boot] [PATCH 3/4] clk: add Amlogic meson clock driver Beniamino Galvani
2017-12-03  9:17   ` Beniamino Galvani
2017-12-06 13:41   ` [U-Boot] " Neil Armstrong
2017-12-06 13:41     ` Neil Armstrong
2017-12-11 14:57   ` [U-Boot] " Simon Glass
2017-12-11 14:57     ` Simon Glass
2018-03-29  8:42   ` [U-Boot] " Neil Armstrong
2018-03-29  8:42     ` Neil Armstrong
2018-03-29 22:41     ` [U-Boot] " Simon Glass
2018-03-29 22:41       ` Simon Glass
2018-03-30  7:53       ` [U-Boot] " Neil Armstrong
2018-03-30  7:53         ` Neil Armstrong
2018-03-30  8:41         ` [U-Boot] " Simon Glass
2018-03-30  8:41           ` Simon Glass
2018-03-30 14:27           ` [U-Boot] " Andreas Färber
2018-03-30 14:27             ` Andreas Färber
2018-03-31  8:44             ` [U-Boot] " Simon Glass
2018-03-31  8:44               ` Simon Glass
2017-12-03  9:17 ` [U-Boot] [PATCH 4/4] meson: use the " Beniamino Galvani
2017-12-03  9:17   ` Beniamino Galvani
2017-12-06 13:43   ` [U-Boot] " Neil Armstrong
2017-12-06 13:43     ` Neil Armstrong
2017-12-11 14:57   ` [U-Boot] " Simon Glass
2017-12-11 14:57     ` Simon Glass
2017-12-13  2:33   ` [U-Boot] [U-Boot,4/4] " Tom Rini
2017-12-13  2:33     ` Tom Rini
2018-03-28  8:59 ` [U-Boot] [PATCH 0/4] Meson " Neil Armstrong
2018-03-28  8:59   ` Neil Armstrong
2018-03-28 10:52   ` [U-Boot] " Beniamino Galvani
2018-03-28 10:52     ` Beniamino Galvani
2018-03-28 13:44     ` [U-Boot] " Neil Armstrong
2018-03-28 13:44       ` Neil Armstrong

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.