[PATCH v2 0/2] clk: Add driver and bindings for Fixed MMIO clock

From: Jan Kotas
Date: Thu Dec 13 2018 - 07:50:48 EST


This patchset adds a driver support for Fixed Memory Mapped IO clock.

The driver reads a clock frequency value from a single 32-bit memory
mapped register and registers it as a fixed rate clock.

It can be useful for prototyping Linux on various hardware platforms.
It is not intended to be used on finished, complete SoCs.

Changes since V1:
Added platform driver support.
Removed unnecessary messages.

Jan Kotas (2):
dt-bindings: clk: Add bindings for Fixed MMIO clock
clk: Add Fixed MMIO clock driver

.../devicetree/bindings/clock/fixed-mmio-clock.txt | 24 +++++
drivers/clk/Kconfig | 6 ++
drivers/clk/Makefile | 1 +
drivers/clk/clk-fixed-mmio.c | 109 +++++++++++++++++++++
4 files changed, 140 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt
create mode 100644 drivers/clk/clk-fixed-mmio.c

--
2.15.0