Skip to content
Commit afef2058 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

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: default avatarNeil Armstrong <narmstrong@baylibre.com>
parent e14d5762
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment