summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/power/pca9450.h7
-rw-r--r--include/power/tps65910_pmic.h2
2 files changed, 8 insertions, 1 deletions
diff --git a/include/power/pca9450.h b/include/power/pca9450.h
index e5ab09fb8c8..41b7f95c034 100644
--- a/include/power/pca9450.h
+++ b/include/power/pca9450.h
@@ -75,4 +75,11 @@ enum {
#define PCA9450_PMIC_RESET_WDOG_B_CFG_WARM 0x40
#define PCA9450_PMIC_RESET_WDOG_B_CFG_COLD_LDO12 0x80
+#define PCA9450_PWRON_STAT_PWRON_MASK 0x80
+#define PCA9450_PWRON_STAT_WDOG_MASK 0x40
+#define PCA9450_PWRON_STAT_SW_RST_MASK 0x20
+#define PCA9450_PWRON_STAT_PMIC_RST_MASK 0x10
+
+#define PCA9450_SW_RST_COLD_RST 0x14
+
#endif
diff --git a/include/power/tps65910_pmic.h b/include/power/tps65910_pmic.h
index 2026ec2f426..8fa02f33ab1 100644
--- a/include/power/tps65910_pmic.h
+++ b/include/power/tps65910_pmic.h
@@ -123,7 +123,7 @@ enum {
/* platform data */
struct tps65910_regulator_pdata {
- u32 supply; /* regulator supply voltage in uV */
+ int supply; /* regulator supply voltage in uV */
uint unit; /* unit-address according to DT */
};