Skip to content

clk: add fsl-flexspi driver

Michael Walle linux-arm-kernel linux-clk linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5clk: divider: add devm_clk_hw_register_divider_table()drivers/clk/clk-divider.c include/linux/clk-provider.h+61 -00 replies
2/5dt-bindings: clock: document the fsl-flexspi-clk driverDocumentation/devicetree/bindings/clock/fsl,flexspi-clock.yaml+55 -00 replies
3/5clk: fsl-flexspi: new driverdrivers/clk/Kconfig drivers/clk/Makefile drivers/clk/clk-fsl-flexspi.c+115 -00 replies
4/5arm64: dts: ls1028a: fix FlexSPI clockarch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi+13 -20 replies
5/5arm64: dts: lx2160a: fix FlexSPI clockarch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi+13 -23 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/5
2/5R-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] clk: add fsl-flexspi driver

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
Signature · 1 line
2.20.1