From: Adrien Grassein <adrien.grassein@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: robert.foss@linaro.org, airlied@linux.ie, daniel@ffwll.ch,
a.hajda@samsung.com, robh+dt@kernel.org, narmstrong@baylibre.com,
Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se,
jernej.skrabec@siol.net, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Adrien Grassein <adrien.grassein@gmail.com>
Subject: [PATCH v8 0/2] Add support of Lontium lt8912 MIPI to HDMI bridge
Date: Tue, 23 Mar 2021 19:14:21 +0100 [thread overview]
Message-ID: <20210323181423.657926-1-adrien.grassein@gmail.com> (raw)
Hi,
this patch set adds the support of the Lontium lt8912 MIPI to HDMI
bridge in the kernel.
It's only support the video part, not the audio part yet
since I don't have the datasheet of this component.
I get the current i2c configuration from Digi and
Boundary drivers.
Developed using the DB_DSIHD board from BoundaryDevices.
Update in v2
- Use standard data-lanes instead of a custom prop;
- Use hdmi-connector node.
Update in v3
- Fix indentation;
- Implement missing bridge functions;
- Add some comments.
Update in v4
- Fix bridge ops;
- Fix i2c error detection.
Update in v5
- Fix lt8912 name (lt8912b instead of lt8912);
- Implement HPD via a workaround. In fact I don't have the datasheet
of this component yet so I can't say if the configuration of the
registers is correct or if I have an HW issue on my board. So, I choose
to implement a fake version of HPD using a workqueue and polling the
status regularly.
Update in v6
- Fix a warning found by "kernel test robot"
Update in v7
- Fix HPD logic (via an HW emulation);
- HPD from chip is still not working.
Update in v8
- Remove HPD logic (will be added later when HW bug qill be fixed).
Thanks,
Adrien Grassein (2):
dt-bindings: display: bridge: Add documentation for LT8912B
drm/bridge: Introduce LT8912B DSI to HDMI bridge
.../display/bridge/lontium,lt8912b.yaml | 102 +++
MAINTAINERS | 6 +
drivers/gpu/drm/bridge/Kconfig | 14 +
drivers/gpu/drm/bridge/Makefile | 1 +
drivers/gpu/drm/bridge/lontium-lt8912b.c | 765 ++++++++++++++++++
5 files changed, 888 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml
create mode 100644 drivers/gpu/drm/bridge/lontium-lt8912b.c
--
2.25.1
next reply other threads:[~2021-03-23 18:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-23 18:14 Adrien Grassein [this message]
2021-03-23 18:14 ` [PATCH v8 1/2] dt-bindings: display: bridge: Add documentation for LT8912B Adrien Grassein
2021-03-23 18:14 ` [PATCH v8 2/2] drm/bridge: Introduce LT8912B DSI to HDMI bridge Adrien Grassein
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=20210323181423.657926-1-adrien.grassein@gmail.com \
--to=adrien.grassein@gmail.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=a.hajda@samsung.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jernej.skrabec@siol.net \
--cc=jonas@kwiboo.se \
--cc=linux-kernel@vger.kernel.org \
--cc=narmstrong@baylibre.com \
--cc=robert.foss@linaro.org \
--cc=robh+dt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).