Analysis from Jayarami:--
Below are the PRCMU registers values for DSI clock settings when clock framework is enabled and disabled. DSI Clock values are not set correctly in PRCMU registers by clock framework when DSI clock framework is enabled. I had checked the source/patches in IK3.3 from display side related to the DSI clock framework and seems Ok. Need to be checked with PRCMU experts
PRCMU register Values for DSI clock setting
=================================
HDMI Working scenario (When DSI clock framework is disabled):
=================================================
root@android:/data/tools # chmod 777 devmem2
root@android:/data/tools # ./devmem2 0x80157058
/dev/mem opened.
Memory mapped at address 0xb6ff1000.
Value at address 0x80157058 (0xb6ff1058): 0x18C
root@android:/data/tools # ./devmem2 0x8015707c
/dev/mem opened.
Memory mapped at address 0xb6f14000.
Value at address 0x8015707C (0xb6f1407c): 0xF00
root@android:/data/tools # ./devmem2 0x80157500
/dev/mem opened.
Memory mapped at address 0xb6f32000.
Value at address 0x80157500 (0xb6f32500): 0x40165
root@android:/data/tools # ./devmem2 0x80157530
/dev/mem opened.
Memory mapped at address 0xb6f25000.
Value at address 0x80157530 (0xb6f25530): 0x202
root@android:/data/tools # ./devmem2 0x8015752C
/dev/mem opened.
Memory mapped at address 0xb6f60000.
Value at address 0x8015752C (0xb6f6052c): 0x7030101
root@android:/data/tools #
HDMI NOT Working scenario (When DSI clock framework is enabled):
=================================================
root@android:/data/tools # ./devmem2 0x80157058
/dev/mem opened.
Memory mapped at address 0xb6f6f000.
Value at address 0x80157058 (0xb6f6f058): 0x6
root@android:/data/tools # ./devmem2 0x8015707c
/dev/mem opened.
Memory mapped at address 0xb6fb0000.
Value at address 0x8015707 (0xb6fb007c): 0x700
root@android:/data/tools # ./devmem2 0x80157500
/dev/mem opened.
Memory mapped at address 0xb6fa0000.
Value at address 0x8015750 (0xb6fa0500): 0x40169
root@android:/data/tools # ./devmem2 0x80157530
/dev/mem opened.
Memory mapped at address 0xb6f19000.
Value at address 0x80157530 (0xb6f19530): 0x202
root@android:/data/tools # ./devmem2 0x8015752C
/dev/mem opened.
Memory mapped at address 0xb6ffe000.
Value at address 0x8015752 (0xb6ffe52c): 0x7020101
Analysis from Jayarami:--
Below are the PRCMU registers values for DSI clock settings when clock framework is enabled and disabled. DSI Clock values are not set correctly in PRCMU registers by clock framework when DSI clock framework is enabled. I had checked the source/patches in IK3.3 from display side related to the DSI clock framework and seems Ok. Need to be checked with PRCMU experts
PRCMU register Values for DSI clock setting ======= ======= ======= =====
=======
HDMI Working scenario (When DSI clock framework is disabled): ======= ======= ======= ======= ======= ======= /data/tools # chmod 777 devmem2 /data/tools # ./devmem2 0x80157058
=======
root@android:
root@android:
/dev/mem opened.
Memory mapped at address 0xb6ff1000.
Value at address 0x80157058 (0xb6ff1058): 0x18C
root@android: /data/tools # ./devmem2 0x8015707c
/dev/mem opened.
Memory mapped at address 0xb6f14000.
Value at address 0x8015707C (0xb6f1407c): 0xF00
root@android: /data/tools # ./devmem2 0x80157500
/dev/mem opened.
Memory mapped at address 0xb6f32000.
Value at address 0x80157500 (0xb6f32500): 0x40165
root@android: /data/tools # ./devmem2 0x80157530
/dev/mem opened.
Memory mapped at address 0xb6f25000.
Value at address 0x80157530 (0xb6f25530): 0x202
root@android: /data/tools # ./devmem2 0x8015752C /data/tools #
/dev/mem opened.
Memory mapped at address 0xb6f60000.
Value at address 0x8015752C (0xb6f6052c): 0x7030101
root@android:
HDMI NOT Working scenario (When DSI clock framework is enabled): ======= ======= ======= ======= ======= =======
=======
root@android: /data/tools # ./devmem2 0x80157058
/dev/mem opened.
Memory mapped at address 0xb6f6f000.
Value at address 0x80157058 (0xb6f6f058): 0x6
root@android: /data/tools # ./devmem2 0x8015707c
/dev/mem opened.
Memory mapped at address 0xb6fb0000.
Value at address 0x8015707 (0xb6fb007c): 0x700
root@android: /data/tools # ./devmem2 0x80157500
/dev/mem opened.
Memory mapped at address 0xb6fa0000.
Value at address 0x8015750 (0xb6fa0500): 0x40169
root@android: /data/tools # ./devmem2 0x80157530
/dev/mem opened.
Memory mapped at address 0xb6f19000.
Value at address 0x80157530 (0xb6f19530): 0x202
root@android: /data/tools # ./devmem2 0x8015752C
/dev/mem opened.
Memory mapped at address 0xb6ffe000.
Value at address 0x8015752 (0xb6ffe52c): 0x7020101