Hi All,
I am working on omappedia.org/wiki/PandaBoard_L27.12.1-P2_Release_Notes.
In this build I would like to read the INT_STS_A register, when ever I get an Irq, I tried to read the following way.
Case1:
#define INT_STS_A 0xD0
u8 myval;
err = twl_i2c_read_u8(TWL6030_MODULE_ID1, &myval, INT_STS_A);
this is always returning value 128.
I thought the way I am reading in wrong. But I could read the value of TWL6030_PWDNSTAT2 in the same way. Please help me where I am doing wrong.
Case2:
#define STS_HW_CONDITIONS 0x02
u8 value;
err = twl_i2c_read_u8(TWL4030_MODULE_PM_MASTER, &value, STS_HW_CONDITIONS);
With this I am able to read the status, and it is 34/35, In this case why I am getting HOT_DIE set.
Please help me in understanding the difference in Case1, Case2.
Thanks.