From patchwork Mon Feb 15 15:26:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 382959 Delivered-To: patch@linaro.org Received: by 2002:a02:c80e:0:0:0:0:0 with SMTP id p14csp1171618jao; Mon, 15 Feb 2021 07:38:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJztNtfCp1m6tbOKknGq1ybHYLsPsODmeFjICa2xfaCbV9eI4aTKsd4QKATI3ylLjFtln0R+ X-Received: by 2002:a17:906:c051:: with SMTP id bm17mr15722257ejb.493.1613403510854; Mon, 15 Feb 2021 07:38:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613403510; cv=none; d=google.com; s=arc-20160816; b=aCqT4zVSYjDzx9tKjY+gK1TrjxHxMaI77ZJEA4Q5GDLZGMByXYVIC+8goOTeOvvneB jjlf89nrGdk8zI0o8OjOv9aXtLtcSB6Sw+hD/H5uvty+Ym6dBr43xuETikKOYLw/I0sw xm72OGsXvYmSrgAVueS0AeMq/W++ofRh/yHNx5Vl/K6qy4953nVVzh8bYOuCeW2G6qOg ABVBFDCOv++cKm7xI4Iy2ETUpEiwvuFuf2CZ2POBeFcTY+s4XkQDwAVRbZNq4OaW/KYl G+IAhb9Y2a9tnXuNUF2g1nTtIwACjzhFGXNvhcIJXW9dJ13NnBsi8IaKKiMMbXRwsDxI xBpg== 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=G5h/PyX04EM7SD3oxnMFGZU/dBUNY1L8saDSFFlev7s=; b=MLAeL6TsQVNZvmWyU3hwyfxxzz1K8Y9YnAPe6/M6WRVZ3/G958vLXdTbV/wTgEIwjs bt4x507LLR078QMn5D4MKQJXH5T222/Wb7xTM+H1E0+RN0brfEMJmk04FDGQ+D6XVzD6 ujb1ExV4Ub7sgrUlk2N1IbOkXweJ9wYW4zTGAdcTMVUnz1Fv2cYbTZx7BcgMA5n4UPIF YiypGhTrJFnfBcQ3TH1VBJn4l0ayVSMewNXWUNA47MYHFrfp6H9vzZ1n5WJxu4cpnV+q A9jzf4H4IJOIxbn0OY7qKU60X/aqtv4C8WjE1iVxION5hUPqAV3tD50FbUJ1obl4NBTQ kVuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=swdgU4nA; 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 x5si12376627ejv.626.2021.02.15.07.38.30; Mon, 15 Feb 2021 07:38:30 -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=swdgU4nA; 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 S231292AbhBOPg4 (ORCPT + 13 others); Mon, 15 Feb 2021 10:36:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:49202 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231238AbhBOPe5 (ORCPT ); Mon, 15 Feb 2021 10:34:57 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9BC1F64EBD; Mon, 15 Feb 2021 15:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613403077; bh=mq1Qo8ZiUNVpDs+RDDKp6kECIl3RoQzYEWYOhFQ+T48=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=swdgU4nAoOiD6c5gmjpEEri/DhKKS4rUrG/88OlODRdmsSSBhFLCw8l1e5PUJUZEs 3bdWpczAs673yPAWZmMhcqAe2X+gdNndo9jVMATK7NZF8c3DJMM2Wx1Jw+WE/5FA92 NpXrG5X7poAg1VlWMUSJskts3JMtxz8VyVaGLu5s= 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.10 019/104] arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc Date: Mon, 15 Feb 2021 16:26:32 +0100 Message-Id: <20210215152720.104266598@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210215152719.459796636@linuxfoundation.org> References: <20210215152719.459796636@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 7cc236575ee20..c0b93813ea9ac 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -415,7 +415,9 @@ &gcc { protected-clocks = , , - ; + , + , + ; }; &gpu { 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 d70aae77a6e84..888dc23a530e6 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts @@ -245,7 +245,9 @@ &gcc { protected-clocks = , , - ; + , + , + ; }; &gpu {