aboutsummaryrefslogtreecommitdiff
path: root/include/generic-phy.h
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-12-29 14:58:58 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2021-02-10 10:00:51 +0100
commitafef20585abe55c44d376f3cacf435ddde149d77 (patch)
treebc634d8ec8f97e16d4c756ca56da1166f9cd84db /include/generic-phy.h
parente14d5762de1db84cae6d84d59c1e40f3eb26c4c3 (diff)
downloadu-boot-afef20585abe55c44d376f3cacf435ddde149d77.zip
u-boot-afef20585abe55c44d376f3cacf435ddde149d77.tar.gz
u-boot-afef20585abe55c44d376f3cacf435ddde149d77.tar.bz2
phy: dphy: Add configuration helpers
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>
Diffstat (limited to 'include/generic-phy.h')
0 files changed, 0 insertions, 0 deletions