mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Kemnade <andreas@kemnade.info>
To: Alistair <alistair@alistair23.me>
Cc: Pablo Mazzini <pmazzini@gmail.com>, Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley	 <conor+dt@kernel.org>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/7] ARM: dts: imx: keep the SY7636A VCOM on
Date: Tue, 10 Nov 2026 10:34:05 +0100	[thread overview]
Message-ID: <20261110103405.5e0384bb@kemnade.info> (raw)
In-Reply-To: <54130686e08db48928484e226f48dc31a8c5ee29.camel@alistair23.me>

On Tue, 10 Nov 2026 15:23:03 +1000
Alistair <alistair@alistair23.me> wrote:

> On Mon, 2026-10-26 at 08:30 +0100, Andreas Kemnade wrote:
> > On Mon, 26 Oct 2026 00:39:12 +0000
> > Pablo Mazzini <pmazzini@gmail.com> wrote:
> >   
> > > The SY7636A hwmon driver turns VCOM on at probe. The reMarkable 2,
> > > Kobo
> > > Libra H2O and Tolino Vision 5 have had the rails on so far. Mark
> > > VCOM
> > > always-on before the driver stops doing it.
> > > 
> > > Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>
> > > ---
> > >  arch/arm/boot/dts/nxp/imx/e70k02.dtsi           | 1 +
> > >  arch/arm/boot/dts/nxp/imx/imx7d-remarkable2.dts | 1 +
> > >  2 files changed, 2 insertions(+)
> > > 
> > > diff --git a/arch/arm/boot/dts/nxp/imx/e70k02.dtsi
> > > b/arch/arm/boot/dts/nxp/imx/e70k02.dtsi
> > > index dc7ff108aa85..bd9c6c6fa117 100644
> > > --- a/arch/arm/boot/dts/nxp/imx/e70k02.dtsi
> > > +++ b/arch/arm/boot/dts/nxp/imx/e70k02.dtsi
> > > @@ -154,6 +154,7 @@ sy7636: pmic@62 {
> > >  		regulators {
> > >  			reg_epdpmic: vcom {
> > >  				regulator-name = "vcom";
> > > +				regulator-always-on;
> > >  			};
> > >  		};
> > >  	};  
> > No, please not. That regulator is in practice used with a not yet
> > upstreamed
> > driver for the EPDC on that platform used to deal with the current
> > kernels
> > fp9931 / tps65185 drivers. So it is very welcome to have it not
> > always turned
> > on.
> > 
> >   
> > > diff --git a/arch/arm/boot/dts/nxp/imx/imx7d-remarkable2.dts
> > > b/arch/arm/boot/dts/nxp/imx/imx7d-remarkable2.dts
> > > index ff9d50942884..6cf5603c0752 100644
> > > --- a/arch/arm/boot/dts/nxp/imx/imx7d-remarkable2.dts
> > > +++ b/arch/arm/boot/dts/nxp/imx/imx7d-remarkable2.dts
> > > @@ -327,6 +327,7 @@ sy7636a: pmic@62 {
> > >  		regulators {
> > >  			reg_epdpmic: vcom {
> > >  				regulator-name = "vcom";
> > > +				regulator-always-on;
> > >  				regulator-boot-on;
> > >  			};
> > >  		};  
> > 
> > 
> > Here the situation is a bit different. If I remember correctly, there
> > is some special EPD logic in userspace on top of some ordinary kernel
> > display driver. But thesse things are missing is devicetree?! But  
> 
> Yeah, the kernel just exposes a framebuffer and a special secret sauce
> userspace program writes to that.

Looking at that processor. It seems to have an EPDC like the i.MX6 has.
Looking even further. The Kobo factory kernel for i.MX6SLL devices specifies
fsl,imx7d-epdc as compatible for that.
So if your display is just connected to that EPDC, then you could probably
wire up things on top of my EPDC driver with DRM interface.

So you still too need to run your own fork for the display? 

> 
> > that might need to learn to deal with regulator enabling/disabling.
> > 
> > Regulator always on is probably not desired here, either.  
> 
> Yeah, I **think** we don't need that
> 
You just need to add logic to enable/disable the regulator (if it is not
wired up yet). But it is nothing from the perspective of mainline to worry
about.

Regards,
Andreas

  reply	other threads:[~2026-11-10  9:34 UTC|newest]

Thread overview: 24+ 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-11-10  5:23     ` Alistair
2026-11-10  9:34       ` Andreas Kemnade [this message]
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
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 23:26     ` Andreas Kemnade
2026-10-27  7:32       ` Pablo Mazzini
2026-10-27  9:18         ` Andreas Kemnade
2026-10-27 21:32           ` Andreas Kemnade
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=20261110103405.5e0384bb@kemnade.info \
    --to=andreas@kemnade.info \
    --cc=Frank.Li@nxp.com \
    --cc=alistair@alistair23.me \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmazzini@gmail.com \
    --cc=robh@kernel.org \
    --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 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®