From: Pablo Mazzini <pmazzini@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>,
Mark Brown <broonie@kernel.org>, Frank Li <Frank.Li@nxp.com>,
Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pablo Mazzini <pmazzini@gmail.com>,
Alistair Francis <alistair@alistair23.me>,
Andreas Kemnade <andreas@kemnade.info>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
linux-hwmon@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v4 0/2] sy7636a: power the panel only during updates
Date: Thu, 12 Nov 2026 20:52:26 +0000 [thread overview]
Message-ID: <20261112205228.42630-1-pmazzini@gmail.com> (raw)
The SY7636A hwmon driver keeps VCOM on from probe, so a display driver
can not power the panel only during updates.
Read the temperature only while the rails are on instead.
This is based on regulator for-7.5, which has the rest of the series.
Patch 1 depends on "regulator: sy7636a: bind to the I2C device directly"
there.
Tested on a PocketBook Verse (B288).
v4:
- drop the patches applied by Mark and Guenter
- patch 1: keep the hwmon name (Guenter)
v3:
- drop the applied patches 1-3
- new patch: no wait when power good is already high (Mark)
- move the I2C binding before the hwmon read change, so the hwmon driver
only probes once vin is on (Andreas)
- explain in a comment why power good gates the read, and its
limitation (Guenter, Andreas)
v2:
- drop the DT patch keeping VCOM always-on (Andreas)
- only wait for power good, VCOM_EN stays as it was (Andreas)
- new patch: fix negative temperatures
- keep the temperature in drivers/hwmon as an auxiliary driver of the
regulator, instead of moving it into the regulator driver (Guenter,
Andreas)
- no VCOM enable at probe, which also removes the probe race
- read power good and the temperature in one transfer (Andreas)
Pablo Mazzini (2):
hwmon: sy7636a: read the temperature only while the rails are on
ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option
arch/arm/configs/imx_v6_v7_defconfig | 1 -
drivers/hwmon/sy7636a-hwmon.c | 35 +++++++++++++++++++---------
2 files changed, 24 insertions(+), 12 deletions(-)
base-commit: 89b552ff49551960b9e270feee888a0298a12d94
--
2.52.0
next reply other threads:[~2026-11-12 20:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 20:52 Pablo Mazzini [this message]
2026-11-12 20:52 ` [PATCH v4 1/2] hwmon: sy7636a: read the temperature only while the rails are on Pablo Mazzini
2026-11-12 21:04 ` sashiko-bot
2026-11-12 20:52 ` [PATCH v4 2/2] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option Pablo Mazzini
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=20261112205228.42630-1-pmazzini@gmail.com \
--to=pmazzini@gmail.com \
--cc=Frank.Li@nxp.com \
--cc=alistair@alistair23.me \
--cc=andreas@kemnade.info \
--cc=broonie@kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=s.hauer@pengutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.