Skip to content

[mipi_dsi] Fix Waveshare P4 7B board config#14372

Merged
clydebarrow merged 1 commit intoesphome:devfrom
clydebarrow:wave-p4-7b
Feb 28, 2026
Merged

[mipi_dsi] Fix Waveshare P4 7B board config#14372
clydebarrow merged 1 commit intoesphome:devfrom
clydebarrow:wave-p4-7b

Conversation

@clydebarrow
Copy link
Contributor

What does this implement/fix?

The Waveshare P4 Touch 7B board was missing a reset pin config option.

Also remove redundant init sequence commands from the P4-86 config

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) — policy
  • Developer breaking change (an API change that could break external components) — policy
  • Undocumented C++ API change (removal or change of undocumented public methods that lambda users may depend on) — policy
  • Code quality improvements to existing code or addition of tests
  • Other

Related issue or feature (if applicable):

  • fixes

Pull request in esphome-docs with documentation (if applicable):

  • esphome/esphome-docs#

Test Environment

  • ESP32
  • ESP32 IDF
  • ESP8266
  • RP2040
  • BK72xx
  • RTL87xx
  • LN882x
  • nRF52840

Example entry for config.yaml:

# Example config.yaml

Checklist:

  • The code change is tested and works locally.
  • Tests have been added to verify that the new code works (under tests/ folder).

If user exposed functionality or configuration variables are added/changed:

@clydebarrow clydebarrow added this to the 2026.2.3 milestone Feb 28, 2026
@github-actions
Copy link
Contributor

To use the changes from this PR as an external component, add the following to your ESPHome configuration YAML file:

external_components:
  - source: github://pr#14372
    components: [mipi_dsi]
    refresh: 1h

(Added by the PR bot)

@codecov-commenter
Copy link

codecov-commenter commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.28%. Comparing base (49cc389) to head (925860c).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev   #14372   +/-   ##
=======================================
  Coverage   74.28%   74.28%           
=======================================
  Files          55       55           
  Lines       11597    11597           
  Branches     1583     1583           
=======================================
  Hits         8615     8615           
  Misses       2578     2578           
  Partials      404      404           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

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

Fixes Waveshare MIPI DSI model definitions by adding the missing reset-pin default for the P4 Touch 7B board and simplifying the P4-86 panel init sequence to avoid redundant commands.

Changes:

  • Add reset_pin=33 default for WAVESHARE-ESP32-P4-WIFI6-TOUCH-LCD-7B.
  • Remove redundant 0x11/0x29 commands from the WAVESHARE-P4-86-PANEL model init sequence.

@clydebarrow clydebarrow merged commit 089d1e5 into esphome:dev Feb 28, 2026
46 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants