diff options
author | Josh Wu <josh.wu@atmel.com> | 2015-07-20 11:32:05 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-07-20 18:12:09 +0200 |
commit | 1ae25d626cfe7e11adc2c3e71d0de1f882954ef3 (patch) | |
tree | 175a6947732fc24b64cbf9d1c1919adfadb36ede /drivers/spi/spi-cadence.c | |
parent | power_supply: Drop owner assignment from i2c_driver (diff) | |
download | linux-1ae25d626cfe7e11adc2c3e71d0de1f882954ef3.tar.xz linux-1ae25d626cfe7e11adc2c3e71d0de1f882954ef3.zip |
power: reset: at91: add sama5d3 reset function
This patch introduces a new compatible string: "atmel,sama5d3-rstc" and
new reset function for sama5d3 and later chips.
As in sama5d3 or later chips, we don't have to shutdown the DDR
controller before reset. Shutdown the DDR controller before reset is a
workaround to avoid DDR signal driving the bus, but since sama5d3 and
later chips there is no such a conflict.
So in this patch:
1. the sama5d3 reset function only need to write the rstc register
and return.
2. we can remove the code related with sama5d3 DDR controller as
we don't use it at all.
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/spi/spi-cadence.c')
0 files changed, 0 insertions, 0 deletions