[RFC PATCH 1/1] i2c: acpi: scan ACPI enumerated I2C mux channels

2015-08-13 Thread Dustin Byford
Set an ACPI companion for I2C mux channels enumerated through ACPI and ensure they are scanned for devices. Signed-off-by: Dustin Byford --- drivers/i2c/i2c-core.c | 10 ++ drivers/i2c/i2c-mux.c | 8 2 files changed, 18 insertions(+) diff --git a/drivers/i2c/i2c-core.c b/driv

[RFC PATCH 0/1] i2c: scan ACPI enumerated I2C mux channels

2015-08-13 Thread Dustin Byford
I would like to add support for scanning I2C devices connected to ACPI OF compatible muxes described in ASL like this: Device (MUX0) { Name (_ADR, 0x70) Name (_HID, "PRP0001") Name (_CRS, ResourceTemplate() { I2cSerialBus (0x70, ControllerInitiated, I2C_SPEED,

Re: [Patch v3] driver/i2c/mux: Add register-based mux i2c-mux-reg

2015-08-13 Thread York Sun
On 08/11/2015 06:35 PM, Wolfram Sang wrote: > >> Do I have to add myself to MAINTAINER file for this driver? > > Do you want to maintain this driver? > I prefer not, if that is OK. York -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majord

Re: [PATCH v3] i2c: omap: improve duty cycle on SCL

2015-08-13 Thread Felipe Balbi
On Fri, Jul 10, 2015 at 12:27:15PM -0500, Felipe Balbi wrote: > On Thu, Jul 09, 2015 at 09:42:41PM +0200, Wolfram Sang wrote: > > On Thu, Jun 18, 2015 at 12:25:58PM -0500, Felipe Balbi wrote: > > > On Thu, Jun 18, 2015 at 10:09:59AM +0200, Alexander Sverdlin wrote: > > > > Hello Felipe, > > > > >

Re: [PATCH] i2c: davinci: Fix bus rate calculation on Keystone SoC

2015-08-13 Thread Alexander Sverdlin
Hello Wolfram, On 12/08/15 10:43, ext Wolfram Sang wrote: >> > My opinion - it's time for compatible string :) "ti,keystone-i2c". >> > Especially taking int account two things: >> > 1) In Datasheet SPRS893B TCI6630K2L Multicore DSP+ARM KeyStone II >> > System-on-Chip (SoC) (Rev. E) >> >valu

Re: [Patch v2] i2c: imx: implement bus recovery

2015-08-13 Thread Uwe Kleine-König
Hello, On Fri, Jul 17, 2015 at 10:36:45AM +0800, Gao Pan wrote: > Implement bus recovery methods for i2c-imx so we can recover from > situations where SCL/SDA are stuck low. > > Once i2c bus SCL/SDA are stuck low during transfer, config the i2c > pinctrl to gpio mode by calling pinctrl sleep set