mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-03 09:07:06 +08:00
modules: add DW I2C Platform controller
Add kernel package for DesignWare I2C platform controller. This controller is used on the RP1 SoC found on RPi 5 devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
parent
d81c03f05e
commit
04ed2f02d0
@ -116,17 +116,35 @@ I2C_DWPCI_MODULES:= \
|
||||
|
||||
define KernelPackage/i2c-designware-pci
|
||||
$(call i2c_defaults,$(I2C_DWPCI_MODULES),59)
|
||||
TITLE:=Synopsys DesignWare PCI
|
||||
TITLE:=Synopsys DesignWare I2C PCI
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-i2c-designware-core +kmod-i2c-ccgs-ucsi
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-designware-pci/description
|
||||
Support for Synopsys DesignWare I2C controller. Only master mode is supported.
|
||||
Support for Synopsys DesignWare I2C PCI controller. Only master mode is
|
||||
supported.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-designware-pci))
|
||||
|
||||
|
||||
I2C_DWPLAT_MODULES:= \
|
||||
CONFIG_I2C_DESIGNWARE_PLATFORM:drivers/i2c/busses/i2c-designware-platform
|
||||
|
||||
define KernelPackage/i2c-designware-platform
|
||||
$(call i2c_defaults,$(I2C_DWPLAT_MODULES),59)
|
||||
TITLE:=Synopsys DesignWare I2C Platform
|
||||
DEPENDS:=+kmod-i2c-designware-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-designware-platform/description
|
||||
Support for Synopsys DesignWare I2C Platform controller. Only master mode
|
||||
is supported.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-designware-platform))
|
||||
|
||||
|
||||
I2C_GPIO_MODULES:= \
|
||||
CONFIG_I2C_GPIO:drivers/i2c/busses/i2c-gpio
|
||||
|
||||
@ -150,7 +168,9 @@ I2C_I801_MODULES:= \
|
||||
define KernelPackage/i2c-i801
|
||||
$(call i2c_defaults,$(I2C_I801_MODULES),59)
|
||||
TITLE:=Intel I801 and compatible I2C interfaces
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-smbus
|
||||
DEPENDS:= \
|
||||
@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-smbus \
|
||||
PACKAGE_kmod-i2c-mux-gpio:kmod-i2c-mux-gpio
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-i801/description
|
||||
@ -169,6 +189,24 @@ endef
|
||||
$(eval $(call KernelPackage,i2c-i801))
|
||||
|
||||
|
||||
I2C_MLXCPLD_MODULES:= \
|
||||
CONFIG_I2C_MLXCPLD:drivers/i2c/busses/i2c-mlxcpld
|
||||
|
||||
define KernelPackage/i2c-mlxcpld
|
||||
$(call i2c_defaults,$(I2C_MLXCPLD_MODULES),59)
|
||||
TITLE:=Mellanox I2C driver
|
||||
DEPENDS:=@TARGET_x86_64 +kmod-regmap-core
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-mlxcpld/description
|
||||
This exposes the Mellanox platform I2C busses
|
||||
to the linux I2C layer for X86 based systems.
|
||||
Controller is implemented as CPLD logic.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-mlxcpld))
|
||||
|
||||
|
||||
I2C_MUX_MODULES:= \
|
||||
CONFIG_I2C_MUX:drivers/i2c/i2c-mux
|
||||
|
||||
@ -200,6 +238,24 @@ endef
|
||||
$(eval $(call KernelPackage,i2c-mux-gpio))
|
||||
|
||||
|
||||
I2C_MUX_MLXCPLD_MODULES:= \
|
||||
CONFIG_I2C_MUX_MLXCPLD:drivers/i2c/muxes/i2c-mux-mlxcpld
|
||||
|
||||
define KernelPackage/i2c-mux-mlxcpld
|
||||
$(call i2c_defaults,$(I2C_MUX_MLXCPLD_MODULES),51)
|
||||
TITLE:=Mellanox CPLD based I2C multiplexer
|
||||
DEPENDS:=+kmod-i2c-mlxcpld +kmod-i2c-mux
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-mux-mlxcpld/description
|
||||
This driver provides access to
|
||||
I2C busses connected through a MUX, which is controlled
|
||||
by a CPLD register.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,i2c-mux-mlxcpld))
|
||||
|
||||
|
||||
I2C_MUX_REG_MODULES:= \
|
||||
CONFIG_I2C_MUX_REG:drivers/i2c/muxes/i2c-mux-reg
|
||||
|
||||
@ -253,7 +309,7 @@ I2C_PIIX4_MODULES:= \
|
||||
define KernelPackage/i2c-piix4
|
||||
$(call i2c_defaults,$(I2C_PIIX4_MODULES),59)
|
||||
TITLE:=Intel PIIX4 and compatible I2C interfaces
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core
|
||||
DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-smbus
|
||||
endef
|
||||
|
||||
define KernelPackage/i2c-piix4/description
|
||||
|
@ -2520,6 +2520,8 @@ CONFIG_HZ_100=y
|
||||
# CONFIG_I2C_DEBUG_BUS is not set
|
||||
# CONFIG_I2C_DEBUG_CORE is not set
|
||||
# CONFIG_I2C_DEMUX_PINCTRL is not set
|
||||
# CONFIG_I2C_DESIGNWARE_AMDPSP is not set
|
||||
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
|
||||
# CONFIG_I2C_DESIGNWARE_CORE is not set
|
||||
# CONFIG_I2C_DESIGNWARE_PCI is not set
|
||||
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
|
||||
|
@ -2459,6 +2459,8 @@ CONFIG_HZ_100=y
|
||||
# CONFIG_I2C_DEBUG_BUS is not set
|
||||
# CONFIG_I2C_DEBUG_CORE is not set
|
||||
# CONFIG_I2C_DEMUX_PINCTRL is not set
|
||||
# CONFIG_I2C_DESIGNWARE_AMDPSP is not set
|
||||
# CONFIG_I2C_DESIGNWARE_BAYTRAIL is not set
|
||||
# CONFIG_I2C_DESIGNWARE_PCI is not set
|
||||
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
|
||||
# CONFIG_I2C_DESIGNWARE_SLAVE is not set
|
||||
|
Loading…
x
Reference in New Issue
Block a user