Re: [PATCH v6] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

From: Konrad Dybcio
Date: Mon Aug 31 2020 - 03:58:20 EST


> Hi Konrad,
>
> I couldn't find answer to your question around missing
> (regulatorname)-supply properties. Need help in figuring out that
> part.

When the phone boots up and RPM(H) kicks in, you should see regulators
probing like "s1 supplied by foo". Without the *-supply stuff, you
will likely get "supplied by regulator-dummy". This happens here [1]
and to my knowledge it is the "eletrical wiring" for Linux, as in it
makes Linux aware of which regulators are connected electrically to
the same supply (so that kernel knows when the supply is on and what
voltage it's at). For qcom platforms, this is common per-pmic (afaik,
please check if you are able to!), so you can likely just copy-paste
that part from msm8998-mtp.dtsi, which also uses pm(i)8998.

Konrad