ARM: imx6: pm: declare pm domain latency on power_state struct
The generic_pm_domain structure uses an array of latencies to be able to declare multiple intermediate states. Declare a single "OFF" state with the default latencies So that the power_off_latency_ns and power_on_latency_ns fields of generic_pm_domain structure can be eventually removed. [ Lina: pm_genpd_init() argument changev ] Signed-off-by: Lina Iyer <lina.iyer@linaro.org> Signed-off-by: Axel Haslam <ahaslam+renesas@baylibre.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Родитель
fc5cbf0c94
Коммит
eaa2d73ef9
|
@ -374,9 +374,14 @@ static struct pu_domain imx6q_pu_domain = {
|
||||||
.name = "PU",
|
.name = "PU",
|
||||||
.power_off = imx6q_pm_pu_power_off,
|
.power_off = imx6q_pm_pu_power_off,
|
||||||
.power_on = imx6q_pm_pu_power_on,
|
.power_on = imx6q_pm_pu_power_on,
|
||||||
|
.states = {
|
||||||
|
[0] = {
|
||||||
.power_off_latency_ns = 25000,
|
.power_off_latency_ns = 25000,
|
||||||
.power_on_latency_ns = 2000000,
|
.power_on_latency_ns = 2000000,
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
.state_count = 1,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct generic_pm_domain imx6sl_display_domain = {
|
static struct generic_pm_domain imx6sl_display_domain = {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче