diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2020-12-29 14:58:58 +0100 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2021-02-10 10:00:51 +0100 |
commit | afef20585abe55c44d376f3cacf435ddde149d77 (patch) | |
tree | bc634d8ec8f97e16d4c756ca56da1166f9cd84db /drivers/phy/Kconfig | |
parent | e14d5762de1db84cae6d84d59c1e40f3eb26c4c3 (diff) | |
download | u-boot-afef20585abe55c44d376f3cacf435ddde149d77.tar.gz |
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 'drivers/phy/Kconfig')
-rw-r--r-- | drivers/phy/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index ab638f0e7d..425737cb39 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -59,6 +59,11 @@ config SPL_NOP_PHY This is useful when a driver uses the PHY framework but no real PHY hardware exists. +config MIPI_DPHY_HELPERS + bool "MIPI D-PHY support helpers" + help + Provides a number of helpers a core functions for MIPI D-PHY drivers. + config BCM6318_USBH_PHY bool "BCM6318 USBH PHY support" depends on PHY && ARCH_BMIPS |