#include <linux/i2c/pca953x.h>
#include <linux/tegra-pmc.h>
-#include <mach/edp.h>
-
#include "pm.h"
#include "board.h"
#include "gpio-names.h"
return 0;
}
-/* FIXME: Should this be called? */
-int __init vcm30_t124_edp_init(void)
-{
- unsigned int regulator_mA;
-
- regulator_mA = get_maximum_cpu_current_supported();
- if (!regulator_mA)
- regulator_mA = 14000;
-
- pr_info("%s: CPU regulator %d mA\n", __func__, regulator_mA);
- tegra_init_cpu_edp_limits(regulator_mA);
-
- regulator_mA = get_maximum_core_current_supported();
- if (!regulator_mA)
- regulator_mA = 14000;
-
- pr_info("%s: core regulator %d mA\n", __func__, regulator_mA);
- tegra_init_core_edp_limits(regulator_mA);
-
- return 0;
-}
-
static struct thermal_zone_params soctherm_tzp = {
.governor_name = "pid_thermal_gov",
};
vcm30_t124_soctherm_data.tshut_pmu_trip_data = &tpdata_max77663;
- tegra_platform_edp_init(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
- &vcm30_t124_soctherm_data.therm[THERM_CPU].num_trips,
- 8000); /* edp temperature margin */
tegra_add_cpu_vmax_trips(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
&vcm30_t124_soctherm_data.therm[THERM_CPU].num_trips);
/*tegra_add_vc_trips(vcm30_t124_soctherm_data.therm[THERM_CPU].trips,
vcm30_t124_audio_init();
platform_add_devices(vcm30_t124_devices,
ARRAY_SIZE(vcm30_t124_devices));
- tegra_io_dpd_init();
vcm30_t124_sdhci_init();
vcm30_t124_regulator_init();
vcm30_t124_suspend_init();
-#if 0
- vcm30_t124_emc_init();
- vcm30_t124_edp_init();
-#endif
isomgr_init();
- /* vcm30_t124_panel_init(); */
- /* vcm30_t124_pmon_init(); */
#ifdef CONFIG_TEGRA_WDT_RECOVERY
tegra_wdt_recovery_init();
-#endif
- /* FIXME: Required? */
-#if 0
- tegra_serial_debug_init(TEGRA_UARTD_BASE, INT_WDT_CPU, NULL, -1, -1);
-
- vcm30_t124_sensors_init();
- vcm30_t124_soctherm_init();
#endif
vcm30_t124_panel_init();
+
#ifdef CONFIG_SENSORS_TMON_TMP411
register_therm_monitor(&vcm30t30_therm_monitor_data);
#endif