* [PATCH v4 0/2] sy7636a: power the panel only during updates
@ 2026-11-12 20:52 Pablo Mazzini
2026-11-12 20:52 ` [PATCH v4 2/2] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option Pablo Mazzini
0 siblings, 1 reply; 2+ messages in thread
From: Pablo Mazzini @ 2026-11-12 20:52 UTC (permalink / raw)
To: Guenter Roeck, Mark Brown, Frank Li, Sascha Hauer
Cc: Pablo Mazzini, Alistair Francis, Andreas Kemnade,
Pengutronix Kernel Team, Fabio Estevam, linux-hwmon, imx,
linux-arm-kernel, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v4 2/2] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option
2026-11-12 20:52 [PATCH v4 0/2] sy7636a: power the panel only during updates Pablo Mazzini
@ 2026-11-12 20:52 ` Pablo Mazzini
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Mazzini @ 2026-11-12 20:52 UTC (permalink / raw)
To: Frank Li, Sascha Hauer
Cc: Pablo Mazzini, Alistair Francis, Andreas Kemnade,
Pengutronix Kernel Team, Fabio Estevam, imx, linux-arm-kernel,
linux-kernel
The SY7636A is no longer bound through an MFD.
Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>
---
arch/arm/configs/imx_v6_v7_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index ed588add8d31..f02b5605e533 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -239,7 +239,6 @@ CONFIG_MFD_DA9062=y
CONFIG_MFD_DA9063=y
CONFIG_MFD_MC13XXX_SPI=y
CONFIG_MFD_MC13XXX_I2C=y
-CONFIG_MFD_SY7636A=y
CONFIG_MFD_RN5T618=y
CONFIG_MFD_STMPE=y
CONFIG_MFD_ROHM_BD71828=y
--
2.52.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-12 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 20:52 [PATCH v4 0/2] sy7636a: power the panel only during updates Pablo Mazzini
2026-11-12 20:52 ` [PATCH v4 2/2] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option Pablo Mazzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox