hi,
we are trying to use i2c5 device, added the below changes in dts, it is not creating i2c-5 device in i2c-dev, it is failing with “invalid proto 1” . please suggest.
arch/arm64/boot/dts/qcom/sdm845-db845c.dts
&i2c5 {
-
status = "okay";
-
clock-frequency = <400000>;
};
+
+};
+&qup_i2c5_default {
-
pinconf {
-
pins = "gpio85", "gpio86";
-
drive-strength = <2>;
-
bias-disable;
-
};
+};
root@linaro-alip:~# dmesg | grep i2c
[ 3.220593] i2c /dev entries driver
[ 5.242352] geni_i2c 894000.i2c: Invalid proto 1
[ 5.248903] geni_i2c a8c000.i2c: Bus frequency not specified, default to 100kHz.
[ 5.258345] geni_i2c a8c000.i2c: Invalid proto 1
[ 5.263640] geni_i2c a98000.i2c: Bus frequency not specified, default to 100kHz.
root@linaro-alip:/sys/class/i2c-dev# ls
i2c-10 i2c-14/
regards,
vinaysimha