Skip to content
Closed
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
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/apple/t6020-peripherals.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@
<AIC_IRQ 0 1188 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler0 0>, <&m2_dart_scaler0 1>;
power-domains = <&ps_msr0>, <&ps_afr>, <&ps_msr0_ase_core>;
status = "disabled";
status = "okay";
};

m2_dart_scaler0: iommu@40b200000 {
Expand All @@ -610,7 +610,7 @@
interrupts = <AIC_IRQ 0 1187 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr0>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave0_2: iommu@40d020000 {
Expand Down
8 changes: 4 additions & 4 deletions arch/arm64/boot/dts/apple/t6021-peripherals.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@
<AIC_IRQ 0 1188 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler0 0>, <&m2_dart_scaler0 1>;
power-domains = <&ps_msr0>, <&ps_afr>, <&ps_msr0_ase_core>;
status = "disabled";
status = "okay";
};

m2_dart_scaler0: iommu@40b200000 {
Expand All @@ -788,7 +788,7 @@
interrupts = <AIC_IRQ 0 1187 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr0>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave0_2: iommu@40d020000 {
Expand Down Expand Up @@ -870,7 +870,7 @@
<AIC_IRQ 0 1194 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler1 0>, <&m2_dart_scaler1 1>;
power-domains = <&ps_msr1>, <&ps_afr>, <&ps_msr1_ase_core>;
status = "disabled";
status = "okay";
};

m2_dart_scaler1: iommu@491200000 {
Expand All @@ -880,7 +880,7 @@
interrupts = <AIC_IRQ 0 1193 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr1>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave1_2: iommu@507020000 {
Expand Down
16 changes: 8 additions & 8 deletions arch/arm64/boot/dts/apple/t6022-peripherals.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@
<AIC_IRQ 0 1188 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler0 0>, <&m2_dart_scaler0 1>;
power-domains = <&ps_msr0>, <&ps_afr>, <&ps_msr0_ase_core>;
status = "disabled";
status = "okay";
};

m2_dart_scaler0: iommu@40b200000 {
Expand All @@ -1150,7 +1150,7 @@
interrupts = <AIC_IRQ 0 1187 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr0>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave0_2: iommu@40d020000 {
Expand Down Expand Up @@ -1298,7 +1298,7 @@
<AIC_IRQ 0 1194 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler1 0>, <&m2_dart_scaler1 1>;
power-domains = <&ps_msr1>, <&ps_afr>, <&ps_msr1_ase_core>;
status = "disabled";
status = "okay";
};

m2_dart_scaler1: iommu@491200000 {
Expand All @@ -1308,7 +1308,7 @@
interrupts = <AIC_IRQ 0 1193 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr1>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave1_2: iommu@507020000 {
Expand Down Expand Up @@ -1953,7 +1953,7 @@
<AIC_IRQ 1 1188 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler2 0>, <&m2_dart_scaler2 1>;
power-domains = <&ps_msr0_die1>, <&ps_afr_die1>, <&ps_msr0_ase_core_die1>;
status = "disabled";
status = "okay";
};

m2_dart_scaler2: iommu@40b200000 {
Expand All @@ -1963,7 +1963,7 @@
interrupts = <AIC_IRQ 1 1187 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr0_die1>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave2_2: iommu@40d020000 {
Expand Down Expand Up @@ -2111,7 +2111,7 @@
<AIC_IRQ 1 1194 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&m2_dart_scaler3 0>, <&m2_dart_scaler3 1>;
power-domains = <&ps_msr1_die1>, <&ps_afr_die1>, <&ps_msr1_ase_core_die1>;
status = "disabled";
status = "okay";
};

m2_dart_scaler3: iommu@491200000 {
Expand All @@ -2121,7 +2121,7 @@
interrupts = <AIC_IRQ 1 1193 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&ps_msr1_die1>;
#iommu-cells = <1>;
status = "disabled";
status = "okay";
};

m2_dart_ave3_2: iommu@507020000 {
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 @@ -895,6 +895,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,t8132-scaler", .data = &apple_scaler_t8132 },
{ .compatible = "apple,t6041-scaler", .data = &apple_scaler_t6041 },
{ .compatible = "apple,t8140-scaler", .data = &apple_scaler_t8140 },
Expand Down
Loading