Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp37848rwl; Thu, 13 Apr 2023 20:24:42 -0700 (PDT) X-Google-Smtp-Source: AKy350Z3Q9+MpM1fNiIna/r0uFLDJA4frBVrX2mmHTqR63lCE3mMNiyJ5j5zltWcElfZ2FgbhKOW X-Received: by 2002:a17:90a:468c:b0:244:ae65:8a8d with SMTP id z12-20020a17090a468c00b00244ae658a8dmr4424529pjf.31.1681442682015; Thu, 13 Apr 2023 20:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681442681; cv=none; d=google.com; s=arc-20160816; b=Bf8EU7kB227F2vYLuUbzgEfggiBQ33TkOwzudn1pCalfxLXikeViKQBYhiudogsTRo yW6QRRLJvCB5OJJV2O56uJ6gyoQJ2Iq0q+99psZPujdOTb8NFc3fbyv7N9zDUNM+OBIv /gCyVL83rpxyZqr//lpmDfIJQTojhs7Joob+Y4/H0pNjOKDk7mKbWG4ukDMSdsK5Ug5g jrBEXOOegewo8KVFO9SY4C70ZrUdMbLmA14tQun0wc0XKgrHcwB4/3sZOLFHs0y09QJB y/rZchVkQFVDlV+FZ9lt0ZVDVvZ7HtsJTuKu+Rabx3er7KdaXEIqEXixC4BM1b/Oy3eA ZiyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=6iCEh5eWxTNQCa5wDi8iBPU7IH4aLVI3XGZcS/zRAdo=; b=X8LIJQijRW+9kNbGo0jmzEWTpjSjXgSWIoA3SLOgbNo7eNuWT0dUFDCScrxMGSkuZ6 qDqEpZjkqgu+uQ//dBA5PSmlH3czsdyxqRyuqecou09t/aNekpQAJNM8AnMyvWs5eggY gKVv4iskjdmoadNdyi8XAdXizpkfqd6IQVKRVAY2SayUv2QjYaDbeWEDpyXbTJEeVl0y g3yZOajpEoMvRS/BxtDZCU3oZId7FgUPUykTNwK8lHDOcJ8lfmB5NF7igVVXKjpfKTYC b/FoxRriXTw4PFulIwM9PnQrQY41P85DgOEQZoyOa5a1YiHmav9fustV/5vyy4MiixJL UTQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rEu9cQWi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fh1-20020a17090b034100b0023670bc014dsi6007146pjb.110.2023.04.13.20.24.31; Thu, 13 Apr 2023 20:24:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rEu9cQWi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229721AbjDNDVN (ORCPT + 99 others); Thu, 13 Apr 2023 23:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjDNDVL (ORCPT ); Thu, 13 Apr 2023 23:21:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 656522D40; Thu, 13 Apr 2023 20:21:10 -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 DD4D664337; Fri, 14 Apr 2023 03:21:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70A3EC433D2; Fri, 14 Apr 2023 03:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681442469; bh=Djr/EyzdyP74eCkHVTABOcQP+MzKJ4RKp9Nj+Tms4SE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rEu9cQWik9DprlY3c368E3poUdVwDmzOJCu1Anf6o+tSvz771TpnfPZly7u38pYXK dS6cvRKiYXnT4DaYb/Wb+0jr4v1nZRp2+S+oyE9Xzl8BrMMyaXhVlIsfN5Yb2TWDC1 0ngc+aI7GwXzJrUCKpunKngH+GC0f3wstX8UiaS0sR45hBnG0YnCSb/UkMoCXZ2Nb5 MRemtwXKdFq9PQM2mT72jf+ew3CamESuuGjz/dZs7I8nZXd/JGxuCaSoeONTXXm+6W 9BQTgLFto9gIvQlQBWncG+X2jS6/m7F4DmPa4GSknIRZE51j3tXqicFw/UJw+/+ZGc x7GaX4KY40dfg== Date: Thu, 13 Apr 2023 20:24:47 -0700 From: Bjorn Andersson To: Konrad Dybcio Cc: Andy Gross , Michael Turquette , Stephen Boyd , Loic Poulain , Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling Message-ID: <20230414032447.gwcn2akewuunvydf@ripper> References: <20230412-topic-qcm_dispcc-v1-0-bf2989a75ae4@linaro.org> <20230412-topic-qcm_dispcc-v1-3-bf2989a75ae4@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230412-topic-qcm_dispcc-v1-3-bf2989a75ae4@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 12, 2023 at 04:53:07PM +0200, Konrad Dybcio wrote: > GPLL0_OUT_DIV was previously shoved in under the name of its undivided > sibling in parent_map_2. Resolve it. > I'm afraid I don't understand what you're saying here, can you please rework it? Thanks, Bjorn > Fixes: cc517ea3333f ("clk: qcom: Add display clock controller driver for QCM2290") > Signed-off-by: Konrad Dybcio > --- > drivers/clk/qcom/dispcc-qcm2290.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/clk/qcom/dispcc-qcm2290.c b/drivers/clk/qcom/dispcc-qcm2290.c > index ee62aca4e5bb..44dd5cfcc150 100644 > --- a/drivers/clk/qcom/dispcc-qcm2290.c > +++ b/drivers/clk/qcom/dispcc-qcm2290.c > @@ -28,6 +28,7 @@ enum { > P_DISP_CC_PLL0_OUT_MAIN, > P_DSI0_PHY_PLL_OUT_BYTECLK, > P_DSI0_PHY_PLL_OUT_DSICLK, > + P_GPLL0_OUT_DIV, > P_GPLL0_OUT_MAIN, > P_SLEEP_CLK, > }; > @@ -84,7 +85,7 @@ static const struct clk_parent_data disp_cc_parent_data_1[] = { > > static const struct parent_map disp_cc_parent_map_2[] = { > { P_BI_TCXO_AO, 0 }, > - { P_GPLL0_OUT_MAIN, 4 }, > + { P_GPLL0_OUT_DIV, 4 }, > }; > > static const struct clk_parent_data disp_cc_parent_data_2[] = { > @@ -153,8 +154,8 @@ static struct clk_regmap_div disp_cc_mdss_byte0_div_clk_src = { > > static const struct freq_tbl ftbl_disp_cc_mdss_ahb_clk_src[] = { > F(19200000, P_BI_TCXO_AO, 1, 0, 0), > - F(37500000, P_GPLL0_OUT_MAIN, 8, 0, 0), > - F(75000000, P_GPLL0_OUT_MAIN, 4, 0, 0), > + F(37500000, P_GPLL0_OUT_DIV, 8, 0, 0), > + F(75000000, P_GPLL0_OUT_DIV, 4, 0, 0), > { } > }; > > > -- > 2.40.0 >