From patchwork Tue Aug 27 10:03:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11116573 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A6151395 for ; Tue, 27 Aug 2019 10:03:46 +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 06BA8206BB for ; Tue, 27 Aug 2019 10:03:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="a5YsrcoQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="CfWqhHro" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06BA8206BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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=jEW5SHeAfttNkbFWQqVJJQlOvSJQdcyOkSD7degZ2Oo=; b=a5YsrcoQ+fo0UI ovjLvRRs1HB3u2HxwF7Fqp9U3kOKkhspiZcSukvQYljRgRXJ8BwBlsvr392L0YgAyKFgal9/YXWqB 6gCpK3We3Rj4+f+mQwnOop6YCmf4w2cFnJStBz8JUp2b6ovPKCZLwoLW7V8w0ElwsiAEs7cMq3/bC QcluupmurumYoOWRdsJMWRwgwMe9bfDLsVqdGbwdPwsJV8TySctR3O5+bHZnF8LZqw3PhXUprn99Q er0WVf5Lf6sA1uHAFFHHVtkaiX0w4nH/l2SRSxONjVkONuM7g4WKuYpjdR1a9namQy7eHAoxXH/o5 pa5c/cAsoos4GiZcZhww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2YKH-0004xo-NV; Tue, 27 Aug 2019 10:03:45 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2YJl-0004TI-2z for linux-amlogic@lists.infradead.org; Tue, 27 Aug 2019 10:03:15 +0000 Received: by mail-wr1-x443.google.com with SMTP id j16so18135364wrr.8 for ; Tue, 27 Aug 2019 03:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N3scpKO0Zzh4GV7gMEeSkZMIk4JwmB5WDbAZocPSw5A=; b=CfWqhHrooMAEoQGPlWt04PkQ0BwbFh9AB3BKZNcewA4CorL6RgjmekMXMp1JiAtJTQ 1zvucYfsGTz5RTGEiC5UAg4uzv+sHB1bTLWOZmoDFuECJmIFdp4gCsmgd/NjVeC4g+e1 gbWDLHUm9Gi2TWhmFoOrWwGAQeV1PQodjiqQN3zDRdptMCzai2iXaFnznGYJOqWa8GgR 32NkepzHCO4QF1RaPf5KifZxphB5ayEx0vdsxmOZSb/K2h+TgP7tktAvlPj1Vzin3JF0 tLNNx9+d0nacz1GPOPsa9g0U9Fs/veRzp69CAUO4bC+ITLOzukAMPPheKbIwwij9DgaR 6y8Q== 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=N3scpKO0Zzh4GV7gMEeSkZMIk4JwmB5WDbAZocPSw5A=; b=aqrcBI2jZAWHhXZWhfNBeXgR1EdwY4ttAG+5XIB9EdCT9RDg8GywR9BtDY78GSWblA AlXuD2lJzVxgJPzZtBrsWzcYvLkFpUjZ3/DFbxY0Onjn2OdEzXH5wk7PHN6BNAO92Dmk jNrNsWZk2XGylZdY2K1uNd1eGcFoQiW1Z95gomxN+iNFyqZkwk5fKgXJm4rGdWp7w9HY bo3a1BXWaRo0JIHzVzz1657SF9nV/8g/c9/zxEi++t5vbgz0ONhuuyVZx/UxxZW1iMnO AWkgVc5wNw3/Ud0baW6TRRd2qx4SkY0ylmf6V4AHfOpnDIGEfIhSDmwmjobaGuvokYGU VJAA== X-Gm-Message-State: APjAAAXhVERCBmoFXrj+wjxETqeGICoAry3GvOa1lNi/gehxyUbbXGIl kc7kz4bYiw0D/nia9BYNeYc8Tg== X-Google-Smtp-Source: APXvYqz+ibjedBMsj+QgbZe3C3ACpAVhv4R3ODBxrUkdq28jETkegrCPCSVUALS3zqKZzfnd7/IouQ== X-Received: by 2002:adf:a2cd:: with SMTP id t13mr26526511wra.251.1566900191587; Tue, 27 Aug 2019 03:03:11 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id o25sm1816289wmc.36.2019.08.27.03.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 03:03:11 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 1/3] arm64: dts: meson-g12a: specify suspend OPP Date: Tue, 27 Aug 2019 12:03:05 +0200 Message-Id: <20190827100307.21661-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190827100307.21661-1-narmstrong@baylibre.com> References: <20190827100307.21661-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_030313_337244_944D4272 X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Tag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode. It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 733a9d46fc4b..57c880c06a07 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -81,6 +81,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <731000>; + opp-suspend; }; opp-1398000000 { From patchwork Tue Aug 27 10:03:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11116571 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F14CC14DB for ; Tue, 27 Aug 2019 10:03:40 +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 CE13C206BB for ; Tue, 27 Aug 2019 10:03:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jZgds9Z2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="OQfE/BrI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE13C206BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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=7o2txS32K6u4MOyQSo6BOJvhuA05pavOVbosgQvLXy0=; b=jZgds9Z2GyiCc0 6dB/EgXk9ElEegrqC2GBoHGqhKd41y6sEJe7KyPKcGwNTomAkeYQulfCFjJ3f7Uht5B+j1WnNR736 7i/HbcnxFEWouhuxKvl5MFLB0o25j9rl5OgDcnvcloeNOwH4IuYvhKbQEAKPujZIfy5UMEEeklDgU 5cdnvPMIKJBD4FUdkzBKY9x6z4SpFiqaD/+0r8z6LQwRuNq6oBzcP2LPi9F8Q9SRtUSzGIsHc2wPu G5YUAt3gobLK9XEPUl3PfP9F+RjV7WBvX1QsTZir3DGEEnO4gEmDLq0yVV/35NQAsQuVTBk0EbiLd GEmJ02cETMOs9kWwICUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2YKC-0004tl-8n; Tue, 27 Aug 2019 10:03:40 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2YJl-0004UH-LG for linux-amlogic@lists.infradead.org; Tue, 27 Aug 2019 10:03:15 +0000 Received: by mail-wr1-x442.google.com with SMTP id y8so18136330wrn.10 for ; Tue, 27 Aug 2019 03:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nFvBQ+ASUXIFlVmkozv/yv2UYrSxjvTzp86D19iRVSk=; b=OQfE/BrI+i52OcYL2jZ5opgZ0p8C159XYYM9sMXYdxUyYIUr4nHp7lAp2Uq+YzYw9R b1vNxfP8QjKQa0gI0xuAPADk1vdLA4HHznp91WI/dU353VlSQ/CFNaoINzl7neegNX17 V6503t8RaAyLtaN2Xhm9izG7Jo6eRliH6scgAp4FmvrA0RApgWDDy9a/aMC4QYXGDwL1 nFK3MoD2M+sgJU8Baq+FZnuHPoDT6xDLpJawv6HXxby0g2Yj/EAGsOu2L4MU3Lx3Mcrk fbF0Arms9OxgmGNeYI6RSJuJ9alDV5PX/v0mOeqw6R6e0DoLTUFEd4s05vzysrR00ZEH JYnQ== 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=nFvBQ+ASUXIFlVmkozv/yv2UYrSxjvTzp86D19iRVSk=; b=CaSRPlTiEwBDajm7LgQmqrSxaEB1RjRrpMwR3VDZN+nSYfM/1mSwujs4V2wHs2ByEj /7C1yhbi/T/3InpwmkRAWmeHxCUi96i4GR9AT4rhuCmzq7PMu9eQV0eEZvFxzqvmZzEM SYDnvMwJmoOPkErnPtRYdr+GYqu66xWMwEotu7ayf842tQsQLURhv0W9nOayhuNPUmAV nQlbIc+lhRKdsgOPfOEXP2AGKcw2LtRtXX2XoLSS0xTzAm2fohgyiAzemXc9OoqXorlI G1WNbQ8pFPpZDdV9UFlmH/G8WR91GCl2R69XIjeT1NamMeOVUusWsdM8znOrD9dtAH9K 51Xg== X-Gm-Message-State: APjAAAURrRP64WKuxhK4OFO4CVNy9nYCPSkSAOu1FofE3yddh4S34l2R FB2MiBNLt8id3lesCBJxv6667m86mY37AQ== X-Google-Smtp-Source: APXvYqyXg1CwX3b4xu5v1NJTgayfPDThhDxBvEtvylLfIoV3nJiJJMzI9qbPJJaPyUyDDamtHKAzAA== X-Received: by 2002:adf:9484:: with SMTP id 4mr27109881wrr.14.1566900192197; Tue, 27 Aug 2019 03:03:12 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id o25sm1816289wmc.36.2019.08.27.03.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 03:03:11 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 2/3] arm64: dts: meson-sm1: specify suspend OPP Date: Tue, 27 Aug 2019 12:03:06 +0200 Message-Id: <20190827100307.21661-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190827100307.21661-1-narmstrong@baylibre.com> References: <20190827100307.21661-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_030313_960705_24E759AA X-CRM114-Status: UNSURE ( 9.54 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Tag the 1,2GHz OPP as suspend OPP to be set before going in suspend mode. It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi index e4830cbf7ed5..32e2de2614b1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi @@ -82,6 +82,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <780000>; + opp-suspend; }; opp-1404000000 { From patchwork Tue Aug 27 10:03:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11116599 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DACD1395 for ; Tue, 27 Aug 2019 10:04:28 +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 69C0B217F5 for ; Tue, 27 Aug 2019 10:04:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Fy/JtTrK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="FkPmcXAR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69C0B217F5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org 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=+BWRfF9RF6l3jlc5EwHLtyH5bNzF5vxDQKJ5U/rc7XM=; b=Fy/JtTrKrZbM7U S5idwSqpRYVTtKfjnXZ8q6SSFnV0wKBcCcKCfWcTTFctlYwnrl0Dj+/TWA7BDDk1wlOmBR6r18T+j +H6GbqXIrC7KsJE+J0AAxv/CEUFkS2+UO5azxLYjcOxuSXpIVUbtiHWCq31fmXssyrfkI5q4igY/E m7FbOgTFaE1vYGq0S75zHH5nkhlNIEPPiP9pmIDbpOPfAYe3gOLaHX9KLSABjyVsRah+7IClKDvXl PaQSRFjGxBC6jrvF4E+1UZIwWJ+YAbtjRCEQZV2WfvqYMWA/9s19BxkPZ1LvWyu7WNEzRkkcNtZ+E P2F1ZwfHs+SbjBndZ52Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2YKw-0005TK-JU; Tue, 27 Aug 2019 10:04:26 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i2YJm-0004VC-7n for linux-amlogic@lists.infradead.org; Tue, 27 Aug 2019 10:03:17 +0000 Received: by mail-wr1-x444.google.com with SMTP id z11so18175183wrt.4 for ; Tue, 27 Aug 2019 03:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ceHNjOjYXXqKJbeAE7JQVGIbYL1u1AYoPi0HEmNDPSc=; b=FkPmcXARScleAA98yh1f0hvd5zGL3cap9/yDJQXtGHNOjJ+x51S5P9/OnrVC99ODXV H4enT2hrCybB4x2rM/H0KuMJsda8I0SKMgZ6uYSaqmO0ao5hzZq02mDDCIXX9uX0SOmA cmOtHZqMLfB0TDlJVfbXjnUHg8XwxCwNHij6go1d/I6YxMZtS05Rj2iBd90fqe6OhSex m3aofztGTUYBhOY9k3aumMwZglrjYSaC3SHMdXBkS6OGRQo95sldJVbxALu/LJ6yFik3 U3Tw+NIDIsHXOZSUFSX4yZDJ8sp7mvyu9wY22BcF0PPmQqkfsm9y5cdrqagpdwLpoQ++ xF8g== 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=ceHNjOjYXXqKJbeAE7JQVGIbYL1u1AYoPi0HEmNDPSc=; b=uPYfOrBeqDDMfDZrUjxr5wtlAa8/poTQ5gbu+uDtVcHXuV5Ay5AETlC6O2EtN2f2gW vxpbUQmmHN7Ys5ette0jC50TIMX++6OpTrhnVCo/jc7dLG3IaRRtjwpnoijfApv4iQIN 3qytccVosV/ZPY6p0n2x7qamVG7NZqMAVMVW6bhG0RyB4H8fw0f5JaNZppXrYYuXS+Vk wEwqjcZo2ZuIjI82T74LaFLrQW3Cl412jUOQX6h3ZeTS43xPmcDn5qHnmPuP1mQhDOso ZPwqHB9CV7zM9vTQwHZWq2A9XpMYsVdiz+LkUlHo0F9iX6BDu6yPhYwgQnoDLpZDJCYO NdFQ== X-Gm-Message-State: APjAAAUjwIg7wPX+CY67xt/WFSNy84yo8Bh4DlyoytvW4VGHSs1rTEhG uzu1rXL44JrmGr5B3cFtYj56Fw== X-Google-Smtp-Source: APXvYqyHrsjIv6iA69VxrzeSvvkWJVA1ZCYStwgFPwlD6yYAE9WHbvTRzmgTR7jqHjpRqAb+QBnU5w== X-Received: by 2002:adf:fe85:: with SMTP id l5mr26701545wrr.5.1566900192806; Tue, 27 Aug 2019 03:03:12 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id o25sm1816289wmc.36.2019.08.27.03.03.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2019 03:03:12 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Subject: [PATCH 3/3] arm64: dts: meson-g12b: specify suspend OPP Date: Tue, 27 Aug 2019 12:03:07 +0200 Message-Id: <20190827100307.21661-4-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190827100307.21661-1-narmstrong@baylibre.com> References: <20190827100307.21661-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_030314_687930_3D7EC86A X-CRM114-Status: UNSURE ( 9.07 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Neil Armstrong Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org Tag the 1,2GHz OPPs as suspend OPP to be set before going in suspend mode. It has been reported that using various OPPs can lead to error or resume with a different OPP from the ROM, thus use this safe OPP as it is the default OPP used by the BL2 boot firmware on the 2 clusters. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi | 2 ++ arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi index d61f43052a34..00ea181bc018 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi @@ -39,6 +39,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <781000>; + opp-suspend; }; opp-1398000000 { @@ -99,6 +100,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <751000>; + opp-suspend; }; opp-1398000000 { diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi index 046cc332d07f..d68323c6c780 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi @@ -39,6 +39,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <731000>; + opp-suspend; }; opp-1398000000 { @@ -99,6 +100,7 @@ opp-1200000000 { opp-hz = /bits/ 64 <1200000000>; opp-microvolt = <771000>; + opp-suspend; }; opp-1398000000 {