This series adds common clock support for the IMG Pistachio SoC. Pistachio has two clock controllers (core and peripheral) and two general control blocks (peripheral and top) which also contain several clock gates. Like the recently submitted pinctrl driver [1], this driver is written so that it's hopefully easy to add support for future IMG SoCs. Tested on an IMG Pistachio BuB. Based on 4.0-rc1 + my series adding Pistachio platform support [2], which introduces the MACH_PISTACHIO Kconfig symbol. A branch with this series and the dependent patches is available at [3]. I'd like this to go through the MIPS tree with Mike's or Stephen's ACK if possible. Cc: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxx> Cc: James Hartley <james.hartley@xxxxxxxxxx> Cc: James Hogan <james.hogan@xxxxxxxxxx> [1] https://lkml.org/lkml/2015/2/23/705 [2] https://lkml.org/lkml/2015/2/23/694 [3] https://github.com/abrestic/linux/tree/pistachio-clk-v1 Andrew Bresticker (7): clk: Add binding document for Pistachio clock controllers clk: Add basic infrastructure for Pistachio clocks clk: pistachio: Add PLL driver clk: pistachio: Register core clocks clk: pistachio: Register peripheral clocks clk: pistachio: Register system interface gate clocks clk: pistachio: Register external clock gates .../devicetree/bindings/clock/pistachio-clock.txt | 123 +++++++ drivers/clk/Makefile | 1 + drivers/clk/pistachio/Makefile | 3 + drivers/clk/pistachio/clk-pistachio.c | 329 +++++++++++++++++ drivers/clk/pistachio/clk-pll.c | 401 +++++++++++++++++++++ drivers/clk/pistachio/clk.c | 140 +++++++ drivers/clk/pistachio/clk.h | 174 +++++++++ include/dt-bindings/clock/pistachio-clk.h | 183 ++++++++++ 8 files changed, 1354 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/pistachio-clock.txt create mode 100644 drivers/clk/pistachio/Makefile create mode 100644 drivers/clk/pistachio/clk-pistachio.c create mode 100644 drivers/clk/pistachio/clk-pll.c create mode 100644 drivers/clk/pistachio/clk.c create mode 100644 drivers/clk/pistachio/clk.h create mode 100644 include/dt-bindings/clock/pistachio-clk.h -- 2.2.0.rc0.207.ga3a616c -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html