]> git.baikalelectronics.ru Git - uboot.git/commit
reset/aspeed: Implement status callback
authorJoel Stanley <joel@jms.id.au>
Thu, 23 Jun 2022 05:10:37 +0000 (14:40 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
commit61c91f4469b8b441e1c3294122a6f53e63f56122
treefc32a1e14a9a0c1f437ec9b075b522a2fa02a7b0
parent84bdd75d53d46731ae06bc956767c2c9c2559077
reset/aspeed: Implement status callback

The I2C driver shares a reset line between buses, so allow it to test
the state of the reset line before resetting it.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
drivers/reset/reset-ast2500.c
drivers/reset/reset-ast2600.c