[PATCH] ath79: drop cs-gpios property

2021-04-15 Thread David Bauer
The spi-ath79 driver performs the chipselect by writing to dedicated register in the SPI register block. So the GPIO numbers were not used. Tested-on: Enterasys WS-AP3705i Signed-off-by: David Bauer --- target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi| 1 - target/linux/ath79/dts/ar

Re: [PATCH] ath79: drop cs-gpios property

2021-04-15 Thread Chuanhong Guo
Hi! On Fri, Apr 16, 2021 at 4:43 AM David Bauer 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

Re: [PATCH] ath79: drop cs-gpios property

2021-04-16 Thread David Bauer
Hi, On 4/16/21 4:12 AM, Chuanhong Guo wrote: > Hi! > > On Fri, Apr 16, 2021 at 4:43 AM David Bauer 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 overri

Re: [PATCH] ath79: drop cs-gpios property

2021-04-18 Thread Chuanhong Guo
Hi! On Fri, Apr 16, 2021 at 6:23 PM David Bauer wrote: > > Hi, > > On 4/16/21 4:12 AM, Chuanhong Guo wrote: > > Hi! > > > > On Fri, Apr 16, 2021 at 4:43 AM David Bauer wrote: > >> > >> The spi-ath79 driver performs the chipselect by writing to dedicated > >> register in the SPI register block. S