diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-08-16 20:33:55 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-08-16 20:33:55 +0000 |
commit | 755cab1b1aea4829e83ff4492a9235299991dc0d (patch) | |
tree | 2266a5d061732a3c1f47b04c8f191724b761de20 /package/kernel/modules/w1.mk | |
parent | f574286e6497b20df33afc06072e6ad383d0bce7 (diff) | |
download | upstream-755cab1b1aea4829e83ff4492a9235299991dc0d.tar.gz upstream-755cab1b1aea4829e83ff4492a9235299991dc0d.tar.bz2 upstream-755cab1b1aea4829e83ff4492a9235299991dc0d.zip |
[package] add support for DS2482 1-Wire I2C bus master
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28010 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/w1.mk')
-rw-r--r-- | package/kernel/modules/w1.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/w1.mk b/package/kernel/modules/w1.mk index c4ab6165cc..c2bdd7099a 100644 --- a/package/kernel/modules/w1.mk +++ b/package/kernel/modules/w1.mk @@ -48,6 +48,23 @@ endef $(eval $(call KernelPackage,w1-master-gpio)) +define KernelPackage/w1-master-ds2482 + TITLE:=DS2482 1-wire i2c bus master driver + KCONFIG:=CONFIG_W1_MASTER_DS2482 + FILES:=$(W1_MASTERS_DIR)/ds2482.ko + AUTOLOAD:=$(call AutoLoad,60,ds2482) + $(call AddDepends/w1,+kmod-i2c-core) +endef + +define KernelPackage/w1-master-ds2482/description + Kernel module for the DS2482 i2c 1-wire bus master driver + NOTE: Init with: echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device + or use owfs +endef + +$(eval $(call KernelPackage,w1-master-ds2482)) + + define KernelPackage/w1-master-ds2490 TITLE:=DS2490 1-wire usb bus master driver DEPENDS:=@USB_SUPPORT +kmod-usb-core |