clk: sunxi-ng: h6-r: Add R_APB2_RSB clock and reset
authorSamuel Holland <samuel@sholland.org>
Sun, 3 Jan 2021 10:00:04 +0000 (04:00 -0600)
committerChen-Yu Tsai <wens@csie.org>
Wed, 6 Jan 2021 11:34:29 +0000 (19:34 +0800)
commit0482a4e6de19bcfc3729dcc13b7b6dde03375bdb
treefeb343fd327e70ebd70925a09d661d78d53b205e
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
clk: sunxi-ng: h6-r: Add R_APB2_RSB clock and reset

While no information about the H6 RSB controller is included in the
datasheet or manual, the vendor BSP and power management blob both
reference the RSB clock parent and register address. These values were
verified by experimentation.

Since this clock/reset are added late, the specifier is added at the end
to maintain the existing DT binding. The code is kept in register order.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.c
drivers/clk/sunxi-ng/ccu-sun50i-h6-r.h
include/dt-bindings/clock/sun50i-h6-r-ccu.h
include/dt-bindings/reset/sun50i-h6-r-ccu.h