From: Erling Ljunggren <hljunggr@cisco.com>
To: linux-media@vger.kernel.org
Cc: Erling Ljunggren <hljunggr@cisco.com>
Subject: [PATCH v4 0/5] Add the cat24c208 EDID EEPROM driver + new EDID capability
Date: Fri, 11 Nov 2022 14:29:01 +0100 [thread overview]
Message-ID: <20221111132906.2212662-1-hljunggr@cisco.com> (raw)
This series adds support for the standalone cat24c208 EDID EEPROM i2c device.
Usually EDID support is part of an HDMI receiver, but this is a standalone EEPROM.
Note that EEPROMs for EDIDs are not regular EEPROM devices, these are dual port
devices that follow the VESA E-DDC standard.
Since this is a standalone device that does not capture any video a new
V4L2_CAP_EDID capability is introduced to represent such devices.
Note that such a device doesn't have to be an EEPROM, it can also be
implemented using a microcontroller, for example.
v4:
- update driver and bindings to support a video input connector phandle
- use connector phandle to get HPD gpio and input label
v3:
- use old V4L2_CAP_ASYNCIO (0x02000000) capability bit
- validate physical address of edid in driver
- handle empty edid in driver
- add cec notifier support to driver
- update driver and bindings with hpd gpio support
- removed references to "memory" in capability and docs
- associate ioctls based on device direction
v2:
- fix dt binding example
- rename i2c client variables in data struct
- fix include: of_device.h -> mod_devicetable.h
- sorted makefile
- used define EDID_OFFSET_EXT_FLAG instead of magic number
- removed of_match_ptr
- added bus_info
- remove unneeded headers
- add depends on OF to Kconfig
Erling Ljunggren (4):
media: videodev2.h: add V4L2_CAP_EDID
media: docs: Add V4L2_CAP_EDID
dt-bindings: media: add cat24c208 bindings
media: v4l2-dev: handle V4L2_CAP_EDID
Jonathan Selnes (1):
media: i2c: cat24c208: driver for the cat24c208 EDID EEPROM
.../bindings/media/i2c/onnn,cat24c208.yaml | 46 ++
.../userspace-api/media/v4l/biblio.rst | 11 +
.../media/v4l/vidioc-querycap.rst | 11 +
.../media/videodev2.h.rst.exceptions | 1 +
MAINTAINERS | 7 +
drivers/media/i2c/Kconfig | 9 +
drivers/media/i2c/Makefile | 1 +
drivers/media/i2c/cat24c208.c | 499 ++++++++++++++++++
drivers/media/v4l2-core/v4l2-dev.c | 15 +
include/uapi/linux/videodev2.h | 1 +
10 files changed, 601 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/i2c/onnn,cat24c208.yaml
create mode 100644 drivers/media/i2c/cat24c208.c
--
2.38.0
next reply other threads:[~2022-11-11 13:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 13:29 Erling Ljunggren [this message]
2022-11-11 13:29 ` [PATCH v4 1/5] media: videodev2.h: add V4L2_CAP_EDID Erling Ljunggren
2022-11-11 13:29 ` [PATCH v4 2/5] media: docs: Add V4L2_CAP_EDID Erling Ljunggren
2022-11-11 13:29 ` [PATCH v4 3/5] dt-bindings: media: add cat24c208 bindings Erling Ljunggren
2022-11-16 20:07 ` Rob Herring
2022-11-18 10:34 ` Hans Verkuil
2022-11-18 15:20 ` Rob Herring
2022-11-18 15:46 ` Hans Verkuil
2022-11-18 17:12 ` Rob Herring
2022-11-11 13:29 ` [PATCH v4 4/5] media: i2c: cat24c208: driver for the cat24c208 EDID EEPROM Erling Ljunggren
2022-11-11 13:29 ` [PATCH v4 5/5] media: v4l2-dev: handle V4L2_CAP_EDID Erling Ljunggren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221111132906.2212662-1-hljunggr@cisco.com \
--to=hljunggr@cisco.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.