[PATCH v6 0/4] (subset) Add OnePlus 6T display (Samsung S6E3FC2X01 DDIC with AMS641RW panel)

David Heidelberg via B4 Relay posted 4 patches 3 months, 1 week ago
.../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 113 +++++++++++++++++----
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts |   2 +-
2 files changed, 93 insertions(+), 22 deletions(-)
[PATCH v6 0/4] (subset) Add OnePlus 6T display (Samsung S6E3FC2X01 DDIC with AMS641RW panel)
Posted by David Heidelberg via B4 Relay 3 months, 1 week ago
This patchset enables the display on the OnePlus 6T smartphone.

(subset) Patches document the panel, pinctrls, and GPIOs.

Since the display node is shared between the OnePlus 6 and 6T,
the following warning appears:

..sdm845-oneplus-enchilada.dtb: panel@0 (samsung,sofef00): 'poc-supply', 'te-gpios', 'vci-supply' do not match any of the regexes: '^pinctrl-[0-9]+$'

This will be addressed in a follow-up patch, as the SOFEF00 DDIC also
requires additional overhaul to properly initialize and function in mainline.

Signed-off-by: David Heidelberg <david@ixit.cz>
---
Changes in v6:
- Rebase on top of next-20251103 and resolve conflicts due to another
  OnePlus 6 fix being merged.
- Link to v5: https://lore.kernel.org/r/20251023-s6e3fc2x01-v5-0-8f8852e67417@ixit.cz

Changes in v5:
- Squashed removal of compatible from simple DSI panel with introduction
  of the panel definition. (Konrad)
- Link to v4: https://lore.kernel.org/r/20251021-s6e3fc2x01-v4-0-5e3ee21c688a@ixit.cz

Changes in v4:
- Use refcounted allocation in place of devm_kzalloc()
- Added include drm_probe_helper (Raihan)
- Corrected te-gpio value from 30 to 10.
- Removed legacy compatible samsung,s6e3fc2x01 from the driver (Dmitry)
- Removed old compatible also from panel-simple-dsi enum.
- Link to v3: https://lore.kernel.org/r/20251016-s6e3fc2x01-v3-0-ce0f3566b903@ixit.cz

Changes in v3:
- Use mipi_dsi_dcs_set_display_brightness_large (Konrad)
- added legacy compatible samsung,s6e3fc2x01 into the driver (Dmitry)
- extended compatible string to
  "samsung,s6e3fc2x01-ams641rw", "samsung,s6e3fc2x01" (Dmitry)
- Brought back
  "dt-bindings: display: panel-simple-dsi: Remove Samsung S6E3FC2 compatible"
- Link to v2: https://lore.kernel.org/r/20251008-s6e3fc2x01-v2-0-21eca1d5c289@ixit.cz

Changes in v2:
- Dropped the gpio reset polarity change as suggested (Jens and Dmitry).
- Fixed unused warnings (kernel test robot).
- Added a pinctrl config for the VCI and POC supply.
- Removed patch "dt-bindings: display: panel-simple-dsi: Remove Samsung S6E3FC2 compatible"
  while the compatible is used in device-tree, but without any driver
  serving it, do not touch it (Rob)
- Added more details into the device-tree about the OnePlus 6T panel properties
- Put display gpio -pins into one -state block.
- Link to v1: https://lore.kernel.org/r/20250925-s6e3fc2x01-v1-0-9293016768f7@ixit.cz

---
Casey Connolly (1):
      arm64: dts: qcom: sdm845-oneplus: Update compatbible and add DDIC supplies

David Heidelberg (3):
      arm64: dts: qcom: sdm845-oneplus: Group panel pinctrl
      arm64: dts: qcom: sdm845-oneplus: Implement panel sleep pinctrl
      arm64: dts: qcom: sdm845-oneplus: Describe TE gpio

 .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 113 +++++++++++++++++----
 arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dts |   2 +-
 2 files changed, 93 insertions(+), 22 deletions(-)
---
base-commit: 9823120909776bbca58a3c55ef1f27d49283c1f3
change-id: 20250923-s6e3fc2x01-f9550b822fe5

Best regards,
-- 
David Heidelberg <david@ixit.cz>
Re: [PATCH v6 0/4] (subset) Add OnePlus 6T display (Samsung S6E3FC2X01 DDIC with AMS641RW panel)
Posted by Bjorn Andersson 3 months ago
On Mon, 03 Nov 2025 12:45:49 +0100, David Heidelberg wrote:
> This patchset enables the display on the OnePlus 6T smartphone.
> 
> (subset) Patches document the panel, pinctrls, and GPIOs.
> 
> Since the display node is shared between the OnePlus 6 and 6T,
> the following warning appears:
> 
> [...]

Applied, thanks!

[1/4] arm64: dts: qcom: sdm845-oneplus: Update compatbible and add DDIC supplies
      commit: 69b8bbde238a1503ac45998a911ea56ddb7610cf
[2/4] arm64: dts: qcom: sdm845-oneplus: Group panel pinctrl
      commit: 6c55c3c261ed7c17fa7823daf4d8f716504ad46e
[3/4] arm64: dts: qcom: sdm845-oneplus: Implement panel sleep pinctrl
      commit: 8dda2fecf76b6c4db5f4c1b81a765b73a7a878ed
[4/4] arm64: dts: qcom: sdm845-oneplus: Describe TE gpio
      commit: a3da84c36b1a6b80814b5a72ca1546648aba9e75

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>