HomeFreeBSD

cp2112: driver for the namesake GPIO and I2C master gadget

Description

cp2112: driver for the namesake GPIO and I2C master gadget

Documentation:

The logic is implemented as three sub-drivers.
The parent driver claims the USB device and creates two child devices.
One acts as a GPIO controller and the other is an I2C controller.

Tested with CP2112 revision F02.
Both features seem to work.
HTU21 sensor was used as an I2C slave.

Reviewed by: adrian, hselasky
MFC after: 2 weeks
Relnotes: maybe
Differential Revision: https://reviews.freebsd.org/D25359

Details

Provenance
avgAuthored on
Reviewer
adrian
Differential Revision
D25359: cp2112: driver for the namesake GPIO and I2C master gadget
Parents
rS363950: Add new USB ID.
Branches
Unknown
Tags
Unknown