Lines Matching +full:remote +full:- +full:bus

1 Pinctrl-based I2C Bus DeMux
3 This binding describes an I2C bus demultiplexer that uses pin multiplexing to
10 +-------------------------------+
12 | | +-----+ +-----+
13 | +------------+ | | dev | | dev |
14 | |I2C IP Core1|--\ | +-----+ +-----+
15 | +------------+ \-------+ | | |
16 | |Pinctrl|--|------+--------+
17 | +------------+ +-------+ |
18 | |I2C IP Core2|--/ |
19 | +------------+ |
21 +-------------------------------+
24 - compatible: "i2c-demux-pinctrl"
25 - i2c-parent: List of phandles of I2C masters available for selection. The first
27 - i2c-bus-name: The name of this bus. Also needed as pinctrl-name for the I2C
30 Furthermore, I2C mux properties and child nodes. See i2c-mux.txt in this
35 Here is a snipplet for a bus to be demuxed. It contains various i2c clients for
36 HDMI, so the bus is named "i2c-hdmi":
40 compatible = "i2c-demux-pinctrl";
41 i2c-parent = <&gpioi2c>, <&iic2>, <&i2c2>;
42 i2c-bus-name = "i2c-hdmi";
43 #address-cells = <1>;
44 #size-cells = <0>;
46 ak4643: sound-codec@12 {
47 compatible = "asahi-kasei,ak4643";
49 #sound-dai-cells = <0>;
53 composite-in@20 {
56 remote = <&vin1>;
60 bus-width = <8>;
61 remote-endpoint = <&vin1ep0>;
69 interrupt-parent = <&gpio1>;
72 adi,input-depth = <8>;
73 adi,input-colorspace = "rgb";
74 adi,input-clock = "1x";
75 adi,input-style = <1>;
76 adi,input-justification = "evenly";
79 #address-cells = <1>;
80 #size-cells = <0>;
85 remote-endpoint = <&du_out_lvds0>;
92 remote-endpoint = <&hdmi_con>;
99 And for clarification, here are the snipplets for the i2c-parents:
102 #address-cells = <1>;
103 #size-cells = <0>;
104 compatible = "i2c-gpio";
108 i2c-gpio,delay-us = <5>;
114 pinctrl-0 = <&i2c2_pins>;
115 pinctrl-names = "i2c-hdmi";
117 clock-frequency = <100000>;
123 pinctrl-0 = <&iic2_pins>;
124 pinctrl-names = "i2c-hdmi";
126 clock-frequency = <100000>;
131 - pinctrl properties for the parent I2C controllers need a pinctrl state
132 with the same name as i2c-bus-name, not "default"!
134 - the i2c masters must have their status "disabled". This driver will