Re: [PATCHv3 11/11] omap4: use lp params for calculating pmic setup times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tero Kristo <t-kristo@xxxxxx> writes:

> Signed-off-by: Tero Kristo <t-kristo@xxxxxx>

Missing descriptive changelog.

Why are the PMIC timings not relevant for OMAP3?

Kevin

> ---
>  arch/arm/mach-omap2/vc.c |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c
> index ee0edf3..badf28b 100644
> --- a/arch/arm/mach-omap2/vc.c
> +++ b/arch/arm/mach-omap2/vc.c
> @@ -381,6 +381,15 @@ static void omap4_set_timings(struct voltagedomain *voltdm, bool off_mode)
>  		OMAP4_DOWNTIME_MASK);
>  
>  	__raw_writel(val, OMAP4_SCRM_CLKSETUPTIME);
> +
> +	omap_pm_get_pmic_lp_time(&tstart, &tshut);
> +
> +	val = omap4_usec_to_val_scrm(tstart, OMAP4_WAKEUPTIME_SHIFT,
> +		OMAP4_WAKEUPTIME_MASK);
> +	val |= omap4_usec_to_val_scrm(tshut, OMAP4_SLEEPTIME_SHIFT,
> +		OMAP4_SLEEPTIME_MASK);
> +
> +	__raw_writel(val, OMAP4_SCRM_PMICSETUPTIME);
>  }
>  
>  /* OMAP4 specific voltage init functions */
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux