LT9611UXD#533
Open
mohitdsor wants to merge 1 commit intoqualcomm-linux:qcom-6.18.yfrom
Open
Conversation
Add support for Lontium LT9611UXD HDMI bridge. Lontium LT9611UXD is a DSI to HDMI bridge which supports DSI ports and I2S port as an input and HDMI port as output. Despite name being similar to LT9611 and LT9611UXD, these devices are different enough to warrant separate driver. Signed-off-by: Mohit Dsor <mdsor@qti.qualcomm.com>
quicvvalluru
reviewed
May 5, 2026
quicvvalluru
reviewed
May 5, 2026
quicvvalluru
reviewed
May 5, 2026
| { | ||
| .name = "register_range", | ||
| .range_min = 0, | ||
| .range_max = 0xffff, |
quicvvalluru
reviewed
May 5, 2026
quicvvalluru
reviewed
May 5, 2026
quicvvalluru
reviewed
May 5, 2026
| dev_err(dev, "failed to read HPD status\n"); | ||
| } else { | ||
| lt9611uxd->hdmi_connected = (data[4] == 0x02); | ||
| dev_info(dev, "HDMI %s\n", lt9611uxd->hdmi_connected ? "connected" : "disconnected"); |
quicvvalluru
reviewed
May 5, 2026
| lt9611uxd->supplies[1].supply = "vdd"; | ||
|
|
||
| ret = devm_regulator_bulk_get(dev, 2, lt9611uxd->supplies); | ||
|
|
quicvvalluru
reviewed
May 5, 2026
| return ret; | ||
| } | ||
|
|
||
| return ret; |
quicvvalluru
reviewed
May 5, 2026
| return MODE_BAD; | ||
| } | ||
|
|
||
| static void lt9611uxd_bridge_mode_set(struct drm_bridge *bridge, |
There was a problem hiding this comment.
this entire function needs to be rewritten according to lt9611uxc_video_setup
quicvvalluru
reviewed
May 5, 2026
| { | ||
| struct device *dev = lt9611uxd->dev; | ||
|
|
||
| lt9611uxd->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); |
quicvvalluru
reviewed
May 5, 2026
| return ret; | ||
| } | ||
|
|
||
| if (chipid[0] != 0x23 || chipid[1] != 0x06) { |
There was a problem hiding this comment.
any reason of this hard coding and how to avoid
quicvvalluru
reviewed
May 5, 2026
| } | ||
| } | ||
|
|
||
| lt9611uxd_reset(lt9611uxd); |
quicvvalluru
reviewed
May 5, 2026
| module_i2c_driver(lt9611uxd_driver); | ||
|
|
||
| MODULE_AUTHOR("mohit dsor <mohit.dsor@oss.qualcomm.com>"); | ||
| MODULE_LICENSE("GPL v2"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.