Message ID | 27ff90a4-8caa-45b3-b6f4-a53bbd732467@xs4all.nl (mailing list archive) |
---|---|
State | Accepted |
Headers |
Received: from sv.mirrors.kernel.org ([139.178.88.99]) by linuxtv.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <linux-media+bounces-17129-patchwork=linuxtv.org@vger.kernel.org>) id 1sjd3j-0005pe-3D for patchwork@linuxtv.org; Thu, 29 Aug 2024 11:11:25 +0000 Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4F7DC28278B for <patchwork@linuxtv.org>; Thu, 29 Aug 2024 11:11:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AD4A191466; Thu, 29 Aug 2024 11:11:19 +0000 (UTC) X-Original-To: linux-media@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53F5018E020 for <linux-media@vger.kernel.org>; Thu, 29 Aug 2024 11:11:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724929879; cv=none; b=fnxoK88WNCYdl8SUPND5aKkoDzNvapawCScxp5orIQ+NVaiWssqBs8pBL7Q74+9HPjMGjjtQ2MXMcPympm6SertR7n+QlRDawpL6vJFFAJcSmY4ZcIpnhtodZXFfSzFll/XPtbPUWfaP+fMPDA18jsjEFd/xO+VpjBEO6A4cHZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724929879; c=relaxed/simple; bh=B6BGpqIgOF5RfRKmxwxlyeKuQuqi4NJZtykyzOyRI6Y=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=RSWvBOLxII7nEBn8jHLJ62T21NmpP9o9cKJtX5Ux6LQtkda93fSHCUavhbEe5L5ymOmZUX7ZQohVjF0jzkZcwU4SOH1Wq4HvP5eR6X4NOKpIbg7fR3mJqimfyriO1lzBDGm7r1mgz3+tLpPJ8dlA0JKmLU9uR0AV54WkiSVGzI0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2834AC4CEC1; Thu, 29 Aug 2024 11:11:17 +0000 (UTC) Message-ID: <27ff90a4-8caa-45b3-b6f4-a53bbd732467@xs4all.nl> Date: Thu, 29 Aug 2024 13:11:16 +0200 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US, nl To: Linux Media Mailing List <linux-media@vger.kernel.org> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>, Erling Ljunggren <hljunggr@cisco.com> From: Hans Verkuil <hverkuil@xs4all.nl> Subject: [GIT PULL FOR v6.12] media: cec: add extron-da-hd-4k-plus driver Autocrypt: addr=hverkuil@xs4all.nl; keydata= xsFNBFQ84W0BEAC7EF1iL4s3tY8cRTVkJT/297h0Hz0ypA+ByVM4CdU9sN6ua/YoFlr9k0K4 BFUlg7JzJoUuRbKxkYb8mmqOe722j7N3HO8+ofnio5cAP5W0WwDpM0kM84BeHU0aPSTsWiGR yw55SOK2JBSq7hueotWLfJLobMWhQii0Zd83hGT9SIt9uHaHjgwmtTH7MSTIiaY6N14nw2Ud C6Uykc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Cg2iz2q1LGt1Itkuu KaavEF9nqHmoqhSfZeAIKAPn6xuYbGxXDrpN7dXCOH92fscLodZqZtK5FtbLvO572EPfxneY UT7JzDc/5LT9cFFugTMOhq1BG62vUm/F6V91+unyp4dRlyryAeqEuISykhvjZCVHk/woaMZv c1Dm4Uvkv0Ilelt3Pb9J7zhcx6sm5T7v16VceF96jG61bnJ2GFS+QZerZp3PY27XgtPxRxYj AmFUeF486PHx/2Yi4u1rQpIpC5inPxIgR1+ZFvQrAV36SvLFfuMhyCAxV6WBlQc85ArOiQZB Wm7L0repwr7zEJFEkdy8C81WRhMdPvHkAIh3RoY1SGcdB7rB3wCzfYkAuCBqaF7Zgfw8xkad KEiQTexRbM1sc/I8ACpla3N26SfQwrfg6V7TIoweP0RwDrcf5PVvwSWsRQp2LxFCkwnCXOra gYmkrmv0duG1FStpY+IIQn1TOkuXrciTVfZY1cZD0aVxwlxXBnUNZZNslldvXFtndxR0SFat sflovhDxKyhFwXOP0Rv8H378/+14TaykknRBIKEc0+lcr+EMOSUR5eg4aURb8Gc3Uc7fgQ6q UssTXzHPyj1hAyDpfu8DzAwlh4kKFTodxSsKAjI45SLjadSc94/5Gy8645Y1KgBzBPTH7Q== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-LSpam-Score: -7.6 (-------) X-LSpam-Report: No, score=-7.6 required=5.0 tests=ARC_SIGNED=0.001,ARC_VALID=-0.1,BAYES_00=-1.9,DMARC_NONE=0.898,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,RCVD_IN_DNSWL_MED=-2.3,RCVD_IN_VALIDITY_CERTIFIED=-3,RCVD_IN_VALIDITY_RPBL=1.31,RCVD_IN_VALIDITY_SAFE=-2,SPF_HELO_NONE=0.001,SPF_PASS=-0.001 autolearn=ham autolearn_force=no |
Series |
[GIT,PULL,FOR,v6.12] media: cec: add extron-da-hd-4k-plus driver
|
|
Pull-request
git://linuxtv.org/hverkuil/media_tree.git tags/br-extronMessage
Hans Verkuil
Aug. 29, 2024, 11:11 a.m. UTC
Hi Mauro, This patch series adds CEC/EDID support for the Extron DA HD 4K Plus HDMI splitter. The first three patches introduce the V4L2_CAP_EDID capability: drivers with that capability set only support setting/getting EDIDs for inputs/outputs. There is no video capture or output, that is all handled in the device. This is the case for an HDMI Splitter like this, but also for EDID EEPROM drivers (which I hope to revisit as well at some point). The fourth patch adds a serio define for this device in the header: this will be used by the inputattach utility (it is similar to the pulse8-cec driver, which is also serio based). The fifth patch moves code around so cec_get/put_device is available to the driver. And the final patch adds the driver itself. Note: this driver has been in use for quite some time out-of-tree. Patches to support V4L2_CAP_EDID in v4l-utils are here: https://patchwork.linuxtv.org/project/linux-media/list/?series=13487 Regards, Hans The following changes since commit 393556c9f56ced8d9776c32ce99f34913cfd904e: Merge tag 'tags/next-media-videobuf-20240827' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git (2024-08-28 13:11:49 +0200) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-extron for you to fetch changes up to 6dc50ad1862903373aeaf2a73ab757e4acc2031b: media: cec: extron-da-hd-4k-plus: add the Extron DA HD 4K Plus CEC driver (2024-08-29 11:10:36 +0200) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Erling Ljunggren (3): media: videodev2.h: add V4L2_CAP_EDID media: v4l2-dev: handle V4L2_CAP_EDID media: docs: Add V4L2_CAP_EDID Hans Verkuil (3): input: serio.h: add SERIO_EXTRON_DA_HD_PLUS media: cec: move cec_get/put_device to header media: cec: extron-da-hd-4k-plus: add the Extron DA HD 4K Plus CEC driver Documentation/admin-guide/media/cec.rst | 87 +++ Documentation/userspace-api/media/v4l/biblio.rst | 11 + Documentation/userspace-api/media/v4l/vidioc-querycap.rst | 11 + Documentation/userspace-api/media/videodev2.h.rst.exceptions | 1 + MAINTAINERS | 7 + drivers/media/cec/core/cec-api.c | 4 +- drivers/media/cec/core/cec-core.c | 29 - drivers/media/cec/core/cec-priv.h | 2 - drivers/media/cec/usb/Kconfig | 1 + drivers/media/cec/usb/Makefile | 1 + drivers/media/cec/usb/extron-da-hd-4k-plus/Kconfig | 14 + drivers/media/cec/usb/extron-da-hd-4k-plus/Makefile | 8 + drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c | 657 +++++++++++++++++++++++ drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.h | 51 ++ drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c | 1836 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.h | 118 ++++ drivers/media/v4l2-core/v4l2-dev.c | 15 + include/media/cec.h | 31 ++ include/uapi/linux/serio.h | 1 + include/uapi/linux/videodev2.h | 1 + 20 files changed, 2853 insertions(+), 33 deletions(-) create mode 100644 drivers/media/cec/usb/extron-da-hd-4k-plus/Kconfig create mode 100644 drivers/media/cec/usb/extron-da-hd-4k-plus/Makefile create mode 100644 drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.c create mode 100644 drivers/media/cec/usb/extron-da-hd-4k-plus/cec-splitter.h create mode 100644 drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c create mode 100644 drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.h