target/at91: replace gpio-mcp23s08 with pinctrl-mcp23s08-spi update config
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 26 Jan 2022 15:04:54 +0000 (16:04 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 30 Oct 2022 22:14:45 +0000 (23:14 +0100)
Adapt the device package to no longer use the gpio-mcp23s08 but instead
use the pinctrl-mcp23s08-spi. In addition, the kernel configuration was
adapted so that this can be built as a module and does not have to be
integrated directly into the kernel for this target.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
target/linux/at91/image/sam9x.mk
target/linux/at91/sam9x/config-5.10
target/linux/at91/sam9x/config-5.15

index b6c5e33ac44fe55d84e9b3d995f2431554d1d200..4de96097758dd045aaa1bd564f916439493fd729 100644 (file)
@@ -126,7 +126,8 @@ define Device/calamp_lmu5000
   DEVICE_VENDOR := CalAmp
   DEVICE_MODEL := LMU5000
   DEVICE_PACKAGES := kmod-rtc-pcf2123 kmod-usb-acm \
-       kmod-usb-serial-option kmod-usb-serial-sierrawireless kmod-gpio-mcp23s08
+       kmod-usb-serial-option kmod-usb-serial-sierrawireless \
+       kmod-pinctrl-mcp23s08-spi
 endef
 TARGET_DEVICES += calamp_lmu5000
 
index 63575c6093baa0e06e17b65a4fda67bb9f42110d..da2229b22a9415215e97866d56f2ae3d43a02e75 100644 (file)
@@ -217,9 +217,7 @@ CONFIG_PHYLINK=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 # CONFIG_PINCTRL_AT91PIO4 is not set
-CONFIG_PINCTRL_MCP23S08=y
-CONFIG_PINCTRL_MCP23S08_I2C=y
-CONFIG_PINCTRL_MCP23S08_SPI=y
+# CONFIG_PINCTRL_MCP23S08 is not set
 CONFIG_PM=y
 CONFIG_PM_CLK=y
 CONFIG_PM_SLEEP=y
index ffbd2aba62009810ae73c7c8c4228a2fa2d2f607..85fe1dd8af3f5baeb526ac80c77065b31d8619ae 100644 (file)
@@ -219,9 +219,7 @@ CONFIG_PHYLINK=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
 # CONFIG_PINCTRL_AT91PIO4 is not set
-CONFIG_PINCTRL_MCP23S08=y
-CONFIG_PINCTRL_MCP23S08_I2C=y
-CONFIG_PINCTRL_MCP23S08_SPI=y
+# CONFIG_PINCTRL_MCP23S08 is not set
 CONFIG_PM=y
 CONFIG_PM_CLK=y
 CONFIG_PM_SLEEP=y