summaryrefslogtreecommitdiffstats
path: root/include/linux/phy/phy-mipi-dphy.h
Commit message (Collapse)AuthorAgeFilesLines
* phy: dphy: Add configuration helpersMaxime Ripard2018-12-121-0/+6
| | | | | | | | | | The MIPI D-PHY spec defines default values and boundaries for most of the parameters it defines. Introduce helpers to help drivers get meaningful values based on their current parameters, and validate the boundaries of these parameters if needed. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
* phy: Add MIPI D-PHY configuration optionsMaxime Ripard2018-12-121-0/+279
Now that we have some infrastructure for it, allow the MIPI D-PHY phy's to be configured through the generic functions through a custom structure added to the generic union. The parameters added here are the ones defined in the MIPI D-PHY spec, plus the number of lanes in use. The current set of parameters should cover all the potential users. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
OpenPOWER on IntegriCloud