Home
last modified time | relevance | path

Searched hist:22168675 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/phy/
H A Dphy-mipi-dphy.h22168675 Fri Sep 30 07:48:10 CDT 2022 Marco Felsch <m.felsch@pengutronix.de> phy: dphy: add support to calculate the timing based on hs_clk_rate

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 <m.felsch@pengutronix.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
/openbmc/linux/drivers/phy/
H A Dphy-core-mipi-dphy.c22168675 Fri Sep 30 07:48:10 CDT 2022 Marco Felsch <m.felsch@pengutronix.de> phy: dphy: add support to calculate the timing based on hs_clk_rate

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 <m.felsch@pengutronix.de>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>