[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241004094117.51c8adcd@akair>
Date: Fri, 4 Oct 2024 09:41:17 +0200
From: Andreas Kemnade <andreas@...nade.info>
To: Roger Quadros <rogerq@...nel.org>
Cc: Conor Dooley <conor+dt@...nel.org>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, linux-kernel@...r.kernel.org, Rob Herring
<robh@...nel.org>, khilman@...libre.com, devicetree@...r.kernel.org,
tony@...mide.com, aaro.koskinen@....fi, linux-omap@...r.kernel.org
Subject: Re: [PATCH 1/4] ARM: dts: omap: omap4-epson-embt2ws: define GPIO
regulators
Am Fri, 4 Oct 2024 10:24:32 +0300
schrieb Roger Quadros <rogerq@...nel.org>:
> On 01/10/2024 00:30, Andreas Kemnade wrote:
> > To properly have things running after cold boot, define
> > GPIO regulators. Naming is based on board file.
> >
> > In the vendor kernel they are enabled in a function
> > called bt2ws_dcdc_init() if the system is not booted just
> > to charge the battery.
> >
> > Signed-off-by: Andreas Kemnade <andreas@...nade.info>
> > ---
> > .../boot/dts/ti/omap/omap4-epson-embt2ws.dts | 73
> > +++++++++++++++++++ 1 file changed, 73 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
> > b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts index
> > 339e52ba3614..d6b0abba19f6 100644 ---
> > a/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts +++
> > b/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts @@ -29,6 +29,42
> > @@ backlight-right { power-supply = <&unknown_supply>;
> > };
> >
> > + cb_v18: cb-v18 {
>
> https://devicetree-specification.readthedocs.io/en/v0.3/devicetree-basics.html#generic-names-recommendation
>
>
> So regulator@n
> where n is some index if it can't be address.
>
No, no @n. The above link says: "If the node has no reg property, the
@unit-address must be omitted and the node-name alone differentiates
the node from other nodes at the same level in the tree." So
probably regulator-cb-v18.
Regards,
Andreas
Powered by blists - more mailing lists