Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-05 Thread Wolfram Sang
> > Tomeu from Collabora is working on some better scheme to optimize device > > probing order but it looks like this may be a bit off still. ... > I don't just talk about touch screen driver, most i2c device driver such > as input sensor/camera/rtc/battery will suffer. So people will see their

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-05 Thread Huang, Tao
Hi, Heiko: On 2016年01月05日 16:00, Heiko Stuebner wrote: > Hi Tao, > > Am Dienstag, 5. Januar 2016, 15:42:32 schrieb Huang, Tao: >> I don't think this is a good idea. This will trigger a lots of init call >> failed. Before pmic init, all i2c device driver transmit will failed, >> and because i2c i

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-05 Thread Heiko Stuebner
Hi Tao, Am Dienstag, 5. Januar 2016, 15:42:32 schrieb Huang, Tao: > On 2016年01月05日 15:02, Heiko Stuebner wrote: > > Hi Jianqun, > > > > Am Dienstag, 5. Januar 2016, 11:02:18 schrieb jianqun.xu: > >> From: Xu Jianqun > >> > >> There is a requirement from pmic device, which is on the i2c bus, > >

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-04 Thread Jianqun Xu
Hi Heiko: 在 05/01/2016 15:02, Heiko Stuebner 写道: Hi Jianqun, Am Dienstag, 5. Januar 2016, 11:02:18 schrieb jianqun.xu: From: Xu Jianqun There is a requirement from pmic device, which is on the i2c bus, that the pmic needs to be called earlier then devices powered by the outputs of the pmic,

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-04 Thread Huang, Tao
Hi, Heiko: On 2016年01月05日 15:02, Heiko Stuebner wrote: > Hi Jianqun, > > Am Dienstag, 5. Januar 2016, 11:02:18 schrieb jianqun.xu: >> From: Xu Jianqun >> >> There is a requirement from pmic device, which is on the i2c bus, >> that the pmic needs to be called earlier then devices powered by >> th

Re: [PATCH] i2c: rk3x: init module as subsys call

2016-01-04 Thread Heiko Stuebner
Hi Jianqun, Am Dienstag, 5. Januar 2016, 11:02:18 schrieb jianqun.xu: > From: Xu Jianqun > > There is a requirement from pmic device, which is on the i2c bus, > that the pmic needs to be called earlier then devices powered by > the outputs of the pmic, if not, the devices maybe fail to probe. >

[PATCH] i2c: rk3x: init module as subsys call

2016-01-04 Thread jianqun.xu
From: Xu Jianqun There is a requirement from pmic device, which is on the i2c bus, that the pmic needs to be called earlier then devices powered by the outputs of the pmic, if not, the devices maybe fail to probe. For example, a pmic on i2c0, and touchscreen device on i2c2, i2c0: - pmic(rk818) i