linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] clk: add fsl-flexspi driver
@ 2020-11-05 19:35 Michael Walle
  2020-11-05 19:35 ` [PATCH v2 1/5] clk: divider: add devm_clk_hw_register_divider_table() Michael Walle
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Michael Walle @ 2020-11-05 19:35 UTC (permalink / raw)
  To: linux-clk, devicetree, linux-kernel, linux-arm-kernel
  Cc: Michael Turquette, Stephen Boyd, Rob Herring, Shawn Guo, Li Yang,
	Michael Walle

On Layerscape SoCs which feature the FlexSPI controller there is
a single register which can control the divider value. The base
frequency is the platform PLL.

Right now the LS1028A and the LX2160A aren't able to switch the
SCK frequency on the FlexSPI interface. Add a new clock driver
which operate on said register.

Michael Walle (5):
  clk: divider: add devm_clk_hw_register_divider_table()
  dt-bindings: clock: document the fsl-flexspi-clk driver
  clk: fsl-flexspi: new driver
  arm64: dts: ls1028a: fix FlexSPI clock
  arm64: dts: lx2160a: fix FlexSPI clock

 .../bindings/clock/fsl,flexspi-clock.yaml     |  55 +++++++++
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi |  15 ++-
 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi |  15 ++-
 drivers/clk/Kconfig                           |   8 ++
 drivers/clk/Makefile                          |   1 +
 drivers/clk/clk-divider.c                     |  34 ++++++
 drivers/clk/clk-fsl-flexspi.c                 | 106 ++++++++++++++++++
 include/linux/clk-provider.h                  |  27 +++++
 8 files changed, 257 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/fsl,flexspi-clock.yaml
 create mode 100644 drivers/clk/clk-fsl-flexspi.c

-- 
2.20.1


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

end of thread, other threads:[~2020-11-06 14:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 19:35 [PATCH v2 0/5] clk: add fsl-flexspi driver Michael Walle
2020-11-05 19:35 ` [PATCH v2 1/5] clk: divider: add devm_clk_hw_register_divider_table() Michael Walle
2020-11-05 19:35 ` [PATCH v2 2/5] dt-bindings: clock: document the fsl-flexspi-clk driver Michael Walle
2020-11-05 19:35 ` [PATCH v2 3/5] clk: fsl-flexspi: new driver Michael Walle
2020-11-05 19:35 ` [PATCH v2 4/5] arm64: dts: ls1028a: fix FlexSPI clock Michael Walle
2020-11-05 19:35 ` [PATCH v2 5/5] arm64: dts: lx2160a: " Michael Walle
2020-11-06  2:00   ` Leo Li
2020-11-06  8:11     ` Michael Walle
2020-11-06 14:04       ` Michael Walle

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