Add support for parsing PMIC info in the DTB files. The new format supports
up to four pmic nodes in the DTB. pmic0, pmic1, pmic2 & pmic3. Unused pmic
nodes should be marked as '0' in the DTB.
dtbtool(v3) to parse the split qcom,msm-id/qcom,board-id/qcom,pmic-id in
DTB files. The original qcom,msm-id with soc_id/platform, soc_rev is split
into qcom,msm-id with only soc_id/soc_rev; The original qcom,board-id with
platform/subtype. and a new qcom,pmic-id with pmic0/pmic1/pmic2/pmic3.
The tool always generate the new table of device tree format (v3), but is
backward compatible with parsing original DTB files with only qcom,msm-id
(in which case subtype and pmic 0 to 3 are assumed zero) and backward com
-patible with parsing original DTB files with qcom,msm-id and qcom,board-id
(in which case pmic 0 to 3 are assumed zero)
This change requires a corresponding bootloader change to properly parse
the updated table of device tree image format (v3)
Change-Id: If44d7a2617a6a8ea4434ed3ac6138ec4726aae50
Add support to parse the new split qcom,msm-id/qcom,board-id
in DTB files. The original qcom,msm-id with soc_id/platform/
soc_rev is split into qcom,msm-id with only soc_id/soc_rev
and a new qcom,board-id with platform/subtype.
The tool always generate the new table of device tree
format (v2), but is backward compatible with parsing original
DTB files with only qcom,msm-id (in which case subtype is
assumed zero).
This change requires a corresponding bootloader change to
properly parse the updated table of device tree image
format (v2).
Change-Id: Iee4a0bf7de026ffc7f610ad485254c4b192ed3eb
Allow multiple chipset/platform/soc_rev triplets in
qcom,msm-id tag. This allows one DTS/DTB file to be used
for multiple chipset/platform/soc_rev variants.
Preliminary version - needs error handling in triplet
parsing and general code cleanup.
Change-Id: Ic3d018c0667d1ec7189d6e14b3378effda00d781
A tool to generate an image of table of device tree. The image
contains a header, table of device tree indices followed by the
list of device tree blobs.
Refer to dtbtool.txt for more information.
Change-Id: Ib0d5f974cdb8a8fc341f01b5d086a5285b1d7dc5