mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-04 06:54:27 -05:00 
			
		
		
		
	target/at91: replace gpio-mcp23s08 with pinctrl-mcp23s08-spi update config
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>
This commit is contained in:
		
							parent
							
								
									1dccc6e749
								
							
						
					
					
						commit
						f938512af6
					
				@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user