Message ID | 20210928084257.2188017-2-claudiu.beznea@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=7ONh=OS=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10825C433F5 for <linux-arm-kernel@archiver.kernel.org>; Tue, 28 Sep 2021 08:45:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CEE8B60F12 for <linux-arm-kernel@archiver.kernel.org>; Tue, 28 Sep 2021 08:45:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CEE8B60F12 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dBC8XjhDEccNbX2J/jT+fkmHxsJG6XIFlal9yaAID3g=; b=ONCsx/P7YX/9PP /E0+wlA/8tNPDfiuzEArdoLc/6Wbn0dc+eZvjoijEtaf1qhOskQvZaCM/AFm6jhHwe//v6GGBfVbd nPQlL4ZOpDc1MwMVyRkfeQQeUeVKmR1xGWzQ1nyeQh2OdNFJ4m3mRh/k54SaKRCXgSv19U43zKIS0 QZVN+m3uMzbQ8wTo6kegzOYmslthpN4K7wSPD0mdlbQTZdB154JCO8WRzUIZM8nJh3WsxkJKwfNce aH7/JsSc6CnzsuzyTS+cGPM1a1teNAtXj3sDuaxUHTVnku4PTHeKq5JYDpH/GGwDwdo9i8bZ3E25T F2WQTfrdfE0dyCylmUJw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV8hz-006IV4-T1; Tue, 28 Sep 2021 08:43:28 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV8hm-006IS9-RB for linux-arm-kernel@lists.infradead.org; Tue, 28 Sep 2021 08:43:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1632818594; x=1664354594; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YvsqvIz8zOr3ivUKTHHuuOf1oT832h6IMldyet80HTk=; b=V6ZbIdKhPoH4R7mvz6s0UviMnyfyIgjZeH5DuJG3A1mLoeue0pqFdYeD Qam3niMhLaxubh+tYnY4uWS9UDDmDPtoMuB2GGgdEjH5e2aeQHL9iwwo8 h9yaR+yLDvMSv0YZLAZfXXLajbfK5ct4lfhaMZPoX5bC0+IE1sY/BuWdy IIAUzWBI9SrGKbAg6rX+6hPbcXUyzQRzD69O/DDCZ/vRZChWU63g10qtV ogi3sXbtm4sFk/QjpdHhVcMwStH9FxWOI8CPMJ2gLzCFs1wMU2/eUvOtr y0cbITn6qsktGE+6UFB2fU/gH9dlL8VXcHDP2VTO4f1ED2nxY+KWi2JR4 w==; IronPort-SDR: i36tkYAydb6Qyx0pWKDoUlWxa087eANuG50jHtCZzZWiXdh84gTInLQTCn9YqRMv779t9unDEo +OYCIU8kY/Rl6bt7+a6xJ9DBDKJR1JtfFSP9/DY+1Tq03vD2hQKnFRkWbsJmR4mn0O7UdVS8Cr /fZIW16BHR+SZ30qyelZPP0Nsw4gFNzrVIdz6cvhKuAz4Y1s17pUzI5im25L2CPOwN5f84KT5j J5V2wr916v1DN/ITtR85fpRd5/yZYT3EG/4PH5aOpdLrlUQar2isNaUHs0j83qs/J5zynyNJT+ aRUlEOF2xrOJ8iUV6E4rKy+K X-IronPort-AV: E=Sophos;i="5.85,329,1624345200"; d="scan'208";a="70895818" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Sep 2021 01:43:12 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Tue, 28 Sep 2021 01:43:11 -0700 Received: from rob-dk-mpu01.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Tue, 28 Sep 2021 01:43:09 -0700 From: Claudiu Beznea <claudiu.beznea@microchip.com> To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <ludovic.desroches@microchip.com>, <linux@armlinux.org.uk>, <robh+dt@kernel.org> CC: <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Claudiu Beznea <claudiu.beznea@microchip.com> Subject: [PATCH 1/3] ARM: dts: at91: sama7g5ek: add suspend voltage for ddr3l rail Date: Tue, 28 Sep 2021 11:42:55 +0300 Message-ID: <20210928084257.2188017-2-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210928084257.2188017-1-claudiu.beznea@microchip.com> References: <20210928084257.2188017-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210928_014314_967854_7B02EF43 X-CRM114-Status: GOOD ( 10.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ARM: at91: pm: fixes
|
expand
|
diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index 4e6bcb7fdfd4..be905eb1da31 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -206,11 +206,13 @@ vddioddr: VDD_DDR { regulator-state-standby { regulator-on-in-suspend; + regulator-suspend-microvolt = <1350000>; regulator-mode = <4>; }; regulator-state-mem { regulator-on-in-suspend; + regulator-suspend-microvolt = <1350000>; regulator-mode = <4>; }; };
SAMA7G5-EK board has DDR3L type of memory soldered. This needs 1.35V. The 1.35V for DDR3L rail at run-time is selected by the proper configuration on SELV2 pin (for 1.35V it needs to be in high-z state). When suspended the MCP16502 PMIC soldered on SAMA7G5-EK will use different sets of configuration registers to provide proper voltages on its rail. Run-time configuration registers could be configured differently than suspend configuration register for MCP16502 (VSEL2 affects only run-time configuration). In suspend states the DDR3L memory soldered on SAMA7G5-EK switches to self-refresh. Even on self-refresh it needs to be powered by a 1.35V rail. Thus, make sure the PMIC is configured properly when system is suspended. Fixes: 7540629e2fc7 (ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> --- arch/arm/boot/dts/at91-sama7g5ek.dts | 2 ++ 1 file changed, 2 insertions(+)