Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ath79: restore pin state on probe for ar934x-spi | Chuanhong Guo | 2020-02-10 | 1 | -5/+11 |
| | | | | | | | | | | | | If bootloader doesn't terminate its last spi operation properly before starting kernel, our first transfer in kernel becomes a continuous transfer to that request instead of a new one. Fix this flaw by restoring IOC register, which restored all pin state to default. Fixes: ebf0d8dade ("ath79: add new ar934x spi driver") Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Chuanhong Guo <gch981213@gmail.com> | ||||
* | ath79: add new ar934x spi driver | Chuanhong Guo | 2020-02-06 | 1 | -0/+277 |
A new shift mode was introduced since ar934x which has a way better performance than current bitbang driver and can handle higher spi clock properly. This commit adds a new driver to make use of this new feature. This new driver has chipselect properly configured and we don't need cs-gpios hack in dts anymore. Remove them. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> |