mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
9b40346328
I2C_BCM_IPROC selects I2C_SLAVE which in turn makes two new symbols available: I2C_SLAVE_EEPROM and I2C_SLAVE_TESTUNIT. That was causing: I2C support (I2C) [M/n/y/?] m Enable compatibility bits for old user-space (I2C_COMPAT) [N/y/?] n I2C device interface (I2C_CHARDEV) [M/n/?] m I2C bus multiplexing support (I2C_MUX) [N/m/?] n Autoselect pertinent helper modules (I2C_HELPER_AUTO) [N/y/?] n SMBus-specific protocols (I2C_SMBUS) [N/m/?] n I2C/SMBus Test Stub (I2C_STUB) [N/m/?] n I2C slave support (I2C_SLAVE) [Y/?] y I2C eeprom slave driver (I2C_SLAVE_EEPROM) [N/m/?] n I2C eeprom testunit driver (I2C_SLAVE_TESTUNIT) [N/m/?] (NEW) Ideally I2C_SLAVE should probably be packaged as kmod-i2c-slabe. For now just modify kmod-i2c-bcm-iproc to fix kernel compilation. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
|
|
|
|
define KernelPackage/phy-bcm-ns-usb2
|
|
TITLE:=Broadcom Northstar USB 2.0 PHY Driver
|
|
KCONFIG:=CONFIG_PHY_BCM_NS_USB2
|
|
DEPENDS:=@TARGET_bcm53xx
|
|
SUBMENU:=$(USB_MENU)
|
|
FILES:=$(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb2.ko
|
|
AUTOLOAD:=$(call AutoLoad,45,phy-bcm-ns-usb2,1)
|
|
endef
|
|
|
|
define KernelPackage/phy-bcm-ns-usb2/description
|
|
Support for Broadcom USB 2.0 PHY connected to the USB controller on Northstar
|
|
family.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,phy-bcm-ns-usb2))
|
|
|
|
define KernelPackage/phy-bcm-ns-usb3
|
|
TITLE:=Broadcom Northstar USB 3.0 PHY Driver
|
|
KCONFIG:=CONFIG_PHY_BCM_NS_USB3
|
|
DEPENDS:=@TARGET_bcm53xx
|
|
SUBMENU:=$(USB_MENU)
|
|
FILES:=$(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb3.ko
|
|
AUTOLOAD:=$(call AutoLoad,45,phy-bcm-ns-usb3,1)
|
|
endef
|
|
|
|
define KernelPackage/phy-bcm-ns-usb3/description
|
|
Support for Broadcom USB 3.0 PHY connected to the USB controller on Northstar
|
|
family.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,phy-bcm-ns-usb3))
|
|
|
|
define KernelPackage/i2c-bcm-iproc
|
|
TITLE:=Broadcom iProc I2C controller
|
|
KCONFIG:= \
|
|
CONFIG_I2C_BCM_IPROC \
|
|
CONFIG_I2C_SLAVE_TESTUNIT=n
|
|
DEPENDS:=@TARGET_bcm53xx +kmod-i2c-core
|
|
SUBMENU:=$(I2C_MENU)
|
|
FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-bcm-iproc.ko
|
|
AUTOLOAD:=$(call AutoLoad,59,i2c-bcm-iproc,1)
|
|
endef
|
|
|
|
define KernelPackage/i2c-bcm-iproc/description
|
|
Kernel module for the Broadcom iProc I2C controller.
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,i2c-bcm-iproc))
|