[PATCH v5 0/4] clk: visconti: Add support common clock driver and reset driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This series is PLL, clock and reset driver for Toshiba's ARM SoC,
Visconti[0].
Since the clock driver and reset driver are provided as one function,
they are
provided in cooperation with the clock driver.

This provides DT binding documentation, device driver, MAINTAINER files.

Best regards,
  Nobuhiro

[0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html

  dt-bindings: clock: Add DT bindings for PLL of Toshiba Visconti TMPV7708 SoC
    v4 -> v5:
       - Add Reviewed-by: Rob Herring <robh@xxxxxxxxxx>.
    v3 -> v4:
       - Fix node name to clock-controller.
       - Remove osc2-clk-frequency, and this defines to DT as
         fixed-clock.
       - Add clocks.
    v2 -> v3:
       - Change file name.
    v1 -> v2:
       - Update subject.

  dt-bindings: clock: Add DT bindings for SMU of Toshiba Visconti TMPV7708 SoC
    v4 -> v5:
       - Add Reviewed-by: Rob Herring <robh@xxxxxxxxxx>.
       - v5: Update to use syscon.
    v3 -> v4:
      - Move reset dt-binding header file.
      - Move clock dt-binding header file.
      - Change dt-binding header's License to 'GPL-2.0-only OR
        BSD-2-Clause'
      - Fix node name to clock-controller.
    v2 -> v3:
       - Change file name.
    v1 -> v2:
       - Update subject.

  clk: visconti: Add support common clock driver and reset driver
    v4 -> v5:
      - Makefile/Kconfig
        Update Kconfig with using COMPILE_TEST
      - clkc-tmpv770x.c
        Fix location of include file.
        Fix to use clk-provider.h.
        Update clock flags in pietherpll_clk_gate_tables and others.
        Use lowercase hex.
        Update to use syscon.
        Update to use platform driver instead of CLK_OF_DECLARE_DRIVER.
      - clkc.c
        Fix check of visconti_gate_clk_is_enabled.
        Drop visconti_gate_clk_is_enabled in visconti_gate_clk_enable().
        Drop unnecessary comment.
        Update to use clk_parent_data instead of parent_names.
        Update to use devm_clk_hw_register().
        Update to use struct device in visconti_clk_register_gate().
        Update to get structure size from pointer with sizeof().
      - clkc.h
        Update struct visconti_clk_gate_table to using struct clk_parent_data.
        Drop flags in struct visconti_clk_gate.
      - pll-tmpv770x.c
        Use lowercase hex.
        Update to use platform driver instead of CLK_OF_DECLARE_DRIVER.
        Update to use size_t in visconti_pll and move position.
        Update use FIELD_GET().
        Drop braces.
        Use const point in visconti_get_pll_rate_from_data().
        Update to comparison by memcmp in visconti_get_pll_rate_from_data().
        Drop unnecessary comment.
        Drop unnecessary print.
        Drop unnecessary lock and unlock.
        Drop visconti_pll_is_enabled in visconti_pll_enable().
        Drop unused flags.
        Update to use clk_hw_register().
        Drop to use kmemdup().
      - pll.h
        Drop __init.
    v3 -> v4:
       - Remove osc2 clock's code. Move to DT.
    v2 -> v3:
       - Fix return value in visconti_register_pll().
       - Remove initialization of flags used by spin_lock_irqsave().
       - - Change function name from *7708* to *770x*.
       - Fix some coding style.
    v1 -> v2:
       - Fix warning with W=1

  MAINTAINERS: Add entries for Toshiba Visconti PLL and clock controller
    v4 -> v5:
       - no update.
    v3 -> v4:
       - no update.
    v2 -> v3:
       - Change path of DT binding files.
    v1 -> v2:


Nobuhiro Iwamatsu (4):
  dt-bindings: clock: Add DT bindings for PLL of Toshiba Visconti TMPV770x SoC
  dt-bindings: clock: Add DT bindings for SMU of Toshiba Visconti TMPV770x SoC
  clk: visconti: Add support common clock driver and reset driver
  MAINTAINERS: Add entries for Toshiba Visconti PLL and clock controller

 .../clock/toshiba,tmpv770x-pipllct.yaml       |  57 +++
 .../clock/toshiba,tmpv770x-pismu.yaml         |  52 +++
 MAINTAINERS                                   |   3 +
 drivers/clk/Kconfig                           |   1 +
 drivers/clk/Makefile                          |   1 +
 drivers/clk/visconti/Kconfig                  |   9 +
 drivers/clk/visconti/Makefile                 |   5 +
 drivers/clk/visconti/clkc-tmpv770x.c          | 291 +++++++++++++++
 drivers/clk/visconti/clkc.c                   | 206 +++++++++++
 drivers/clk/visconti/clkc.h                   |  76 ++++
 drivers/clk/visconti/pll-tmpv770x.c           |  85 +++++
 drivers/clk/visconti/pll.c                    | 339 ++++++++++++++++++
 drivers/clk/visconti/pll.h                    |  62 ++++
 drivers/clk/visconti/reset.c                  | 107 ++++++
 drivers/clk/visconti/reset.h                  |  36 ++
 include/dt-bindings/clock/toshiba,tmpv770x.h  | 181 ++++++++++
 include/dt-bindings/reset/toshiba,tmpv770x.h  |  41 +++
 17 files changed, 1552 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/toshiba,tmpv770x-pipllct.yaml
 create mode 100644 Documentation/devicetree/bindings/clock/toshiba,tmpv770x-pismu.yaml
 create mode 100644 drivers/clk/visconti/Kconfig
 create mode 100644 drivers/clk/visconti/Makefile
 create mode 100644 drivers/clk/visconti/clkc-tmpv770x.c
 create mode 100644 drivers/clk/visconti/clkc.c
 create mode 100644 drivers/clk/visconti/clkc.h
 create mode 100644 drivers/clk/visconti/pll-tmpv770x.c
 create mode 100644 drivers/clk/visconti/pll.c
 create mode 100644 drivers/clk/visconti/pll.h
 create mode 100644 drivers/clk/visconti/reset.c
 create mode 100644 drivers/clk/visconti/reset.h
 create mode 100644 include/dt-bindings/clock/toshiba,tmpv770x.h
 create mode 100644 include/dt-bindings/reset/toshiba,tmpv770x.h

-- 
2.33.0





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux