diff options
-rw-r--r-- | drivers/power/reset/st-poweroff.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/drivers/power/reset/st-poweroff.c b/drivers/power/reset/st-poweroff.c index a488877a3538..2046b31232f7 100644 --- a/drivers/power/reset/st-poweroff.c +++ b/drivers/power/reset/st-poweroff.c | |||
@@ -28,28 +28,6 @@ struct reset_syscfg { | |||
28 | unsigned int mask_rst_msk; | 28 | unsigned int mask_rst_msk; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | /* STiH415 */ | ||
32 | #define STIH415_SYSCFG_11 0x2c | ||
33 | #define STIH415_SYSCFG_15 0x3c | ||
34 | |||
35 | static struct reset_syscfg stih415_reset = { | ||
36 | .offset_rst = STIH415_SYSCFG_11, | ||
37 | .mask_rst = BIT(0), | ||
38 | .offset_rst_msk = STIH415_SYSCFG_15, | ||
39 | .mask_rst_msk = BIT(0) | ||
40 | }; | ||
41 | |||
42 | /* STiH416 */ | ||
43 | #define STIH416_SYSCFG_500 0x7d0 | ||
44 | #define STIH416_SYSCFG_504 0x7e0 | ||
45 | |||
46 | static struct reset_syscfg stih416_reset = { | ||
47 | .offset_rst = STIH416_SYSCFG_500, | ||
48 | .mask_rst = BIT(0), | ||
49 | .offset_rst_msk = STIH416_SYSCFG_504, | ||
50 | .mask_rst_msk = BIT(0) | ||
51 | }; | ||
52 | |||
53 | /* STiH407 */ | 31 | /* STiH407 */ |
54 | #define STIH407_SYSCFG_4000 0x0 | 32 | #define STIH407_SYSCFG_4000 0x0 |
55 | #define STIH407_SYSCFG_4008 0x20 | 33 | #define STIH407_SYSCFG_4008 0x20 |
@@ -61,16 +39,6 @@ static struct reset_syscfg stih407_reset = { | |||
61 | .mask_rst_msk = BIT(0) | 39 | .mask_rst_msk = BIT(0) |
62 | }; | 40 | }; |
63 | 41 | ||
64 | /* STiD127 */ | ||
65 | #define STID127_SYSCFG_700 0x0 | ||
66 | #define STID127_SYSCFG_773 0x124 | ||
67 | |||
68 | static struct reset_syscfg stid127_reset = { | ||
69 | .offset_rst = STID127_SYSCFG_773, | ||
70 | .mask_rst = BIT(0), | ||
71 | .offset_rst_msk = STID127_SYSCFG_700, | ||
72 | .mask_rst_msk = BIT(8) | ||
73 | }; | ||
74 | 42 | ||
75 | static struct reset_syscfg *st_restart_syscfg; | 43 | static struct reset_syscfg *st_restart_syscfg; |
76 | 44 | ||
@@ -99,17 +67,8 @@ static struct notifier_block st_restart_nb = { | |||
99 | 67 | ||
100 | static const struct of_device_id st_reset_of_match[] = { | 68 | static const struct of_device_id st_reset_of_match[] = { |
101 | { | 69 | { |
102 | .compatible = "st,stih415-restart", | ||
103 | .data = (void *)&stih415_reset, | ||
104 | }, { | ||
105 | .compatible = "st,stih416-restart", | ||
106 | .data = (void *)&stih416_reset, | ||
107 | }, { | ||
108 | .compatible = "st,stih407-restart", | 70 | .compatible = "st,stih407-restart", |
109 | .data = (void *)&stih407_reset, | 71 | .data = (void *)&stih407_reset, |
110 | }, { | ||
111 | .compatible = "st,stid127-restart", | ||
112 | .data = (void *)&stid127_reset, | ||
113 | }, | 72 | }, |
114 | {} | 73 | {} |
115 | }; | 74 | }; |