Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1909388rdh; Sat, 28 Oct 2023 12:07:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFhua1Bvu024gX012Zz5AATzxy0/1W9/OPpUmkUMI33Ohr4qVqw/gj3nvEmjVfJTYtydSKq X-Received: by 2002:a05:6a00:2195:b0:690:c75e:25d7 with SMTP id h21-20020a056a00219500b00690c75e25d7mr5486672pfi.18.1698520077289; Sat, 28 Oct 2023 12:07:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698520077; cv=none; d=google.com; s=arc-20160816; b=t/XfQG9nXonXgocnOGvbdZ3PgCUau7uB3R+MTVBKMAZRRnc0e6z90sfNYDsxWvpY65 t+MhEO7ksGncwXk5bez9YApoZ7cMXkoZ8iCjTVe5xuvtseFexxvXVLxeryZQo9UbZRiw Yl0OSCJ4EI4SnYtoom8sjtyn6j0ogfdGQHwrFwEhQWydnrxW4qiAg0jbj7l2bM8j0cSA Ya8etkJvkJPxOdgYEFi6F5+HBtC/kQ4JcunChluFuprpQ7Bbx9dGv7+pSnMO0jdxUYzr TuLXh7PiXU6uJ3vy3WnGxROCm+jeLojtlWu2B5BZAuUF/xr2KPQkH+3XA76BklVjKJVa QOvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9S0aP/DAr8QgXn/c7opvaFYYMlH14zJNjTl2DhjYeZ0=; fh=ntNUbb85cXcVi6hPsQt9XVpH50ko56jwMUCyWQcLOic=; b=aXCG6ZNFQlvLuBMYpYsSak5FicMSdbJ1TwsbpM9yfpcVs4Swcl7psBoL1f4FFFh0cV A6R0rYpmp0iuu8Qf5KymemvwU23SPYRCy+WBx4U29OmGS8rRzBT8mIvTszES4c1Oha7V eM3fjfAYEcyiRGvSLUTPH0laByWSGlZJbvDYQOPOvxNrsTXwjw/1DLrlfTtVjdbRGSqj FtiAUq8h3TA+JOvdM+0VLrPf+VunCa5n4+LSj0yMk5umtdj8ZKfyQieO97AkM9fsYXLg hmowSyIBsxL31E8hvsEZg2wkp1YGvzQ/b3PvI6BgLUlzBjnHrrbVi1UDg1QNmesQ8/b2 lbbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GyQ9FjaV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bk13-20020a056a02028d00b00578a28df3e2si818318pgb.816.2023.10.28.12.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 12:07:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GyQ9FjaV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1B525807798D; Sat, 28 Oct 2023 12:07:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229446AbjJ1THB (ORCPT + 99 others); Sat, 28 Oct 2023 15:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjJ1THA (ORCPT ); Sat, 28 Oct 2023 15:07:00 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5890F2 for ; Sat, 28 Oct 2023 12:06:57 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40790b0a224so23222595e9.0 for ; Sat, 28 Oct 2023 12:06:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698520016; x=1699124816; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9S0aP/DAr8QgXn/c7opvaFYYMlH14zJNjTl2DhjYeZ0=; b=GyQ9FjaVeo+foJMN7ZOectkMjqGUmG4qHNHsIyB9V/2sciOUbflMB761xTlygC70v2 zxqXcuXhyItO9XDdyxAp901gNC2u7LLgoczCywT4+/ifUyEaZ6PX7skVFtTxq24ysGiD lgQxNI+lJzoQjZShh6TW232tJRpbHYa8iSCQuR/76epsd6Vg6BLQ02is5BEFFIRfLUeF LImCHmK7fbb4RreXgQLj0Ug4Box8TO+Ub4Qk5powsWNtpcJq4JQ1URVZITK2KDLbf894 TlSbo/s6iXYzUUiL6YYsHsPaOJYY8GJxJhHYGGLyE+37P+rGULeo7vMICu6eskMJ1pOS tcew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698520016; x=1699124816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9S0aP/DAr8QgXn/c7opvaFYYMlH14zJNjTl2DhjYeZ0=; b=jIh6N8P42MnmNDQwrjTrfhlaL+hkY+dqfp2LJDnKGE9V5JJA+1O2B6AaSxbkkimLlY SCUblUSECAm9kgu1fqtyDUljKRAUwGVcEYGJtcxLvso4ZwU7lVcaYO0wBblEED0BB1uu xYUTMUTWEsGDqpwIAMVszxcKlgYGVwbcf7FZOv7GRPzuNI6EyxkWp8EUS8RB1rkkUP4l 9t3TgqIk+CQrLHIqBkWXJvWaht0We4xmqBIMbo/xcwTTjzAxtgZOMrgLQ7p28Zg6oXsK wKoXh5joOyE/GOK3FKS3Cuq7ltJMgne+DtTk1vd20XOLbxwW7lR+v8POcAapkREKlwrI ibVg== X-Gm-Message-State: AOJu0YygRSUqQGsaZPjqNM1lt84IBFuf0yRNSoLLuVs5LPqwNyaoEAP+ +FbnclEVW0F/Wp5u0Po3+EC+/Q== X-Received: by 2002:a05:600c:4592:b0:408:575e:f24f with SMTP id r18-20020a05600c459200b00408575ef24fmr4741350wmo.28.1698520016048; Sat, 28 Oct 2023 12:06:56 -0700 (PDT) Received: from [192.168.100.102] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id j8-20020a05600c190800b004063ea92492sm4683574wmq.22.2023.10.28.12.06.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Oct 2023 12:06:55 -0700 (PDT) Message-ID: <3bc27995-4905-40b8-9b6c-3fc5d77086a2@linaro.org> Date: Sat, 28 Oct 2023 20:06:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz Content-Language: en-US To: Vincent Knecht , Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Shawn Guo , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Stephan Gerhold References: <20231028120756.316574-1-vincent.knecht@mailoo.org> From: Bryan O'Donoghue In-Reply-To: <20231028120756.316574-1-vincent.knecht@mailoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sat, 28 Oct 2023 12:07:05 -0700 (PDT) On 28/10/2023 13:07, Vincent Knecht wrote: > Fix mclk0 & mclk1 parent map to use correct GPLL6 configuration and > freq_tbl to use GPLL6 instead of GPLL0 so that they tick at 24 MHz. > > Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller") > Suggested-by: Stephan Gerhold > Signed-off-by: Vincent Knecht > --- > drivers/clk/qcom/gcc-msm8939.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/qcom/gcc-msm8939.c b/drivers/clk/qcom/gcc-msm8939.c > index b45f97c07eeb..e4a44377b75f 100644 > --- a/drivers/clk/qcom/gcc-msm8939.c > +++ b/drivers/clk/qcom/gcc-msm8939.c > @@ -432,7 +432,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_gpll6_sleep_map[] = { > { P_XO, 0 }, > { P_GPLL0, 1 }, > { P_GPLL1_AUX, 2 }, > - { P_GPLL6, 2 }, > + { P_GPLL6, 3 }, > { P_SLEEP_CLK, 6 }, > }; > > @@ -1100,7 +1100,7 @@ static struct clk_rcg2 jpeg0_clk_src = { > }; > > static const struct freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = { > - F(24000000, P_GPLL0, 1, 1, 45), > + F(24000000, P_GPLL6, 1, 1, 45), > F(66670000, P_GPLL0, 12, 0, 0), > { } > }; Reviewed-by: Bryan O'Donoghue