mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
For MIPI-CSI sender use-case it is common to specify the allowed link-frequencies which should be used for the MIPI link and is half the hs-clock rate. This commit adds a helper to calculate the D-PHY timing based on the hs-clock rate so we don't need to calculate the timings within the driver. Signed-off-by: Marco Felsch <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Sakari Ailus <[email protected]>