dt-bindings: clock: Document clock and reset unit of RK3528
authorYao Zi <ziyao@disroot.org>
Mon, 7 Apr 2025 22:46:34 +0000 (22:46 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 23 Apr 2025 14:12:03 +0000 (22:12 +0800)
commitf1c021b94764bbea23d02308055bb1befa091b06
treea51b03951bc702b8ef3407eb4c8b78410f9a45c3
parent12e2d451ad4e64fa95185bd63f98c7541d2363bf
dt-bindings: clock: Document clock and reset unit of RK3528

There are two types of clocks in RK3528 SoC, CRU-managed and
SCMI-managed. Independent IDs are assigned to them.

For the reset part, differing from previous Rockchip SoCs and
downstream bindings which embeds register offsets into the IDs, gapless
numbers starting from zero are used.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250217061142.38480-6-ziyao@disroot.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
[ upstream commit: e0c0a97bc308f71b0934e3637ac545ce65195df0 ]

(cherry picked from commit 8768d063e732e64892e4d1d09aa583d1394c8388)
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
dts/upstream/Bindings/clock/rockchip,rk3528-cru.yaml [new file with mode: 0644]
dts/upstream/include/dt-bindings/clock/rockchip,rk3528-cru.h [new file with mode: 0644]
dts/upstream/include/dt-bindings/reset/rockchip,rk3528-cru.h [new file with mode: 0644]