File Index
Files and directories
Sign in
FILE

tsd,mule-i2c-mux.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/i2c/tsd,mule-i2c-mux.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/i2c/tsd,mule-i2c-mux.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Theobroma Systems Mule I2C multiplexer
 8
 9maintainers:
10  - Farouk Bouabid <farouk.bouabid@cherry.de>
11  - Quentin Schulz <quentin.schulz@cherry.de>
12
13description: |
14  Theobroma Systems Mule is an MCU that emulates a set of I2C devices, among
15  which devices that are reachable through an I2C-mux. The devices on the mux
16  can be selected by writing the appropriate device number to an I2C config
17  register.
18
19      +--------------------------------------------------+
20      | Mule                                             |
21  0x18|    +---------------+                             |
22  -------->|Config register|----+                        |
23      |    +---------------+    |                        |
24      |                         V_                       |
25      |                        |  \          +--------+  |
26      |                        |   \-------->| dev #0 |  |
27      |                        |   |         +--------+  |
28  0x6f|                        | M |-------->| dev #1 |  |
29  ---------------------------->| U |         +--------+  |
30      |                        | X |-------->| dev #2 |  |
31      |                        |   |         +--------+  |
32      |                        |   /-------->| dev #3 |  |
33      |                        |__/          +--------+  |
34      +--------------------------------------------------+
35
36allOf:
37  - $ref: /schemas/i2c/i2c-mux.yaml#
38
39properties:
40  compatible:
41    const: tsd,mule-i2c-mux
42
43required:
44  - compatible
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    i2c-mux {
51        compatible = "tsd,mule-i2c-mux";
52        #address-cells = <1>;
53        #size-cells = <0>;
54
55        i2c@0 {
56            reg = <0x0>;
57            #address-cells = <1>;
58            #size-cells = <0>;
59
60            rtc@6f {
61                compatible = "isil,isl1208";
62                reg = <0x6f>;
63            };
64        };
65    };
66...
67
~/ Read-only file preview.