]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c/aspeed: Fix reset control
authorJoel Stanley <joel@jms.id.au>
Thu, 23 Jun 2022 05:10:38 +0000 (14:40 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
commit453fe1eece2c9358db3e5e28ff6ca1e9403e5b80
treea4b6db18b97dc05790cd228d3e95ac58ac49cac4
parent0a8bd97f883c554a4137b4f3a88d0d638c4d1b31
i2c/aspeed: Fix reset control

The reset control was written for the ast2500 and directly programs the
clocking register.

So we can share the code with other SoC generations use the reset device
to deassert the I2C reset line.

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