openwrt/target/linux
Shiji Yang 2a709d108e ipq806x: dts: fix SPI 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
..
airoha airoha: disable RTL8261N PHY driver 2025-10-19 23:16:06 +02:00
apm821xx apm821xx: dts: explicitly set the partition reg size for Netgear WNDR4700 2025-10-19 21:55:33 +02:00
armsr armsr: Make kernel modules depend on target 2025-07-26 01:11:21 +02:00
at91
ath79 ath79: dts: remove SPI num-cs property 2025-10-20 00:28:15 +02:00
bcm27xx kernel: bump 6.12 to 6.12.50 2025-10-04 16:18:49 +02:00
bcm47xx
bcm53xx bcm53xx: modify 180-usb-xhci-add-support-for-performing-fake-doorbell.patch 2025-10-19 16:25:15 +02:00
bcm4908
bmips bmips: fix dtc warnings for D-Link DSL-2750B 2025-10-19 21:55:33 +02:00
d1
econet econet: Add Nokia G-240G-E and EN751221 recovery image 2025-10-19 22:21:41 +02:00
gemini gemini: Add module for VSC73xx switches 2025-09-15 23:12:56 +02:00
generic kernel: rtl8261n: fix kernel module name 2025-10-18 01:30:13 +02:00
imx kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
ipq40xx ipq40xx: dts: fix SPI chip select GPIO polarity 2025-10-20 00:28:15 +02:00
ipq806x ipq806x: dts: fix SPI chip select GPIO polarity 2025-10-20 00:28:15 +02:00
ixp4xx ixp4xx: Add back Actiontec MI424WR A/C/D 2025-09-26 23:40:40 +02:00
kirkwood kirkwood: dts: explicitly set the partition reg size for Blackarmor NAS220 2025-10-19 21:55:33 +02:00
lantiq generic: 6.12: add pending patch to address PCI sysfs creation entry race 2025-10-14 10:27:30 +02:00
layerscape kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
loongarch64 loongarch64: switch to Linux 6.12 by default 2025-09-09 00:10:31 +02:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek targetwide: imagebuilder: add explicit guards around initramfs rules 2025-10-17 10:51:37 +02:00
mpc85xx mpc85xx: p1010: kernel: add missing symbol 2025-10-16 22:23:44 +02:00
mvebu mvebu: dts: fix unit name leading 0s warnings 2025-10-19 21:55:34 +02:00
mxs
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: enable 6.12 testing kernel 2025-08-22 20:18:16 +02:00
pistachio treewide: reset-gpio to reset-gpios 2025-10-08 14:26:24 +02:00
qoriq qoriq: dts: add missing reg property for WatchGuard Firebox M300 2025-10-19 21:55:34 +02:00
qualcommax qualcommax: fix switch node dtc warnings for Asus RT-AX89X 2025-10-19 21:55:34 +02:00
qualcommbe kernel: bump 6.12 to 6.12.45 2025-09-07 11:42:46 +02:00
ramips ramips: mt7621: add support for D-Link DIR-X1860 B1 / DIR-X1550 A1 2025-10-19 23:54:56 +02:00
realtek realtek: dsa: rtl931x: remove enabling MAC from phylink_mac_config 2025-10-19 23:49:56 +02:00
rockchip rockchip: add FriendlyElec NanoPi R76S support 2025-10-16 21:39:16 +02:00
sifiveu
siflower treewide: gpio to gpios 2025-10-08 14:26:24 +02:00
starfive kernel: bump 6.12 to 6.12.48 2025-09-21 12:14:36 +02:00
stm32 generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
sunxi sunxi: add F1C100 (arm926ej-s) support 2025-10-06 10:26:56 +02:00
tegra tegra: add 6.12 as testing kernel 2025-07-13 00:49:37 +02:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 x86/64: enable 8250_DW 2025-10-10 10:32:20 +02:00
zynq zynq: disable unused Vitesse PHY 2025-09-08 14:21:50 +02:00
Makefile