Subject: [RFC/RFT PATCH 0/2] SERIAL: OMAP: Remove idle handling from driver

From: [email-masked] (Santosh Shilimkar)
Date: Fri, 15 Feb 2013 19:20:45 +0530

On Friday 15 February 2013 07:12 PM, a0131647 wrote:
> Hi,
> On Friday 15 February 2013 06:38 PM, Felipe Balbi wrote:
>> On Fri, Feb 15, 2013 at 03:07:45PM +0200, Felipe Balbi wrote:
>>> On Fri, Feb 15, 2013 at 06:33:58PM +0530, a0131647 wrote:
>>>> Hi,
>>>> On Friday 15 February 2013 05:36 PM, Santosh Shilimkar wrote:
>>>>> OMAP UART IP needs manual idle modes based on state of the
>>>>> IP. Currently this is handled by the driver with function pointers
>>>>> implemented in platform code.
>>>>>
>>>>> This however breaks in case of device tree because of missing
>>>>> idle handling.
>>>>>
>>>>> The series tries to address the issue
>>>>>
>>>>> Patches has been tested on OMAP4 and OMAP5 devices where the console
>>>>> slugishness was observed without idle mode handling. CPUIDLE and
>>>>> suspend tested ok on these devices.
>>>>>
>>>>> Need help in testing on OMAP2, OMAP3 and AM3XXX devices.
>>>>>
>>>> Tested this series on omap3630 beagle board for:
>>>> 1. Retention in idle and suspend.
>>>> 2. Off mode in idle and suspend.
>>>>
>>>> Tested-by: Sourav Poddar<[email-masked]>
>>> try setting autosuspend_delay to -1
>> Also try DT boot and try to wakeup from echo mem>  /sys/power/state by
>> sending data through UART console.
>>
> Suspend/resume with dt is not functional with the current mainline.
>
With DT, suspend driver itself are not getting registered.
The patch is in Paul's queue [1]

regards,
Santosh

[1] https://patchwork-mail2.kernel.org/patch/2116671/