forked from luck/tmp_suning_uos_patched
ARM: OMAP5: voltagedomain data: remove temporary OMAP4 voltage data
commit20d49e9ccf
(ARM: OMAP5: voltagedomain data: Add OMAP5 voltage domain data) Introduced dummy volt data for OMAP5 with OMAP4460 voltage information. However with the fixes introduced in later patches commitcd8abed1da
(ARM: OMAP2+: Powerdomain: Remove the need to always have a voltdm associated to a pwrdm) We are no longer restricted in that respect. Further, OPP voltage information is supposed to be provided by dts information. This needs to be added in future patches as various voltage modules are converted to dts. This also fixes the build breakage for voltagedomains54xx_data.c when just OMAP5 SoC is enabled: https://patchwork.kernel.org/patch/2764191/ Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Nishanth Menon <nm@ti.com> Cc: Benoit Cousson <b-cousson@ti.com> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Paul Walmsley <paul@pwsan.com> Cc: Tony Lindgren <tony@atomide.com> Cc: linux-omap@vger.kernel.org Signed-off-by: Kevin Hilman <khilman@linaro.org>
This commit is contained in:
parent
6503a8e109
commit
2ac524f151
@ -85,16 +85,6 @@ void __init omap54xx_voltagedomains_init(void)
|
||||
struct voltagedomain *voltdm;
|
||||
int i;
|
||||
|
||||
/*
|
||||
* XXX Will depend on the process, validation, and binning
|
||||
* for the currently-running IC. Use OMAP4 data for time being.
|
||||
*/
|
||||
#ifdef CONFIG_PM_OPP
|
||||
omap5_voltdm_mpu.volt_data = omap446x_vdd_mpu_volt_data;
|
||||
omap5_voltdm_mm.volt_data = omap446x_vdd_iva_volt_data;
|
||||
omap5_voltdm_core.volt_data = omap446x_vdd_core_volt_data;
|
||||
#endif
|
||||
|
||||
for (i = 0; voltdm = voltagedomains_omap5[i], voltdm; i++)
|
||||
voltdm->sys_clk.name = sys_clk_name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user