Hi
On 07/14/2016 04:36 PM, Wolfram Sang wrote:
On Mon, Jun 06, 2016 at 02:26:23PM +0300, Jarkko Nikula wrote:
Fast mode is the default speed of i2c-designware which can be overridden
by platform data or by "clock-frequency" device property. Even though
the ACPI 5.1 can pass device properties via _DSD method, shipping systems
define the connection speed between I2C host and each slave in their
I2cSerialBus resources. Which means speed is not defined per bus but per
slave.
As there is now support in i2c-core to find the bus speed from ACPI use
that to set up the bus speed prior registering the I2C adapter.
Signed-off-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>
I can't apply this one? Neither on v4.6, v4.7-rc1 or on i2c/for-next?
Sorry the delay, I was on vacation.
This one was dependent on Weifeng's fast mode + and high speed set while
the patches 1-2/3 conflicted with Octavian's set I guess.
Weifeng's set appears to apply by resolving a single line. But since we
both need to resend anyway maybe it's easier for you if we post our sets
together after I resolve conflicts in my patches and do some testing?
--
Jarkko
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html