drm/panel: waveshare: Add automatic panel recognition for DSI panels - #7553
Open
EngineerWill wants to merge 3 commits into
Open
drm/panel: waveshare: Add automatic panel recognition for DSI panels#7553EngineerWill wants to merge 3 commits into
EngineerWill wants to merge 3 commits into
Conversation
Add support for Waveshare automatic recognition DSI panels which identify themselves at runtime via I2C registers. The driver reads screen type, rotation and refresh rate from registers 0xd0-0xd3 to select the appropriate display mode and DSI lane configuration. Supported configurations include 1200x1920 and 1920x1200 panels at both 30fps (2 lanes) and 60fps (4 lanes) refresh rates. Signed-off-by: Engineer_Will <646689853@qq.com>
Add the auto_rec overlay parameter to select the automatic recognition panel compatible string (waveshare,automatic-recognition-panel). This enables runtime panel detection via I2C for Waveshare DSI displays that support automatic identification. Use lowercase with underscores for the parameter name to follow kernel naming conventions. Signed-off-by: Engineer_Will <646689853@qq.com>
drm/panel: waveshare: Add automatic panel recognition for DSI panels
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.
Add automatic panel recognition support for Waveshare DSI displays,targeting panels such as the 10.1inch DSI LCD (E) that identify themselves at runtime via I2C control registers.
Driver changes (drivers/gpu/drm/panel/panel-waveshare-dsi.c)
Overlay changes (vc4-kms-dsi-waveshare-panel)