Repository navigation
arm64: dts: apple: t8132-j623-j624: enable the DP855 panel controller - #3424
Conversation
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>
|
Non-author merge-train review at @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: |
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
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.
|
Merging under the interim ruleset-gap rule (COMMON-RULES 01:54), at
Revert: |
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 fromt8132-laptop.dtsi(#3365).Why: the J623 (Mac16,2) and J624 (Mac16,3) device trees list
/arm-io/spi4/dp855with 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 fromclkref(#3365), andps_spi4is on in the default T8132 PMGR description (the iMacs have no PMGR override).Tested:
make CHECK_DTBS=yfor t8132-j623/j624, base (#3365 head) vs head: 0 new warnings. Semantic diff (dtc -s): each DTB gains only spi4cs-gpios = <&pinctrl_ap 76 GPIO_ACTIVE_LOW>+ okay and the DP855 child, with the laptops' timing. checkpatch --strict clean. The identical node bindsapple-spi+i2c-dp855on 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.