Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3854488pxv; Mon, 19 Jul 2021 10:19:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywjTqdSLtZesHxnNfsWqPOGhRso7C//Rr4sI63UOTbAc9l89X2x9Mz+iE2GhuE/XTeIrXx X-Received: by 2002:a17:906:7a4d:: with SMTP id i13mr27912165ejo.496.1626715150198; Mon, 19 Jul 2021 10:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626715150; cv=none; d=google.com; s=arc-20160816; b=ZEdoOzS1SOsxk5GyvuMsPkm+GZE0uEsAETcSlDJjaLpXasPJLUv834hEo7b7+48o57 1orkM+nfbKE1OZ45weAtSpKFhFO9iBzStxg9mbf3PTOY7+vMwyl+HVO51TWhA4XZ6q0h 4qIMpTuNerkCM3EZJsQWJxLmedbQoaLFEwD1aEYjR+vK06XfeHYEA8KD06AiYH0OP6Z5 YQClGtdHwPfcBpGCtE16SNkqC4MZOrdSatOdi6yc728pqAswLBEaP5Qo0vWWqpBcs0Nx EPS9H1YEtPHOKN7lGpTaZZS9k3WpSffhpJhVcBVDpGTurf5cdYPgvOCJ/cTgjpolYQ3O HcdQ== 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=UdaRAuBAsHIEJR5T6lCLAPEQ66FDwtxJ/8zqR8wdze8=; b=0oSPt6ejgb9ljyxVZwx/sde57G/ysluJm8Y3RJ9cyF3P4MREHXCfAfXvFDlTH1eTxu HCZQokM0zEAgTW+qlvU4INBzRqGlVlFkynSnHfKv6SsXNBZFblKOnhe/uzmfgZbXo91P kjqQB6ApdFxjWH8HJ/YcK2tPLN170GTOGOjIO42c415sJhjGLoRmFmXKGyozdEFcNuWL XzeWgbdKNGLEKNev7zLUCVB0rU5ZEQyrZLDz/rUS9gHufb0llgCN6e47hdhvBDt8w5DI d0acOvU3SIccDtfik5yX0U0i8xzD4giAlsehuneEydIDLAHZILcv3y8t32DWC6aNpeJs lrzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xB4cMajG; 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 j18si20888092edq.104.2021.07.19.10.18.47; Mon, 19 Jul 2021 10:19:10 -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=xB4cMajG; 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 S1355519AbhGSQgW (ORCPT + 99 others); Mon, 19 Jul 2021 12:36:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:39206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348086AbhGSPYe (ORCPT ); Mon, 19 Jul 2021 11:24:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C145F6140C; Mon, 19 Jul 2021 16:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710478; bh=VsOISFCwQv1AE/8JHSouyfP6yzXVxKdCN4oZ5qKMw4c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xB4cMajGcSTbTSGnqMKz1qrczwZiJIghapg5M3ncQy5dochvGFBdl7RfBMdwO1wvO CCeYv86kv2DzNTySrZEb1xlSo4I39NxSmzFOP1lYiqW9yLj1a5km1T8l6WkWzOrAM+ 4I58ZXwp1WTnqG0fd3RQ6uxl8/I4TInppvFRKdd4= 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 234/243] arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc Date: Mon, 19 Jul 2021 16:54:23 +0200 Message-Id: <20210719144948.476515787@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 eb607cd4957fb0ef97beb2a8293478be6a54240a ] Re-add the regulator-always-on property for vcc_sdio which supplies sdmmc, since it gets disabled during reboot now and the bootrom expects it to be enabled when booting from SD card. This makes rebooting impossible in that case and requires a hard reset to boot again. Fixes: 04a0077fdb19 ("arm64: dts: rockchip: Remove always-on properties from regulator nodes on rk3399-roc-pc.") Signed-off-by: Alex Bee Link: https://lore.kernel.org/r/20210619121306.7740-1-knaerzche@gmail.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi index e4345e5bdfb6..35b7ab3bf10c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi @@ -384,6 +384,7 @@ vcc_sdio: LDO_REG4 { regulator-name = "vcc_sdio"; + regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3000000>; -- 2.30.2