Unable to create Node for CAMI2C_BUS

Hi ,
i am trying to access CAM_I2C_BUS and trying to load NXP mux driver but i am unable to do it.

Please see the used configuration.
i2c@3180000{
i2cswitch@71 {
compatible = “nxp,pca9546”;
reg = <0x71>;
#address-cells = <0x1>;
#size-cells = <0x0>;
vcc-pullup-supply = <0x1e>;
status = “okay”;
vcc-supply = <0x1e>;
skip_mux_detect;
force_bus_start = <ACC_I2C_MUX_BUS(9)>;
i2c-mux-idle-disconnect;

}

can anyone please help me on this.

hello kathiravan,

please see-also reference camera device tree for using cam_i2cmux.
for example,
$public_sources/kernel_src/hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-porg-camera-rbpcv2-dual-imx219.dtsi

        cam_i2cmux {
                compatible = "i2c-mux-gpio";
                mux-gpios = <&gpio CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
                i2c-parent = <&i2c7>;
                i2c@0 {
                        rbpcv2_imx219_a@10 {
                i2c@1 {
                        rbpcv2_imx219_e@10 {

you may see-also similar topic for reference, i.e. Topic 192486.
thanks

@JerryChang thanks , currently i am able to configure the I2CBUS with your info

:)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.