On Wed, Aug 21, 2013 at 03:11:12PM -0500, David Barksdale wrote:
> From: David Barksdale <[email protected]>
> 
> This patch adds support for the Silicon Labs CP2112
> "Single-Chip HID USB to SMBus Master Bridge."
> 
> I wrote this to support a USB temperature and humidity
> sensor I've been working on. It's been tested by using
> SMBus byte-read, byte-data-read/write, and byte-word-read
> transfer modes to talk to an I2C sensor. The other
> transfer modes have not been tested.
> 
> Signed-off-by: David Barksdale <[email protected]>
> 
> ---
>   drivers/hid/Kconfig      |   6 +
>   drivers/hid/Makefile     |   1 +
>   drivers/hid/hid-core.c   |   3 +
>   drivers/hid/hid-cp2112.c | 504 
> +++++++++++++++++++++++++++++++++++++++++++++++
>   4 files changed, 514 insertions(+)
> 
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index 14ef6ab..1833948 100644
> --- a/drivers/hid/Kconfig
> +++ b/drivers/hid/Kconfig
> @@ -175,6 +175,12 @@ config HID_PRODIKEYS
>         multimedia keyboard, but will lack support for the musical keyboard
>         and some additional multimedia keys.
> +config HID_CP2112
> +     tristate "Silicon Labs CP2112 HID USB-to-SMBus Bridge support"
> +     depends on USB_HID
> +     ---help---
> +     Support for Silicon Labs CP2112 HID USB to SMBus Master Bridge.
> +
>   config HID_CYPRESS
>       tristate "Cypress mouse and barcode readers" if EXPERT
>       depends on HID
> diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
> index 6f68728..a88a5c4 100644
> --- a/drivers/hid/Makefile
> +++ b/drivers/hid/Makefile
> @@ -41,6 +41,7 @@ obj-$(CONFIG_HID_AUREAL)        += hid-aureal.o
>   obj-$(CONFIG_HID_BELKIN)    += hid-belkin.o
>   obj-$(CONFIG_HID_CHERRY)    += hid-cherry.o
>   obj-$(CONFIG_HID_CHICONY)   += hid-chicony.o
> +obj-$(CONFIG_HID_CP2112)     += hid-cp2112.o

Something's really odd with your email client, it added extra spaces to
the patch, making it impossible to apply :(

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to