L4T 24.2.1 64bit kernel: in display controller TEGRA_DSI there is tegra_dc_out rotation property
How to add rotation to the DSI panel if tegra_dc_out does not function?
The display is by default in portrait mode, we need to rotate it to the landscape mode
There is an example of rotation made with tegra_dc_out in mach-tegra/panel-j-720p-5.c
Can we rotate any DSI panel with DT only
or do we need other changes?
The Tegra210 DSI documentation is sparse on this question, there is a mention of it in https://github.com/arter97/android_kernel_nvidia_shieldtablet/blob/master/Documentation/devicetree/bindings/video/nvidia,tegra210-dp.txt
Also, looking at the system there is /sys/devices/platform/host1x/tegradc.0/panel_rotation but it is apparently read-only property