RE: [PATCH] rc: img-ir: Add and enable sys clock for IR

2015-04-09 Thread Sifan Naeem
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 >

RE: [PATCH] rc: img-ir: Add and enable sys clock for IR

2015-04-08 Thread Sifan Naeem
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

[PATCH] rc: img-ir: fix error in parameters passed to irq_free()

2015-02-10 Thread Sifan Naeem
] [<8073ded0>] platform_drv_remove+0x30/0x54 ... Signed-off-by: Sifan Naeem Fixes: 160a8f8aec4d ("[media] rc: img-ir: add base driver") Cc: # 3.15+ --- drivers/media/rc/img-ir/img-ir-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/img-ir/img-i

[PATCH v2] rc: img-ir: Add and enable sys clock for img-ir

2015-02-04 Thread Sifan Naeem
It's 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

[PATCH] rc: img-ir: Add and enable sys clock for IR

2015-02-03 Thread Sifan Naeem
. 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 --- drivers/media/rc/img-ir/img-ir-core.c | 13 + drivers/media/rc/i

RE: [PATCH 3/5] rc: img-ir: biphase enabled with workaround

2014-12-12 Thread Sifan Naeem
> -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 en

[PATCH v2 0/5] rc: img-ir: rc5 and rc6 support added

2014-12-11 Thread Sifan Naeem
ntial 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

[PATCH v2 4/5] rc: img-ir: add philips rc5 decoder module

2014-12-11 Thread Sifan Naeem
Add img-ir module for decoding Philips rc5 protocol. Changes from v1: * Phillips renamed to Philips Signed-off-by: Sifan Naeem --- 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

[PATCH v2 1/5] rc: img-ir: add scancode requests to a struct

2014-12-11 Thread Sifan Naeem
hardware decode callbacks. Signed-off-by: Sifan Naeem --- 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 | 24

[PATCH v2 2/5] rc: img-ir: pass toggle bit to the rc driver

2014-12-11 Thread Sifan Naeem
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

[PATCH v2 3/5] rc: img-ir: biphase enabled with workaround

2014-12-11 Thread Sifan Naeem
ntial 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 --- drivers/media/rc/img-ir/img-i

[PATCH v2 5/5] rc: img-ir: add philips rc6 decoder module

2014-12-11 Thread Sifan Naeem
Add img-ir module for decoding Philips rc6 protocol. Changes from v1: * Phillips renamed to Philips Signed-off-by: Sifan Naeem --- 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

RE: [PATCH 3/5] rc: img-ir: biphase enabled with workaround

2014-12-11 Thread Sifan Naeem
> -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 en

[PATCH 2/5] rc: img-ir: pass toggle bit to the rc driver

2014-12-04 Thread Sifan Naeem
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 --- drivers/media/rc/img-ir/img-ir-hw.c |8

[PATCH 0/5] rc: img-ir: rc5 and rc6 support added

2014-12-04 Thread Sifan Naeem
Rothwell 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 rc6 decoder module

[PATCH 3/5] rc: img-ir: biphase enabled with workaround

2014-12-04 Thread Sifan Naeem
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 --- drivers/media/rc/img-ir/img-ir-hw.c | 56

[PATCH 1/5] rc: img-ir: add scancode requests to a struct

2014-12-04 Thread Sifan Naeem
hardware decode callbacks. Signed-off-by: Sifan Naeem --- 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 | 24

[PATCH 5/5] rc: img-ir: add philips rc6 decoder module

2014-12-04 Thread Sifan Naeem
Add img-ir module for decoding Philips rc6 protocol. Signed-off-by: Sifan Naeem --- 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 + drivers/media/rc/img

[PATCH 4/5] rc: img-ir: add philips rc5 decoder module

2014-12-04 Thread Sifan Naeem
Add img-ir module for decoding Philips rc5 protocol. Signed-off-by: Sifan Naeem --- 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 + drivers/media/rc/img