2015-03-11 11:36:54 +03:00
1) OF unittest platform device
2014-10-28 23:35:59 +03:00
2015-03-11 11:36:54 +03:00
** unittest
2014-10-28 23:35:59 +03:00
Required properties:
2015-03-11 11:36:54 +03:00
- compatible: must be "unittest"
2014-10-28 23:35:59 +03:00
All other properties are optional.
Example:
2015-03-11 11:36:54 +03:00
unittest {
compatible = "unittest";
2014-10-28 23:35:59 +03:00
};
2015-01-12 20:02:49 +03:00
2015-03-11 11:36:54 +03:00
2) OF unittest i2c adapter platform device
2015-01-12 20:02:49 +03:00
** platform device unittest adapter
Required properties:
2015-03-11 11:36:54 +03:00
- compatible: must be unittest-i2c-bus
2015-01-12 20:02:49 +03:00
2015-03-11 11:36:54 +03:00
Children nodes contain unittest i2c devices.
2015-01-12 20:02:49 +03:00
Example:
2015-03-11 11:36:54 +03:00
unittest-i2c-bus {
compatible = "unittest-i2c-bus";
2015-01-12 20:02:49 +03:00
};
2015-03-11 11:36:54 +03:00
3) OF unittest i2c device
2015-01-12 20:02:49 +03:00
2015-03-11 11:36:54 +03:00
** I2C unittest device
2015-01-12 20:02:49 +03:00
Required properties:
2015-03-11 11:36:54 +03:00
- compatible: must be unittest-i2c-dev
2015-01-12 20:02:49 +03:00
All other properties are optional
Example:
2015-03-11 11:36:54 +03:00
unittest-i2c-dev {
compatible = "unittest-i2c-dev";
2015-01-12 20:02:49 +03:00
};
2015-03-11 11:36:54 +03:00
4) OF unittest i2c mux device
2015-01-12 20:02:49 +03:00
2015-03-11 11:36:54 +03:00
** I2C unittest mux
2015-01-12 20:02:49 +03:00
Required properties:
2015-03-11 11:36:54 +03:00
- compatible: must be unittest-i2c-mux
2015-01-12 20:02:49 +03:00
2015-03-11 11:36:54 +03:00
Children nodes contain unittest i2c bus nodes per channel.
2015-01-12 20:02:49 +03:00
Example:
2015-03-11 11:36:54 +03:00
unittest-i2c-mux {
compatible = "unittest-i2c-mux";
2015-01-12 20:02:49 +03:00
#address-cells = <1>;
#size-cells = <0>;
channel-0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
i2c-dev {
reg = <8>;
2015-03-11 11:36:54 +03:00
compatible = "unittest-i2c-dev";
2015-01-12 20:02:49 +03:00
};
};
};