[PATCH v1 1/4] dt-bindings: media: mtk-cir: Add support for MT7622 SoC

2017-06-29 Thread sean.wang
From: Sean Wang Document the devicetree bindings for CIR on MediaTek MT7622 SoC. Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/media/mtk-cir.txt | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/media/mtk-cir.txt b/D

[PATCH v1 2/4] media: rc: mtk-cir: add platform data to adapt into various hardware

2017-06-29 Thread sean.wang
From: Sean Wang This patch is the preparation patch in order to adapt into various hardware through adding platform data which holds specific characteristics and differences among MediaTek supported CIR devices instead of the old way defining those data in the static way as macro has. And the exi

[PATCH v1 0/4] media: rc: add support for IR receiver on MT7622 SoC

2017-06-29 Thread sean.wang
From: Sean Wang This patchset introduces Consumer IR (CIR) support for MT7622 SoC implements raw mode for more compatibility with different protocols as previously SoC did. Before adding support to MT7622 SoC, extra code refactor is done since there're major differences in register and field defi

[PATCH v1 4/4] MAINTAINERS: add entry for MediaTek CIR driver

2017-06-29 Thread sean.wang
From: Sean Wang I work for MediaTek on maintaining the MediaTek CIR driver for the existing SoCs and adding support for the following SoCs. Signed-off-by: Sean Wang --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2a1290a..1bc1fb1 100644

[PATCH v1 3/4] media: rc: mtk-cir: add support for MediaTek MT7622 SoC

2017-06-29 Thread sean.wang
From: Sean Wang This patch adds driver for CIR controller on MT7622 SoC. It has similar handling logic as the previously MT7623 does, but there are some differences in the register and field definition. So for ease portability and maintenance, those differences all are being kept inside the platf

[PATCH v3 0/3] media: rc: add support for IR receiver on MT7623 SoC

2017-01-12 Thread sean.wang
From: Sean Wang This patchset introduces consumer IR (CIR) support on MT7623 SoC that also works on other similar SoCs and implements raw mode for more compatibility with different protocols. The driver simply reports the duration of pulses and spaces to rc-core logic to decode. Changes since v

[PATCH v3 3/3] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-12 Thread sean.wang
From: Sean Wang This patch adds driver for IR controller on MT7623 SoC. and should also work on similar Mediatek SoC. Currently testing successfully on NEC and SONY remote controller only but it should work on others (lirc, rc-5 and rc-6). Signed-off-by: Sean Wang Reviewed-by: Sean Young ---

[PATCH v3 1/3] Documentation: devicetree: move shared property used by rc into a common place

2017-01-12 Thread sean.wang
From: Sean Wang Most IR drivers uses the same label to identify the scancdoe/key table they used by multiple bindings and lack explanation well. So move the shared property into a common place and give better explanation. Signed-off-by: Sean Wang --- .../devicetree/bindings/media/gpio-ir-recei

[PATCH v3 2/3] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-12 Thread sean.wang
From: Sean Wang This patch adds documentation for devicetree bindings for consumer Mediatek IR controller. Signed-off-by: Sean Wang --- .../devicetree/bindings/media/mtk-cir.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH v2 1/2] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-10 Thread sean.wang
From: Sean Wang This patch adds documentation for devicetree bindings for Mediatek consumer IR controller. Signed-off-by: Sean Wang --- .../devicetree/bindings/media/mtk-cir.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH v2 0/2] media: rc: add support for IR receiver on MT7623 SoC

2017-01-10 Thread sean.wang
From: Sean Wang This patchset introduces consumer IR (CIR) support on MT7623 SoC that also works on other similar SoCs and implements raw mode for more compatibility with different protocols. The driver simply reports the duration of pulses and spaces to rc-core logic to decode. Changes since v

[PATCH v2 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-10 Thread sean.wang
From: Sean Wang This patch adds driver for IR controller on MT7623 SoC. and should also work on similar Mediatek SoC. Currently testing successfully on NEC and SONY remote controller only but it should work on others (lirc, rc-5 and rc-6). Signed-off-by: Sean Wang Reviewed-by: Sean Young ---

[PATCH 1/2] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-05 Thread sean.wang
From: Sean Wang This patch adds documentation for devicetree bindings for Mediatek IR controller. Signed-off-by: Sean Wang --- .../devicetree/bindings/media/mtk-cir.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 linux-4.8.rc1_p0/Documentation/de

[PATCH 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-05 Thread sean.wang
From: Sean Wang This patch adds driver for IR controller on Mediatek MT7623 SoC. Currently testing successfully on NEC and SONY remote controller only but it should work on others (lirc, rc-5 and rc-6). Signed-off-by: Sean Wang --- drivers/media/rc/Kconfig | 10 ++ drivers/media/rc/Makefile

[PATCH 0/2] media: rc: add support for IR receiver on MT7623 SoC

2017-01-05 Thread sean.wang
From: Sean Wang This patchset introduces Consumer IR (CIR) support for MT7623 SoC or other similar SoC and implements raw mode for more compatibility with different protocols. The driver simply reports the duration of pulses and spaces to rc core logic to decode. Sean Wang (2): Documentation