-
-
Notifications
You must be signed in to change notification settings - Fork 2k
mipi dsi light #5175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
mipi dsi light #5175
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive documentation for the MIPI DSI display driver and its backlight component. It introduces documentation for a new display driver that supports ESP32-P4's MIPI DSI interface and provides backlight control functionality.
Key changes:
- Added complete documentation for the MIPI DSI display driver with configuration options, supported boards, and usage examples
- Added documentation for the MIPI DSI backlight component for controlling display backlights
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 5 comments.
File | Description |
---|---|
components/display/mipi_dsi.rst | Complete documentation for MIPI DSI display driver including configuration, supported boards, and advanced options |
components/light/mipi_dsi.rst | Simple documentation for MIPI DSI backlight control component |
components/display/mipi_dsi.rst
Outdated
Supported boards and driver chips | ||
--------------------------------- | ||
|
||
There are specific configurations for several ESP32 boards with integrated displays. For tbose boards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in 'tbose' which should be 'those'.
There are specific configurations for several ESP32 boards with integrated displays. For tbose boards | |
There are specific configurations for several ESP32 boards with integrated displays. For those boards |
Copilot uses AI. Check for mistakes.
components/display/mipi_dsi.rst
Outdated
CUSTOM model | ||
------------ | ||
|
||
The ``CUSTOM`` model selection is provided for otherwise unsupported displays, and requires both ``dimensions:`` and ``init_sequence:`` to be specfied. There is no pre-defined init sequence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in 'specfied' which should be 'specified'.
The ``CUSTOM`` model selection is provided for otherwise unsupported displays, and requires both ``dimensions:`` and ``init_sequence:`` to be specfied. There is no pre-defined init sequence. | |
The ``CUSTOM`` model selection is provided for otherwise unsupported displays, and requires both ``dimensions:`` and ``init_sequence:`` to be specified. There is no pre-defined init sequence. |
Copilot uses AI. Check for mistakes.
components/display/mipi_dsi.rst
Outdated
using 16 bit color depth. The default is appropriate for the majority of displays. | ||
|
||
|
||
Additional inititialisation sequences |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in 'inititialisation' which should be 'initialisation'.
Additional inititialisation sequences | |
Additional initialisation sequences |
Copilot uses AI. Check for mistakes.
components/display/mipi_dsi.rst
Outdated
including the Display Serial Interface (DSI), which transfers pixel data over a high-speed serial bus to an LCD display. | ||
|
||
The display panels controlled by the driver may be of various types, including TFT, IPS, and others. Each driver | ||
chip and panel combination requires a specific set of initialisation commands, and standard initialisation sequences are provided for many common |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The sentence is quite long and could be split for better readability. Consider breaking it after 'initialisation commands' to improve clarity.
chip and panel combination requires a specific set of initialisation commands, and standard initialisation sequences are provided for many common | |
chip and panel combination requires a specific set of initialisation commands. Standard initialisation sequences are provided for many common |
Copilot uses AI. Check for mistakes.
components/display/mipi_dsi.rst
Outdated
be able to be dimmed using a :doc:`/components/light/monochromatic` with a :doc:`/components/output/ledc`. | ||
|
||
Many DSI display panels have an integrated backlight, which may need to be turned on for the display to show. See :doc:`/components/light/mipi_dsi` for more information. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This paragraph duplicates information already mentioned in the 'LCD Backlights' section (lines 163-165). Consider removing the redundant content to avoid repetition.
be able to be dimmed using a :doc:`/components/light/monochromatic` with a :doc:`/components/output/ledc`. | |
Many DSI display panels have an integrated backlight, which may need to be turned on for the display to show. See :doc:`/components/light/mipi_dsi` for more information. | |
be able to be dimmed using a :doc:`/components/light/monochromatic` with a :doc:`/components/output/ledc`. See :doc:`/components/light/mipi_dsi` for more information. |
Copilot uses AI. Check for mistakes.
✅ Deploy Preview for esphome ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Description:
Add docs for the
mipi_dsi
backlight controller.Related issue (if applicable): fixes
Pull request in esphome with YAML changes (if applicable):
Checklist:
I am merging into
next
because this is new documentation that has a matching pull-request in esphome as linked above.or
I am merging into
current
because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.Link added in
/components/index.rst
when creating new documents for new components or cookbook.New Component Images
If you are adding a new component to ESPHome, you can automatically generate a standardized black and white component name image for the documentation.
To generate a component image:
Comment on this pull request with the following command, replacing
COMPONENT_NAME
with your component name in UPPER_CASE format with underscores (e.g.,BME280
,SHT3X
,DALLAS_TEMP
):The ESPHome bot will respond with a downloadable ZIP file containing the SVG image.
Extract the SVG file and place it in the
images/
folder of this repository.Use the image in your component's index table entry in
/components/index.rst
.Example: For a component called "DHT22 Temperature Sensor", use: