Change in coreboot[master]: drivers/i2c/designware: Report I2C timings for additional bus speeds
Attention is currently required from: Tim Wawrzynczak, Werner Zeh, Kyösti Mälkki. Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/55088 ) Change subject: drivers/i2c/designware: Report I2C timings for additional bus speeds ...................................................................... Patch Set 2: (1 comment) File src/drivers/i2c/designware/dw_i2c.c: https://review.coreboot.org/c/coreboot/+/55088/comment/c597b2c1_6f2aed99 PS2, Line 834: Now check if there are more speed settings available and report them as well.
The reason I took this approach is that I would like to avoid invalid values being reported. […] Aah okay, that makes sense. The reason I mentioned exposing all possible speeds is because at least the Linux kernel driver uses a least common denominator to choose the appropriate speed to be used for a particular bus i.e. uses the lowest speed value exposed by all devices on the given bus. It would have ensured that the kernel driver gets option to configure for any speeds depending upon the peripheral devices supported. But, what you mentioned about dummy/invalid timings also makes sense.
-- To view, visit https://review.coreboot.org/c/coreboot/+/55088 To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings Gerrit-Project: coreboot Gerrit-Branch: master Gerrit-Change-Id: If921e0613864660dc1bb8d7c1b30fb9db8ac655d Gerrit-Change-Number: 55088 Gerrit-PatchSet: 2 Gerrit-Owner: Werner Zeh <werner.zeh@siemens.com> Gerrit-Reviewer: Kyösti Mälkki <kyosti.malkki@gmail.com> Gerrit-Reviewer: Tim Wawrzynczak <twawrzynczak@google.com> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> Gerrit-CC: Furquan Shaikh <furquan@google.com> Gerrit-Attention: Tim Wawrzynczak <twawrzynczak@google.com> Gerrit-Attention: Werner Zeh <werner.zeh@siemens.com> Gerrit-Attention: Kyösti Mälkki <kyosti.malkki@gmail.com> Gerrit-Comment-Date: Tue, 01 Jun 2021 04:56:18 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: Furquan Shaikh <furquan@google.com> Comment-In-Reply-To: Werner Zeh <werner.zeh@siemens.com> Gerrit-MessageType: comment
participants (1)
-
Furquan Shaikh (Code Review)