Skip to content
Commit 6ac5909f authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Jagan Teki
Browse files

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: default avatarLey Foon Tan <ley.foon.tan@intel.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarJagan Teki <jagan@openedev.com>
parent 938db6fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment