From: Neil Armstrong <neil.armstrong@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Taniya Das <quic_tdas@quicinc.com>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 06/10] clk: qcom: add the SM8650 Global Clock Controller driver
Date: Thu, 26 Oct 2023 13:51:21 +0200 [thread overview]
Message-ID: <4f0a7c6c-b221-46c8-888a-34b94cafeb8a@linaro.org> (raw)
In-Reply-To: <ccd24edd-b713-49f3-96f4-af653a8fd6b7@linaro.org>
On 25/10/2023 10:41, Konrad Dybcio wrote:
>
>
> On 10/25/23 09:32, Neil Armstrong wrote:
>> Add Global Clock Controller (GCC) support for SM8650 platform.
>>
>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>> ---
> Just a couple remarks
>
> 1. looks like there's no usage of shared ops (corresponding
> to enable_safe_parent or something along these lines
> downstream)
Indeed, it was missing, I'll give a test before posting a v2.
>
> 2. none of the GDSCs have interesting flags.. I have this
> little cheat sheet that you may find handy:
>
> qcom,retain-regs -> RETAIN_FF_ENABLE
> qcom,support-hw-trigger + set_mode in driver -> HW_CONTROL
> qcom,no-status-check-on-disable -> VOTABLE
> qcom,reset-aon-logic -> AON_RESET
> domain-addr = clamp_io_ctrl
Thx, I updated the GDSCs.
>
> 3. gcc_cpuss_ubwcp_clk_src uses the XO_A clock as parent, but
> it's not there in the ftbl.. Could you confirm whether this
> clock should even be accessed from HLOS?
Downstream this clock is only used by gem_noc, since we don't use such
clock upstream I think it's safer to remove it until we have the usage.
>
> [...]
>
>> +static int gcc_sm8650_probe(struct platform_device *pdev)
>> +{
>> + struct regmap *regmap;
>> + int ret;
>> +
>> + regmap = qcom_cc_map(pdev, &gcc_sm8650_desc);
>> + if (IS_ERR(regmap))
>> + return PTR_ERR(regmap);
>> +
>> + ret = qcom_cc_register_rcg_dfs(regmap, gcc_dfs_clocks,
>> + ARRAY_SIZE(gcc_dfs_clocks));
>> + if (ret)
>> + return ret;
>> +
>> + /*
>> + * Keep the critical clock always-On
>> + * gcc_camera_ahb_clk, gcc_camera_xo_clk, gcc_disp_ahb_clk,
>> + * gcc_disp_xo_clk, gcc_gpu_cfg_ahb_clk, gcc_video_ahb_clk,
>> + * gcc_video_xo_clk
>> + */
> Could you make these comments inline, i.e.
>
> regmap_update_bits(regmap, 0x26004, BIT(0), BIT(0)); /* gcc_camera_ahb_clk */
>
> ?
Done
>
> Konrad
Thanks,
Neil
prev parent reply other threads:[~2023-10-26 11:51 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-25 7:32 [PATCH 00/10] clk: qcom: Introduce clocks drivers for SM8650 Neil Armstrong
2023-10-25 7:32 ` [PATCH 01/10] dt-bindings: clock: qcom: document the SM8650 TCSR Clock Controller Neil Armstrong
2023-10-27 7:24 ` Krzysztof Kozlowski
2023-10-25 7:32 ` [PATCH 02/10] dt-bindings: clock: qcom: document the SM8650 General " Neil Armstrong
2023-10-27 7:25 ` Krzysztof Kozlowski
2023-10-25 7:32 ` [PATCH 03/10] dt-bindings: clock: qcom: document the SM8650 Display " Neil Armstrong
2023-10-25 14:47 ` Rob Herring
2023-10-25 19:49 ` Rob Herring
2023-10-25 19:40 ` Rob Herring
2023-10-27 7:28 ` Krzysztof Kozlowski
2023-10-25 7:32 ` [PATCH 04/10] dt-bindings: clock: qcom: document the SM8650 GPU " Neil Armstrong
2023-10-25 19:40 ` Rob Herring
2023-10-25 7:32 ` [PATCH 05/10] dt-bindings: clock: qcom-rpmhcc: document the SM8650 RPMH " Neil Armstrong
2023-10-25 19:49 ` Rob Herring
2023-10-25 7:32 ` [PATCH 07/10] clk: qcom: add the SM8650 TCSR Clock Controller driver Neil Armstrong
2023-10-25 8:38 ` Dmitry Baryshkov
2023-10-25 8:43 ` Konrad Dybcio
2023-10-25 11:56 ` Neil Armstrong
2023-10-25 7:32 ` [PATCH 08/10] clk: qcom: add the SM8650 Display " Neil Armstrong
2023-10-25 8:45 ` Konrad Dybcio
2023-10-26 12:02 ` Neil Armstrong
2023-10-25 21:45 ` Stephen Boyd
2023-10-26 12:27 ` Neil Armstrong
2023-10-25 7:32 ` [PATCH 09/10] clk: qcom: add the SM8650 GPU " Neil Armstrong
2023-10-25 8:46 ` Konrad Dybcio
2023-10-25 7:32 ` [PATCH 10/10] clk: qcom: rpmh: add clocks for SM8650 Neil Armstrong
2023-10-25 8:45 ` Dmitry Baryshkov
2023-10-25 8:47 ` Konrad Dybcio
2023-10-25 12:00 ` Neil Armstrong
2023-10-25 21:47 ` Stephen Boyd
2023-10-26 12:17 ` Neil Armstrong
[not found] ` <20231025-topic-sm8650-upstream-clocks-v1-6-c89b59594caf@linaro.org>
2023-10-25 8:41 ` [PATCH 06/10] clk: qcom: add the SM8650 Global Clock Controller driver Konrad Dybcio
2023-10-26 11:51 ` Neil Armstrong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4f0a7c6c-b221-46c8-888a-34b94cafeb8a@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=quic_tdas@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox