X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4878704f1a5eac3f6b6a1dbc026c5ece160d66da..7f220e31ce33fa0a9472406e48d6760e5ed8e0bf:/package/kernel/modules/w1.mk diff --git a/package/kernel/modules/w1.mk b/package/kernel/modules/w1.mk index c4ab6165c..e0e9e576c 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 @@ -95,9 +112,22 @@ endef $(eval $(call KernelPackage,w1-slave-smem)) +define KernelPackage/w1-slave-ds2431 + TITLE:=DS2431 1kb EEPROM driver + KCONFIG:= CONFIG_W1_SLAVE_DS2431 + FILES:=$(W1_SLAVES_DIR)/w1_ds2431.ko + AUTOLOAD:=$(call AutoLoad,70,w1_ds2431) + $(call AddDepends/w1) +endef + +define KernelPackage/w1-slave-ds2431/description + Kernel module for 1-wire 1kb EEPROM (DS2431) +endef + +$(eval $(call KernelPackage,w1-slave-ds2431)) define KernelPackage/w1-slave-ds2433 - TITLE:=Simple 64bit memory family implementation + TITLE:=DS2433 4kb EEPROM driver KCONFIG:= \ CONFIG_W1_SLAVE_DS2433 \ CONFIG_W1_SLAVE_DS2433_CRC=n @@ -107,7 +137,7 @@ define KernelPackage/w1-slave-ds2433 endef define KernelPackage/w1-slave-ds2433/description - Kernel module for 1-wire simple 64bit memory rom(ds2401/ds2411/ds1990*) + Kernel module for 1-wire 4kb EEPROM (DS2433) endef $(eval $(call KernelPackage,w1-slave-ds2433))