4 Commits

Author SHA1 Message Date
Samuel Holland
05115a6844 clk: bflb: Implement the .dump operation
Print the parent name, rate, and bit field values for each clock.

Signed-off-by: Samuel Holland <samuel@sholland.org>
2023-02-05 14:37:37 -06:00
Samuel Holland
e110ca11b3 clk: bflb: Add BL808 clock/reset descriptions
BL808 contains clocks and resets controlled by registers in several MMIO
regions, mostly because each MMIO region is in a separate power domain.
Add the descriptions for the known clocks and resets.

Signed-off-by: Samuel Holland <samuel@sholland.org>
2023-02-05 14:37:34 -06:00
Samuel Holland
3ee1aaa682 clk: Add Bouffalo Lab reset controller driver
This driver extends the clock driver with reset control capability.

Signed-off-by: Samuel Holland <samuel@sholland.org>
2023-02-05 14:37:34 -06:00
Samuel Holland
970e1a1f7f clk: Add Bouffalo Lab clock driver
This driver supports most of the clocks in Bouffalo Lab SoCs, including
their parent selection, divider, and enable bits. It supports a
hierarchy of clocks provided by multiple devices/drivers.

Signed-off-by: Samuel Holland <samuel@sholland.org>
2023-02-05 14:37:34 -06:00