From patchwork Wed Mar 13 10:58:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10850955 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 689566C2 for ; Wed, 13 Mar 2019 10:58:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5654C29AF6 for ; Wed, 13 Mar 2019 10:58:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A6D929AF7; Wed, 13 Mar 2019 10:58:40 +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 E27D529AE7 for ; Wed, 13 Mar 2019 10:58:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725888AbfCMK6j (ORCPT ); Wed, 13 Mar 2019 06:58:39 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:34899 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725864AbfCMK6j (ORCPT ); Wed, 13 Mar 2019 06:58:39 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 9F64925BEF0; Wed, 13 Mar 2019 21:58:34 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1552474714; bh=CP03E8/wWi16xe7s4XZgKZtXnI/6o5EmsITGBtRki18=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IkC6501T+gTlfFWAo4r9vpf2z20EFmKwslUxVkIIJZ8t9X0vJ/9XCuiz0rMMiria8 SsHIHM9elozi2gRWgKtIA0yHNpqOqjH39OYnghDxkCECHChKyCHvZrczZCD2+9nGJr 1rs1hiIjc5NvKM4Vh24vw3/uMAlse19foT91njDc= Received: by reginn.horms.nl (Postfix, from userid 7100) id EC5A3940D34; Wed, 13 Mar 2019 11:58:32 +0100 (CET) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Yoshihiro Kaneko Subject: [PATCH v2 2/2] arm64: dts: renesas: ebisu: Add PMIC DDR0 Backup Power config Date: Wed, 13 Mar 2019 11:58:16 +0100 Message-Id: <20190313105816.8592-3-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190313105816.8592-1-horms+renesas@verge.net.au> References: <20190313105816.8592-1-horms+renesas@verge.net.au> 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; }; };