All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFCv2 PATCH 0/5] CEC drivers for iMX6 and TDA9950
@ 2016-11-14 15:22 ` Hans Verkuil
  0 siblings, 0 replies; 55+ messages in thread
From: Hans Verkuil @ 2016-11-14 15:22 UTC (permalink / raw)
  To: linux-media
  Cc: Russell King - ARM Linux, linux-fbdev, dri-devel, linux-arm-kernel

From: Hans Verkuil <hans.verkuil@cisco.com>

This patch series is an update to this RFC series from Russell:

https://lists.freedesktop.org/archives/dri-devel/2016-August/115733.html

I have not seen any updates to this, so I hope that that series is still
the latest version.

The main problem with that original series was that the notifier didn't
store the state, so if a CEC driver registered with the notifier, then
it wouldn't be informed of the current state.

The hdmi-notifier code has been changed to a per-HDMI-device and refcounted
block_notifier that stores the state and will report the current state
upon registration.

The other four patches have been adapted to the new notifier code, but
no other changes were made.

It has *only* been compile-tested. I might be able to verify it next week
with an actual i.MX6 device, but it will take time to set that up.

If someone has a ready-to-test setup, then I would very much appreciate
it if this series can be tested.

The patches are also available in my branch:

https://git.linuxtv.org/hverkuil/media_tree.git/log/?h=cec-notifiers

It is on top of my patch series that moves CEC out of staging. This
is planned for 4.10.

Regards,

	Hans

Hans Verkuil (1):
  video: add HDMI state notifier support

Russell King (4):
  drm/bridge: dw_hdmi: remove CEC engine register definitions
  drm/bridge: dw_hdmi: add HDMI notifier support
  drm/bridge: add dw-hdmi cec driver using Hans Verkuil's CEC code
  drm/i2c: add tda998x/tda9950 CEC driver

 drivers/gpu/drm/bridge/Kconfig            |   8 +
 drivers/gpu/drm/bridge/Makefile           |   1 +
 drivers/gpu/drm/bridge/dw-hdmi-cec.c      | 346 ++++++++++++++++++++
 drivers/gpu/drm/bridge/dw-hdmi.c          |  89 +++++-
 drivers/gpu/drm/bridge/dw-hdmi.h          |  45 ---
 drivers/gpu/drm/i2c/Kconfig               |   5 +
 drivers/gpu/drm/i2c/Makefile              |   1 +
 drivers/gpu/drm/i2c/tda9950.c             | 516 ++++++++++++++++++++++++++++++
 drivers/video/Kconfig                     |   3 +
 drivers/video/Makefile                    |   1 +
 drivers/video/hdmi-notifier.c             | 136 ++++++++
 include/linux/hdmi-notifier.h             |  43 +++
 include/linux/platform_data/dw_hdmi-cec.h |  16 +
 include/linux/platform_data/tda9950.h     |  15 +
 14 files changed, 1168 insertions(+), 57 deletions(-)
 create mode 100644 drivers/gpu/drm/bridge/dw-hdmi-cec.c
 create mode 100644 drivers/gpu/drm/i2c/tda9950.c
 create mode 100644 drivers/video/hdmi-notifier.c
 create mode 100644 include/linux/hdmi-notifier.h
 create mode 100644 include/linux/platform_data/dw_hdmi-cec.h
 create mode 100644 include/linux/platform_data/tda9950.h

-- 
2.8.1


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

end of thread, other threads:[~2017-02-05  0:23 UTC | newest]

Thread overview: 55+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 15:22 [RFCv2 PATCH 0/5] CEC drivers for iMX6 and TDA9950 Hans Verkuil
2016-11-14 15:22 ` Hans Verkuil
2016-11-14 15:22 ` Hans Verkuil
2016-11-14 15:22 ` [RFCv2 PATCH 1/5] video: add HDMI state notifier support Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-15 18:24   ` Philipp Zabel
2016-11-15 18:24     ` Philipp Zabel
2016-11-15 18:24     ` Philipp Zabel
2016-11-15 20:41     ` Hans Verkuil
2016-11-15 20:41       ` Hans Verkuil
2016-11-15 20:41       ` Hans Verkuil
2016-11-15 20:41       ` Hans Verkuil
2016-11-16  9:43       ` Hans Verkuil
2016-11-16  9:43         ` Hans Verkuil
2016-11-16  9:43         ` Hans Verkuil
2016-12-01 10:09   ` Hans Verkuil
2016-12-01 10:09     ` Hans Verkuil
2016-12-01 10:09     ` Hans Verkuil
2016-12-01 10:09     ` Hans Verkuil
2016-11-14 15:22 ` [RFCv2 PATCH 2/5] drm/bridge: dw_hdmi: remove CEC engine register definitions Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-14 15:39   ` Russell King - ARM Linux
2016-11-14 15:39     ` Russell King - ARM Linux
2016-11-14 15:42     ` Hans Verkuil
2016-11-14 15:42       ` Hans Verkuil
2016-11-14 15:42       ` Hans Verkuil
2016-11-14 15:42       ` Hans Verkuil
2016-11-15 23:23   ` Pierre-Hugues Husson
2016-11-15 23:23     ` Pierre-Hugues Husson
2016-11-15 23:23     ` Pierre-Hugues Husson
2016-11-15 23:27     ` Russell King - ARM Linux
2016-11-15 23:27       ` Russell King - ARM Linux
2016-11-15 23:35       ` Pierre-Hugues Husson
2016-11-15 23:35         ` Pierre-Hugues Husson
2016-11-15 23:35         ` Pierre-Hugues Husson
2016-11-14 15:22 ` [RFCv2 PATCH 3/5] drm/bridge: dw_hdmi: add HDMI notifier support Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-15 23:21   ` Pierre-Hugues Husson
2016-11-15 23:21     ` Pierre-Hugues Husson
2016-11-15 23:21     ` Pierre-Hugues Husson
2017-02-05  0:22   ` Pierre-Hugues Husson
2017-02-05  0:22     ` Pierre-Hugues Husson
2017-02-05  0:22     ` Pierre-Hugues Husson
2016-11-14 15:22 ` [RFCv2 PATCH 4/5] drm/bridge: add dw-hdmi cec driver using Hans Verkuil's CEC code Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2017-02-05  0:17   ` Pierre-Hugues Husson
2017-02-05  0:17     ` Pierre-Hugues Husson
2017-02-05  0:17     ` Pierre-Hugues Husson
2016-11-14 15:22 ` [RFCv2 PATCH 5/5] drm/i2c: add tda998x/tda9950 CEC driver Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil
2016-11-14 15:22   ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.