commit | dddc97e823033b705bbc06bc08b078200ad736a3 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@bootlin.com> | Fri Dec 07 14:55:31 2018 +0100 |
committer | Kishon Vijay Abraham I <kishon@ti.com> | Wed Dec 12 10:01:51 2018 +0530 |
tree | 2f3b69df4d12b4699d1aba68898173769961fa47 | |
parent | 2ed869990e14bc5528aeb00c45e42793c5406637 [diff] |
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>