Skip to content

Commit

Permalink
simplified battery and rfid module support
Browse files Browse the repository at this point in the history
-Battery does not yet attempt to load fuel gauges
-Battery presence not tested
(Battery effectively only enables charge on the battery slot)

-RFID is a very simple driver, just sets GPIO
(Everything else for RFID done via userland serial)
  • Loading branch information
theterg committed May 11, 2012
1 parent f91182e commit d2569c0
Show file tree
Hide file tree
Showing 10 changed files with 1,022 additions and 0 deletions.
18 changes: 18 additions & 0 deletions drivers/bmi/pims/Kconfig
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ config BMI_RF4CE


This driver can also be built as a module. This driver can also be built as a module.


config BMI_RFID
tristate "BMI RFID Module support"
depends on BMI_PIMS
default n
---help---
BMI RFID plug-in module

This driver can also be built as a module.

config BMI_DECT config BMI_DECT
tristate "BMI DECT Module support" tristate "BMI DECT Module support"
depends on BMI_PIMS depends on BMI_PIMS
Expand All @@ -138,5 +147,14 @@ config BMI_DECT


This driver can also be built as a module. This driver can also be built as a module.


config BMI_BATTERY
tristate "BMI Battery Module support"
depends on BMI_PIMS
default n
---help---
BMI Battery plug-in module

This driver can also be built as a module.

endmenu endmenu


2 changes: 2 additions & 0 deletions drivers/bmi/pims/Makefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ obj-$(CONFIG_BMI_ZB) += zb/
obj-$(CONFIG_BMI_ACCNT) += accenture/ obj-$(CONFIG_BMI_ACCNT) += accenture/
obj-$(CONFIG_BMI_BUGDUINO) += bugduino/ obj-$(CONFIG_BMI_BUGDUINO) += bugduino/
obj-$(CONFIG_BMI_RF4CE) += rf4ce/ obj-$(CONFIG_BMI_RF4CE) += rf4ce/
obj-$(CONFIG_BMI_RFID) += rfid/
obj-$(CONFIG_BMI_DECT) += dect/ obj-$(CONFIG_BMI_DECT) += dect/
obj-$(CONFIG_BMI_BATTERY) += battery/
6 changes: 6 additions & 0 deletions drivers/bmi/pims/battery/Makefile
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# BMI PIMS
#

obj-$(CONFIG_BMI_BATTERY) += bmi_battery.o

Loading

0 comments on commit d2569c0

Please sign in to comment.