Add kernel package for Broadcom Settop/DSL I2C controller. This controller is used on RPi devices. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
34 lines
934 B
Makefile
34 lines
934 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2019 OpenWrt.org
|
|
|
|
I2C_BCM2835_MODULES:=\
|
|
CONFIG_I2C_BCM2835:drivers/i2c/busses/i2c-bcm2835
|
|
|
|
define KernelPackage/i2c-bcm2835
|
|
$(call i2c_defaults,$(I2C_BCM2835_MODULES),59)
|
|
TITLE:=Broadcom BCM2835 I2C master controller driver
|
|
DEPENDS:=@TARGET_bcm27xx +kmod-i2c-core
|
|
endef
|
|
|
|
define KernelPackage/i2c-bcm2835/description
|
|
This package contains the Broadcom 2835 I2C master controller driver
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,i2c-bcm2835))
|
|
|
|
|
|
I2C_BRCMSTB_MODULES:=\
|
|
CONFIG_I2C_BRCMSTB:drivers/i2c/busses/i2c-brcmstb
|
|
|
|
define KernelPackage/i2c-brcmstb
|
|
$(call i2c_defaults,$(I2C_BRCMSTB_MODULES),59)
|
|
TITLE:=Broadcom BRCMSTB I2C master controller driver
|
|
DEPENDS:=@TARGET_bcm27xx +kmod-i2c-core
|
|
endef
|
|
|
|
define KernelPackage/i2c-brcmstb/description
|
|
This package contains the BRCM Settop/DSL I2C master controller driver
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,i2c-brcmstb))
|