Re: [RFC 4/4] ARM: shmobile: r8a7790: adapt DTS for I2C slave support

From: Wolfram Sang
Date: Fri Sep 12 2014 - 06:25:56 EST



> > DT pseudocode:
> >
> > i2c {
> > compatible = "nvidia, tegra-i2c";
> >
> > ec-slave@42 {
> > compatible = "nvidia, ax100-ec-slave";
> > reg = <0x42>;
> > };
> > };
>
> So distinguishing between drivers providing slave services (using slave
> mode) and drivers driving actual slave hardware (using master mode) is
> done based on the compatible-property.

We describe users of one specific I2C bus. And the drivers that go along
with them. No?

Attachment: signature.asc
Description: Digital signature