[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: [RFC] AT91 cpufreq support
From:       Eric_Bénard <eric () eukrea ! com>
Date:       2009-09-30 16:28:37
Message-ID: 4AC38735.9020703 () eukrea ! com
[Download RAW message or body]

Nicolas Ferre wrote :
> Anyway, as I see that there is a notifier for serial driver, I wonder if
> we can keep serial console connexion during frequency switching ? I
> assume that we will have to change the baud rate configuration of the
> terminal emulator but do you have a clue to give us (I tried without
> success) ?
> 
once called after the frequency change the notifier function in the 
serial driver updates uartclk and calls atmel_set_termios which should 
update the baudrate generator to the new master clock so you shouldn't 
need to change the baudrate.
To be clean, the serial port may need to be turned off before the 
frequency change in order to prevent garbage chars to be sent on the 
serial port as some USB serial adapters hang when receiving such garbage 
which may explain your problem.

Eric

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic