diff options
author | Joel Stanley <joel@jms.id.au> | 2017-11-01 01:23:30 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-11-06 19:15:31 +0100 |
commit | edd20e95bca4a5434f264d8ab40d729761479825 (patch) | |
tree | 0aec602dedb9c1c42ba9cb7cf838b065a8076d7e /arch/arm/mach-sa1100 | |
parent | eeprom: at24: Add OF device ID table (diff) | |
download | linux-edd20e95bca4a5434f264d8ab40d729761479825.tar.xz linux-edd20e95bca4a5434f264d8ab40d729761479825.zip |
i2c: aspeed: Deassert reset in probe
In order to use i2c from a cold boot, the i2c peripheral must be taken
out of reset. We request a shared reset controller each time a bus
driver is loaded, as the reset is shared between the 14 i2c buses.
On remove the reset is asserted, which only touches the hardware once
the last i2c bus is removed.
The reset is required as the I2C buses will not work without releasing
the reset. Previously the driver only worked with out of tree hacks
that released this reset before the driver was loaded. Update the
device tree bindings to reflect this.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/arm/mach-sa1100')
0 files changed, 0 insertions, 0 deletions