]> git.baikalelectronics.ru Git - uboot.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)
commit94b97ea5a677f424284dc80a41bce79a6e9728b7
treea4b6db18b97dc05790cd228d3e95ac58ac49cac4
parent61c91f4469b8b441e1c3294122a6f53e63f56122
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