Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2392368lqp; Sun, 24 Mar 2024 17:26:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfwZLd7nOFIfQYlmzLpAQFwLxLqkS+29s4+0jun6aelMBaa/G/n08wSrY1/193siWW/tBW0biF7fvlUyIpY3dpIhyDVFX8E5kIscNfwA== X-Google-Smtp-Source: AGHT+IGRox+EDF/Y6sXpm74Vt/6vA1YDEQUh2YNDskUCK8BibG5THE3Bj/+PUjNh4YHDTHzrhrqD X-Received: by 2002:a17:907:ea2:b0:a46:ea3c:72ab with SMTP id ho34-20020a1709070ea200b00a46ea3c72abmr5184409ejc.74.1711326388408; Sun, 24 Mar 2024 17:26:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711326388; cv=pass; d=google.com; s=arc-20160816; b=zXtllk/NOGdSdThwAT/b9y8Q2ypZQcLtzeqvEfDmyMhq4pg54NG4Xe7LbT/L/jkZ4R 0obOTr3V7jSfXhvjJz5v/L2xFH91SYXvaIx/+a9AxyIkPOaNgcx0z4g374ZimeqYUmbK wHlWYjLeMnmCMoMreHTe1Z2oY1Qg33yajCOAyOhZkXtCam+pbtA/PZUAwAr9Ehs74Ykk A+cWAxjoc9crVgkvAa0X6/Lcca6IgvwCPeM+hHaqaVlT11k7o6Si934fNsRe+H0BQ7pU a1mIrkrI5lqUIm0lw+EEohvP9gqvF9hbXqTKVmzgR3kkKd1EcwbionSx8SqHWGgXQdX+ nHUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=fKJ4VtDoSFyizDRDfcxE5xmjaRFYUVw71NGxBzLosKo=; fh=nE/JInEzuREI4qIRIlczsgmVPImbt4Ae/N2Oy9ytjxs=; b=jj0+Iz7zproEb3Cx0DPoB9lTzsXYm9w300D3R75EbG1szbdDqhJ8W50aJnMpnyEVuS JEB4l0ADscYgn/92Zxaw19N9fgYME4OxycQHk8B4jxtmj3j0qAVtRRP97unj8l+oflDa 7AYJJs2cvYX0YmGm6jvN7LCRRe9J8GOE/5IxAP8iPgL+sZMUNhyZmGIY8QGIyWhx/6v2 bLSc3St7nroZNb3HS/TT85Ca1smLOJ0rVe587rYDQwbgjn2ZpY2KoCkmSQHnnATiCyTi z4tmNuY476zFZqKrhJFxaMolhGxUa9xw9zVWUVy2CiWY0MkgUNx+YizOxZMQcQmjWzgC 7V0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PZpDOvek; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i26-20020a1709061cda00b00a462712f307si2091383ejh.1013.2024.03.24.17.26.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:26:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PZpDOvek; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113396-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 275361F293E1 for ; Mon, 25 Mar 2024 00:26:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C29C21A3793; Sun, 24 Mar 2024 22:43:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PZpDOvek" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB3331A2F7D; Sun, 24 Mar 2024 22:43:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320197; cv=none; b=aEXJQbbnDl+K7fA8qtPMgc+zWZ5DYO5LfXIFMD/nDY6viP7J4w/z2yVvjzix/3c02ixRirDns5HaAuKFuH+en7FUrPIDtLp0xlxhtBDF4LYhg8IHNxolFI7Dss6CoEJ2knjNGhufICyrVcspscdY9JWS24IK4/FzAq9Rt64o1Q8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320197; c=relaxed/simple; bh=hG24ceIatTC20ZxBsqp5TxfOgfB2eDG8J9pF5Gn0hMg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KhfPAtWWWBTWZDtytGDfBVKnpgkQ5trn3/y+QXPYNDA5xG3RPxLcJPqerrb5w0GAioab+dKxTxeKn/8Z4EqJtP8KikWVlNTd4c9OfcETFNrTjKVrtxkMiQXv4DmeBMZT0w0ebAbDbWTUMBtqjhNj78ZXKC0R4QKkUBujbcrEe0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PZpDOvek; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDC70C433A6; Sun, 24 Mar 2024 22:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320197; bh=hG24ceIatTC20ZxBsqp5TxfOgfB2eDG8J9pF5Gn0hMg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PZpDOvekPr00C64OfPDyW1PVnfchoxl6/UQfM5//jQ10x4wgIS0eqHxHQGNDdfmwL jmB+z8obXXF8zARmygVOdTfun9zCin2Gm9R//sJs47ZQCT0Zc+9kqTOi/87V1nLs8R Ao/sgGtJBVBZExUFb+CXgqkXOXPE8Y7E97MkYGvgkFBXyUqIc0e1kM5EXIo/tFSqte libNMD900ld5Cw+Vp/4H8VgGEDoXq33Gg/8I/muBb2Fm4wVWw9nnv/doW4Aa439nkv WZ8sVkdHgOGr8rrswILBNlj3Y5amyR6D1jAnDWyDZV/3JzVSSGlKcPnrTzcOWzDMek tHllpbTDkcfKA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Gabor Juhos , Dmitry Baryshkov , Kathiravan Thirumoorthy , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 505/715] clk: qcom: gcc-ipq5018: fix register offset for GCC_UBI0_AXI_ARES reset Date: Sun, 24 Mar 2024 18:31:24 -0400 Message-ID: <20240324223455.1342824-506-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Gabor Juhos [ Upstream commit 7d474b43087aa356d714d39870c90d77fc6f1186 ] The current register offset used for the GCC_UBI0_AXI_ARES reset seems wrong. Or at least, the downstream driver uses [1] the same offset which is used for other the GCC_UBI0_*_ARES resets. Change the code to use the same offset used in the downstream driver and also specify the reset bit explicitly to use the same format as the followup entries. 1. https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/blob/NHSS.QSDK.12.4.r4/drivers/clk/qcom/gcc-ipq5018.c?ref_type=heads#L3773 Fixes: e3fdbef1bab8 ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018") Signed-off-by: Gabor Juhos Reviewed-by: Dmitry Baryshkov Reviewed-by: Kathiravan Thirumoorthy Link: https://lore.kernel.org/r/20240225-gcc-ipq5018-register-fixes-v1-3-3c191404d9f0@gmail.com Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- drivers/clk/qcom/gcc-ipq5018.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-ipq5018.c b/drivers/clk/qcom/gcc-ipq5018.c index 5e81cfa77293a..e2bd54826a4ce 100644 --- a/drivers/clk/qcom/gcc-ipq5018.c +++ b/drivers/clk/qcom/gcc-ipq5018.c @@ -3632,7 +3632,7 @@ static const struct qcom_reset_map gcc_ipq5018_resets[] = { [GCC_SYSTEM_NOC_BCR] = { 0x26000, 0 }, [GCC_TCSR_BCR] = { 0x28000, 0 }, [GCC_TLMM_BCR] = { 0x34000, 0 }, - [GCC_UBI0_AXI_ARES] = { 0x680}, + [GCC_UBI0_AXI_ARES] = { 0x68010, 0 }, [GCC_UBI0_AHB_ARES] = { 0x68010, 1 }, [GCC_UBI0_NC_AXI_ARES] = { 0x68010, 2 }, [GCC_UBI0_DBG_ARES] = { 0x68010, 3 }, -- 2.43.0