From patchwork Mon Feb 15 15:26:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 382957 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp1167021jao; Mon, 15 Feb 2021 07:32:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJz56Cg/7Ep89SjIIrAvXJfpXgCzE7La3TjIPaF3ggUhKhWIGu6vzsAeZDWaOwZcFdd7b+VC X-Received: by 2002:a05:6402:22ce:: with SMTP id dm14mr16394639edb.256.1613403132450; Mon, 15 Feb 2021 07:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613403132; cv=none; d=google.com; s=arc-20160816; b=arXMTt4l8PPV7u2WTHOvv61kmknhYv5Xd0AgrSBFFFyXpK9W7PoZ4ux8zA6YZ+xvQg keeJPjhikWUWelcPi2je6YhZoQOUNubpuMqk9QqgRVDPdAhCfnEb+ElujywfcYDt+JZs aGVwauuWxsPDVZdWg6Pwl+m3Mk7/ZBYphKu9lvADAbYvbZCZ41T74AqsdwAKVlU7+NjV jVnaVvIi3WhNPeuMN8VyaR8LhRzKhPNIWD3uuwPihp2uN+xs3WFt7VXqduT7sbkjTeIq PyYac4QMboVKn1GICUMwJ7Cgz4v+X+IXtz7qULGpgT9byTs/FdznHHaFq9uewldrPh8s b4tw== 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=Ay2d4gLOy/vNNNAp6163Qi17nj0Ml3sP2OT7JR4RXsQ=; b=dysTAKkhbsDXzq6WJ+/3Lpg+b6zUM4np/9NgeY0vaquzyMoNtOIh6SN75Lw2JFrI0L ZvgLF7H0Plgu8/kYXTKN5nVMFs/pR7pEl8tbxEbiXT9r4iYtPNySyS2NGL7d16aFw2hB VZJH3n1VKxg6bCiqoC3rSUHsSstoghWJz3bd+L+xhaYxkeZxgZjF3RYIHZmmZYAH9oIC 9rXRo96gCo489oNlXz8ptbxlF9FYhNcARHTgkHF+XzVQZSZsccR4Px2ISxECOovjFkrp HhliImHqI1gjvAuPpH/UJqI8R3qp+um2s3ndNKtqJjWEvmUJYW3Nyk0uMInKLvR85sPd ZMlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jFihh4vY; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 df3si6873082edb.286.2021.02.15.07.32.11; Mon, 15 Feb 2021 07:32:12 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=jFihh4vY; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S230097AbhBOPau (ORCPT + 13 others); Mon, 15 Feb 2021 10:30:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:45562 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230517AbhBOP3s (ORCPT ); Mon, 15 Feb 2021 10:29:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7497B64E52; Mon, 15 Feb 2021 15:28:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613402912; bh=yprN8yUDU3Bij71iDfBFlnQGC68ecIWgGv4Vj/bCMFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jFihh4vYBlnp0eWlizK9OiLdBH1JLIlm5Z0iYe+gVBF8Li6jOXhtBMZ/tjaru0UgG 0EuNyNi4AT3To6tMS3T80eBIIOjL6pcWkV9ub4LGKYWX42frqbZDoNTfJ5iLZep+vu HqTl08KBeYNHhrdzfFfyYgmbWF+dX5DaraSYbomQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vinod Koul , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.4 08/60] arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc Date: Mon, 15 Feb 2021 16:26:56 +0100 Message-Id: <20210215152715.651780808@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210215152715.401453874@linuxfoundation.org> References: <20210215152715.401453874@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Bjorn Andersson [ Upstream commit 93f2a11580a9732c1d90f9e01a7e9facc825658f ] The GCC_LPASS_Q6_AXI_CLK and GCC_LPASS_SWAY_CLK clocks may not be touched on a typical UEFI based SDM845 device, but when the kernel is built with CONFIG_SDM_LPASSCC_845 this happens, unless they are marked as protected-clocks in the DT. This was done for the MTP and the Pocophone, but not for DB845c and the Lenovo Yoga C630 - causing these to fail to boot if the LPASS clock controller is enabled (which it typically isn't). Tested-by: Vinod Koul #on db845c Reviewed-by: Vinod Koul Link: https://lore.kernel.org/r/20201222001103.3112306-1-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 +++- arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 751651a6cd819..bf4fde88011c8 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -337,7 +337,9 @@ &gcc { protected-clocks = , , - ; + , + , + ; }; &pm8998_gpio { diff --git a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts index e638f216dbfb3..840d6b9bbb598 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -232,7 +232,9 @@ &gcc { protected-clocks = , , - ; + , + , + ; }; &i2c1 {