OSDN Git Service

arm64: dts: qcom: sdm845-oneplus-*: add msm-id and board-id
authorCaleb Connolly <caleb.connolly@linaro.org>
Thu, 9 Dec 2021 22:59:38 +0000 (22:59 +0000)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 15 Dec 2021 03:31:16 +0000 (21:31 -0600)
commit8e6de09c716f37dbdc8181e803455603c89c4bd2
treee6d9a18d4c025b63a7c20b9c4e99cb6d6f8149a2
parentbc279dc04e9ee23f6a22f6c7a6924edbd5fe0f6d
arm64: dts: qcom: sdm845-oneplus-*: add msm-id and board-id

The msm-id and board-id can be used to select the correct dtb when
multiple are provided to the bootloader.

Multiple DTBs can be provided on sdm845 devices using boot image header
v1 by appending them all to the kernel image before creating the boot
image. The bootloader then selects them like this:

Best match DTB tags 321/00000008/0x00000000/20001/20014/20115/20018/0/(offset)0x79998E27/(size)0x000173CD
Using pmic info 0x20014/0x20115/0x20018/0x0 for device 0x20014/0x20115/0x20018/0x0

Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211209225938.2427342-1-caleb.connolly@linaro.org
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts