Skip to content
Draft
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
31 changes: 31 additions & 0 deletions Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,30 @@ allOf:
apple,sleep-retained: false
apple,sleep-driver-owned: false
apple,always-on: false
apple,auto-managed: false
apple,min-state: false
apple,force-disable: false
apple,force-reset: false
apple,externally-clocked: false
apple,consumer-switched: false
- if:
properties:
compatible:
contains:
const: apple,t8132-pmgr-pwrstate
required:
- compatible
then:
properties:
apple,auto-managed: false
- if:
required:
- apple,auto-managed
then:
properties:
apple,no-auto-pm: false
apple,firmware-owned: false
apple,inherited-on: false
- if:
required:
- apple,consumer-switched
Expand Down Expand Up @@ -135,6 +154,18 @@ properties:
coprocessors' CPU domains.
type: boolean

apple,auto-managed:
description: |
Hardware-managed power domain (such as a DRAM channel slice or memory
fabric) that the boot loader may leave forced on and that must be
switched to hardware automatic power management (auto-enable) early
at boot, before the PMP firmware starts.

Once switched, the hardware gates the domain by itself and it has no
software-controlled power transitions. On parts where an instance is
fused off, its power-state register reads as off.
type: boolean

apple,sleep-retained:
description:
A coprocessor keeps running in this domain across system sleep with no
Expand Down
13 changes: 0 additions & 13 deletions arch/arm64/boot/dts/apple/t6041-j614-j616-j575-scaler.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@
};
};

&pmgr_aux {
ps_fab5_soc: power-controller@440 {
compatible = "apple,t6041-pmgr-pwrstate", "apple,t8103-pmgr-pwrstate";
reg = <0x440 4>;
#power-domain-cells = <0>;
#reset-cells = <0>;
label = "fab5_soc";
power-domains = <&ps_afi>;
apple,always-on;
status = "disabled";
};
};

/* PMGR group 1 resolves via ps-groups to the main bank at 0x502280000. */
&pmgr {
ps_msr1: ps_msr1_dart: power-controller@3b0 {
Expand Down
Loading
Loading