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
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
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
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
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
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
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-kernel@vger.kernel.org; linux-me...@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
>
Same edge bit set in SPFI Control register to double the supported
spfi clock speed. According to the TRM setting this bit increases
the supported frequency from 1/8 to 1/4 of the Core clock frequency.
Without this bit set the maximum speed would be 25MHz on Pistachio.
Signed-off-by: Sifan Naeem
: I26782ea88ac3567e72dac11e46c5b5f5f52c5e3d
Signed-off-by: Sifan Naeem
---
drivers/spi/spi-img-spfi.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/spi/spi-img-spfi.c b/drivers/spi/spi-img-spfi.c
index 788e2b1..acce90a 100644
--- a/drivers/spi/spi-img-spfi.c
+++ b/drivers/spi/spi-img-spfi.c
@@ -40,6 +40,7
Same edge bit set in SPFI Control register to double the supported
spfi clock speed. Setting this bit increases the supported spfi
frequency from 1/8 to 1/4 of the core clock frequency.
Without this bit set the maximum speed supported was 25MHz on
Pistachio.
Signed-off-by: Sifan Naeem
Hi Jonas,
> -Original Message-
> From: Jonas Gorski [mailto:j...@openwrt.org]
> Sent: 17 June 2015 13:12
> To: Sifan Naeem
> Cc: Mark Brown; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> Andrew Bresticker
> Subject: Re: [PATCH v2] spi: img-spfi: Same E
Hi Jonas,
> -Original Message-
> From: Jonas Gorski [mailto:j...@openwrt.org]
> Sent: 17 June 2015 15:31
> To: Sifan Naeem
> Cc: Mark Brown; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;
> Andrew Bresticker
> Subject: Re: [PATCH v2] spi: img-spfi: Same E
: Sifan Naeem
---
.../devicetree/bindings/spi/spi-img-spfi.txt |1 +
drivers/spi/spi-img-spfi.c | 15 +++
2 files changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-img-spfi.txt
b/Documentation/devicetree/bindings/spi/spi
: Sifan Naeem
---
changes from v1: coding style fix.
.../devicetree/bindings/spi/spi-img-spfi.txt |1 +
drivers/spi/spi-img-spfi.c | 14 ++
2 files changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-img-spfi.txt
b
1/8th of the
input clock.
The current driver calculates the divisor with maximum speed at 1/4th
of the input clock, this would fail if the requested frequency is
higher than 1/8 of the input clock. Any requests for 1/8th of the
input clock would still pass.
Signed-off-by: Sifan Naeem
Fixes
Please ignore this patch. I have posted a new patch as a fix after the
discussion with Jonas Gorski.
https://patchwork.kernel.org/patch/6636761/ spi: img-spfi: fix support for
speeds up to 1/4th input clock
Thanks,
Sifan
> -Original Message-
> From: Sifan Naeem
> Sent: 17 Jun
] [<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
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
.
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
ff-by: Sifan Naeem
---
drivers/spi/spi-img-spfi.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/spi/spi-img-spfi.c b/drivers/spi/spi-img-spfi.c
index c01567d..e6f77b8 100644
--- a/drivers/spi/spi-img-spfi.c
+++ b/drivers/spi/spi-img-spfi.c
@@ -39,6 +39,7 @@
#d
Maximum transfer length supported by SPFI is 65535, this is limited
by the number of bits available in SPFI TSize register to represent
the transfer size.
For transfer requests larger than the maximum supported the driver
will return an invalid argument error.
Signed-off-by: Sifan Naeem
Reviewed
Removing the udelay between setting and clearing the soft reset bit in
the spfi control register as it is not required.
Signed-off-by: Sifan Naeem
Reviewed-by: Andrew Bresticker
---
drivers/spi/spi-img-spfi.c |1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/spi/spi-img-spfi.c b
> -Original Message-
> From: James Hogan
> Sent: 08 December 2014 17:18
> To: Sifan Naeem; mche...@osg.samsung.com
> Cc: linux-kernel@vger.kernel.org; linux-me...@vger.kernel.org; James
> Hartley; Ezequiel Garcia
> Subject: Re: [PATCH 3/5] rc: img-ir: biphase en
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
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
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
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
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
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
> -Original Message-
> From: James Hogan
> Sent: 12 December 2014 10:56
> To: Sifan Naeem; mche...@osg.samsung.com
> Cc: linux-kernel@vger.kernel.org; linux-me...@vger.kernel.org; James
> Hartley; Ezequiel Garcia
> Subject: Re: [PATCH 3/5] rc: img-ir: biphase en
31 matches
Mail list logo