aboutsummaryrefslogtreecommitdiff
path: root/include/phy-mipi-dphy.h
Commit message (Collapse)AuthorAgeFilesLines
* phy: dphy: Add configuration helpersNeil Armstrong2021-02-101-0/+284
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. These helpers and header are taken from Linux commit 9123e3a74ec7 ("Linux 5.9-rc1"). Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>