diff options
author | Rama Krishna Phani A <rphani@codeaurora.org> | 2017-07-30 19:04:31 +0530 |
---|---|---|
committer | Rama Krishna Phani A <rphani@codeaurora.org> | 2017-08-17 14:41:57 +0530 |
commit | 36c8f370e07c79a284173c2b130d2940703be515 (patch) | |
tree | 4d6fe0f5fa7aa38f7b584d2eb334bbb35aab93f6 /include/linux/qpnp | |
parent | 553433ff26ba9a10762b58dce4181c7a6c3e6bb1 (diff) |
qpnp: revid: Add support to read TP Rev
Some PMICs software drivers (PM660) require the TP revision
information to implement specific logic. Add an optional
property qcom,tp-rev-valid to check if support for TP REV is
available in the REVID peripheral for the PMIC.
Change-Id: Ia7a344e60bedcc6fb28d9ed9f18dc29a3d7f4fd7
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Diffstat (limited to 'include/linux/qpnp')
-rw-r--r-- | include/linux/qpnp/qpnp-revid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qpnp/qpnp-revid.h b/include/linux/qpnp/qpnp-revid.h index b025df568259..bbc4625a2d39 100644 --- a/include/linux/qpnp/qpnp-revid.h +++ b/include/linux/qpnp/qpnp-revid.h @@ -252,6 +252,7 @@ struct pmic_revid_data { u8 pmic_subtype; const char *pmic_name; int fab_id; + int tp_rev; }; #ifdef CONFIG_QPNP_REVID |