summaryrefslogtreecommitdiff
path: root/driver/ppc/rt1739.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/ppc/rt1739.h')
-rw-r--r--driver/ppc/rt1739.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/ppc/rt1739.h b/driver/ppc/rt1739.h
index 620045ef40..9fab34229e 100644
--- a/driver/ppc/rt1739.h
+++ b/driver/ppc/rt1739.h
@@ -67,6 +67,7 @@
#define RT1739_REG_VBUS_OC_SETTING 0x25
#define RT1739_LV_SRC_OCP_SHIFT 4
+#define RT1739_LV_SRC_OCP_MASK (3 << RT1739_LV_SRC_OCP_SHIFT)
#define RT1739_LV_SRC_OCP_SEL_1_25A (0 << RT1739_LV_SRC_OCP_SHIFT)
#define RT1739_LV_SRC_OCP_SEL_1_75A (1 << RT1739_LV_SRC_OCP_SHIFT)
#define RT1739_LV_SRC_OCP_SEL_2_25A (2 << RT1739_LV_SRC_OCP_SHIFT)