diff options
author | Joel Stanley | 2017-11-01 10:53:30 +1030 |
---|---|---|
committer | Wolfram Sang | 2017-11-06 19:15:31 +0100 |
commit | edd20e95bca4a5434f264d8ab40d729761479825 (patch) | |
tree | 0aec602dedb9c1c42ba9cb7cf838b065a8076d7e /drivers/i2c/muxes/i2c-mux-reg.c | |
parent | 7f2a2f0d0d66b2d834c793df45af3277bb5f10f4 (diff) |
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 'drivers/i2c/muxes/i2c-mux-reg.c')
0 files changed, 0 insertions, 0 deletions