This patch adds support for the JZ4780 SMB controller.
Details
Details
- Reviewers
kan - Group Reviewers
MIPS - Commits
- rS310172: Add support for Ingenic JZ4780 SMBus controller.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/mips/ingenic/jz4780_smb.c | ||
---|---|---|
142 ↗ | (On Diff #22909) | Mirrored signature from jzsmb_reset, I will remove it. |
248 ↗ | (On Diff #22909) | Is there a tstohz somewhere? I couldn't find one. |
360 ↗ | (On Diff #22909) | Clearing the stop-hold bit causes the controller to send an I2C STOP condition. We need this in the success path too. It's a (harmless) noop only when we are performing 0-byte transfers. |