Re: [PATCH 5/7] Serial: OMAP: add runtime pm support for omap-serial driver

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

 



On Wed, Mar 9, 2011 at 7:32 AM, Paul Walmsley <paul@xxxxxxxxx> wrote:
>
> Hi Govindraj,
>
> what also would be good to find out is why the UART is apparently sending
> asynchronous wakeups even when the driver doesn't set
> SCR_REG.RX_CTS_WU_EN.  This seems contrary to the expectation that 34xx
> TRM vZH section 17.4.4.1.4.1 "Wake-up Interrupt" sets.  Could you please
> clarify under which circumstances the RX_CTS_WU_EN bit is used?  I suppose
> that, given that it's also mentioned under section 17.4.5.1.1 "Module
> Power Savings", it might only be used when SLEEP_MODE is enabled.
>

AFAIK, sleep_mode is used only for uart internal power saving
options if fifo's are empty which inturn can stop uart internal baud clock.
To enable back uart baud clock and start uart internal activity it
will depend on RX_CTS_WU_EN from scr to restart uart_baud_clock.

For system level powers saving like cutting uart_fclks
wakeup will depend on WER reg for wakeup event or io-pad
wakeup depending on power state.
Since I am cutting fclks directly I am depending on
WER reg wakeup events.

--
Thanks,
Govindraj.R


>
> - Paul
>
--
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