]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: Add PMI8996 DTSI file
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Tue, 8 Jun 2021 20:21:39 +0000 (22:21 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 3 Aug 2021 23:13:28 +0000 (18:13 -0500)
commit7f781f2a394781f368c2f6e19a1aa944e0707f79
tree3e28f7938fbb4777dcae220bfa152b8ff105c1cb
parentcc084ede6f31c2f9f1b9b13883cdbf8780078ddf
arm64: dts: qcom: Add PMI8996 DTSI file

PMI8996 is *almost* the same hardware as PMI8994, say for some annoyances:

- Boards equipped with PMI8996 now have to include pmic-id (which wasn't the
case before)

- Different qpnp-ibb-discharge-resistor value (will be addressed after LABIBB
is introduced)

- Different inhibit-derating-ua value (will be addressed after BCL is
introduced)

- Different ramp_up_step value (will be addressed after [if?] QPNP Flash LED
is introduced)

This DTSI is supposed to be included >>ON TOP OF<< pmi8994.dtsi, like this:

-- msm8996-nice-device.dts --
\#include "pmi8994.dtsi"
\#include "pmi8996.dtsi"

or more likely like this:

-- msm8996-some-phone.dts --
\#include "msm8996.dtsi"
...
\#include "pmi8994.dtsi"

-- msm8996-pmi8996-some-phone.dts --
\#include "msm8996-some-phone.dts"
\#include "pmi8996.dtsi"

So that we only have to keep 2 DTs for devices that were shipped with both
ones, instead of what would be three (device base + pmi8994 + pmi8996)

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210608202143.247427-1-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/pmi8996.dtsi [new file with mode: 0644]