Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7192691imu; Mon, 3 Dec 2018 09:03:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/XXMG1YWyVJ6AZWlt0KukPfOpDnUYc4tKcZSxM13Ll8sOjKDbMN9eHlgYQywBIgk9A5I8wc X-Received: by 2002:a63:7f4f:: with SMTP id p15mr12798993pgn.296.1543856637943; Mon, 03 Dec 2018 09:03:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543856637; cv=none; d=google.com; s=arc-20160816; b=mvT5CFYVk4pR7xytkZzSPYavnP7dRHZFXfUDpDuBFOn3UbVrFDKlgqdK+dZGX2n2cK zw5QqBuAAhy1aVUe4sI++ErecHfZCG7c140aKv7xGRrNKcXTWVBwKcKQt/0ET35Yj7wF y3I8qXkW0vET9Zmr3TwZtMStBvEtJFWK4Lil/SO2+z5NYl2bmaRLXkHWKfdT0D8XZ1Iv 1qeMMd5FrFTzPWFiLKFn/BaBPvXNiPPt5iUr6oqQ1ckeNJ7mM6cw8XQDb5tWyjuo06WQ KB4uVNovKIEn59+UCmMZd1pSp2QEkjGZqCcoBo1orLDahuzZp2G+WV0ujPRTynG3zvdP XImw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=w5Tu8lSrqqq1FVnH4NmFeU9x7qi3sdZaYK57eonuNOI=; b=SUpC7N/996hEllB12VUpj965vEjXIzngtpCaoShySuiHfxXeu/9oXjhCLad3bzk7CE v/bRR32pn/FU4lEcSxjY5C75yQoPck5DXXnncXWokC4uoX4e0VTF/AY8q3Zv/UIuodov rzWnkK/97XUpdw5y12fR0J2u9GAl017zr6Lwez0YTqsBur6sFVkM5kKxbwbDnQKwZ1NB fWI+sAUt1v6XD5F2A2Lh69KDYG8EE2eoNctPokVxGKJ+1WPid5MoIAOdXywCkAHOb8KH SJERauJ/2/f3HD8uYNHL+U1UFGkIl0/hLCaRLPapM0zHuZfF1BMK1x84dNP+ah6uUHAA VXHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VZuXxnAh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si1659758ply.214.2018.12.03.09.03.28; Mon, 03 Dec 2018 09:03:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VZuXxnAh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbeLCRC2 (ORCPT + 99 others); Mon, 3 Dec 2018 12:02:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:41594 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726637AbeLCRC2 (ORCPT ); Mon, 3 Dec 2018 12:02:28 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED96E20834; Mon, 3 Dec 2018 17:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543856544; bh=yJDeNwpYlx5g3Uw5JboeHYoJgFsWV5cS8GbXSvaA8xs=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=VZuXxnAhYxaK9riYCu8OqZGpmIlVnB7JqRyobg536ACG9d4kuMsQFiu7CMwLqAQJW oG1OKrYTEGEmHkqX9j6k+VpkoOvcz+BKdVszIFDebk2aPp9ii0B7rVEOImVzL1S5hp p8I4zvTT1Zq5O8xEnJXzQi4RNrn+0JuLYs8ZgzJM= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Bjorn Andersson , Jeffrey Hugo From: Stephen Boyd In-Reply-To: <711fb66a-a408-08e2-c0c2-6addf1510937@codeaurora.org> Cc: andy.gross@linaro.org, david.brown@linaro.org, mturquette@baylibre.com, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <1543851298-32320-1-git-send-email-jhugo@codeaurora.org> <20181203155538.GQ2225@minitux> <711fb66a-a408-08e2-c0c2-6addf1510937@codeaurora.org> Message-ID: <154385654317.88331.9077579060059188717@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH] clk: qcom: Fix MSM8998 resets Date: Mon, 03 Dec 2018 09:02:23 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jeffrey Hugo (2018-12-03 08:08:46) > On 12/3/2018 8:55 AM, Bjorn Andersson wrote: > > On Mon 03 Dec 07:34 PST 2018, Jeffrey Hugo wrote: > > = > >> The offsets for the defined BCR reset registers does not match the har= dware > >> documentation. Update the values to match the hardware documentation. > >> > > = > > Sorry for not spotting this before. > > = > >> Fixes: b5f5f525c547 (clk: qcom: Add MSM8998 Global Clock Control (GCC)= driver) > >> Signed-off-by: Jeffrey Hugo > >> --- > >> drivers/clk/qcom/gcc-msm8998.c | 38 +++++++++++++++++++-------------= ------ > >> 1 file changed, 19 insertions(+), 19 deletions(-) > >> > >> diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm= 8998.c > >> index 9f0ae40..01cc555 100644 > >> --- a/drivers/clk/qcom/gcc-msm8998.c > >> +++ b/drivers/clk/qcom/gcc-msm8998.c > >> @@ -2742,25 +2742,25 @@ enum { > >> }; > >> = > >> static const struct qcom_reset_map gcc_msm8998_resets[] =3D { > >> - [GCC_BLSP1_QUP1_BCR] =3D { 0x102400 }, > >> - [GCC_BLSP1_QUP2_BCR] =3D { 0x110592 }, > >> - [GCC_BLSP1_QUP3_BCR] =3D { 0x118784 }, > >> - [GCC_BLSP1_QUP4_BCR] =3D { 0x126976 }, > >> - [GCC_BLSP1_QUP5_BCR] =3D { 0x135168 }, > >> - [GCC_BLSP1_QUP6_BCR] =3D { 0x143360 }, > >> - [GCC_BLSP2_QUP1_BCR] =3D { 0x155648 }, > >> - [GCC_BLSP2_QUP2_BCR] =3D { 0x163840 }, > >> - [GCC_BLSP2_QUP3_BCR] =3D { 0x172032 }, > >> - [GCC_BLSP2_QUP4_BCR] =3D { 0x180224 }, > >> - [GCC_BLSP2_QUP5_BCR] =3D { 0x188416 }, > >> - [GCC_BLSP2_QUP6_BCR] =3D { 0x196608 }, > >> - [GCC_PCIE_0_BCR] =3D { 0x438272 }, > >> - [GCC_PDM_BCR] =3D { 0x208896 }, > >> - [GCC_SDCC2_BCR] =3D { 0x81920 }, > >> - [GCC_SDCC4_BCR] =3D { 0x90112 }, > >> - [GCC_TSIF_BCR] =3D { 0x221184 }, > >> - [GCC_UFS_BCR] =3D { 0x479232 }, > >> - [GCC_USB_30_BCR] =3D { 0x61440 }, > >> + [GCC_BLSP1_QUP1_BCR] =3D { 0x19000 }, > >> + [GCC_BLSP1_QUP2_BCR] =3D { 0x1b000 }, > >> + [GCC_BLSP1_QUP3_BCR] =3D { 0x1d000 }, > >> + [GCC_BLSP1_QUP4_BCR] =3D { 0x1f000 }, > >> + [GCC_BLSP1_QUP5_BCR] =3D { 0x21000 }, > >> + [GCC_BLSP1_QUP6_BCR] =3D { 0x23000 }, > >> + [GCC_BLSP2_QUP1_BCR] =3D { 0x26000 }, > >> + [GCC_BLSP2_QUP2_BCR] =3D { 0x28000 }, > >> + [GCC_BLSP2_QUP3_BCR] =3D { 0x2a000 }, > >> + [GCC_BLSP2_QUP4_BCR] =3D { 0x2c000 }, > >> + [GCC_BLSP2_QUP5_BCR] =3D { 0x2e000 }, > >> + [GCC_BLSP2_QUP6_BCR] =3D { 0x30000 }, > >> + [GCC_PCIE_0_BCR] =3D { 0x6c01c }, > > = > > I find GCC_PCIE_0_BCR at 0x6b000 and then GCC_PCIE_0_PHY_BCR at 0x6c01c. > = > Doh. Thanks for the double check. GCC_PCIE_0_PHY_BCR is not defined in = > include/dt-bindings/clock/qcom,gcc-msm8998.h so I plan to leave it out = > until later. > = > Expect a v2 shortly. Will you add GCC_PCIE0_PHY_BCR shortly so we don't have to add it later on when it becomes critical?