openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ic2: mux: pca9541: add delayed-release support
@ 2022-02-01  0:18 Zev Weiss
  2022-02-01  0:18 ` [PATCH v2 1/2] i2c: " Zev Weiss
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Zev Weiss @ 2022-02-01  0:18 UTC (permalink / raw)
  To: linux-i2c, Guenter Roeck, Peter Rosin, Rob Herring
  Cc: devicetree, openbmc, linux-kernel, Zev Weiss

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/20220124213850.3766-1-zev@bewilderbeest.net/

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-03-21 22:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-01  0:18 [PATCH v2 0/2] ic2: mux: pca9541: add delayed-release support Zev Weiss
2022-02-01  0:18 ` [PATCH v2 1/2] i2c: " Zev Weiss
2022-02-01  0:18 ` [PATCH v2 2/2] dt-bindings: i2c: add nxp, pca9541 release-delay-us property Zev Weiss
2022-02-09 21:47   ` [PATCH v2 2/2] dt-bindings: i2c: add nxp,pca9541 " Rob Herring
2022-02-28  8:43 ` [PATCH v2 0/2] ic2: mux: pca9541: add delayed-release support Zev Weiss
2022-02-28 13:57   ` Guenter Roeck
2022-02-28 17:11     ` Zev Weiss
2022-02-28 17:19       ` Wolfram Sang
2022-02-28 18:10       ` Guenter Roeck
2022-02-28 21:54 ` Peter Rosin
2022-02-28 22:38   ` Zev Weiss
2022-03-02 14:43     ` Peter Rosin
2022-03-03  0:43       ` Zev Weiss
2022-03-18 11:00         ` Wolfram Sang
2022-03-21 22:32           ` Zev Weiss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).