android_device_qcom_common/dtbtool
Lijuan Gao 1b05560655 dtbtool: Add qcom,pmic-id support (version 3)
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
2014-08-25 20:47:33 -07:00
..
Android.mk
dtbtool.c dtbtool: Add qcom,pmic-id support (version 3) 2014-08-25 20:47:33 -07:00
dtbtool.txt dtbtool: Add qcom,pmic-id support (version 3) 2014-08-25 20:47:33 -07:00