]> www.infradead.org Git - users/willy/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>
Sat, 8 Dec 2018 04:05:01 +0000 (09:35 +0530)
commit013231475e124abfb61099a42ec18dc2eaadc393
tree2ae3913b0ddfe2767414336f348c978168523a85
parentb5659cad223c75c1b04aeb944bb126716ed92d71
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