Skip to content

Commit

Permalink
HACK: dt: Shuffle MCA power domains
Browse files Browse the repository at this point in the history
It appears that specifying more than one power-domain in the MCA node
in devicetree doesn't work with the power-management-naive MCA driver.
Work around that by putting up some fabulated parent-child
relationships to have the kernel enable all the MCA power domains.
  • Loading branch information
povik authored and marcan committed Jan 18, 2022
1 parent 8dd9cda commit ba4afcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
Expand Up @@ -483,7 +483,7 @@
#power-domain-cells = <0>;
#reset-cells = <0>;
label = "mca0";
power-domains = <&ps_audio_p>, <&ps_sio_adma>;
power-domains = <&ps_audio_p>, <&ps_sio_adma>, <&ps_mca1>, <&ps_mca2>, <&ps_mca3>, <&ps_mca4>, <&ps_mca5>;
};

ps_mca1: power-controller@2c0 {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/apple/t8103.dtsi
Expand Up @@ -639,7 +639,7 @@
<0x2 0x38300000 0x0 0x30000>;
reg-names = "clusters", "switch";
clocks = <&nco 0>, <&nco 1>, <&nco 2>, <&nco 3>;
power-domains = <&ps_mca0>;
power-domains = <&ps_mca0>; //, <&ps_mca1>, <&ps_mca2>, <&ps_mca3>, <&ps_mca4>, <&ps_mca5>;
resets = <&ps_mca0>, <&ps_mca1>, <&ps_mca2>, <&ps_mca3>, <&ps_mca4>, <&ps_mca5>;

#sound-dai-cells = <1>;
Expand Down

0 comments on commit ba4afcc

Please sign in to comment.