WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / unittest.txt
blob9a5b311f44342079d73ab7b5a4881d2d8c706c59
1 1) OF unittest platform device
3 ** unittest
5 Required properties:
6 - compatible: must be "unittest"
8 All other properties are optional.
10 Example:
11         unittest {
12                 compatible = "unittest";
13         };
15 2) OF unittest i2c adapter platform device
17 ** platform device unittest adapter
19 Required properties:
20 - compatible: must be unittest-i2c-bus
22 Children nodes contain unittest i2c devices.
24 Example:
25         unittest-i2c-bus {
26                 compatible = "unittest-i2c-bus";
27         };
29 3) OF unittest i2c device
31 ** I2C unittest device
33 Required properties:
34 - compatible: must be unittest-i2c-dev
36 All other properties are optional
38 Example:
39         unittest-i2c-dev {
40                 compatible = "unittest-i2c-dev";
41         };
43 4) OF unittest i2c mux device
45 ** I2C unittest mux
47 Required properties:
48 - compatible: must be unittest-i2c-mux
50 Children nodes contain unittest i2c bus nodes per channel.
52 Example:
53         unittest-i2c-mux {
54                 compatible = "unittest-i2c-mux";
55                 #address-cells = <1>;
56                 #size-cells = <0>;
57                 channel-0 {
58                         reg = <0>;
59                         #address-cells = <1>;
60                         #size-cells = <0>;
61                         i2c-dev {
62                                 reg = <8>;
63                                 compatible = "unittest-i2c-dev";
64                         };
65                 };
66         };