PD#SWPL-6161
Problem:
partial ir-keys with RC5 can’t been decoded on some boards(Eg: TL1, TXLX)
Solution:
adjust the register to extend the detection range of half/whole bit
Verify:
test pass on TL1
Change-Id: I6ff0af79b3bf9f624c1f249f056b729df7b5dd0c
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
/*bit[0-3]: RC5; bit[8]: MSB first mode; bit[11]: compare frame method*/
{ REG_REG2, ((1 << 13) | (1 << 11) | (1 << 8) | 0x7)},
/*Half bit for RC5 format: 888.89us*/
- { REG_DURATN2, ((49 << 16) | (40 << 0))},
+ { REG_DURATN2, ((53 << 16) | (38 << 0))},
/*RC5 typically 1777.78us for whole bit*/
- { REG_DURATN3, ((94 << 16) | (83 << 0))},
+ { REG_DURATN3, ((99 << 16) | (81 << 0))},
{ REG_REG3, 0}
};