Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

Interfacing (DSI, CSI, I2C, etc.) • Re: PI CM5,SDA0/SCL0

$
0
0
It is understood that you want to enable I2C-10.

What do you want to use it for? Your fragment disables it so is of little help.

Here is an example which connects an I2C GPIO expander to I2C-10

Code:

/* PCA9538 GPIO expander, address 0x73 */fragment@0 {target = <&i2c_csi_dsi>;__overlay__ {#address-cells = <1>;#size-cells = <0>;status = "okay";pca: pca@73 {compatible = "nxp,pca9538";reg = <0x73>;gpio-controller;#gpio-cells = <2>;status = "okay";};};};
Thanks for the reply. I'm debugging a touch - chip that is connected to I2C0. Currently, using the i2cdetect tool, I can't detect the touch - chip. When I try to connect the touch - chip to other I2C buses, it can be detected. So I suspect that I2C0 is occupied by MIPI.

Statistics: Posted by xuel — Thu May 15, 2025 6:59 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles