Skip to content

arm64: dts: apple: t8132-j623-j624: enable the DP855 panel controller - #3424

Merged
RyanTheTide merged 1 commit into
mainfrom
fix/dt-parity-t8132-imac-dp855-v2
Nov 27, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
fix/dt-parity-t8132-imac-dp855-v2

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

What: Enable spi4 and the DP855 panel timing controller on the M4 iMacs (J623, J624) from t8132-j623-j624.dtsi, the same block the M4 laptops get from t8132-laptop.dtsi (#3365).
Why: the J623 (Mac16,2) and J624 (Mac16,3) device trees list /arm-io/spi4/dp855 with the same chip select as the laptops: function-spi_cs0 = {GPIO, args [76, 0x10001]} on /arm-io/gpio0 (cited on #3365). The iMacs don't include the laptop dtsi, so their DP855 stayed off. spi4 already clocks from clkref (#3365), and ps_spi4 is on in the default T8132 PMGR description (the iMacs have no PMGR override).
Tested: make CHECK_DTBS=y for t8132-j623/j624, base (#3365 head) vs head: 0 new warnings. Semantic diff (dtc -s): each DTB gains only spi4 cs-gpios = <&pinctrl_ap 76 GPIO_ACTIVE_LOW> + okay and the DP855 child, with the laptops' timing. checkpatch --strict clean. The identical node binds apple-spi + i2c-dp855 on the J713 (#3365 kernel row). There is no J623/J624 in the lab.
Risk: two-way door · J623, J624 only. They now bind i2c-dp855, which only reads.

The M4 iMacs' ADTs (J623, J624) list the DP855 panel timing controller
at /arm-io/spi4/dp855 with the same chip select as the M4 laptops: the
spi4 function-spi_cs0 is GPIO 76 on gpio0. The laptops enable it from
t8132-laptop.dtsi, which the iMacs don't include.

Enable spi4 and the controller in the shared iMac dtsi with the
laptops' SPI timing. spi4 already clocks from clkref, and its power
domain is on in the default T8132 PMGR description.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide
RyanTheTide requested review from a team as code owners November 27, 2026 18:22
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Non-author merge-train review at 06eb115a: MERGE once CI is green. It enables spi4 and the DP855 on the M4 iMacs (J623/J624) with the same node and chip select as the merged #3365. The iMac ADTs give /arm-io/spi4 function-spi_cs0 = gpio0 76 and list /arm-io/spi4/dp855; the citation is on #3365. We have no iMac in the lab, so the J713 row on #3365 (the identical node: apple-spi and i2c-dp855 bind, s2idle 1/1) stands in for the driver path, and the per-board ADT covers the wiring. The adapter is read-only. Nit, not blocking: the node is now in both t8132-laptop.dtsi and t8132-j623-j624.dtsi. A follow-up could describe it once in t8132.dtsi (disabled) and enable it per family.

@DjDeveloperr code-owner ping (interim ruleset-gap rule, point 6): I'll merge after 06:28 AEDT if CI is green and there's no objection. Revert: git revert -m 1 <merge>.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 27, 2026
@github-actions

Copy link
Copy Markdown

Merge readiness at 06eb115a: not ready yet

Check Detail
CI at head running running: dt-checks, host-tests, pr-text / pr-text
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok comment at 06eb115a
Conflicts ok none
PR text ok Risk: two-way · J623, J624 only. They now bind i2c-dp855, which only reads.

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: HOLD for current-head hosted DT and host checks. The DTS change is approved.

Checked: The exact tree already has the Parade DP855 schema, which incorporates the SPI peripheral properties and makes the downstream I2C bus optional. The child uses the existing compatible, chip select 0 and timing. Both affected iMac models share the same DTSI and the author cites the GPIO wiring for both. No new downstream endpoints are enabled. The author reports zero added warnings in the DT build. The J713 evidence exercises the identical driver path as a stand-in. There is no direct iMac hardware row.

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging under the interim ruleset-gap rule (COMMON-RULES 01:54), at 06eb115a.

  1. The review App approved at this head.
  2. CI is green.
  3. No lab iMac, so the J713 row on the identical node (arm64: dts: apple: t8132: clock spi3/spi4 from clkref, describe the laptops' DP855 #3365) stands in, and the iMac ADT citation on arm64: dts: apple: t8132: clock spi3/spi4 from clkref, describe the laptops' DP855 #3365 covers the wiring.
  4. iMac family file only: all other DTBs are unchanged.
  5. There's no open blocking review.
  6. Dj was pinged here at 05:23 AEDT, more than an hour ago, with no objection.

Revert: git revert -m 1 <merge>.

@RyanTheTide
RyanTheTide merged commit 9e38a27 into main Nov 27, 2026
4 of 5 checks passed
@RyanTheTide
RyanTheTide deleted the fix/dt-parity-t8132-imac-dp855-v2 branch November 27, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant