• Jon Hunter's avatar
    drm/tegra: dpaux: Add helpers for setting up pads · 9d0e09c1
    Jon Hunter authored
    In preparation for adding pinctrl support for the DPAUX pads, add a
    couple of helpers functions to configure the pads and control their
    power.
    
    Please note that although a simple if-statement could be used instead
    of a case statement for configuring the pads as there are only two
    possible modes, a case statement is used because when integrating with
    the pinctrl framework, we need to be able to handle invalid modes that
    could be passed.
    Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
    Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
    9d0e09c1
dpaux.c 14.6 KB