[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <e7a253bf-8e8b-4845-a38f-51bc00ad677c@app.fastmail.com>
Date: Sat, 08 Mar 2025 10:47:18 +0100
From: "Sven Peter" <sven@...npeter.dev>
To: "Sasha Finkelstein" <fnkl.kernel@...il.com>,
"Janne Grunau" <j@...nau.net>, "Alyssa Rosenzweig" <alyssa@...enzweig.io>,
"Stephen Boyd" <sboyd@...nel.org>, "Rob Herring" <robh@...nel.org>,
"Krzysztof Kozlowski" <krzk+dt@...nel.org>,
"Conor Dooley" <conor+dt@...nel.org>
Cc: asahi@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
"Nick Chan" <towinchenmi@...il.com>
Subject: Re: [PATCH v2 3/3] arm64: dts: apple: Add SPMI controller nodes
Hi,
On Fri, Mar 7, 2025, at 21:09, Sasha Finkelstein via B4 Relay wrote:
> From: Sasha Finkelstein <fnkl.kernel@...il.com>
>
> Add device tree entries for the SPMI controller
>
> Reviewed-by: Nick Chan <towinchenmi@...il.com>
> Signed-off-by: Sasha Finkelstein <fnkl.kernel@...il.com>
> ---
> arch/arm64/boot/dts/apple/t600x-die0.dtsi | 7 +++++++
> arch/arm64/boot/dts/apple/t8103.dtsi | 8 ++++++++
> arch/arm64/boot/dts/apple/t8112.dtsi | 7 +++++++
> 3 files changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/apple/t600x-die0.dtsi
> b/arch/arm64/boot/dts/apple/t600x-die0.dtsi
> index
> b1c875e692c8fb9c0af46a23568a7b0cd720141b..d544a35c8af414c583d38b040e1aa753902f1c93
> 100644
> --- a/arch/arm64/boot/dts/apple/t600x-die0.dtsi
> +++ b/arch/arm64/boot/dts/apple/t600x-die0.dtsi
> @@ -53,6 +53,13 @@ wdt: watchdog@...2b0000 {
> interrupts = <AIC_IRQ 0 631 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + nub_spmi0: spmi@...0a1300 {
> + compatible = "apple,t6000-spmi", "apple,spmi";
> + reg = <0x2 0x920a1300 0x0 0x100>;
> + #address-cells = <2>;
> + #size-cells = <0>;
> + };
> +
Please keep the nodes ordered by their MMIO address.
The watchdog node above is at 2922b0000 and should come after
spmi@...0a1300. Please also check the other nodes you're adding
here.
> sio_dart_0: iommu@...004000 {
> compatible = "apple,t6000-dart";
> reg = <0x3 0x9b004000 0x0 0x4000>;
> diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi
> b/arch/arm64/boot/dts/apple/t8103.dtsi
> index
> 9b0dad6b618444ac6b1c9735c50cccfc3965f947..0f03dc808cf7c6b7d71afc79dd29d368f957f979
> 100644
> --- a/arch/arm64/boot/dts/apple/t8103.dtsi
> +++ b/arch/arm64/boot/dts/apple/t8103.dtsi
> @@ -11,6 +11,7 @@
> #include <dt-bindings/interrupt-controller/apple-aic.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/pinctrl/apple.h>
> +#include <dt-bindings/spmi/spmi.h>
>
> / {
> compatible = "apple,t8103", "apple,arm-platform";
> @@ -604,6 +605,13 @@ pcie_pins: pcie-pins {
> };
> };
>
> + nub_spmi: spmi@...0d9300 {
> + compatible = "apple,t8103-spmi", "apple,spmi";
> + reg = <0x2 0x3d0d9300 0x0 0x100>;
> + #address-cells = <2>;
> + #size-cells = <0>;
> + };
> +
> pinctrl_nub: pinctrl@...1f0000 {
> compatible = "apple,t8103-pinctrl", "apple,pinctrl";
> reg = <0x2 0x3d1f0000 0x0 0x4000>;
> diff --git a/arch/arm64/boot/dts/apple/t8112.dtsi
> b/arch/arm64/boot/dts/apple/t8112.dtsi
> index
> 1666e6ab250bc0be9b8318e3c8fc903ccd3f3760..fecf70eba255c668757e2edfe25a4e9e7c0d0bad
> 100644
> --- a/arch/arm64/boot/dts/apple/t8112.dtsi
> +++ b/arch/arm64/boot/dts/apple/t8112.dtsi
> @@ -641,6 +641,13 @@ pcie_pins: pcie-pins {
> };
> };
>
> + nub_spmi: spmi@...714000 {
> + compatible = "apple,t8112-spmi", "apple,spmi";
> + reg = <0x2 0x3d714000 0x0 0x100>;
> + #address-cells = <2>;
> + #size-cells = <0>;
> + };
> +
> pinctrl_nub: pinctrl@...1f0000 {
> compatible = "apple,t8112-pinctrl", "apple,pinctrl";
> reg = <0x2 0x3d1f0000 0x0 0x4000>;
>
> --
> 2.48.1
thanks,
Sven
Powered by blists - more mailing lists