commit | 6ac5909f51fb4e50604f1a89d0535aefcc51f476 | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <ley.foon.tan@intel.com> | Fri Sep 07 14:25:29 2018 +0800 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Tue Oct 02 22:13:58 2018 +0530 |
tree | f313cc5a30840777da11ff1e4f00bb825215e637 | |
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>