Commit 84fc1b2
committed
mmc: sdhci-of-at91: add hw_reset callback
Add hardware reset callback that can reset an eMMC.
This is only used in combination with specific DT property cap-mmc-hw-reset.
It uses the MC1R register to enable and disable the reset pin.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>1 parent 295b593 commit 84fc1b2
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
156 | 175 | | |
157 | 176 | | |
158 | 177 | | |
159 | 178 | | |
160 | 179 | | |
161 | 180 | | |
| 181 | + | |
162 | 182 | | |
163 | 183 | | |
164 | 184 | | |
| |||
0 commit comments