Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions arch/arm64/boot/dts/apple/t8132-j623-j624.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/apple/t8132-j773g.dts
Original file line number Diff line number Diff line change
Expand Up @@ -426,3 +426,8 @@
&avd {
status = "okay";
};

/* The J773g ADT has no DP855 on spi4. */
&spi4 {
/delete-node/ panel-timing-controller@0;
};
14 changes: 2 additions & 12 deletions arch/arm64/boot/dts/apple/t8132-laptop.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};
};
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/apple/t8132-peripheral-buses.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading