commit | 4856cc7a972a7679cdbb33532ad932a3e865b18e | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Tue Feb 11 15:20:25 2020 +0000 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 31 10:06:53 2020 -0400 |
tree | 05485b52c38cbe14bc8cd1f0debce17e1f53ea32 | |
parent | 391c40048b01dacd50243a594f74775a3ec60104 [diff] |
mpc8xxx_spi: implement real ->set_speed Not all boards have the same CSB frequency, nor do every SPI slave necessarily support running at 16.7 MHz. So implement ->set_speed; that also allows using a smaller PM (i.e., 0) for slaves that do support a higher speed. Based on work by Klaus H. Sørensen. Cc: Klaus H. Sorensen <khso@prevas.dk> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>