From patchwork Wed Apr 3 10:54:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10883411 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 10BEE17E1 for ; Wed, 3 Apr 2019 10:54:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFC62201F5 for ; Wed, 3 Apr 2019 10:54:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E41F627F93; Wed, 3 Apr 2019 10:54:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9935E201F5 for ; Wed, 3 Apr 2019 10:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726558AbfDCKyu (ORCPT ); Wed, 3 Apr 2019 06:54:50 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:37176 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbfDCKyu (ORCPT ); Wed, 3 Apr 2019 06:54:50 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id B190E25BEEB; Wed, 3 Apr 2019 21:54:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1554288856; bh=QBhVA+wr+gLIAWz0MmfF8Q+gmRD+dp1WCIkoMq7DMXQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cNlqU4BUl17+1BpljCALgzbUcmQQgOdxF7uzA/KXFA3h5R15zZvNVW55awZBnTu3o 6oj0oyDb9osJYtlh7gKcw6LhZ0FMNYgKYCI/xN+VMcaEX4vVkIHAzxGtlX1kLpmp1g s78W/SydiIdRIq7pg/cL12IPb9fAPcSYL995WMYY= Received: by reginn.horms.nl (Postfix, from userid 7100) id 8E71F940781; Wed, 3 Apr 2019 12:54:11 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Simon Horman Subject: [PATCH 18/26] arm64: dts: renesas: ebisu: Add PMIC DDR0 Backup Power config Date: Wed, 3 Apr 2019 12:54:01 +0200 Message-Id: <474706117c2baa68bf053f16cd35618d30bf4c06.1554281697.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Ebisu the DDR0 power rail needs to be kept powered when backup mode is enabled. Reflect this in the "rohm,ddr-backup-power" property for the BD9571MWV PMIC node. The accessory power switch (SW23) is a toggle switch, hence specify "rohm,rstbmode-level". Based on advice from Geert Uytterhoeven. Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Tested-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts index 18a99d2e1ea5..0e873ccfd9e5 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +++ b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts @@ -466,6 +466,8 @@ #interrupt-cells = <2>; gpio-controller; #gpio-cells = <2>; + rohm,ddr-backup-power = <0x1>; + rohm,rstbmode-level; }; };