Re: [PATCH] arm64: dts: x1e80100-crd: describe HID supplies
From: Johan Hovold
Date: Fri Oct 25 2024 - 11:24:58 EST
On Fri, Oct 18, 2024 at 08:19:35PM +0300, Abel Vesa wrote:
> On 24-10-15 16:57:18, Stephan Gerhold wrote:
> > On Tue, Oct 15, 2024 at 02:24:27PM +0200, Johan Hovold wrote:
> > > +&pm8550ve_8_gpios {
> > > + misc_3p3_reg_en: misc-3p3-reg-en-state {
> > > + pins = "gpio6";
> > > + function = "normal";
> > > + bias-disable;
> >
> > Can we add a "power-source" here? PMIC GPIOs can be either ~3.7V
> > (VPH_PWR) or 1.8V, depending on which power-source is selected. Without
> > that, we rely on the firmware to set the voltage level for the GPIO
> > during boot.
>
> AFAIU, the power-source here should be 0, which selects VPH_PWR which is
> 3.3V. In that case I think we can avoid explicitly setting it.
The firmware uses 1.8 V here in fact, but it seems like 3.3 V would work
as well.
> > I'm not sure which one would be suitable here. I guess we can just
> > replicate what the firmware configures during boot.
Let's start with that at least.
Johan