devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] use the Meson8b clock controller driver on Meson8 SoCs
@ 2017-06-04 18:33 Martin Blumenstingl
  2017-06-04 18:33 ` [PATCH 1/3] clk: meson: meson8b: add compatibles for Meson8 and Meson8m2 Martin Blumenstingl
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Martin Blumenstingl @ 2017-06-04 18:33 UTC (permalink / raw)
  To: narmstrong, jbrunet, linux-amlogic, linux-clk
  Cc: mturquette, sboyd, robh+dt, mark.rutland, carlo, khilman, linux,
	devicetree, linux-arm-kernel, Martin Blumenstingl

Based on the code from Amlogic's GPL kernel sources the clock controller
in the Meson8 (S802), Meson8b (S805) and Meson8m2 (S812) SoCs is very
similar.

a more detailed list of differences between the clock controller on each SoC
can be found in the description of the first patch.

This series adds new of_device_ids / compatibles for the Meson8 and Meson8m2
SoCs to the existing Meson8b clock controller driver (and updates the
documentation, Kconfig help and comments accordingly).
It also enables CONFIG_COMMON_CLK_MESON8B for MACH_MESON8.
Finally it adds the clock controller to meson8.dtsi and replaces the
static clk81 instance with the clk81 provided by the clock controller.

This is also the first preparation step for Meson8m2 SoC support by making
the clock controller available.
I am planning to post several follow-up series which will:
- add lots of missing devices to meson8.dtsi and meson8b.dtsi such as (but
  not limited to) PWM, USB controllers and PHYs, SAR ADC, HW random number
  generator and the SCU (Snoop Control Unit)
- add Meson8m2 SoC support
- once it's ready: the SDIO driver (allows connecting the SD card, SDIO wifi
  and eMMC flash)


Martin Blumenstingl (3):
  clk: meson: meson8b: add compatibles for Meson8 and Meson8m2
  arm: meson: select the clock controller for Meson8
  ARM: dts: meson8: add and use the real clock controller

 .../bindings/clock/amlogic,meson8b-clkc.txt        |  5 +++-
 arch/arm/boot/dts/meson8.dtsi                      | 32 +++++++++++-----------
 arch/arm/mach-meson/Kconfig                        |  1 +
 drivers/clk/meson/Kconfig                          |  6 ++--
 drivers/clk/meson/meson8b.c                        |  5 +++-
 5 files changed, 28 insertions(+), 21 deletions(-)

-- 
2.13.0


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

end of thread, other threads:[~2017-06-12  7:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-04 18:33 [PATCH 0/3] use the Meson8b clock controller driver on Meson8 SoCs Martin Blumenstingl
2017-06-04 18:33 ` [PATCH 1/3] clk: meson: meson8b: add compatibles for Meson8 and Meson8m2 Martin Blumenstingl
     [not found]   ` <20170604183341.21417-2-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2017-06-04 19:58     ` Jerome Brunet
2017-06-04 22:27       ` Martin Blumenstingl
2017-06-05  8:23         ` Jerome Brunet
2017-06-08 22:44           ` Rob Herring
     [not found]       ` <1496606325.3552.16.camel-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-06-09 18:13         ` Kevin Hilman
     [not found]           ` <m2lgp19ghu.fsf-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-06-12  7:40             ` Jerome Brunet
2017-06-04 18:33 ` [PATCH 2/3] arm: meson: select the clock controller for Meson8 Martin Blumenstingl
2017-06-04 20:02   ` Jerome Brunet
2017-06-09 18:21     ` Kevin Hilman
     [not found] ` <20170604183341.21417-1-martin.blumenstingl-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2017-06-04 18:33   ` [PATCH 3/3] ARM: dts: meson8: add and use the real clock controller Martin Blumenstingl
2017-06-04 20:20     ` Jerome Brunet
2017-06-04 22:13       ` Martin Blumenstingl
2017-06-07 11:55         ` Neil Armstrong
2017-06-09 18:22       ` Kevin Hilman

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).