Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 90a26066 authored by Ravi Kumar V's avatar Ravi Kumar V Committed by Stephen Boyd
Browse files

arm/dts: Add support for PMIC PM8644 regulator devices



The new dtsi files are arranged so that parameters can be
overridden in convenient ways. msm-pm8644.dtsi contains the platform
independent characteristics for each of the PMIC regulator devices.
This includes the SPMI base register for each regulator device,
its name, its compatible string, and its status.

The next file, mpq8092-regulator.dtsi, then fills in platform
dependent regulator configurations for the 8092 platform.  This
includes min/max voltage constraints, parent regulator, and
various qpnp-regulator parameters.

The value of status is deliberately overridden between
msm-pm8644.dtsi and mpq8092-regulator.dtsi so
that devices are only added for regulators which should be
controlled via the qpnp-regulator driver. When parsing a file
from top to bottom, the last value specified for a given parameter
is the one that ends up in the dtb file. Only the actively used
devices will be configured via mpq8092-regulator.dtsi
with status="okay".

Change-Id: Ib958cfaba25695197fc57d670888817489a58b26
Signed-off-by: default avatarRavi Kumar V <kumarrav@codeaurora.org>
parent 18c405fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment