From 90a6fefda0edb4bf1a08ef1d2fb7fd5a3feaaf67 Mon Sep 17 00:00:00 2001 From: Qianggui Song Date: Wed, 6 Mar 2019 16:41:03 +0800 Subject: [PATCH] ir: ir support both NEC and RC5 [1/1] PD#SWPL-5555 Problem: Current driver does not support both NEC and RC5 Solution: Add a macro to depecit both NEC and RC5 state Verify: X301 Change-Id: I06894d033eabdb22db6e34fc2ad76e0390ef565f Signed-off-by: Qianggui Song --- include/dt-bindings/input/meson_rc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/input/meson_rc.h b/include/dt-bindings/input/meson_rc.h index 9aec87f98059..82646d537023 100644 --- a/include/dt-bindings/input/meson_rc.h +++ b/include/dt-bindings/input/meson_rc.h @@ -56,6 +56,7 @@ *2. multi-format IR controller decode other protocol */ #define REMOTE_TYPE_NEC_RC6 ((REMOTE_TYPE_LEGACY_NEC << 8) | REMOTE_TYPE_RC6) +#define REMOTE_TYPE_NEC_RC5 ((REMOTE_TYPE_LEGACY_NEC << 8) | REMOTE_TYPE_RC5) #define REMOTE_TYPE_NEC_TOSHIBA ((REMOTE_TYPE_LEGACY_NEC << 8) | \ REMOTE_TYPE_TOSHIBA)