mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
remote: fix compatibility issue for RC5 protocol [1/1]
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>
This commit is contained in:
@@ -108,9 +108,9 @@ static struct remote_reg_map regs_default_rc5[] = {
|
||||
/*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}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user