Skip to content

Commit

Permalink
i2c: Add driver for SMBus Control Method Interface
Browse files Browse the repository at this point in the history
This driver supports the SMBus Control Method Interface. It needs BIOS declare
ACPI control methods which described in SMBus Control Method Interface Spec.
http://smbus.org/specs/smbus_cmi10.pdf

Signed-off-by: Crane Cai <crane.cai@amd.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
  • Loading branch information
Crane Cai authored and Jean Delvare committed Sep 18, 2009
1 parent 449d2c7 commit dc98542
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -762,4 +762,15 @@ config SCx200_ACB
This support is also available as a module. If so, the module
will be called scx200_acb.

config I2C_SCMI
tristate "SMBus Control Method Interface"
depends on ACPI
help
This driver supports the SMBus Control Method Interface. It needs the
BIOS to declare ACPI control methods as described in the SMBus Control
Method Interface specification.

To compile this driver as a module, choose M here:
the module will be called i2c-scmi.

endmenu
3 changes: 3 additions & 0 deletions drivers/i2c/busses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# Makefile for the i2c bus drivers.
#

# SMBus CMI driver
obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o

# PC SMBus host controller drivers
obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o
Expand Down
Loading

0 comments on commit dc98542

Please sign in to comment.