Skip to content

MIPS: BMIPS: add support for gated clock controller

Jonas Gorski linux-clk linux-devicetree linux-mips 1 version Applied

Status from this message: Applied to clk-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3devicetree: document the BCM63XX gated clock bindingsDocumentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt+22 -07 replies
2/3clk: add BCM63XX gated clock controller driverdrivers/clk/bcm/Kconfig drivers/clk/bcm/Makefile drivers/clk/bcm/clk-bcm63xx-gate.c+255 -03 replies
3/3MIPS: BMIPS: add clock controller nodesarch/mips/boot/dts/brcm/bcm3368.dtsi arch/mips/boot/dts/brcm/bcm63268.dtsi arch/mips/boot/dts/brcm/bcm6328.dtsi +3 more+51 -153 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchFlorian FainelliPhilippe Mathieu-DaudéRob Herring
1/3R-b R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] MIPS: BMIPS: add support for gated clock controller

This patchset adds support for the gated clock controller found on most MIPS based Broadcom BCM63XX SoCs.

The MIPS based BCM63XX SoCs have very little in common with the ARM based ones, so a separate driver is necessary.

It's a simple register based controller, with one bit per clock, active high.

Since BCM63XX/MIPS runs in big endian mode, the driver depends on the series "clk: make register endianness a run-time property", or more specifically on patch 3, "clk: gate: add explicit big endian support".

Based on the clk-next branch.

Jonas Gorski (3):
devicetree: document the BCM63XX gated clock bindings
clk: add BCM63XX gated clock controller driver
MIPS: BMIPS: add clock controller nodes

 .../bindings/clock/brcm,bcm63xx-clocks.txt         |  22 ++
 arch/mips/boot/dts/brcm/bcm3368.dtsi               |  12 +-
 arch/mips/boot/dts/brcm/bcm63268.dtsi              |  12 +-
 arch/mips/boot/dts/brcm/bcm6328.dtsi               |   6 +
 arch/mips/boot/dts/brcm/bcm6358.dtsi               |  12 +-
 arch/mips/boot/dts/brcm/bcm6362.dtsi               |  12 +-
 arch/mips/boot/dts/brcm/bcm6368.dtsi               |  12 +-
 drivers/clk/bcm/Kconfig                            |   8 +
 drivers/clk/bcm/Makefile                           |   1 +
 drivers/clk/bcm/clk-bcm63xx-gate.c                 | 246 +++++++++++++++++++++
 10 files changed, 328 insertions(+), 15 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt
 create mode 100644 drivers/clk/bcm/clk-bcm63xx-gate.c
Signature · 1 line
2.13.2