Skip to content
Snippets Groups Projects
Commit 622597de authored by Dinh Nguyen's avatar Dinh Nguyen Committed by Marek Vasut
Browse files

i2c: designware: add reset ctrl to driver


Add code to look for a reset manager property. Specifically, look for the
reset-names of 'i2c'. 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.

Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 449ff9c4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment