Add img-ir module for decoding Philips rc6 protocol.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/Kconfig |8 +++
drivers/media/rc/img-ir/Makefile |1 +
drivers/media/rc/img-ir/img-ir-hw.c |3 +
drivers/media/rc/img-ir/img-ir-hw.h |1
Add img-ir module for decoding Philips rc5 protocol.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/Kconfig |7 +++
drivers/media/rc/img-ir/Makefile |1 +
drivers/media/rc/img-ir/img-ir-hw.c |3 ++
drivers/media/rc/img-ir/img-ir-hw.h |1
the hardware decode callbacks.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/img-ir-hw.c| 16 +---
drivers/media/rc/img-ir/img-ir-hw.h| 16 ++--
drivers/media/rc/img-ir/img-ir-jvc.c |8
drivers/media/rc/img-ir/img-ir-nec.c
Biphase decoding in the current img-ir has got a quirk, where multiple
Interrupts are generated when an incomplete IR code is received by the
decoder.
Patch adds a work around for the quirk and enables biphase decoding.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img
Add toggle bit to struct img_ir_scancode_req so that protocols can
provide it to img_ir_handle_data(), and pass that toggle bit up to
rc_keydown instead of 0.
This is nedded for the upcoming rc-5 and rc-6 patches.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/img
Rothwell s...@canb.auug.org.au
Date: Thu Dec 4 19:49:10 2014 +1100
Sifan Naeem (5):
rc: img-ir: add scancode requests to a struct
rc: img-ir: pass toggle bit to the rc driver
rc: img-ir: biphase enabled with workaround
rc: img-ir: add philips rc5 decoder module
rc: img-ir: add philips
-Original Message-
From: James Hogan
Sent: 08 December 2014 17:18
To: Sifan Naeem; mche...@osg.samsung.com
Cc: linux-ker...@vger.kernel.org; linux-media@vger.kernel.org; James
Hartley; Ezequiel Garcia
Subject: Re: [PATCH 3/5] rc: img-ir: biphase enabled with workaround
On 04/12
Add img-ir module for decoding Philips rc6 protocol.
Changes from v1:
* Phillips renamed to Philips
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/Kconfig |8 +++
drivers/media/rc/img-ir/Makefile |1 +
drivers/media/rc/img-ir/img-ir-hw.c |3
deadlock stopping
timer
* spinlock taken in img_ir_suspend_timer
* check for hw-stopping before handling quirks in img_ir_isr_hw
* new memeber added to img_ir_priv_hw to save irq status over suspend
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/img-ir-hw.c | 60
Add img-ir module for decoding Philips rc5 protocol.
Changes from v1:
* Phillips renamed to Philips
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/Kconfig |7 +++
drivers/media/rc/img-ir/Makefile |1 +
drivers/media/rc/img-ir/img-ir-hw.c |3
the hardware decode callbacks.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/img-ir-hw.c| 16 +---
drivers/media/rc/img-ir/img-ir-hw.h| 16 ++--
drivers/media/rc/img-ir/img-ir-jvc.c |8
drivers/media/rc/img-ir/img-ir-nec.c
Add toggle bit to struct img_ir_scancode_req so that protocols can
provide it to img_ir_handle_data(), and pass that toggle bit up to
rc_keydown instead of 0.
This is needed for the upcoming rc-5 and rc-6 patches.
Change from v1:
* Typo Corrected in the commit message.
Signed-off-by: Sifan
deadlock stopping
timer
* spinlock taken in img_ir_suspend_timer
* Check for hw-stopping before handling quirks in img_ir_isr_hw
* New member added to img_ir_priv_hw to save irq status over suspend
* Phillips renamed to Philips
Sifan Naeem (5):
rc: img-ir: add scancode requests to a struct
rc
-Original Message-
From: James Hogan
Sent: 12 December 2014 10:56
To: Sifan Naeem; mche...@osg.samsung.com
Cc: linux-ker...@vger.kernel.org; linux-media@vger.kernel.org; James
Hartley; Ezequiel Garcia
Subject: Re: [PATCH 3/5] rc: img-ir: biphase enabled with workaround
Hi Sifan
important the systen clock is enabled before register interface is
accessed by the driver.
The system clock to IR is needed for the driver to communicate with the
IR hardware via MMIO accesses on the system bus, so it must not be
disabled during use or the driver will malfunction.
Signed-off-by: Sifan
.
The system clock to IR is needed for the driver to communicate with the
IR hardware via MMIO accesses on the system bus, so it must not be
disabled during use or the driver will malfunction.
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
---
drivers/media/rc/img-ir/img-ir-core.c | 13
]
platform_drv_remove+0x30/0x54 ...
Signed-off-by: Sifan Naeem sifan.na...@imgtec.com
Fixes: 160a8f8aec4d ([media] rc: img-ir: add base driver)
Cc: sta...@vger.kernel.org # 3.15+
---
drivers/media/rc/img-ir/img-ir-core.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media
Hi Mauro,
I sent you a v2 of this patch on 4th February:
From: Sifan Naeem
Sent: 04 February 2015 16:48
To: James Hogan; mche...@osg.samsung.com
Cc: linux-ker...@vger.kernel.org; linux-media@vger.kernel.org; Sifan Naeem
Subject: [PATCH v2] rc: img-ir: Add and enable sys clock for img-ir
Hi Mauro,
Seems like you have applied the correct patch after all. ([v2] rc: img-ir: Add
and enable sys clock for img-ir)
Thanks,
Sifan
-Original Message-
From: Mauro Carvalho Chehab [mailto:mche...@osg.samsung.com]
Sent: 08 April 2015 15:41
To: Sifan Naeem
Cc: James Hogan; linux
19 matches
Mail list logo