openwrt/target/linux/ath79
Shiji Yang c2e5bded8d treewide: dts: fix spi-gpio chip select GPIO polarity
The SPI chip select GPIO polarity is active low by default. We must
use "spi-cs-high" dts property to toggle the polarity. The polarity
on "cs-gpios" won't take effect at all[1]. Fix these incorrect GPIO
polarities to silence the kernel warnings.

[1] Refer to Linux/Documentation/devicetree/bindings/spi/spi-controller.yaml
```
      device node     | cs-gpio       | CS pin state active | Note
      ================+===============+=====================+=====
      spi-cs-high     | -             | H                   |
      -               | -             | L                   |
      spi-cs-high     | ACTIVE_HIGH   | H                   |
      -               | ACTIVE_HIGH   | L                   | 1
      spi-cs-high     | ACTIVE_LOW    | H                   | 2
      -               | ACTIVE_LOW    | L                   |

      Notes:
      1) Should print a warning about polarity inversion.
         Here it would be wise to avoid and define the gpio as
         ACTIVE_LOW.
      2) Should print a warning about polarity inversion
         because ACTIVE_LOW is overridden by spi-cs-high.
         Should be generally avoided and be replaced by
         spi-cs-high + ACTIVE_HIGH.
```

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19845
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-10-20 00:28:15 +02:00
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts treewide: dts: fix spi-gpio chip select GPIO polarity 2025-10-20 00:28:15 +02:00
files treewide: remove of_gpio.h 2025-09-20 12:47:23 +02:00
generic ath79: buffalo: use nvmem for calibration 2025-10-19 22:00:47 +02:00
image targetwide: imagebuilder: add explicit guards around initramfs rules 2025-10-17 10:51:37 +02:00
mikrotik ath79: fix broken MikroTik upgrade 2025-10-14 12:25:56 +02:00
nand ath79: refresh kernel symbol configs 2025-05-24 15:42:22 +02:00
patches-6.12 treewide: remove of_gpio.h 2025-09-20 12:47:23 +02:00
tiny ath79: wnr200-v3: handle eeprom with nvmem 2025-09-27 00:43:16 +02:00
config-6.12 ath79: refresh 6.12 kernel config files 2025-05-24 15:42:23 +02:00
Makefile ath79: switch default kernel to 6.12 2025-08-20 23:30:49 +02:00
modules.mk