[PATCH v3 0/8] clk: hisilicon: add support for Hi3798MV200

From: Yang Xiwen via B4 Relay
Date: Wed Feb 21 2024 - 11:41:59 EST


This SoC is similar to Hi3798CV200 with a few more clocks in CRG module.

Note this driver is still ongoing, many clocks are not registered in the
driver now. Feedback is welcomed, especially from HiSilicon people.

Signed-off-by: Yang Xiwen <forbidden405@xxxxxxxxxxx>
---
Changes in v3:
- remove RFC (Krzysztof Kozlowski)
- rearrange patches so dt-binding comes before drivers (Krzysztof Kozlowski)
- dt-bindings: Remove lots of properties
- dt-bindings: stop merging all hisi-clock bindings, only convert hisi-crg.txt for now.
- dt-bindings: remove hisilicon,hisi-sdmmc-dll subnode (Rob Herring, Krzysztof Kozlowski)
- split histb-clock.h into two files, deprecate this header file
- fix all users (hi3798cv200.dtsi and hi3798cv200 CRG driver)
- hi3798mv200-crg: add a few missing clocks
- Link to v2: https://lore.kernel.org/r/20240217-clk-mv200-v2-0-b782e4eb66f7@xxxxxxxxxxx

Changes in v2:
- s/dt-binding/dt-bindings in commit logs: (Krzysztof Kozlowski)
- fix bot error by adding "hisilicon,hisi-sdmmc-dll" to syscon.yaml (Rob Herring)
- hi3798mv200-crg: assign fixed rate parents to some gates
- hi3798mv200-crg: s/ETH/FEMAC, add GMAC ctrl clock
- Link to v1: https://lore.kernel.org/r/20240216-clk-mv200-v1-0-a29ace29e636@xxxxxxxxxxx

---
Yang Xiwen (8):
dt-bindings: clock: convert hisi-crg.txt to YAML
ARM: dts: hisilicon: add missing compatibles to CRG node
dt-bindings: clock: histb-clock: split into two header files
arm64: dts: hisilicon: fix include path
clk: hisilicon: fix include path for crg-hi3798cv200
dt-bindings: clock: hisilicon,clock-reset-controller: add Hi3798MV200 SoC
dt-bindings: clock: hisilicon: add clock definitions for Hi3798MV200
clk: hisilicon: add CRG driver for Hi3798MV200 SoC

.../bindings/clock/hisilicon,hisi-crg.yaml | 71 ++++
arch/arm/boot/dts/hisilicon/hi3519.dtsi | 2 +-
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 3 +-
drivers/clk/hisilicon/Kconfig | 8 +
drivers/clk/hisilicon/Makefile | 1 +
drivers/clk/hisilicon/crg-hi3798cv200.c | 3 +-
drivers/clk/hisilicon/crg-hi3798mv200.c | 462 +++++++++++++++++++++
.../dt-bindings/clock/hisilicon,hi3798cv200-crg.h | 62 +++
.../clock/hisilicon,hi3798cv200-sysctrl.h | 17 +
.../dt-bindings/clock/hisilicon,hi3798mv200-crg.h | 150 +++++++
.../clock/hisilicon,hi3798mv200-sysctrl.h | 21 +
include/dt-bindings/clock/histb-clock.h | 73 +---
12 files changed, 805 insertions(+), 68 deletions(-)
---
base-commit: 8d3dea210042f54b952b481838c1e7dfc4ec751d
change-id: 20240216-clk-mv200-cc8cae396ee0

Best regards,
--
Yang Xiwen <forbidden405@xxxxxxxxxxx>