projects
/
openwrt
/
staging
/
pepe2k.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8474dc
)
kernel: add i2c-pxa driver
author
Vladimir Vid
<vladimir.vid@sartura.hr>
Tue, 23 Jul 2019 16:46:15 +0000
(18:46 +0200)
committer
Luka Perkov
<luka.perkov@sartura.hr>
Sat, 24 Aug 2019 21:11:15 +0000
(23:11 +0200)
Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
package/kernel/linux/modules/i2c.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/i2c.mk
b/package/kernel/linux/modules/i2c.mk
index 4cf37dae077b6a8147edda2cabc9e4d1a973f18a..0b23b2439cb60ad90acfe85cfbed3d54044727c7 100644
(file)
--- 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