J784S4XEVM: I2C Configuration Get

Part Number: J784S4XEVM

Tool/software:

Hello

We are trying to read the I2c Configuration register(Listed Below) using devmem2

Bus

I2C_PSC

I2C_SCLL

I2C_SCLH

WKUP_I2C0

0x421200B0

0x421200B4

0x421200B8

I2C0

0x020000B0

0x020000B4

0x020000B8

I2C1

0x020100B0

0x020100B4

0x020100B8

I2C3

0x0203 00B0

0x020300B4

0x020300B8

MCU_I2C0

0x40B0 00B0

0x40B000B4

0x40B000B8

MCU_I2C1

0x40B1 00B0

0x40B100B4

0x40B100B8

We cannot able to read the register high lighted in Red. added the Error log during the read operation.

root@j784s4-evm:~# devmem2 0x020300B0
/dev/mem opened.
[  262.587319] SError Interrupt on CPU7, code 0x00000000bf000000 -- SError
[  262.587330] CPU: 7 PID: 1009 Comm: devmem2 Not tainted 6.1.80-00004-g1800603e29ef-dirty #18
[  262.587334] Hardware name: ****************
[  262.587336] pstate: 40000000 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  262.587340] pc : 0000ffff9db89c68
[  262.587342] lr : 0000ffff9db8bed0
[  262.587343] sp : 0000ffffd4b879b0
[  262.587344] x29: 0000ffffd4b879b0 x28: 0000000000000000 x27: 0000000000412000
[  262.587350] x26: 0000ffff9dbad0b0 x25: 0000ffffd4b87d78 x24: 0000ffffd4b87b80
[  262.587355] x23: 0000000000000003 x22: 0000000000000002 x21: 0000000000000048
[  262.587359] x20: 0000ffff9dbb6360 x19: 0000000000412018 x18: 0000000000000000
[  262.587364] x17: 0000ffff9db8be88 x16: 0000000000411ff8 x15: 0000000000000001
[  262.587368] x14: 0000000000000001 x13: 2073736572646461 x12: 0000ffff9dbad000
[  262.587372] x11: 000000000000000e x10: 000000000000000a x9 : 0000ffffd4b879f4
[  262.587376] x8 : 0000000000000040 x7 : 3030306461626439 x6 : 0000000000400358
[  262.587380] x5 : 0000000000000000 x4 : 0000000000411f68 x3 : 0000000000000000
[  262.587384] x2 : 00000000004003b8 x1 : 0000000000000008 x0 : 0000000000400550
[  262.587390] Kernel panic - not syncing: Asynchronous SError Interrupt
[  262.587392] CPU: 7 PID: 1009 Comm: devmem2 Not tainted 6.1.80-00004-g1800603e29ef-dirty #18
[  262.587395] Hardware name: ***************
[  262.587397] Call trace:
[  262.587399]  dump_backtrace.part.0+0xdc/0xf0
[  262.587415]  show_stack+0x18/0x30
[  262.587419]  dump_stack_lvl+0x68/0x84
[  262.587424]  dump_stack+0x18/0x34
[  262.587427]  panic+0x188/0x348
[  262.587433]  nmi_panic+0xac/0xb0
[  262.587438]  arm64_serror_panic+0x6c/0x7c
[  262.587443]  do_serror+0x58/0x5c
[  262.587447]  __el0_error_handler_common+0x40/0xa4
[  262.587451]  el0t_64_error_handler+0x10/0x20
[  262.587455]  el0t_64_error+0x18c/0x190
[  262.587458] SMP: stopping secondary CPUs
[  262.587464] Kernel Offset: disabled
[  262.587465] CPU features: 0x40000,20028084,0000420b
[  262.587468] Memory Limit: none
[  262.773881] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---