Re: [PATCH] drm/bridge/sii8620: add remote control support

2017-08-23 Thread Hans Verkuil
On 08/16/2017 01:55 PM, Andrzej Hajda wrote: > On 03.08.2017 10:28, Hans Verkuil wrote: >> Hi Maciej, >> >> Unfortunately I do not have the MHL spec, but I was wondering what the >> relationship between RCP and CEC is. CEC has remote control support as >> well, so is RCP that subset of the CEC spec

Re: [PATCH] drm/bridge/sii8620: add remote control support

2017-08-16 Thread Andrzej Hajda
On 03.08.2017 10:28, Hans Verkuil wrote: > Hi Maciej, > > Unfortunately I do not have the MHL spec, but I was wondering what the > relationship between RCP and CEC is. CEC has remote control support as > well, so is RCP that subset of the CEC specification or is it completely > separate? We also d

Re: [PATCH] drm/bridge/sii8620: add remote control support

2017-08-10 Thread Maciej Purski
Hi Hans, Thank you for your reply. All dongles that we used to work with in Samsung convert CEC protocol to RCP which we get through MHL Sideband Channel. All we can do in the driver is to report RCP messages to user-space. On the RC subsystem: your point is right, which was confirmed by Sean a

Re: [PATCH] drm/bridge/sii8620: add remote control support

2017-08-06 Thread Sean Young
Hi Maciej, On Thu, Aug 03, 2017 at 10:28:04AM +0200, Hans Verkuil wrote: > Hi Maciej, > > Unfortunately I do not have the MHL spec, but I was wondering what the > relationship between RCP and CEC is. CEC has remote control support as > well, so is RCP that subset of the CEC specification or is it

Re: [PATCH] drm/bridge/sii8620: add remote control support

2017-08-03 Thread Emil Velikov
Hi Maciej, This is my first time looking at anything input related, so pardon if I'm off the mark here. On 3 August 2017 at 08:44, Maciej Purski wrote: [...] > +static struct { > + u16 key; > + u16 extra_key; > + bool autorepeat; > +} rcp_keymap[] = { Ideally this would be

Re: [PATCH] drm/bridge/sii8620: add remote control support

2017-08-03 Thread Hans Verkuil
Hi Maciej, Unfortunately I do not have the MHL spec, but I was wondering what the relationship between RCP and CEC is. CEC has remote control support as well, so is RCP that subset of the CEC specification or is it completely separate? I'm CC-ing Sean Young and the linux-media mailinglist as well

[PATCH] drm/bridge/sii8620: add remote control support

2017-08-03 Thread Maciej Purski
MHL specification defines Remote Control Protocol(RCP) to send input events between MHL devices. The driver now recognizes RCP messages and reacts to them by reporting key events to input subsystem, allowing a user to control a device using TV remote control. Signed-off-by: Maciej Purski --- dri