From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C62822A4D6 for ; Fri, 9 May 2025 13:13:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746796407; cv=none; b=t3bTBmI0RrqruToia2MGBtblEODdjvp+jA5IQLlDgdLhG0lIFYK0KQgt5bYXeFU0LHVa4WMQvS09DFQ92W4ijXLHFJAPK2lf/dIWESMnsjK2UR/MjWa37DYZHeXzYR7FUPJke9GDeGKdoBanFKfB4RBX2NECM+MvGXovqtZrLEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746796407; c=relaxed/simple; bh=nHcaS03T71iRXYf/Lf72eeVSXvyIQhWOCmpm1gIiLNY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Lp4WLTfVCPXogZ8lbfZ9t2Njxt+nCHgxDBcWWom3c0z48lc4dIk0fxoVRt2YFQrkQrfCXxam87DWW5OeUgaSIC+jTAGVI0gfPY+hluueKQUz9PKiJDQfrxYAw3Pr2HZj6amJWqvZ7WHBmKTfO2EmuekP2NsBfw/TrNLGvTa1OsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rosenzweig.io; spf=pass smtp.mailfrom=rosenzweig.io; dkim=pass (2048-bit key) header.d=rosenzweig.io header.i=@rosenzweig.io header.b=fHb0Bf2F; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=rosenzweig.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rosenzweig.io Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rosenzweig.io header.i=@rosenzweig.io header.b="fHb0Bf2F" Date: Fri, 9 May 2025 09:13:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rosenzweig.io; s=key1; t=1746796403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eHz2N90cxTQPl/n3ayGPjZiGdp6MpqFE6UdMTbgIZ0k=; b=fHb0Bf2Fxn4XphXkw53yBQp5fKOoN8qXoC6co+TQnzQiXmREqHmMNMdXDJhiK9feEPkzCD xNWNbVEx3i8gLAOOhU7AUKiMCpTPr5Xto7wkjd/etBl7peOIMinzO1dixZ7S9VJQaQxG7a Qpi/uuYD73+Y+chNpJBTUMP32ykNHh8dd/cCqe8a5iOSeZxb+zvJMpFESvDXxX8wJHiCvQ ESOT/Bs/K8+OnNz+02TwSK8SeaQxJfa8B9YkLFbrs2gskzUHOWn7Qrt90SrHDOLMaSKvz3 7vwXPIyawxCHxf7tco0+el4wfQjHSeNB5mDYOgB09LKMMIoi2wOuvrA25zlJwQ== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alyssa Rosenzweig To: sven@svenpeter.dev Cc: Janne Grunau , Neal Gompa , Hector Martin , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sebastian Reichel , Lee Jones , Marc Zyngier , "Russell King (Oracle)" , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v4 8/9] arm64: dts: apple: t8112: Add SMC node Message-ID: References: <20250503-smc-6-15-v4-0-500b9b6546fc@svenpeter.dev> <20250503-smc-6-15-v4-8-500b9b6546fc@svenpeter.dev> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250503-smc-6-15-v4-8-500b9b6546fc@svenpeter.dev> X-Migadu-Flow: FLOW_OUT Reviewed-by: Alyssa Rosenzweig Le Sat , May 03, 2025 at 10:06:55AM +0000, Sven Peter via B4 Relay a écrit : > From: Hector Martin > > Signed-off-by: Hector Martin > Signed-off-by: Sven Peter > --- > arch/arm64/boot/dts/apple/t8112.dtsi | 35 +++++++++++++++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > > diff --git a/arch/arm64/boot/dts/apple/t8112.dtsi b/arch/arm64/boot/dts/apple/t8112.dtsi > index e95711d8337f6cea898e88a3d564caf2c4f94404..861cf2f684a067d73f79d8f01447bc375136793d 100644 > --- a/arch/arm64/boot/dts/apple/t8112.dtsi > +++ b/arch/arm64/boot/dts/apple/t8112.dtsi > @@ -839,6 +839,41 @@ rtc_offset: rtc-offset@f900 { > }; > }; > > + smc: smc@23e400000 { > + compatible = "apple,t8112-smc", "apple,smc"; > + reg = <0x2 0x3e400000 0x0 0x4000>, > + <0x2 0x3fe00000 0x0 0x100000>; > + reg-names = "smc", "sram"; > + mboxes = <&smc_mbox>; > + > + smc_gpio: gpio { > + compatible = "apple,smc-gpio"; > + gpio-controller; > + #gpio-cells = <2>; > + }; > + > + smc_reboot: reboot { > + compatible = "apple,smc-reboot"; > + nvmem-cells = <&shutdown_flag>, <&boot_stage>, > + <&boot_error_count>, <&panic_count>, <&pm_setting>; > + nvmem-cell-names = "shutdown_flag", "boot_stage", > + "boot_error_count", "panic_count", "pm_setting"; > + }; > + }; > + > + smc_mbox: mbox@23e408000 { > + compatible = "apple,t8112-asc-mailbox", "apple,asc-mailbox-v4"; > + reg = <0x2 0x3e408000 0x0 0x4000>; > + interrupt-parent = <&aic>; > + interrupts = , > + , > + , > + ; > + interrupt-names = "send-empty", "send-not-empty", > + "recv-empty", "recv-not-empty"; > + #mbox-cells = <0>; > + }; > + > pinctrl_smc: pinctrl@23e820000 { > compatible = "apple,t8112-pinctrl", "apple,pinctrl"; > reg = <0x2 0x3e820000 0x0 0x4000>; > > -- > 2.34.1 > >