[v7,0/9] Add CRG driver for Hi3798MV100 SoC

Message ID 20230322164201.2454771-1-mmyangfl@gmail.com
Headers
Series Add CRG driver for Hi3798MV100 SoC |

Message

Yangfl March 22, 2023, 4:41 p.m. UTC
  This series adds CRG driver for Hi3798MV100 SoC.

v2: move bindings to a separate patch
v3: fix bindings commit message, reorganize patches
v4: add ethernet and gpu clocks
v5: add complex clock
v6: migrate devm api
v7: fix devm api migration as requested

Links:
v1: https://lore.kernel.org/r/20230303151417.104321-1-mmyangfl@gmail.com
v2: https://lore.kernel.org/r/20230304063333.162309-1-mmyangfl@gmail.com
v3: https://lore.kernel.org/r/20230307032243.14988-1-mmyangfl@gmail.com
v4: https://lore.kernel.org/r/20230315211628.963205-1-mmyangfl@gmail.com
v5: https://lore.kernel.org/r/20230320204042.980708-1-mmyangfl@gmail.com
v6: https://lore.kernel.org/r/20230321200031.1812026-1-mmyangfl@gmail.com

David Yang (9):
  clk: hisilicon: Rename Hi3798CV200 to Hi3798
  clk: hisilicon: Extract common functions
  clk: hisilicon: Remove hisi_clk_alloc
  clk: hisilicon: Add helper functions for platform driver
  clk: hisilicon: Use helper functions
  clk: hisilicon: Convert to platform_driver
  clk: hisilicon: Migrate devm APIs
  dt-bindings: clock: Add Hi3798MV100 CRG
  clk: hisilicon: Add CRG driver for Hi3798MV100 SoC

 .../devicetree/bindings/clock/hisi-crg.txt    |   2 +
 drivers/clk/hisilicon/Kconfig                 |   6 +-
 drivers/clk/hisilicon/Makefile                |   2 +-
 drivers/clk/hisilicon/clk-hi3519.c            | 134 +----
 drivers/clk/hisilicon/clk-hi3559a.c           | 253 ++-------
 drivers/clk/hisilicon/clk-hi3620.c            | 214 ++++----
 drivers/clk/hisilicon/clk-hi3660.c            | 204 +++----
 drivers/clk/hisilicon/clk-hi3670.c            | 267 ++++------
 drivers/clk/hisilicon/clk-hi6220-stub.c       |   9 +-
 drivers/clk/hisilicon/clk-hi6220.c            | 229 ++++----
 drivers/clk/hisilicon/clk-hip04.c             |  38 +-
 drivers/clk/hisilicon/clk-hisi-phase.c        |  13 +-
 drivers/clk/hisilicon/clk-hix5hd2.c           |  90 ++--
 drivers/clk/hisilicon/clk.c                   | 428 ++++++++-------
 drivers/clk/hisilicon/clk.h                   | 146 +++--
 drivers/clk/hisilicon/clkdivider-hi6220.c     |  24 +-
 drivers/clk/hisilicon/clkgate-separated.c     |  26 +-
 drivers/clk/hisilicon/crg-hi3516cv300.c       | 177 +------
 drivers/clk/hisilicon/crg-hi3798.c            | 498 ++++++++++++++++++
 drivers/clk/hisilicon/crg-hi3798cv200.c       | 401 --------------
 drivers/clk/hisilicon/crg.h                   |  11 +-
 drivers/clk/hisilicon/reset.c                 |  64 ++-
 include/dt-bindings/clock/histb-clock.h       |  13 +
 23 files changed, 1463 insertions(+), 1786 deletions(-)
 create mode 100644 drivers/clk/hisilicon/crg-hi3798.c
 delete mode 100644 drivers/clk/hisilicon/crg-hi3798cv200.c


base-commit: 6015b1aca1a233379625385feb01dd014aca60b5