Jetson tx2 mipi read reg fail

Sorry for late reply.

I just checked with internal team for your questions.

  1. For the TRM issue, please refer to the code of “get_byte_offset” in dsi.c. This function is used in dsi_readl and writel. Because dsi.c driver is shared between TX1 and TX2, this “get_byte_offset” would help handle the difference between two platforms.

However, it also generates the problem you have here. That is, if you want to do the power control, you should still write “0xb” in your code instead of “0xc” even though TRM says 0xc is the correct offset. The driver would help you automatically +1 the input and become what you want.

  1. DSI soft_reset only resets the Tegra-DSI controller internal logic. This is completely transparent to the external display panel. So panel status is not impacted with this.