dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [ANN] HDMI CEC Status Update
@ 2017-05-30  6:53 ` Hans Verkuil
  2017-05-30  7:21   ` Neil Armstrong
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hans Verkuil @ 2017-05-30  6:53 UTC (permalink / raw)
  To: Linux Media Mailing List, Maling list - DRI developers

For those who are interested in HDMI CEC support I made a little status
document that I intend to keep up to date:

https://hverkuil.home.xs4all.nl/cec-status.txt

My goal is to get CEC supported for any mainlined HDMI driver where the hardware
supports CEC.

If anyone is working on a CEC driver that I don't know already about, just drop
me an email so I can update the status.

I also started maintaining a list of DisplayPort to HDMI adapters that support
CEC. If you have one that works and is not on the list, then please let me know.
Seeing /dev/cecX is not enough, some adapters do not connect the CEC pin, so they
won't be able to detect any other CEC devices. See the test instructions in the
cec-status.txt file on how to make sure the adapter has a working CEC pin. I
plan to do some more testing this week, so hopefully the list will expand.

Thanks!

	Hans

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANN] HDMI CEC Status Update
  2017-05-30  6:53 ` [ANN] HDMI CEC Status Update Hans Verkuil
@ 2017-05-30  7:21   ` Neil Armstrong
  2017-05-30  8:39     ` Hans Verkuil
  2017-05-30 15:42   ` Clint Taylor
  2017-05-31  8:12   ` Andrzej Hajda
  2 siblings, 1 reply; 7+ messages in thread
From: Neil Armstrong @ 2017-05-30  7:21 UTC (permalink / raw)
  To: Hans Verkuil, Linux Media Mailing List,
	Maling list - DRI developers, Archit Taneja

Hi Hans,

On 05/30/2017 08:53 AM, Hans Verkuil wrote:
> For those who are interested in HDMI CEC support I made a little status
> document that I intend to keep up to date:
> 
> https://hverkuil.home.xs4all.nl/cec-status.txt
> 
> My goal is to get CEC supported for any mainlined HDMI driver where the hardware
> supports CEC.
> 
> If anyone is working on a CEC driver that I don't know already about, just drop
> me an email so I can update the status.
> 
> I also started maintaining a list of DisplayPort to HDMI adapters that support
> CEC. If you have one that works and is not on the list, then please let me know.
> Seeing /dev/cecX is not enough, some adapters do not connect the CEC pin, so they
> won't be able to detect any other CEC devices. See the test instructions in the
> cec-status.txt file on how to make sure the adapter has a working CEC pin. I
> plan to do some more testing this week, so hopefully the list will expand.
> 
> Thanks!
> 
>     Hans

Following our discussion on IRC,
I'm working on a CEC driver for the standalone Amlogic CEC Controller that is able
to wake up the device from Suspend or Power Off mode by passing infos to the FW.

I initially planned to use the DW-HDMI CEC controller but I recently found out that
on the Amlogic Meson GX SoCs, the CEC line can be pinmuxed to either an Amlogic custom
controller or either to a Synopsys IP.

But it's connected to the Synopsys HDMI-RX controller... so my plan to use Russell's code
is now dead.

Anyway, I'll still need to have the CEC notifier suport for DW-HDMI, so I made a rebase/cleanup
of Russell's driver on 4.12-rc3 :
https://github.com/superna9999/linux/commits/amlogic/v4.12/rmk-dw-hdmi-cec
The rebase is aligned on dw-hdmi-i2s to use the bridge read/write ops.

Neil
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANN] HDMI CEC Status Update
  2017-05-30  7:21   ` Neil Armstrong
@ 2017-05-30  8:39     ` Hans Verkuil
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Verkuil @ 2017-05-30  8:39 UTC (permalink / raw)
  To: Neil Armstrong, Linux Media Mailing List,
	Maling list - DRI developers, Archit Taneja

On 05/30/17 09:21, Neil Armstrong wrote:
> Hi Hans,
> 
> On 05/30/2017 08:53 AM, Hans Verkuil wrote:
>> For those who are interested in HDMI CEC support I made a little status
>> document that I intend to keep up to date:
>>
>> https://hverkuil.home.xs4all.nl/cec-status.txt
>>
>> My goal is to get CEC supported for any mainlined HDMI driver where the hardware
>> supports CEC.
>>
>> If anyone is working on a CEC driver that I don't know already about, just drop
>> me an email so I can update the status.
>>
>> I also started maintaining a list of DisplayPort to HDMI adapters that support
>> CEC. If you have one that works and is not on the list, then please let me know.
>> Seeing /dev/cecX is not enough, some adapters do not connect the CEC pin, so they
>> won't be able to detect any other CEC devices. See the test instructions in the
>> cec-status.txt file on how to make sure the adapter has a working CEC pin. I
>> plan to do some more testing this week, so hopefully the list will expand.
>>
>> Thanks!
>>
>>     Hans
> 
> Following our discussion on IRC,
> I'm working on a CEC driver for the standalone Amlogic CEC Controller that is able
> to wake up the device from Suspend or Power Off mode by passing infos to the FW.

FYI: the Pulse Eight linux driver has similar support. It has to be enabled via a
module option (persistent_config=1).

I have no public API for this, mostly because I would first like to get more information
about how these things are typically implemented in hardware.

Regards,

	Hans

> I initially planned to use the DW-HDMI CEC controller but I recently found out that
> on the Amlogic Meson GX SoCs, the CEC line can be pinmuxed to either an Amlogic custom
> controller or either to a Synopsys IP.
> 
> But it's connected to the Synopsys HDMI-RX controller... so my plan to use Russell's code
> is now dead.
> 
> Anyway, I'll still need to have the CEC notifier suport for DW-HDMI, so I made a rebase/cleanup
> of Russell's driver on 4.12-rc3 :
> https://github.com/superna9999/linux/commits/amlogic/v4.12/rmk-dw-hdmi-cec
> The rebase is aligned on dw-hdmi-i2s to use the bridge read/write ops.
> 
> Neil
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANN] HDMI CEC Status Update
  2017-05-30  6:53 ` [ANN] HDMI CEC Status Update Hans Verkuil
  2017-05-30  7:21   ` Neil Armstrong
@ 2017-05-30 15:42   ` Clint Taylor
  2017-05-30 16:52     ` Hans Verkuil
  2017-05-31  8:12   ` Andrzej Hajda
  2 siblings, 1 reply; 7+ messages in thread
From: Clint Taylor @ 2017-05-30 15:42 UTC (permalink / raw)
  To: dri-devel



On 05/29/2017 11:53 PM, Hans Verkuil wrote:
> For those who are interested in HDMI CEC support I made a little status
> document that I intend to keep up to date:
>
> https://hverkuil.home.xs4all.nl/cec-status.txt
>
> My goal is to get CEC supported for any mainlined HDMI driver where 
> the hardware
> supports CEC.
>
> If anyone is working on a CEC driver that I don't know already about, 
> just drop
> me an email so I can update the status.
>
> I also started maintaining a list of DisplayPort to HDMI adapters that 
> support
> CEC. If you have one that works and is not on the list, then please 
> let me know.
> Seeing /dev/cecX is not enough, some adapters do not connect the CEC 
> pin, so they
> won't be able to detect any other CEC devices. See the test 
> instructions in the
> cec-status.txt file on how to make sure the adapter has a working CEC 
> pin. I
> plan to do some more testing this week, so hopefully the list will 
> expand.

Would you also like a list of known USB-C->HDMI adapters that do not 
work? I have a couple that advertise support at DPCD 0x3000 but are not 
wired correctly.

-Clint


>
> Thanks!
>
>     Hans
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANN] HDMI CEC Status Update
  2017-05-30 15:42   ` Clint Taylor
@ 2017-05-30 16:52     ` Hans Verkuil
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Verkuil @ 2017-05-30 16:52 UTC (permalink / raw)
  To: Clint Taylor, dri-devel

On 05/30/2017 05:42 PM, Clint Taylor wrote:
> 
> 
> On 05/29/2017 11:53 PM, Hans Verkuil wrote:
>> For those who are interested in HDMI CEC support I made a little status
>> document that I intend to keep up to date:
>>
>> https://hverkuil.home.xs4all.nl/cec-status.txt
>>
>> My goal is to get CEC supported for any mainlined HDMI driver where
>> the hardware
>> supports CEC.
>>
>> If anyone is working on a CEC driver that I don't know already about,
>> just drop
>> me an email so I can update the status.
>>
>> I also started maintaining a list of DisplayPort to HDMI adapters that
>> support
>> CEC. If you have one that works and is not on the list, then please
>> let me know.
>> Seeing /dev/cecX is not enough, some adapters do not connect the CEC
>> pin, so they
>> won't be able to detect any other CEC devices. See the test
>> instructions in the
>> cec-status.txt file on how to make sure the adapter has a working CEC
>> pin. I
>> plan to do some more testing this week, so hopefully the list will
>> expand.
> 
> Would you also like a list of known USB-C->HDMI adapters that do not
> work? I have a couple that advertise support at DPCD 0x3000 but are not
> wired correctly.

Yes please. I was thinking about creating such a list as well.

Regards,

	Hans
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANN] HDMI CEC Status Update
  2017-05-30  6:53 ` [ANN] HDMI CEC Status Update Hans Verkuil
  2017-05-30  7:21   ` Neil Armstrong
  2017-05-30 15:42   ` Clint Taylor
@ 2017-05-31  8:12   ` Andrzej Hajda
  2017-05-31 11:00     ` Marek Szyprowski
  2 siblings, 1 reply; 7+ messages in thread
From: Andrzej Hajda @ 2017-05-31  8:12 UTC (permalink / raw)
  To: Hans Verkuil, Linux Media Mailing List,
	Maling list - DRI developers

On 30.05.2017 08:53, Hans Verkuil wrote:
> For those who are interested in HDMI CEC support I made a little status
> document that I intend to keep up to date:
>
> https://hverkuil.home.xs4all.nl/cec-status.txt
>
> My goal is to get CEC supported for any mainlined HDMI driver where the hardware
> supports CEC.
>
> If anyone is working on a CEC driver that I don't know already about, just drop
> me an email so I can update the status.

Sii8620 HDMI->MHL bridge is on my TODO list.
Regarding Exynos5 it is apparently the same IP as in Exynos4.

Regards
Andrzej

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ANN] HDMI CEC Status Update
  2017-05-31  8:12   ` Andrzej Hajda
@ 2017-05-31 11:00     ` Marek Szyprowski
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Szyprowski @ 2017-05-31 11:00 UTC (permalink / raw)
  To: Andrzej Hajda, Hans Verkuil, Linux Media Mailing List,
	Maling list - DRI developers

Hi Andrzej and Hans,

On 2017-05-31 10:12, Andrzej Hajda wrote:
> On 30.05.2017 08:53, Hans Verkuil wrote:
>> For those who are interested in HDMI CEC support I made a little status
>> document that I intend to keep up to date:
>>
>> https://hverkuil.home.xs4all.nl/cec-status.txt
>>
>> My goal is to get CEC supported for any mainlined HDMI driver where the hardware
>> supports CEC.
>>
>> If anyone is working on a CEC driver that I don't know already about, just drop
>> me an email so I can update the status.
> Sii8620 HDMI->MHL bridge is on my TODO list.
> Regarding Exynos5 it is apparently the same IP as in Exynos4.

I've just posted a patch enabling CEC module on Exynos5250 (Google Snow)
and Exynos5422 (Odroid XU3).

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-31 11:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20170530065337epcas2p4a0a30d4766fe94cc506536a46c6173cd@epcas2p4.samsung.com>
2017-05-30  6:53 ` [ANN] HDMI CEC Status Update Hans Verkuil
2017-05-30  7:21   ` Neil Armstrong
2017-05-30  8:39     ` Hans Verkuil
2017-05-30 15:42   ` Clint Taylor
2017-05-30 16:52     ` Hans Verkuil
2017-05-31  8:12   ` Andrzej Hajda
2017-05-31 11:00     ` Marek Szyprowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox