diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2018-09-07 14:25:29 +0800 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-10-02 22:13:58 +0530 |
commit | 6ac5909f51fb4e50604f1a89d0535aefcc51f476 (patch) | |
tree | f313cc5a30840777da11ff1e4f00bb825215e637 /test | |
parent | 938db6fe5da3581ed2c17d64c7e016a7a8df5237 (diff) |
spi: designware_spi: Add reset ctrl to driver
Add code to reset all reset signals as in SPI DT node. A reset property
is an optional feature, so only print out a warning and do not fail if a
reset property is not present.
If a reset property is discovered, then use it to deassert, thus
bringing the IP out of reset.
Release reset when _remove().
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions