[PATCH v2 0/2] clk: ultrarisc: add DP1000 clock support
From: Jia Wang via B4 Relay
Date: Wed Jun 17 2026 - 02:04:26 EST
This series adds the devicetree binding and the clock driver for the
UltraRISC DP1000 SoC.
The clock tree is driven by a SYSPLL and provides fixed-factor clocks for
the subsystem and PCIe, divider-based root clocks for GMAC and the UART,
I2C, and SPI blocks, and per-instance gate clocks for UART0-3, I2C0-3,
and SPI0-1.
Testing:
- dt_binding_check and dtbs_check on ultrarisc,dp1000-clk
- Kernel build for RISC-V and boot-tested on DP1000
- Modules build test for CLK_ULTRARISC_DP1000
Signed-off-by: Jia Wang <wangjia@xxxxxxxxxxxxx>
---
Changes in v2:
- Drop the redundant clock-names property from the clock binding.
- Move DP1000_CLK_NUM from the dt-bindings header into the driver.
- Clarify the divider load-bit handling in the common clock core.
- Validate that all advertised clock IDs are populated before registering
the onecell clock provider.
- Rework divider composite clock registration so the driver builds
correctly as a module.
- Link to v1: https://patch.msgid.link/20260611-ultrarisc-clock-v1-0-2d93ebb4cc13@xxxxxxxxxxxxx
---
Jia Wang (2):
dt-bindings: clock: ultrarisc: Add DP1000 Clock Controller
clk: ultrarisc: add DP1000 clock driver
.../bindings/clock/ultrarisc,dp1000-clk.yaml | 60 +++
MAINTAINERS | 8 +
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/ultrarisc/Kconfig | 18 +
drivers/clk/ultrarisc/Makefile | 4 +
drivers/clk/ultrarisc/clk-dp1000.c | 153 +++++++
drivers/clk/ultrarisc/clk-ultrarisc.c | 459 +++++++++++++++++++++
drivers/clk/ultrarisc/clk-ultrarisc.h | 73 ++++
include/dt-bindings/clock/ultrarisc,dp1000-clk.h | 27 ++
10 files changed, 804 insertions(+)
---
base-commit: b1cbabe84ca1381a004fb91ee1791a1a53bce44e
change-id: 20260522-ultrarisc-clock-a1b7aa59f60b
Best regards,
--
Jia Wang <wangjia@xxxxxxxxxxxxx>