From 701d5ea51a147a7fb48bedc5e6ab33ccff9efe56 Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Sat, 28 Nov 2026 05:45:40 +1100 Subject: [PATCH] arm64: dts: apple: t8132: describe the DP855 once on spi4 The M4 laptops and iMacs each described the DP855 panel timing controller under spi4 with the same timing. Describe it once in the shared spi4 node and keep only the chip select and the enable in the family files. The J773g ADT has no DP855 on spi4, so its tree deletes the node. No DTB changes: the J604, J623, J624, J713, J715 and J773g trees are the same before and after (dtc -s). Signed-off-by: Ryan Murray --- arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi | 12 +----------- arch/arm64/boot/dts/apple/t8132-j773g.dts | 5 +++++ arch/arm64/boot/dts/apple/t8132-laptop.dtsi | 14 ++------------ .../boot/dts/apple/t8132-peripheral-buses.dtsi | 15 +++++++++++++++ 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi b/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi index 63a530d946dd8..d2ce7a07bfabb 100644 --- a/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi @@ -95,19 +95,9 @@ /* * ADT /arm-io/spi4/dp855: the panel timing controller. The J623 and J624 * ADTs give the same chip select as the M4 laptops (spi4 function-spi_cs0, - * GPIO 76). i2c-dp855 reads the panel management devices behind it and - * shares its I2C engine with the display firmware through the controller's - * lock. + * GPIO 76). */ &spi4 { cs-gpios = <&pinctrl_ap 76 GPIO_ACTIVE_LOW>; status = "okay"; - - panel-timing-controller@0 { - compatible = "parade,dp855"; - reg = <0>; - spi-max-frequency = <1000000>; - spi-cs-setup-delay-ns = <20>; - spi-cs-hold-delay-ns = <20>; - }; }; diff --git a/arch/arm64/boot/dts/apple/t8132-j773g.dts b/arch/arm64/boot/dts/apple/t8132-j773g.dts index fc0aec6118e65..e60d755e355cb 100644 --- a/arch/arm64/boot/dts/apple/t8132-j773g.dts +++ b/arch/arm64/boot/dts/apple/t8132-j773g.dts @@ -426,3 +426,8 @@ &avd { status = "okay"; }; + +/* The J773g ADT has no DP855 on spi4. */ +&spi4 { + /delete-node/ panel-timing-controller@0; +}; diff --git a/arch/arm64/boot/dts/apple/t8132-laptop.dtsi b/arch/arm64/boot/dts/apple/t8132-laptop.dtsi index 9b2a664fa4117..e4666bf67fbfb 100644 --- a/arch/arm64/boot/dts/apple/t8132-laptop.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-laptop.dtsi @@ -187,20 +187,10 @@ }; /* - * ADT /arm-io/spi4/dp855: the panel timing controller, chip select from the - * spi4 function-spi_cs0 (the same pin on the J604 and J713). i2c-dp855 reads - * the panel management devices behind it and shares its I2C engine with the - * display firmware through the controller's lock. + * ADT /arm-io/spi4/dp855: the panel timing controller. Chip select from the + * spi4 function-spi_cs0, the same pin on the J604, J713 and J715. */ &spi4 { cs-gpios = <&pinctrl_ap 76 GPIO_ACTIVE_LOW>; status = "okay"; - - panel_controller: panel-timing-controller@0 { - compatible = "parade,dp855"; - reg = <0>; - spi-max-frequency = <1000000>; - spi-cs-setup-delay-ns = <20>; - spi-cs-hold-delay-ns = <20>; - }; }; diff --git a/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi b/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi index 39e11e001052e..320765b634e2f 100644 --- a/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi +++ b/arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi @@ -16,6 +16,21 @@ #address-cells = <1>; #size-cells = <0>; status = "disabled"; + + /* + * The DP855 panel timing controller (ADT /arm-io/spi4/dp855). + * i2c-dp855 reads the panel management devices behind it and + * shares its I2C engine with the display firmware through the + * controller's lock. Boards that have it set the chip select + * and enable spi4. + */ + panel_controller: panel-timing-controller@0 { + compatible = "parade,dp855"; + reg = <0>; + spi-max-frequency = <1000000>; + spi-cs-setup-delay-ns = <20>; + spi-cs-hold-delay-ns = <20>; + }; }; nub_spmi_a1: spmi@388a08000 {