|
@@ -20,13 +20,6 @@
|
|
|
struct regmap;
|
|
|
struct reset_controller_dev;
|
|
|
|
|
|
-/* Powerdomain allowable state bitfields */
|
|
|
-#define PWRSTS_OFF BIT(0)
|
|
|
-#define PWRSTS_RET BIT(1)
|
|
|
-#define PWRSTS_ON BIT(2)
|
|
|
-#define PWRSTS_OFF_ON (PWRSTS_OFF | PWRSTS_ON)
|
|
|
-#define PWRSTS_RET_ON (PWRSTS_RET | PWRSTS_ON)
|
|
|
-
|
|
|
/**
|
|
|
* struct gdsc - Globally Distributed Switch Controller
|
|
|
* @pd: generic power domain
|
|
@@ -49,6 +42,14 @@ struct gdsc {
|
|
|
unsigned int *cxcs;
|
|
|
unsigned int cxc_count;
|
|
|
const u8 pwrsts;
|
|
|
+/* Powerdomain allowable state bitfields */
|
|
|
+#define PWRSTS_OFF BIT(0)
|
|
|
+#define PWRSTS_RET BIT(1)
|
|
|
+#define PWRSTS_ON BIT(2)
|
|
|
+#define PWRSTS_OFF_ON (PWRSTS_OFF | PWRSTS_ON)
|
|
|
+#define PWRSTS_RET_ON (PWRSTS_RET | PWRSTS_ON)
|
|
|
+ const u8 flags;
|
|
|
+#define VOTABLE BIT(0)
|
|
|
struct reset_controller_dev *rcdev;
|
|
|
unsigned int *resets;
|
|
|
unsigned int reset_count;
|