HomeFreeBSD

Add an iicbus_reset() method to bcm2835_bsc. While it is generally not

Description

Add an iicbus_reset() method to bcm2835_bsc. While it is generally not
used for kernel devices it is used by i2c(8).

This fix the 'error: Device not configured' when i2c(8) tries to reset the
controller, as an example:

i2c -r

Resetting I2C controller on /dev/iic0: error: Device not configured

For now use conservative settings for default i2c speeds.

MFC after: 1 week

Details

Provenance
loosAuthored on
Parents
rS273609: Convert last piece of ip_forward to use new rouing api.
Branches
Unknown
Tags
Unknown

Event Timeline