summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSiddartha Mohanadoss <smohanad@codeaurora.org>2016-10-04 17:05:06 -0700
committerSiddartha Mohanadoss <smohanad@codeaurora.org>2016-10-07 12:15:07 -0700
commitf1fe90b2f89cfba180695c34404bfd69320f5ef7 (patch)
treebd986deeda8cbfaf1cd50763ee036b76f29dcc3f /include/linux
parent3c7400dc73db9b1455032e8d6e7679f27869cd75 (diff)
qpnp: revid: Add support to read FAB ID for PMICOBALT
PMICOBALT supports reading the FAB ID from the REVID peripheral. Add an optional property qcom,fab-id-valid to check if support for FAB ID is available in the REVID peripheral for the PMIC. Change-Id: If8212618baa7533b008228a71740acf1d6c72a52 Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/qpnp/qpnp-revid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qpnp/qpnp-revid.h b/include/linux/qpnp/qpnp-revid.h
index b13ebe50c3d6..7c12823894df 100644
--- a/include/linux/qpnp/qpnp-revid.h
+++ b/include/linux/qpnp/qpnp-revid.h
@@ -212,6 +212,7 @@ struct pmic_revid_data {
u8 pmic_type;
u8 pmic_subtype;
const char *pmic_name;
+ int fab_id;
};
#ifdef CONFIG_QPNP_REVID