]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: dphy: Add configuration helpers
authorMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 7 Dec 2018 13:55:31 +0000 (14:55 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:31:51 +0000 (10:01 +0530)
commitdddc97e823033b705bbc06bc08b078200ad736a3
tree2f3b69df4d12b4699d1aba68898173769961fa47
parent2ed869990e14bc5528aeb00c45e42793c5406637
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>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/phy-core-mipi-dphy.c [new file with mode: 0644]
include/linux/phy/phy-mipi-dphy.h