[PATCH V5 2/2] mfd: stmpe: Update DT support in stmpe driver

Lee Jones lee.jones at linaro.org
Thu Dec 6 22:33:51 EST 2012


On Thu, 06 Dec 2012, Viresh Kumar wrote:

> On 6 December 2012 16:42, Lee Jones <lee.jones at linaro.org> wrote:
> > I thought we'd be over this? The 'ID' will be represented by the
> > address of the chip i.e. stmpe1601 at 40, where '40' will be
> > distinguishing factor?
> 
> I haven't tested it but i thought we are getting i2c device name from
> modalias() fn running on "st,stmpe1601" and so would give us "stmpe1601".
> 
> Now, i went back to your earlier mail and checked device name:
> stmpe-i2c 0-0040: stmpe1601 detected, chip id: 0x212
> 
> It came from DT :)
> 
> So, probably no more issues of id's. Will resend my patch, after getting
> rid of tables.

Now we're talking!

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the devicetree-discuss mailing list