[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240611164951.51754ffc@aktux>
Date: Tue, 11 Jun 2024 16:49:51 +0200
From: Andreas Kemnade <andreas@...nade.info>
To: Mighty <bavishimithil@...il.com>
Cc: BenoƮt Cousson <bcousson@...libre.com>, Tony Lindgren
<tony@...mide.com>, Rob Herring <robh@...nel.org>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] ARM: dts: twl6032: Add DTS file for TWL6032 PMIC
Hi,
On Tue, 11 Jun 2024 18:51:34 +0530
Mighty <bavishimithil@...il.com> wrote:
> From: Mithil Bavishi <bavishimithil@...il.com>
>
> Add a dedicated DTS file for the TWL6032 PMIC (Phoenix Lite). Already
> has driver support with TWL6030 (Phoenix) since both of them are so
> similar, some nodes can be reused from TWL6030 as well.
>
> This can be included in the board files like twl6030.
> Example:
> ...
> &i2c1 {
> twl: twl@48 {
> reg = <0x48>;
> interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-controller;
> interrupt-parent = <&gic>;
> };
> };
>
> /include/ "twl6032.dtsi"
> ...
>
> Used in devices like samsung-espresso, amazon-jem, epson-embt2ws etc.
>
> Regulator values are found from downstream kernel for espresso.
>
hmm, that might be board specific stuff, maybe keep them as they are in the
twl6030.dtsi and override them in board specific dts files if needed.
And is there any reason why you left out the pwm stuff?
I think the twl6030.dtsi and twl6032.dtsi should be as similar as possible.
Regards,
Andreas
Powered by blists - more mailing lists