diff options
author | Vladimir Vid <vladimir.vid@sartura.hr> | 2019-07-23 18:46:15 +0200 |
---|---|---|
committer | Luka Perkov <luka.perkov@sartura.hr> | 2019-08-24 23:11:15 +0200 |
commit | 52cbe6b9c0865c8398c2fd23d1cf56a1afdb66f7 (patch) | |
tree | 12e6cbe58107fa69368054c2cb16c437383b56a0 /package | |
parent | b8474dc42b4649e95241c8bd393567696bda1cde (diff) | |
download | upstream-52cbe6b9c0865c8398c2fd23d1cf56a1afdb66f7.tar.gz upstream-52cbe6b9c0865c8398c2fd23d1cf56a1afdb66f7.tar.bz2 upstream-52cbe6b9c0865c8398c2fd23d1cf56a1afdb66f7.zip |
kernel: add i2c-pxa driver
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/i2c.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/i2c.mk b/package/kernel/linux/modules/i2c.mk index 4cf37dae07..0b23b2439c 100644 --- a/package/kernel/linux/modules/i2c.mk +++ b/package/kernel/linux/modules/i2c.mk @@ -209,6 +209,23 @@ endef $(eval $(call KernelPackage,i2c-piix4)) +I2C_PXA_MODULES:= \ + CONFIG_I2C_PXA_SLAVE=y \ + CONFIG_I2C_PXA:drivers/i2c/busses/i2c-pxa + +define KernelPackage/i2c-pxa + $(call i2c_defaults,$(I2C_PXA_MODULES),50) + TITLE:=Intel PXA I2C bus driver + DEPENDS:=kmod-i2c-core +endef + +define KernelPackage/i2c-pxa/description + Kernel module for Intel PXA2XX I2C adapter +endef + +$(eval $(call KernelPackage,i2c-pxa)) + + I2C_SMBUS_MODULES:= \ CONFIG_I2C_SMBUS:drivers/i2c/i2c-smbus |