mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugo Villeneuve <hugo@hugovil.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Hugo Villeneuve <hvilleneuve@dimonoff.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: imx8mn-var-som-symphony: add vcc supply for PCA9534
Date: Mon, 6 Nov 2023 16:36:33 -0500	[thread overview]
Message-ID: <20231106163633.764707a8140dfe750f875dc3@hugovil.com> (raw)
In-Reply-To: <e4884c86-0b8c-4e73-9280-296be98d57b1@linaro.org>

On Mon, 6 Nov 2023 21:39:42 +0100
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:

> On 06/11/2023 19:57, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> > 
> > The following warning is shown when probing device:
> > 
> >     pca953x 1-0020: supply vcc not found, using dummy regulator
> > 
> > Add fixed 3.3v regulator as vcc supply to silence the warning.
> > 
> 
> This is not really a warning. It's perfectly fine to use dummy
> regulator. Adding such fixed supply has sense in following cases:
> 1. Bindings require the supply,
> 2. This is in fact exactly that supply (verified on schematics).
> 
> Best regards,
> Krzysztof

Hi Krzysztof,
this is case #2, but looking more closely at the carrier board
(symphony) schematics, it is not exactly the "reg_3v3_fixed" supply I
mentioned in the patch, as "reg_3v3_fixed" is located on the SOM and
only powers SOM components.

However, "reg_3v3_fixed", which is an always-on regulator (no software
enable control), is used as the enable input to a mosfet switch (Q2) on
the carrier board to generate the 3.3V (label BASE_PER_3V3 on the
schematics) used by all peripherals on that carrier board.

I guess I could then define a new "always-on" regulator labeled as,
for example, base_per_3v3, and then assign the pca953x vcc-supply
property to it?

Hugo.

  reply	other threads:[~2023-11-06 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-06 18:57 Hugo Villeneuve
2023-11-06 20:39 ` Krzysztof Kozlowski
2023-11-06 21:36   ` Hugo Villeneuve [this message]
2023-11-07  7:14     ` Krzysztof Kozlowski
2023-11-07 14:54       ` Hugo Villeneuve

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=20231106163633.764707a8140dfe750f875dc3@hugovil.com \
    --to=hugo@hugovil.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=hvilleneuve@dimonoff.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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®