- ams,enable-internal-i2c-pullup: Boolean property, to enable internal pullup on
i2c scl/sda pins. Missing this will disable internal pullup on i2c
scl/sda lines.
+- ams,oc-pg-mask: Enable or disable various powergood or overcurrent or
+ ac_ok mask. The multiple values can be ORed when provided the
+ value of this property. include/dt-binding/mfd/as3722 defines the
+ macro for different masks.
+ AS3722_OC_PG_MASK_AC_OK: AC_OK PG_OC mask
+ AS3722_OC_PG_MASK_GPIO3
+ AS3722_OC_PG_MASK_GPIO4
+ AS3722_OC_PG_MASK_GPIO5
+ AS3722_OC_PG_MASK_PWRGOOD_SD0
+ AS3722_OC_PG_MASK_OVCURR_SD0
+ AS3722_OC_PG_MASK_VRESFALL
+ AS3722_OC_PG_MASK_POWERGOOD_SD6
+ AS3722_OC_PG_MASK_OVCURR_SD6
Optional submodule and their properties:
=======================================
#define AS3722_IRQ_OCCUR_ALARM_SD6 30
#define AS3722_IRQ_ADC 31
+/* 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 /* __DT_BINDINGS_AS3722_H__ */