> > The current check will: On activity raise a cpuidle bus master > > activity failure for some number of seconds. This allows normal > > typing for extended periods. It does this by marking UART function > > IRQs with a time stamp and it checks internal state to make sure > > RX/TX engine is not busy or has queued data waiting. > > Isn't this exactly what is done in "Added sleep support to UART" patch > in workaround patch set? See last mail. It probably is. I assumed that was derived from our code which has been available for a long time before. I didn't actually look at it very closely with that assumption. > > This activity assertion will gate the usage of C states where its F- > CLOCK is cut. At the same time its natural wake up events are enabled > (along with the above hack as the tx events are not currenly hooked > into the wakeup logic). > > > > When OFF/RET mode is selected IO pad is enabled for the port wakeup. > > I have seen this in CDP reference code. Is there some specific reason > why this is enabled dynamically in code? Not that I am aware. Do you think there is a need to toggle it? Today only the global IOPAD enable is toggled (which is necessary for pad state latching). Regards, Richard W. ��.n��������+%������w��{.n�����{�������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f