I2C4(dp_aux_ch1) on Xavier is a display port controlled by display drivers for DP/HDMI usage. To convert this into a general purpose I2C, we need below DT overrides in platform DT.
i2c@3190000 {
pinctrl-names = "default";
pinctrl-0 = <&dpaux_default>;
};
host1x@13e00000 {
dpaux@155D0000 {
status = "okay";
compatible = "nvidia,tegra194-dpaux1-padctl";
#if LINUX_VERSION <= 419
/delete-property/ power-domains;
#endif
dpaux_default: pinmux@0 {
dpaux1_pins {
pins = "dpaux1-1";
function = "i2c";
};
};
};
};