[PATCH v3 2/5] phy: qcom: edp: Introduce aux_cfg array for version specific aux settings
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Mon Sep 23 11:44:57 UTC 2024
On Mon, Sep 23, 2024 at 05:01:47PM GMT, Soutrik Mukhopadhyay wrote:
> In order to support different HW versions, introduce aux_cfg array
> to move v4 specific aux configuration settings.
>
> Signed-off-by: Soutrik Mukhopadhyay <quic_mukhopad at quicinc.com>
> ---
> v2: Fixed review comments from Bjorn and Dmitry
> - Made aux_cfg array as const.
>
> v3: Fixed review comments from Dmitry
> - Used a for loop to write the dp_phy_aux_cfg registers.
> - Pre-defined the aux_cfg size to prevent any magic numbers.
>
> ---
> drivers/phy/qualcomm/phy-qcom-edp.c | 41 ++++++++++++-----------------
> 1 file changed, 17 insertions(+), 24 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list