[PATCH] ath79: drop cs-gpios property

Chuanhong Guo gch981213 at gmail.com
Fri Apr 16 03:12:18 BST 2021


On Fri, Apr 16, 2021 at 4:43 AM David Bauer <mail at david-bauer.net> wrote:
> The spi-ath79 driver performs the chipselect by writing to dedicated
> register in the SPI register block. So the GPIO numbers were not used.

This is cs-gpios is a hack to override incorrect num_chipselects in spi-ath79
driver (which is set to fixed 1). spi-ath79 should be patched to fix
this problem
before cs-gpios for ar7161/ar7242 devices can be dropped.
It's not needed on ar9344 because the new spi-ar934x driver doesn't have
this problem.

Chuanhong Guo

More information about the openwrt-devel mailing list