From nobody Mon Sep 29 22:45:03 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B124C00140 for ; Tue, 16 Aug 2022 00:20:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348895AbiHPAUE (ORCPT ); Mon, 15 Aug 2022 20:20:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357359AbiHPANY (ORCPT ); Mon, 15 Aug 2022 20:13:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2D6B176DC1; Mon, 15 Aug 2022 13:29:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E1D956117D; Mon, 15 Aug 2022 20:29:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7813C433D7; Mon, 15 Aug 2022 20:29:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660595397; bh=z2ppMhTPiC/F2H1GoH0DGMhpTjqq0uo0VJ7PpbIH8zo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C9zi2li8XTGj2inps55nQxrV/9lC15mADZowTiSGXMKhTbsYOslROGJ2o+h89Qcd1 k2Gv9sha742jycH9uRhHqK53kdGJbkHOjJ795XzueLtEwhn3jUjAEnb9jdv0SBxa7A 9th3c6lKVGTp6cKxL15nZP1H5em4lgVSIPFVamGM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bryan ODonoghue , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.19 0751/1157] clk: qcom: gcc-msm8939: Point MM peripherals to system_mm_noc clock Date: Mon, 15 Aug 2022 20:01:47 +0200 Message-Id: <20220815180509.534624716@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Bryan O'Donoghue [ Upstream commit 05eed0990927aa9634682fec58660e30f7b7ae30 ] Qcom docs indciate the following peripherals operating from System NOC MM not from System NOC clocks. - MDP - VFE - JPEGe - Venus Switch over the relevant parent pointers. Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Con= troller") Signed-off-by: Bryan O'Donoghue Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220504163835.40130-5-bryan.odonoghue@lina= ro.org Signed-off-by: Sasha Levin --- drivers/clk/qcom/gcc-msm8939.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8939.c b/drivers/clk/qcom/gcc-msm8939.c index 12bab9067ea8..c7377ec0f423 100644 --- a/drivers/clk/qcom/gcc-msm8939.c +++ b/drivers/clk/qcom/gcc-msm8939.c @@ -2453,7 +2453,7 @@ static struct clk_branch gcc_camss_jpeg_axi_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_camss_jpeg_axi_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -2657,7 +2657,7 @@ static struct clk_branch gcc_camss_vfe_axi_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_camss_vfe_axi_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -2813,7 +2813,7 @@ static struct clk_branch gcc_mdss_axi_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_mdss_axi_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -3205,7 +3205,7 @@ static struct clk_branch gcc_mdp_tbu_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_mdp_tbu_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -3223,7 +3223,7 @@ static struct clk_branch gcc_venus_tbu_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_venus_tbu_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -3241,7 +3241,7 @@ static struct clk_branch gcc_vfe_tbu_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_vfe_tbu_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -3259,7 +3259,7 @@ static struct clk_branch gcc_jpeg_tbu_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_jpeg_tbu_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, @@ -3496,7 +3496,7 @@ static struct clk_branch gcc_venus0_axi_clk =3D { .hw.init =3D &(struct clk_init_data){ .name =3D "gcc_venus0_axi_clk", .parent_data =3D &(const struct clk_parent_data){ - .hw =3D &system_noc_bfdcd_clk_src.clkr.hw, + .hw =3D &system_mm_noc_bfdcd_clk_src.clkr.hw, }, .num_parents =3D 1, .flags =3D CLK_SET_RATE_PARENT, --=20 2.35.1