diff options
author | Bibek Basu <bbasu@nvidia.com> | 2014-06-13 14:49:16 +0530 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2014-06-16 21:48:59 -0700 |
commit | 824a87782ac13779f9e8e21e847c4b6dac653208 (patch) | |
tree | 87f6c8bb7992cfa977a927906bc3b0db760c05db /include | |
parent | bf96be80df967de93273eefb04b0d6db75836472 (diff) |
mfd: as3722: Documentation for oc_pg_ctrl masking
Update Documentation for device tree update for
optional oc_pg_ctrl_masking feature
Bug 1518725
Bug 1419425
Change-Id: I309533849d48d61aefebd8f477e79b79ed4127fb
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/423185
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/mfd/as3722.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/as3722.h b/include/dt-bindings/mfd/as3722.h index 1846e51f58c9..81ef48bcadd8 100644 --- a/include/dt-bindings/mfd/as3722.h +++ b/include/dt-bindings/mfd/as3722.h @@ -19,4 +19,15 @@ #define AS3722_BBCMODE_ACT_STBY 2 #define AS3722_BBCMODE_ACT_STBY_OFF 3 + +/* Power Good OC Mask macro */ +#define AS3722_OC_PG_MASK_AC_OK 0x1 +#define AS3722_OC_PG_MASK_GPIO3 0x2 +#define AS3722_OC_PG_MASK_GPIO4 0x4 +#define AS3722_OC_PG_MASK_GPIO5 0x8 +#define AS3722_OC_PG_MASK_PWRGOOD_SD0 0x10 +#define AS3722_OC_PG_MASK_OVCURR_SD0 0x20 +#define AS3722_OC_PG_MASK_POWERGOOD_SD6 0x40 +#define AS3722_OC_PG_MASK_OVCURR_SD6 0x80 + #endif |