2017-11-06 15:03:28

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v4] i2c: aspeed: Deassert reset in probe

On Sun, Nov 5, 2017 at 6:49 AM, Wolfram Sang <[email protected]> wrote:
> On Wed, Nov 01, 2017 at 10:53:30AM +1030, Joel Stanley wrote:
>> 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 <[email protected]>
>> ---
>> v4:
>> - Make reset required and update device tree bindings
>
> For that change, I'd like to have an ack from Rob first. Won't that
> cause problems when you update only the kernel and keep the "old"
> devicetree?

Given it didn't really work as explained above, I'm okay with the change.

Acked-by: Rob Herring <[email protected]>

From 1583278972683561009@xxx Mon Nov 06 01:41:31 +0000 2017
X-GM-THRID: 1582821193795495794
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread