From patchwork Thu Apr 11 23:21:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 10897069 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 6641E17EF for ; Thu, 11 Apr 2019 23:23:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A78828B02 for ; Thu, 11 Apr 2019 23:23:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E8EC28E1E; Thu, 11 Apr 2019 23:23:24 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E1DED28B02 for ; Thu, 11 Apr 2019 23:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZnuhQREV9KjAAcheXVmz8N/7u9y1qFtmQxw0SOFbje0=; b=inF3NDA+obiGo3 tlHVBbwW7dPQybSEvgdV8KPGxCJ1yEU3hfsXPzw93KYXGZ5/i8K4uq/TAs4RVUjhLaUKNZil0MJ/F qyLlOYXmsd+D0J2NNld4I83BrLKQr/ew9iMKMP6HE0yJfIS26vQwiP/uselTvAOKBScV6On2UMLZf rLYVjdifbxtgJbm9XRkuDes2IiGrQK58gxEu4xSUx4nB2yml0jMdUG7FPRs3OBExTl+HQif6GHsL7 dczNiZjm5YWzy5plPyLe9ZEDCsvPg6XSX2dpKm8lxXzadnbcXgZQqhvj8XOMNIXxxx8MID0ERxjDs rsgdmSmd65Nhq6loHnNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEj2L-0006pC-Pt; Thu, 11 Apr 2019 23:23:17 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEj1v-0006Dl-Mt for linux-arm-kernel@lists.infradead.org; Thu, 11 Apr 2019 23:22:53 +0000 Received: by mail-pl1-x641.google.com with SMTP id w23so4136363ply.4 for ; Thu, 11 Apr 2019 16:22:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nFRL7YQcOP+54+XtyuurGi/h9kYH21q/4YonKxFfN48=; b=mtoQdtYdv/A6dVYfHotuBCeIUtbyDJ8QnSoJHmF2egOvgYBi2quA5A2rqVHRmLi+q6 ooffBxjq9ebY6p5spGRew+2qrtZvsCRwsRFUDZhgFYTRWVfBDpmirEnzdGSyZbjwSRpw jPd3gVaKf/sAQMJEA6kzSp0779qcfGB2pQJ7g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nFRL7YQcOP+54+XtyuurGi/h9kYH21q/4YonKxFfN48=; b=mbIJb3czh/GFfzwB29SVEosLZJtQhRvO5PYlsdQl80U9PQnXX34GaMMbB5LtU43tfA InOJrJdSTzDj2iXP5+zLPgPqIEYvVPWMtFn1GV6sfgbaTj0gzUIY/KKvku21DFVI2TA2 THFbOwDUUF1IaQF7Guway3ikeMUDmSHzoEZcohlrTQu950uABYqNjX9QucjdqKEc7+kK 6ATAL4ih41+RLaNjs9mHGbIQ7yLq5sEP27v2gMtACog+OAXfVYaIVwAZEYreXXmXunCJ BSaPOxZR/SF0FoGz4K79niTnAxRPPDeO5SiCykNLPD7Mvxa8O0TzWcFbYEJ8+kcAsN9L SaIQ== X-Gm-Message-State: APjAAAXYY5I2gK/Wot95MwC+KkoWYfzHontXb2CKsIIZG1t+Zv1chI4B i1S+7/FOA4S60SbtYKOTZ4vKFw== X-Google-Smtp-Source: APXvYqw7aAMpX9Ku6JhGdnv7ENn2RP8AbEIfD/ZttHWgz8+ulfZ4g1HN8piQntu0ujz0VpdwcKBY/w== X-Received: by 2002:a17:902:9a95:: with SMTP id w21mr51217464plp.74.1555024970982; Thu, 11 Apr 2019 16:22:50 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:1:24fa:e766:52c9:e3b2]) by smtp.gmail.com with ESMTPSA id y20sm37288903pfe.188.2019.04.11.16.22.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 16:22:50 -0700 (PDT) From: Douglas Anderson To: Heiko Stuebner , Elaine Zhang Subject: [PATCH 3/5] ARM: dts: rockchip: Add DDR retention/poweroff to rk3288-veyron hogs Date: Thu, 11 Apr 2019 16:21:55 -0700 Message-Id: <20190411232157.55125-3-dianders@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog In-Reply-To: <20190411232157.55125-1-dianders@chromium.org> References: <20190411232157.55125-1-dianders@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190411_162251_885265_F2E4F5CB X-CRM114-Status: GOOD ( 12.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, briannorris@chromium.org, amstan@chromium.org, dbasehore@chromium.org, Douglas Anderson , Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, mka@chromium.org, ryandcase@chromium.org, Chris Zhong , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Even though upstream Linux doesn't yet go into deep enough suspend to get DDR into self refresh, there is no harm in setting these pins up. They'll only actually do something if we go into a deeper suspend but leaving them configed always is fine. Signed-off-by: Douglas Anderson --- arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi | 4 ++++ arch/arm/boot/dts/rk3288-veyron.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi index 72c4754032e9..b9cc90f0f25c 100644 --- a/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi @@ -229,6 +229,8 @@ &pinctrl { pinctrl-0 = < /* Common for sleep and wake, but no owners */ + &ddr0_retention + &ddrio_pwroff &global_pwroff /* Wake only */ @@ -236,6 +238,8 @@ >; pinctrl-1 = < /* Common for sleep and wake, but no owners */ + &ddr0_retention + &ddrio_pwroff &global_pwroff /* Sleep only */ diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 5c67acc3e6d8..279d7f4ecce0 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -451,10 +451,14 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = < /* Common for sleep and wake, but no owners */ + &ddr0_retention + &ddrio_pwroff &global_pwroff >; pinctrl-1 = < /* Common for sleep and wake, but no owners */ + &ddr0_retention + &ddrio_pwroff &global_pwroff >;