after I do this change:
--- a/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi
+++ b/hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi
@@ -90,6 +90,7 @@
/* This I2C (GEN2) is routed only to 40-pin hdr
* Not being used in Jakku CVM/CVB/Porg-base-board
* it seems "ucsi_ccg" for USB-TypeC which is not supported by Jakku */
+ status = "okay";
bmi160@69 {
compatible = "bmi,bmi160";
reg = <0x69>;
@@ -101,6 +102,21 @@
gyroscope_delay_us_min = <1250>;
status = "disabled";
};
+ i2c_gpio0: tca9554@38 {
+ compatible = "ti,tca9554";
+ reg = <0x38>;
+ status = "okay";
+ #gpio-cells = <2>;
+ //gpio-controller;
+ };
+ i2c_gpio1: tca9554@3c {
+ compatible = "ti,tca9554";
+ reg = <0x3c>;
+ status = "okay";
+ #gpio-cells = <2>;
+ //gpio-controller;
+ };
+
};
The system repeated restart and Cannot enter.
here is the log
反复重启无法进系统.log (118.0 KB)
And sometime I success ENTER in the system, I found that error:
cat /sys/kernel/debug/gpio
[ 395.740838] tegra-i2c c240000.i2c: pio timed out addr: 0x3c tlen:28 rlen:4
[ 395.741085] tegra-i2c c240000.i2c: --- register dump for debugging ----
[ 395.741300] tegra-i2c c240000.i2c: I2C_CNFG - 0x22c00
[ 395.741409] tegra-i2c c240000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 395.741540] tegra-i2c c240000.i2c: I2C_FIFO_CONTROL - 0x0
[ 395.741709] tegra-i2c c240000.i2c: I2C_FIFO_STATUS - 0x800080
[ 395.741835] tegra-i2c c240000.i2c: I2C_MST_FIFO_CONTROL - 0x70000
[ 395.741955] tegra-i2c c240000.i2c: I2C_MST_FIFO_STATUS - 0x7c0000
[ 395.742075] tegra-i2c c240000.i2c: I2C_MST_PACKET_TRANSFER_CNT - 0x0
[ 395.742201] tegra-i2c c240000.i2c: I2C_INT_MASK - 0x7d
[ 395.742343] tegra-i2c c240000.i2c: I2C_INT_STATUS - 0x2
[ 395.742458] tegra-i2c c240000.i2c: i2c transfer timed out addr: 0x3c
[ 395.742884] pca953x 1-003c: failed reading register
[ 405.980673] tegra-i2c c240000.i2c: pio timed out addr: 0x3c tlen:28 rlen:4
[ 405.980907] tegra-i2c c240000.i2c: --- register dump for debugging ----
[ 405.981121] tegra-i2c c240000.i2c: I2C_CNFG - 0x22c00
[ 405.981232] tegra-i2c c240000.i2c: I2C_PACKET_TRANSFER_STATUS - 0x10001
[ 405.981383] tegra-i2c c240000.i2c: I2C_FIFO_CONTROL - 0x0
[ 405.981560] tegra-i2c c240000.i2c: I2C_FIFO_STATUS - 0x800080
[ 405.981673] tegra-i2c c240000.i2c: I2C_MST_FIFO_CONTROL - 0x70000
[ 405.981795] tegra-i2c c240000.i2c: I2C_MST_FIFO_STATUS - 0x7c0000
[ 405.981917] tegra-i2c c240000.i2c: I2C_MST_PACKET_TRANSFER_CNT - 0x0
[ 405.982090] tegra-i2c c240000.i2c: I2C_INT_MASK - 0x7d
[ 405.982214] tegra-i2c c240000.i2c: I2C_INT_STATUS - 0x2
[ 405.982333] tegra-i2c c240000.i2c: i2c transfer timed out addr: 0x3c
[ 405.982733] pca953x 1-003c: failed reading register