linux_dsm_epyc7002/drivers/gpu/drm/msm/dsi/phy
Archit Taneja f377d59729 drm/msm/dsi: Fix regulator API abuse
The voltage changing code in this driver is broken and should be
removed.  The driver sets a single, exact voltage on probe.  Unless
there is a very good reason for this (which should be documented in
comments) constraints like this need to be set via the machine
constraints, voltage setting in a driver is expected to be used in cases
where the voltage varies at runtime.

In addition client drivers should almost never be calling
regulator_can_set_voltage(), if the device needs to set a voltage it
needs to set the voltage and the regulator core will handle the case
where the regulator is fixed voltage.  If the driver simply skips
setting the voltage if it doesn't have permission then it should just
not bother in the first place.

Originally authored by Mark Brown <broonie@kernel.org>

Remove the min/max voltage data entries per SoC managed by the driver.
These aren't needed as we don't try to set voltages any more. Mention in
comments the voltages that each regulator expects.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-05-08 10:22:17 -04:00
..
dsi_phy_20nm.c drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi_phy_28nm_8960.c drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi_phy_28nm.c drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi_phy.c drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi_phy.h drm/msm/dsi: Add support for 28nm PHY on 8960 2015-12-14 10:40:06 -05:00