JiaZW
July 14, 2025, 8:06am
1
I have a driver and a dts here
When using the adapter board with the tca9548 chip, the driver probe is normal.
Now I need to delete the tca9548 dts configuration from dts.
(Because my other adapter board doesn’t have this chip.
But after I finished modifying the dts
Found that the driver cannot probe normally?
How should I modify it?
This is what I modified
JiaZW
July 14, 2025, 8:08am
2
dts:
i2c@3180000 {
// tca9548@70 {
i2c@0 {
csimx307_a@3b {
modules {
module0 {
badge = "csimx307_bottomleft_P5V27C";
position = "bottomleft";
orientation = "1";
drivernode0 {
pcl_id = "v4l2_sensor";
devname = "csimx307 2-003b";
//sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/tca9548@70/i2c@0/csimx307_a@3b";
sysfs-device-tree = "/sys/firmware/devicetree/base/bus@0/i2c@3180000/i2c@0/csimx307_a@3b";
overlay dts
i2c@3180000 {
//tca9548@70 {
/*
status = "okay";
compatible = "nxp,pca9548";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
skip_mux_detect;
*/
i2c@0 {
reg = <0>;
i2c-mux,deselect-on-exit;
#address-cells = <1>;
#size-cells = <0>;
csimx307_a@3b {
status = "okay";
clocks = <&bpmp TEGRA234_CLK_EXTPERIPH1>,
<&bpmp TEGRA234_CLK_PLLP_OUT0>;
clock-names = "extperiph1", "pllp_grtba";
mclk = "extperiph1";
clock-frequency = <24000000>;
//reset-gpios = <&tegra_main_gpio CAM0_RST_L GPIO_ACTIVE_HIGH>;
//pwdn-gpios = <&tegra_main_gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
ports {
status = "okay";
port@0 {
status = "okay";
endpoint {
status = "okay";
};
};
};
};
};
//};
};
};
Suppose need to remove the i2c@0 also.
And the compatible = “nxp,pca9548” section.
JiaZW:
// tca9548@70 {
i2c@0 {
JiaZW
July 16, 2025, 7:27am
5
need to add " compatible = “nxp,pca9548”" ??