Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Taniya Das <quic_tdas@quicinc.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Stephen Boyd <sboyd@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
	<devicetree@vger.kernel.org>
Subject: Re: [PATCH v2 7/8] arm64: dts: qcom: qcm6490-idp: Update protected clocks list
Date: Fri, 31 May 2024 15:04:51 +0530	[thread overview]
Message-ID: <9a2a4e55-e123-4f41-bfaa-563cf2e04f5a@quicinc.com> (raw)
In-Reply-To: <06c08855-3965-4d57-8bec-fba8544dee7d@linaro.org>



On 3/18/2024 1:24 PM, Krzysztof Kozlowski wrote:
> On 18/03/2024 06:35, Taniya Das wrote:
>> Certain clocks are not accessible on QCM6490-IDP board,
>> thus mark them as protected. Update the lpassaudio node to
>> support the new compatible.
>>
>> Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
>> ---
> 
>>
>> +&gcc {
>> +	protected-clocks = <GCC_AGGRE_NOC_PCIE_1_AXI_CLK> ,<GCC_PCIE_1_AUX_CLK>,
>> +			<GCC_PCIE_1_AUX_CLK_SRC>, <GCC_PCIE_1_CFG_AHB_CLK>,
>> +			<GCC_PCIE_1_MSTR_AXI_CLK>, <GCC_PCIE_1_PHY_RCHNG_CLK_SRC>,
>> +			<GCC_PCIE_1_PIPE_CLK>, <GCC_PCIE_1_PIPE_CLK_SRC>,
>> +			<GCC_PCIE_1_SLV_AXI_CLK>, <GCC_PCIE_1_SLV_Q2A_AXI_CLK>,
>> +			<GCC_QSPI_CNOC_PERIPH_AHB_CLK>, <GCC_QSPI_CORE_CLK>,
>> +			<GCC_QSPI_CORE_CLK_SRC>,<GCC_USB30_SEC_MASTER_CLK>,
>> +			<GCC_USB30_SEC_MASTER_CLK_SRC>, <GCC_USB30_SEC_MOCK_UTMI_CLK>,
>> +			<GCC_USB30_SEC_MOCK_UTMI_CLK_SRC>,
>> +			<GCC_USB30_SEC_MOCK_UTMI_POSTDIV_CLK_SRC>, <GCC_USB30_SEC_SLEEP_CLK>,
>> +			<GCC_USB3_SEC_PHY_AUX_CLK>, <GCC_USB3_SEC_PHY_AUX_CLK_SRC>,
>> +			<GCC_USB3_SEC_PHY_COM_AUX_CLK>, <GCC_USB3_SEC_PHY_PIPE_CLK>,
>> +			<GCC_USB3_SEC_PHY_PIPE_CLK_SRC>, <GCC_CFG_NOC_LPASS_CLK>,
>> +			<GCC_MSS_GPLL0_MAIN_DIV_CLK_SRC>, <GCC_MSS_CFG_AHB_CLK>,
>> +			<GCC_MSS_OFFLINE_AXI_CLK>, <GCC_MSS_SNOC_AXI_CLK>,
>> +			<GCC_MSS_Q6_MEMNOC_AXI_CLK>, <GCC_MSS_Q6SS_BOOT_CLK_SRC>,
>> +			<GCC_SEC_CTRL_CLK_SRC>, <GCC_WPSS_AHB_CLK>,
>> +			<GCC_WPSS_AHB_BDG_MST_CLK>, <GCC_WPSS_RSCP_CLK>;
>> +};
>> +
>> +&lpass_audiocc {
>> +	compatible = "qcom,qcm6490-lpassaudiocc";
> 
> What? Why do you override compatible for given board? This is a SoC
> block, not board!

On QCM6490-IDP and QCS690-RB3Gen2 boards, the HLOS Audio driver requires 
the support for the reset functionality only from the LPASS region.
Rest of the clocks functionality is controlled from LPASS firmware.

Hence, in the earlier series we marked all the clocks as protected and 
introduced new "qcom,adsp-skip-pll" flag to skip PLL configurations.
But as the flag was also not approved and the ask was to use the 
compatible string, we went ahead with this approach.

> 
> Best regards,
> Krzysztof
> 

-- 
Thanks & Regards,
Taniya Das.

  reply	other threads:[~2024-05-31  9:35 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18  5:35 [PATCH v2 0/8] Add updates for clock controllers to support QCM6490 Taniya Das
2024-03-18  5:35 ` [PATCH v2 1/8] dt-bindings: clock: qcom: Add compatible for QCM6490 boards Taniya Das
2024-03-18  7:11   ` Luca Weiss
2024-05-31  9:28     ` Taniya Das
2024-05-31  9:58       ` Luca Weiss
2024-03-18  7:47   ` Krzysztof Kozlowski
2024-05-31  9:28     ` Taniya Das
2024-03-18  7:50   ` Krzysztof Kozlowski
2024-03-18  5:35 ` [PATCH v2 2/8] clk: qcom: lpassaudiocc-sc7280: Add support for LPASS resets for QCM6490 Taniya Das
2024-03-18  7:50   ` Krzysztof Kozlowski
2024-05-31  9:28     ` Taniya Das
2024-03-18  7:51   ` Krzysztof Kozlowski
2024-03-18  5:35 ` [PATCH v2 3/8] clk: qcom: lpassaudiocc-sc7280: Fix the regmap conflict warning Taniya Das
2024-03-18  7:52   ` Krzysztof Kozlowski
2024-03-18  5:35 ` [PATCH v2 4/8] clk: qcom: sc7280: Update the transition delay for GDSC Taniya Das
2024-03-18  7:53   ` Krzysztof Kozlowski
2024-05-31  9:30     ` Taniya Das
2024-05-31 10:20       ` Dmitry Baryshkov
2024-03-18  5:35 ` [PATCH v2 5/8] clk: qcom: gcc-sc7280: Update force mem core bit for UFS ICE clock Taniya Das
2024-04-23 13:14   ` Konrad Dybcio
2024-03-18  5:35 ` [PATCH v2 6/8] clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs Taniya Das
2024-04-23 13:14   ` Konrad Dybcio
2024-03-18  5:35 ` [PATCH v2 7/8] arm64: dts: qcom: qcm6490-idp: Update protected clocks list Taniya Das
2024-03-18  7:54   ` Krzysztof Kozlowski
2024-05-31  9:34     ` Taniya Das [this message]
2024-05-31 10:19       ` Dmitry Baryshkov
2024-03-18  5:35 ` [PATCH v2 8/8] arm64: dts: qcom: qcs6490-rb3gen2: Update the LPASS audio node Taniya Das
2024-03-18  7:55   ` Krzysztof Kozlowski
2024-04-23 13:16   ` Konrad Dybcio

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=9a2a4e55-e123-4f41-bfaa-563cf2e04f5a@quicinc.com \
    --to=quic_tdas@quicinc.com \
    --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=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=mturquette@baylibre.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