On 11/03/16 19:46, Laurent Pinchart wrote: >> +Required properties: >> > + - compatible: "ti,tfp410" > The device is an I2C slave, it should have a reg property. Given that the chip > can be used without being controlled through I2C, the reg property should be > optional. You should document this clearly, and explain how the DT node can be > instantiated as a child of an I2C controller when the I2C interface is used, > or in other parts of the device tree otherwise. > Shouldn't I have two different compatible strings if want to make both platform driver probe and i2c client probe to work? Or can it be done with single compatible string? Would you know of an example of such a driver? Cheers, Jyri -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html