diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-05-17 13:02:09 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-01 15:24:57 -0700 |
| commit | 0849a61bdfc82b11981e2380765784e4079c51b0 (patch) | |
| tree | 4a0bdf3be7b26b0c23f8248c471a1bafe5b86441 /include/linux | |
| parent | 6b6fc205b077b286b3c70788a38daedba78245ba (diff) | |
platform: qpnp-revid: add definitions for pmicobalt versions
Some workarounds need to be applied only for v1.0 and v1.1 of
pmicobalt. For drivers to check and compare the versions, add
definitions for pmicobalt versions.
CRs-Fixed: 1018090
Change-Id: I3c6c0b470c7d15802c7cf4cb8ced85548dbb81c7
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/qpnp/qpnp-revid.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/qpnp/qpnp-revid.h b/include/linux/qpnp/qpnp-revid.h index 13464f807f68..388296c53460 100644 --- a/include/linux/qpnp/qpnp-revid.h +++ b/include/linux/qpnp/qpnp-revid.h @@ -177,6 +177,21 @@ /* PMICOBALT */ #define PMICOBALT_SUBTYPE 0x15 +#define PMICOBALT_V1P0_REV1 0x00 +#define PMICOBALT_V1P0_REV2 0x00 +#define PMICOBALT_V1P0_REV3 0x00 +#define PMICOBALT_V1P0_REV4 0x01 + +#define PMICOBALT_V1P1_REV1 0x00 +#define PMICOBALT_V1P1_REV2 0x00 +#define PMICOBALT_V1P1_REV3 0x01 +#define PMICOBALT_V1P1_REV4 0x01 + +#define PMICOBALT_V2P0_REV1 0x00 +#define PMICOBALT_V2P0_REV2 0x00 +#define PMICOBALT_V2P0_REV3 0x00 +#define PMICOBALT_V2P0_REV4 0x02 + /* PM8005 */ #define PM8005_SUBTYPE 0x18 |
