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

Wolfram Sang
2014-09-12T10:25:54Z

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

> > 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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]