HomeFreeBSD

twsi: Calculate the clock param based on the bus frequency

Description

twsi: Calculate the clock param based on the bus frequency

Instead of precalculating the different speed, respect the bus frequency
and calculate the clock register parameter based on it.
If the platform didn't register the core clk, fallback on the precomputed
values (This is likely do be the case on Marvell boards).

Details

Provenance
manuAuthored on May 11 2019, 3:03 PM
Parents
rGe69181cfc6d6: allwinner: clk: sun8i_r: Correct resets
Branches
Unknown
Tags
Unknown

Event Timeline