commit | 2f2a7bce3aea85c37009a0bd1f5a374bcffc8e1f | [log] [tgz] |
---|---|---|
author | Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com> | Fri Aug 19 17:01:14 2022 +0800 |
committer | Tom Rini <trini@konsulko.com> | Tue Sep 13 12:08:41 2022 -0400 |
tree | b2390b776124ceb651c7899f6a9d3e277ae5a57c | |
parent | 12f35e33b0cb964b96e3fcd950f0e0dcf46ad5ac [diff] |
spi: aspeed: Clock frequency adjustment support Driver can configure the SPI clock frequnecy to the target value of "spi-max-frequency" property in the device tree. The frequency is divided from HCLK, 200MHz. Usually, the ASPEED SPI clock frequency range is between 12.5MHz and 100MHz. On AST2600, the lowest SPI clock frequency can be about 780kHz. Signed-off-by: Chin-Ting Kuo <chin-ting_kuo@aspeedtech.com>