From: Zev Weiss <zev@bewilderbeest.net>
To: linux-i2c@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>,
Peter Rosin <peda@axentia.se>, Rob Herring <robh+dt@kernel.org>
Cc: Zev Weiss <zev@bewilderbeest.net>,
openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: [PATCH 0/2] ic2: mux: pca9541: add delayed-release support
Date: Mon, 24 Jan 2022 13:38:48 -0800 [thread overview]
Message-ID: <20220124213850.3766-1-zev@bewilderbeest.net> (raw)
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 LM25066
PMICs behind PCA9541-arbitrated busses, a setting of 10000 (10 ms)
reduces the median latency of reading hwmon sysfs files from 2.28 ms
to 0.99 ms (a 57% improvement).
Thanks,
Zev
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 | 10 ++++
drivers/i2c/muxes/i2c-mux-pca9541.c | 56 ++++++++++++++++---
2 files changed, 57 insertions(+), 9 deletions(-)
--
2.34.1
next reply other threads:[~2022-01-25 0:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-24 21:38 Zev Weiss [this message]
2022-01-24 21:38 ` [PATCH 2/2] dt-bindings: i2c: add nxp,pca9541 release-delay-us property Zev Weiss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220124213850.3766-1-zev@bewilderbeest.net \
--to=zev@bewilderbeest.net \
--cc=devicetree@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=openbmc@lists.ozlabs.org \
--cc=peda@axentia.se \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox