diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-12-07 14:55:31 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-12-12 10:01:51 +0530 |
commit | dddc97e823033b705bbc06bc08b078200ad736a3 (patch) | |
tree | 2f3b69df4d12b4699d1aba68898173769961fa47 /drivers/phy/Kconfig | |
parent | 2ed869990e14bc5528aeb00c45e42793c5406637 (diff) | |
download | lwn-dddc97e823033b705bbc06bc08b078200ad736a3.tar.gz lwn-dddc97e823033b705bbc06bc08b078200ad736a3.zip |
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.
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/Kconfig')
-rw-r--r-- | drivers/phy/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index eaf0778a18d4..250abe290ca1 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -15,6 +15,14 @@ config GENERIC_PHY phy users can obtain reference to the PHY. All the users of this framework should select this config. +config GENERIC_PHY_MIPI_DPHY + bool + help + Generic MIPI D-PHY support. + + Provides a number of helpers a core functions for MIPI D-PHY + drivers to us. + config PHY_LPC18XX_USB_OTG tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver" depends on OF && (ARCH_LPC18XX || COMPILE_TEST) |