Skip to content

ic2: mux: pca9541: add delayed-release support

Zev Weiss linux-devicetree linux-i2c lkml openbmc 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 12 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i2c: mux: pca9541: add delayed-release supportdrivers/i2c/muxes/i2c-mux-pca9541.c+47 -90 replies
2/2dt-bindings: i2c: add nxp,pca9541 release-delay-us propertyDocumentation/devicetree/bindings/i2c/nxp,pca9541.txt+9 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJoel StanleyRob Herring
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ic2: mux: pca9541: add delayed-release support

Hello,

This series adds support for a new pca9541 device-tree property ("release-delay-us"), which delays releasing ownership of the bus after a transaction for a configurable duration, anticipating that another transaction may follow shortly. By avoiding a release/reacquisition between transactions, this can provide a substantial performance improvement for back-to-back operations -- on a Delta AHE-50DC (ASPEED AST1250) system running OpenBMC with dozens of LM25066 PMICs on PCA9541-arbitrated busses, a setting of 10000 (10 ms) reduces the median latency the psusensor daemon's hwmon sysfs file reads from 2.28 ms to 0.99 ms (a 57% improvement).

Thanks,
Zev

Changes since v1 [0]:
- removed spurious #include line from dt-bindings example

[0] https://lore.kernel.org/linux-i2c/[email protected]/

Zev Weiss (2):
i2c: mux: pca9541: add delayed-release support
dt-bindings: i2c: add nxp,pca9541 release-delay-us property

 .../devicetree/bindings/i2c/nxp,pca9541.txt   |  9 +++
 drivers/i2c/muxes/i2c-mux-pca9541.c           | 56 ++++++++++++++++---
 2 files changed, 56 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1