Message ID | 20211209044501.67028-4-marcan@marcan.st (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Apple PMGR fixup: Implement support for min-ps | expand |
On Thu, Dec 9, 2021, at 05:45, Hector Martin wrote: > This is required for DCP to boot successfully; it seems if power gating > is allowed, they do not wake up properly. > > Signed-off-by: Hector Martin <marcan@marcan.st> Reviewed-by: Sven Peter <sven@svenpeter.dev> > --- > arch/arm64/boot/dts/apple/t8103-pmgr.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi > b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi > index 1310be74df1d..fc51bc872468 100644 > --- a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi > +++ b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi > @@ -665,6 +665,7 @@ ps_dispext_cpu0: power-controller@378 { > #reset-cells = <0>; > label = "dispext_cpu0"; > power-domains = <&ps_dispext_fe>; > + apple,min-state = <4>; > }; > > ps_jpg: power-controller@3c0 { > @@ -1005,6 +1006,7 @@ ps_disp0_cpu0: power-controller@10018 { > label = "disp0_cpu0"; > power-domains = <&ps_disp0_fe>; > apple,always-on; /* TODO: figure out if we can enable PM here */ > + apple,min-state = <4>; > }; > }; > > -- > 2.33.0
diff --git a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi index 1310be74df1d..fc51bc872468 100644 --- a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi +++ b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi @@ -665,6 +665,7 @@ ps_dispext_cpu0: power-controller@378 { #reset-cells = <0>; label = "dispext_cpu0"; power-domains = <&ps_dispext_fe>; + apple,min-state = <4>; }; ps_jpg: power-controller@3c0 { @@ -1005,6 +1006,7 @@ ps_disp0_cpu0: power-controller@10018 { label = "disp0_cpu0"; power-domains = <&ps_disp0_fe>; apple,always-on; /* TODO: figure out if we can enable PM here */ + apple,min-state = <4>; }; };
This is required for DCP to boot successfully; it seems if power gating is allowed, they do not wake up properly. Signed-off-by: Hector Martin <marcan@marcan.st> --- arch/arm64/boot/dts/apple/t8103-pmgr.dtsi | 2 ++ 1 file changed, 2 insertions(+)