Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/msm/dsi: Hook up refgen regulator

Consume the refgen supply on configurations that may use it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/545333/
Link: https://lore.kernel.org/r/20230628-topic-refgen-v3-4-9fbf0e605d23@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

authored by

Konrad Dybcio and committed by
Dmitry Baryshkov
21d6ec5f 270ad296

+2
+2
drivers/gpu/drm/msm/dsi/dsi_cfg.c
··· 160 160 161 161 static const struct regulator_bulk_data dsi_v2_4_regulators[] = { 162 162 { .supply = "vdda", .init_load_uA = 21800 }, /* 1.2 V */ 163 + { .supply = "refgen" }, 163 164 }; 164 165 165 166 static const struct msm_dsi_config sdm845_dsi_cfg = { ··· 192 191 193 192 static const struct regulator_bulk_data sc7280_dsi_regulators[] = { 194 193 { .supply = "vdda", .init_load_uA = 8350 }, /* 1.2 V */ 194 + { .supply = "refgen" }, 195 195 }; 196 196 197 197 static const struct msm_dsi_config sc7280_dsi_cfg = {