Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3867569pxv; Mon, 19 Jul 2021 10:39:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq6ldXsYjx91nrScnaWkOfiTp+Q1oR8o4p+DgatUxkeAE0Q9hMX9eveq1dAcorYXjtioCJ X-Received: by 2002:a05:6402:4246:: with SMTP id g6mr35305915edb.134.1626716229683; Mon, 19 Jul 2021 10:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626716229; cv=none; d=google.com; s=arc-20160816; b=GPLRJbDTeheH9XzZc6EygFKkAgJ/+r+7cH7fOGQ6Lh8FIaCyWxrJCOt0fQzaOd+sH4 FN9ajElpE3hSzcHaDP+PvdwiscJLapjt9xlm/b7pxHdYrOnJtKEjk9fH2WMD7G6RgBbK tGw+t098OplVxUNWMRqO0iBZkzKv6DrZdt9qpAz9XWwNey82gM1pKaZKhvZLsn0z9OZG 9EeI5gHJraRqtX63d1jc541Mqq7Bg7AKnjtsFqwMezxsFvWWyguJp15y988cTk3EaF2Z 2iKjx1QcsuZbu0ck+FzRp7aFuRrAzIIYXz03b7Z9cQY+iM0wMXhx0RktrJoXkHPWpfrE Z34Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kk51MHwcybqFx5kN6SHKKnPhnqCfg2nmwN8SmlDHbck=; b=1J6N8k3dj8q7l0N7TnZN/N1FxCATZbStany//OYmD/qm33SlpTNVyNDsZ/Rh0DCubv CmtPr9Kyt3hRsVbU9v5g1ukIb2MU8qjIHpwrWlxGZQJZr4wBC1FkYNvQN3zZDavPdL1c ZUelcDdTCQ5aKtAoK8l4cQJUyxK2gZiMMgxjndMjk0S3M/kAxwYnUqxM0lWGlsjYLtMR XK8AopDSYr8Ea8qely6ZOkAXlzmKOoSubXa+U1XcPlvQRw8axVH3lvqPAPy/M8eaHIc1 DI6hDQk1r0JwTIuUyu4Q7Pi0Td14riT7BEROd52zqNsbFLhyAKpMu8JG4zUr97gZ3HEi Fkpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Wt+w3dvh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cm16si20323717edb.411.2021.07.19.10.36.47; Mon, 19 Jul 2021 10:37:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Wt+w3dvh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353539AbhGSQu3 (ORCPT + 99 others); Mon, 19 Jul 2021 12:50:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:37554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348077AbhGSPYd (ORCPT ); Mon, 19 Jul 2021 11:24:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6483061410; Mon, 19 Jul 2021 16:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710476; bh=tyoEZuOIayPlpo4emVkw+vdqX5DcqfQ95gjQbIXD1cY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wt+w3dvhqgXm+TiNiM0NI6ScbamjTrz4Ad5s0URgQ8JOLCbUR3bXC9UbYGHATeX80 9FKIPp1tw5KZf9oFo/EX7XtwOnZBzAD4OuaB7OqUPM4YhPZXHak4J5WyvqaOl5G9z6 koXbJ9kjhouhn1pVVhpw0+Ww7wEPVFGB2s39QHw4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alex Bee , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.10 233/243] arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc Date: Mon, 19 Jul 2021 16:54:22 +0200 Message-Id: <20210719144948.444936371@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Bee [ Upstream commit 06b2818678d9b35102c9816ffaf6893caf306ed0 ] This might be a limitation of either the current panfrost driver devfreq implementation or how the gpu is implemented in RK3399 SoC. The gpu regulator must never get disabled or the registers get (randomly?) inaccessable by the driver. (see all other RK3399 boards) Fixes: ec7d731d81e7 ("arm64: dts: rockchip: Add node for gpu on rk3399-roc-pc") Signed-off-by: Alex Bee Link: https://lore.kernel.org/r/20210619121446.7802-1-knaerzche@gmail.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi index 20309076dbac..e4345e5bdfb6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi @@ -488,6 +488,8 @@ regulator-min-microvolt = <712500>; regulator-max-microvolt = <1500000>; regulator-ramp-delay = <1000>; + regulator-always-on; + regulator-boot-on; vin-supply = <&vcc3v3_sys>; regulator-state-mem { -- 2.30.2