Skip to content

Conversation

clydebarrow
Copy link
Contributor

@clydebarrow clydebarrow commented Jul 24, 2025

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:

  1. 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):

    @esphomebot generate image COMPONENT_NAME
    
  2. The ESPHome bot will respond with a downloadable ZIP file containing the SVG image.

  3. Extract the SVG file and place it in the images/ folder of this repository.

  4. Use the image in your component's index table entry in /components/index.rst.

Example: For a component called "DHT22 Temperature Sensor", use:

@esphomebot generate image DHT22

Copy link
Contributor

@Copilot Copilot AI left a 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

Supported boards and driver chips
---------------------------------

There are specific configurations for several ESP32 boards with integrated displays. For tbose boards
Copy link
Preview

Copilot AI Jul 24, 2025

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'.

Suggested change
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.

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.
Copy link
Preview

Copilot AI Jul 24, 2025

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'.

Suggested change
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.

using 16 bit color depth. The default is appropriate for the majority of displays.


Additional inititialisation sequences
Copy link
Preview

Copilot AI Jul 24, 2025

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'.

Suggested change
Additional inititialisation sequences
Additional initialisation sequences

Copilot uses AI. Check for mistakes.

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
Copy link
Preview

Copilot AI Jul 24, 2025

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.

Suggested change
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.

Comment on lines 165 to 168
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.

Copy link
Preview

Copilot AI Jul 24, 2025

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.

Suggested change
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.

Copy link

netlify bot commented Jul 24, 2025

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 81d6a0a
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/68882297fd981b000887c6bd
😎 Deploy Preview https://deploy-preview-5175--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant