Re: [PATCH v3 09/11] arm64: dts: apple: t8103: Add PMGR nodes

From: Sven Peter
Date: Thu Dec 02 2021 - 13:00:27 EST




On Wed, Nov 24, 2021, at 08:34, Hector Martin wrote:
> This adds the two PMGR nodes and all known power state subnodes. Since
> there are a large number of them, let's put them in a separate file to
> include.
>
> Signed-off-by: Hector Martin <marcan@xxxxxxxxx>
> ---
> arch/arm64/boot/dts/apple/t8103-pmgr.dtsi | 1136 +++++++++++++++++++++
> arch/arm64/boot/dts/apple/t8103.dtsi | 24 +
> 2 files changed, 1160 insertions(+)
> create mode 100644 arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
>
> diff --git a/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
> b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
> new file mode 100644
> index 000000000000..1310be74df1d
> --- /dev/null
> +++ b/arch/arm64/boot/dts/apple/t8103-pmgr.dtsi
> @@ -0,0 +1,1136 @@
> +// SPDX-License-Identifier: GPL-2.0+ OR MIT
> +/*
> + * PMGR Power domains for the Apple T8103 "M1" SoC
> + *
> + * Copyright The Asahi Linux Contributors
> + */
> +
> +

[...]

> + ps_atc0_usb_aon: power-controller@88 {
> + compatible = "apple,t8103-pmgr-pwrstate", "apple,pmgr-pwrstate";
> + reg = <0x88 4>;
> + #power-domain-cells = <0>;
> + #reset-cells = <0>;
> + label = "atc0_usb_aon";
> + };
> +
> + ps_atc1_usb_aon: power-controller@90 {
> + compatible = "apple,t8103-pmgr-pwrstate", "apple,pmgr-pwrstate";
> + reg = <0x90 4>;
> + #power-domain-cells = <0>;
> + #reset-cells = <0>;
> + label = "atc1_usb_aon";
> + };

These two nodes have AON in their name but can be powered off.
Is this intentional and Apple just labels things a bit weird in the ADT
again?


With that confirmed:

Reviewed-by: Sven Peter <sven@xxxxxxxxxxxxx>




Best,

Sven