linux/drivers/gpu/drm/msm/dsi
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
..
phy drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
pll drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init() 2016-03-03 11:55:26 -05:00
dsi_cfg.c drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi_cfg.h drm/msm/dsi: Add dsi_cfg for APQ8064 2015-12-14 10:40:40 -05:00
dsi_host.c drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi_manager.c drm/msm/dsi: Don't use iommu for command TX buffer for DSIv2 2015-12-14 10:40:45 -05:00
dsi.c drm/msm/dsi: Allow dsi to connect to an external bridge 2015-08-15 18:27:25 -04:00
dsi.h drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
mmss_cc.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
sfpb.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00