[spi-devel-general] [PATCH v2 3/4] [POWERPC][SPI] use brg-frequency for SPI in QE

David Brownell david-b at pacbell.net
Fri Dec 21 10:04:54 EST 2007


On Thursday 20 December 2007, Anton Vorontsov wrote:
> In case of QE we can use brg-frequency (which is qeclk/2).
> Thus no need to divide sysclk in the spi_mpc83xx.
> 
> This patch also adds code to use get_brgfreq() on QE chips.
> 
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
> ---
>  arch/powerpc/sysdev/fsl_soc.c |   37 ++++++++++++++++++++++++-------------
>  drivers/spi/spi_mpc83xx.c     |    6 +-----
>  2 files changed, 25 insertions(+), 18 deletions(-)

For the SPI parts:

Acked-by: David Brownell <dbrownell at users.sourceforge.net>

Though it all looks a bit confusing to me, and I wonder
if the OF docs would make it less so.




More information about the Linuxppc-dev mailing list