Skip to content
10 changes: 0 additions & 10 deletions arch/arm64/boot/dts/apple/t6000-j316s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@
apple,machine-kind = "MacBook Pro";
};

&aop {
accel {
compatible = "apple,t6000-aop-accel", "apple,aop-accel";
};

gyro {
compatible = "apple,t6000-aop-gyro", "apple,aop-gyro";
};
};

&nub_spmi1 {
pmic@e {
compatible = "apple,maverick-pmic", "apple,spmi-nvmem";
Expand Down
16 changes: 15 additions & 1 deletion arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,21 @@
};

&aop {
status = "okay";
status = "okay";

/*
* Every 14" and 16" M1 Pro/Max MacBook Pro has the same AOP-hosted
* inertial sensor. The child only binds once the AOP firmware announces
* the service, and the sensor starts only with the calibration that the
* bootloader copies in from the Apple device tree.
*/
accel {
compatible = "apple,t6000-aop-accel", "apple,aop-accel";
};

gyro {
compatible = "apple,t6000-aop-gyro", "apple,aop-gyro";
};
};

/ {
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/apple/t6022-j180d.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
ethernet1 = &ethernet1;
nvram = &nvram;
serial0 = &serial0;
/*
* The loader sets up and enables each SIO it finds by alias.
* The die 0 HDMI port's audio (dpaudio1) is fed by the die 0
* SIO; t6022-jxxxd.dtsi only aliases the die 1 one as sio1.
*/
sio = &sio;
usb4-0-acio = &usb4_0_acio;
usb4-0-nhi = &usb4_0_nhi;
usb4-1-acio = &usb4_1_acio;
Expand Down
10 changes: 0 additions & 10 deletions arch/arm64/boot/dts/apple/t8112-j413.dts
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,6 @@
status = "okay";
};

&aop {
accel {
compatible = "apple,t8112-aop-accel", "apple,aop-accel";
};

gyro {
compatible = "apple,t8112-aop-gyro", "apple,aop-gyro";
};
};

&aop_audio {
apple,chassis-name = "J413";
apple,machine-kind = "MacBook Air";
Expand Down
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/apple/t8112.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1811,6 +1811,20 @@
aop_las: las {
compatible = "apple,t8112-aop-las", "apple,aop-las";
};

/*
* The AOP-hosted inertial sensor. The children only
* bind once the AOP firmware announces the service,
* and the sensor starts only with the calibration the
* bootloader copies in from the Apple device tree.
*/
accel {
compatible = "apple,t8112-aop-accel", "apple,aop-accel";
};

gyro {
compatible = "apple,t8112-aop-gyro", "apple,aop-gyro";
};
};

mtp: mtp@24e400000 {
Expand Down
7 changes: 7 additions & 0 deletions drivers/media/platform/apple/scaler/apple-scaler-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -2230,6 +2230,13 @@ static const struct of_device_id asc_of_match[] = {
{ .compatible = "apple,t8103-scaler", .data = &apple_scaler_t8103 },
{ .compatible = "apple,t6000-scaler", .data = &apple_scaler_t6000 },
{ .compatible = "apple,t8112-scaler", .data = &apple_scaler_t8112 },
/*
* M2 Pro/Max/Ultra: the M2 engine. Same three register ranges at the
* same offsets, two DART streams, and the binding's T8112 contract.
*/
{ .compatible = "apple,t6020-scaler", .data = &apple_scaler_t8112 },
{ .compatible = "apple,t6021-scaler", .data = &apple_scaler_t8112 },
{ .compatible = "apple,t6022-scaler", .data = &apple_scaler_t8112 },
{ .compatible = "apple,t8122-scaler", .data = &apple_scaler_t8122 },
{ .compatible = "apple,t6030-scaler", .data = &apple_scaler_t6030 },
{ .compatible = "apple,t6031-scaler", .data = &apple_scaler_t6030 },
Expand Down
Loading