commit | fc3382d011c8fdfe8275e69d864b0ac0fa79250e | [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 | 007dddc337cf0ba3b73dc026be0a3a6d4c359e89 [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>