* [PATCH v3 0/5] sy7636a: power the panel only during updates
@ 2026-11-08 9:35 Pablo Mazzini
2026-11-08 9:36 ` [PATCH v3 5/5] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option Pablo Mazzini
2026-11-11 17:51 ` (subset) [PATCH v3 0/5] sy7636a: power the panel only during updates Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Pablo Mazzini @ 2026-11-08 9:35 UTC (permalink / raw)
To: Mark Brown, Liam Girdwood, Guenter Roeck, Lee Jones, Frank Li,
Sascha Hauer
Cc: Pablo Mazzini, Alistair Francis, Andreas Kemnade,
Pengutronix Kernel Team, Fabio Estevam, linux-hwmon, mfd, 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, and bind the
regulator to the I2C device directly, with the hwmon driver as its
auxiliary driver.
v2 patches 1-3 are in regulator for-7.5, so this is based on it.
Patch 3 touches the regulator, hwmon and MFD drivers and removes the
MFD header, so the series should go through the regulator tree, with
acks from Guenter and Lee.
Tested on a PocketBook Verse (B288).
v3:
- drop the applied patches 1-3
- new patch 1: 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)
- patch 4: 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 (5):
regulator: sy7636a: don't wait for power good if already on
hwmon: sy7636a: fix negative temperatures
regulator: sy7636a: bind to the I2C device directly
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/Kconfig | 2 +-
drivers/hwmon/sy7636a-hwmon.c | 66 ++++++++++++--------
drivers/mfd/Kconfig | 10 ---
drivers/mfd/simple-mfd-i2c.c | 11 ----
drivers/regulator/Kconfig | 4 +-
drivers/regulator/sy7636a-regulator.c | 90 ++++++++++++++++-----------
include/linux/mfd/sy7636a.h | 34 ----------
8 files changed, 99 insertions(+), 119 deletions(-)
delete mode 100644 include/linux/mfd/sy7636a.h
base-commit: 2a1984b30e9cfcb306a076cb4b9e68d71daeb45c
--
2.52.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v3 5/5] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option
2026-11-08 9:35 [PATCH v3 0/5] sy7636a: power the panel only during updates Pablo Mazzini
@ 2026-11-08 9:36 ` Pablo Mazzini
2026-11-11 17:51 ` (subset) [PATCH v3 0/5] sy7636a: power the panel only during updates Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Pablo Mazzini @ 2026-11-08 9:36 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] 3+ messages in thread
* Re: (subset) [PATCH v3 0/5] sy7636a: power the panel only during updates
2026-11-08 9:35 [PATCH v3 0/5] sy7636a: power the panel only during updates Pablo Mazzini
2026-11-08 9:36 ` [PATCH v3 5/5] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option Pablo Mazzini
@ 2026-11-11 17:51 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-11-11 17:51 UTC (permalink / raw)
To: Liam Girdwood, Guenter Roeck, Lee Jones, Frank Li, Sascha Hauer,
Pablo Mazzini
Cc: Alistair Francis, Andreas Kemnade, Pengutronix Kernel Team,
Fabio Estevam, linux-hwmon, mfd, imx, linux-arm-kernel,
linux-kernel
On Sun, 08 Nov 2026 09:35:57 +0000, Pablo Mazzini wrote:
> sy7636a: power the panel only during updates
>
> 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, and bind the
> regulator to the I2C device directly, with the hwmon driver as its
> auxiliary driver.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.5
Thanks!
[1/5] regulator: sy7636a: don't wait for power good if already on
https://git.kernel.org/broonie/regulator/c/7d9a62b7e554
[3/5] regulator: sy7636a: bind to the I2C device directly
https://git.kernel.org/broonie/regulator/c/5f828ac25ef9
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-12 11:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-08 9:35 [PATCH v3 0/5] sy7636a: power the panel only during updates Pablo Mazzini
2026-11-08 9:36 ` [PATCH v3 5/5] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD option Pablo Mazzini
2026-11-11 17:51 ` (subset) [PATCH v3 0/5] sy7636a: power the panel only during updates Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox