Skip to content
Merged
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
28 changes: 25 additions & 3 deletions arch/arm64/boot/dts/apple/t6000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@

#ifdef APPLE_USE_PMP
/*
* The video encoder, AVD and the JPEG codecs also send the PMP a performance
* request while they are powered. The bootloader fills each entry's
* SOC-DEV-DVFS slot and levels from this machine's ADT (apple,adt-dvfs).
* The video encoder, AVD, the JPEG codecs, the scaler and the ProRes codec
* also send the PMP a performance request while they are powered. The
* bootloader fills each entry's SOC-DEV-DVFS slot and levels from this
* machine's ADT (apple,adt-dvfs).
*/
&pmp_report_venc_sys {
apple,adt-dvfs;
Expand All @@ -104,6 +105,16 @@
apple,adt-dvfs;
};

&pmp_report_msr0 {
apple,adt-dvfs;
status = "okay";
};

&pmp_report_scodec {
apple,adt-dvfs;
status = "okay";
};

&ave {
power-domains = <&ps_venc_dma>, <&ps_venc_pipe4>,
<&ps_venc_pipe5>, <&ps_venc_me0>, <&ps_venc_me1>,
Expand Down Expand Up @@ -163,6 +174,17 @@
status = "okay";
};

#ifdef APPLE_USE_PMP
/* The scaler and the ProRes codec request their PMP performance level. */
&scaler0 {
power-domains = <&pmp_report_msr0>, <&ps_msr0_ase_core>;
};

&apr0 {
power-domains = <&pmp_report_scodec>;
};
#endif

/* Both JPEG encoders are SoC blocks with no board wiring. */
&jpeg0_dart {
status = "okay";
Expand Down
Loading