diff --git a/arch/arm64/boot/dts/apple/t6000-j316s.dts b/arch/arm64/boot/dts/apple/t6000-j316s.dts index 8a72e00c5ec9c..8ab9042909f2f 100644 --- a/arch/arm64/boot/dts/apple/t6000-j316s.dts +++ b/arch/arm64/boot/dts/apple/t6000-j316s.dts @@ -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"; diff --git a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi index e06fb437ee4ac..3e0f7b787bdff 100644 --- a/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi +++ b/arch/arm64/boot/dts/apple/t600x-j314-j316.dtsi @@ -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"; + }; }; / { diff --git a/arch/arm64/boot/dts/apple/t6022-j180d.dts b/arch/arm64/boot/dts/apple/t6022-j180d.dts index 2120560f46f7a..2e90749bacb60 100644 --- a/arch/arm64/boot/dts/apple/t6022-j180d.dts +++ b/arch/arm64/boot/dts/apple/t6022-j180d.dts @@ -33,6 +33,12 @@ ethernet1 = ðernet1; 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; diff --git a/arch/arm64/boot/dts/apple/t8112-j413.dts b/arch/arm64/boot/dts/apple/t8112-j413.dts index 2088e124c1ffb..68cc81e068a4a 100644 --- a/arch/arm64/boot/dts/apple/t8112-j413.dts +++ b/arch/arm64/boot/dts/apple/t8112-j413.dts @@ -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"; diff --git a/arch/arm64/boot/dts/apple/t8112.dtsi b/arch/arm64/boot/dts/apple/t8112.dtsi index 3c88deef45f04..0d168a3a3c3f0 100644 --- a/arch/arm64/boot/dts/apple/t8112.dtsi +++ b/arch/arm64/boot/dts/apple/t8112.dtsi @@ -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 { diff --git a/drivers/media/platform/apple/scaler/apple-scaler-drv.c b/drivers/media/platform/apple/scaler/apple-scaler-drv.c index d9024ee078e45..92b0b05a6aba1 100644 --- a/drivers/media/platform/apple/scaler/apple-scaler-drv.c +++ b/drivers/media/platform/apple/scaler/apple-scaler-drv.c @@ -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 },