We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 493a31e commit 53ba2f1Copy full SHA for 53ba2f1
drivers/regulator/mpq7920.h
@@ -43,11 +43,10 @@
43
#define MPQ7920_LDO5_REG_B 0x1e
44
#define MPQ7920_LDO5_REG_C 0x1f
45
#define MPQ7920_REG_MODE 0x20
46
-#define MPQ7920_REG_REGULATOR_EN1 0x22
47
#define MPQ7920_REG_REGULATOR_EN 0x22
48
49
#define MPQ7920_MASK_VREF 0x7f
50
-#define MPQ7920_MASK_BUCK_ILIM 0xd0
+#define MPQ7920_MASK_BUCK_ILIM 0xc0
51
#define MPQ7920_MASK_LDO_ILIM BIT(6)
52
#define MPQ7920_MASK_DISCHARGE BIT(5)
53
#define MPQ7920_MASK_MODE 0xc0
@@ -57,7 +56,7 @@
57
56
#define MPQ7920_MASK_DVS_SLEWRATE 0xc0
58
#define MPQ7920_MASK_OVP 0x40
59
#define MPQ7920_OVP_DISABLE ~(0x40)
60
-#define MPQ7920_DISCHARGE_ON 0x1
+#define MPQ7920_DISCHARGE_ON BIT(5)
61
62
#define MPQ7920_REGULATOR_EN_OFFSET 7
63
0 commit comments