mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: Pablo Mazzini <pmazzini@gmail.com>
Cc: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Alistair Francis <alistair@alistair23.me>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/7] regulator: sy7636a: wait for power good, then switch VCOM_EN
Date: Mon, 26 Oct 2026 09:10:42 +0100	[thread overview]
Message-ID: <20261026091042.5376dd7d@kemnade.info> (raw)
In-Reply-To: <20261026003918.155321-5-pmazzini@gmail.com>

On Mon, 26 Oct 2026 00:39:15 +0000
Pablo Mazzini <pmazzini@gmail.com> wrote:

> Wait for power good on enable, as the TPS65185 and FP9931 drivers do.
> 
which is a good idea that the consumers can relay on the regulators being
useable when enabled.

> The VCOM_EN line was requested but held low. When it is wired, let it
> switch VCOM after power good.
> 
What is the reason for this change? VCOM gets enabled this way, too.
I added this line just for having the hardware completely documented.

A possible scenario where I could imagine this line being useful:

Calibration of required VCOM voltage, You would turn on everything else,
do a mode 0 refresh on the EPD and measure some kickback voltage on the
otherwise inactive VCOM line and have your calculated value for that
regulator.

To be useful, several things are needed:
- SY7636a driver needs to model vcom as a separate regulator turning
  on a vposneg regulator. The TPS65185 driver defines a vposneg regulator.
- ADC input is needed. The TPS65185 provides (not implemented in the
  driver yet) such measurement. Of course that can come from another
  chip.
- Some (probably userspace logic) to control all of this.

Regards,
Andreas

  reply	other threads:[~2026-10-26  8:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-26  0:39 [PATCH 0/7] sy7636a: power the panel only during updates Pablo Mazzini
2026-10-26  0:39 ` [PATCH 1/7] ARM: dts: imx: keep the SY7636A VCOM on Pablo Mazzini
2026-10-26  7:30   ` Andreas Kemnade
2026-10-26  8:21     ` Pablo Mazzini
2026-10-26  0:39 ` [PATCH 2/7] regulator: sy7636a: fix the chip name Pablo Mazzini
2026-10-26  7:39   ` Andreas Kemnade
2026-10-26  0:39 ` [PATCH 3/7] regulator: sy7636a: add VCOM voltage control Pablo Mazzini
2026-10-26  7:41   ` Andreas Kemnade
2026-10-26  0:39 ` [PATCH 4/7] regulator: sy7636a: wait for power good, then switch VCOM_EN Pablo Mazzini
2026-10-26  8:10   ` Andreas Kemnade [this message]
2026-10-26  8:44     ` Pablo Mazzini
2026-10-26  0:39 ` [PATCH 5/7] regulator: sy7636a: report the temperature Pablo Mazzini
2026-10-26  8:42   ` Andreas Kemnade
2026-10-26 14:35   ` Guenter Roeck
2026-10-26  0:39 ` [PATCH 6/7] regulator: sy7636a: bind to the I2C device directly Pablo Mazzini
2026-10-26  0:39 ` [PATCH 7/7] ARM: imx_v6_v7_defconfig: drop the SY7636A MFD and hwmon options Pablo Mazzini
2026-10-26  9:37 ` [PATCH 0/7] sy7636a: power the panel only during updates Andreas Kemnade
2026-10-26 11:28   ` 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=20261026091042.5376dd7d@kemnade.info \
    --to=andreas@kemnade.info \
    --cc=alistair@alistair23.me \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmazzini@gmail.com \
    /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

all inboxes | Powered by JetHome®