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 {