From: Matthias Kaehlcke <mka@chromium.org>
To: Nikita Travkin <nikita@trvn.ru>
Cc: agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v3 1/4] arm64: dts: qcom: sc7180: Don't enable lpass clocks by default
Date: Thu, 16 Mar 2023 00:28:45 +0000 [thread overview]
Message-ID: <ZBJivckYK+JrGdG2@google.com> (raw)
In-Reply-To: <20230315154311.37299-2-nikita@trvn.ru>
On Wed, Mar 15, 2023 at 08:43:08PM +0500, Nikita Travkin wrote:
> lpass clocks are usually blocked from HLOS by the firmware and
> instead are managed by the ADSP. Mark them as reserved and explicitly
> enable in the CrOS boards that have special, cooperative firmware.
>
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---
> arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 8 ++++++++
> arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 ++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
> index 423630c4d02c..26def6e12723 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
> @@ -785,6 +785,14 @@ alc5682: codec@1a {
> };
> };
>
> +&lpasscc {
> + status = "okay";
> +};
> +
> +&lpass_hm {
> + status = "okay";
> +};
> +
> &lpass_cpu {
> status = "okay";
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> index 53f0076f20f6..f0de177981f9 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> @@ -3623,6 +3623,8 @@ lpasscc: clock-controller@62d00000 {
> power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>;
> #clock-cells = <1>;
> #power-domain-cells = <1>;
> +
> + status = "reserved"; /* Controlled by ADSP */
Why not "disabled"? I see "reserved" is used in a couple of other
instances, but it doesn't appear in Documentation/devicetree/bindings/,
so it doesn't seem to have a well defined meaning that distinguishes it
from "disabled".
> };
>
> lpass_cpu: lpass@62d87000 {
> @@ -3671,6 +3673,8 @@ lpass_hm: clock-controller@63000000 {
>
> #clock-cells = <1>;
> #power-domain-cells = <1>;
> +
> + status = "reserved"; /* Controlled by ADSP */
> };
> };
>
> --
> 2.39.2
>
next prev parent reply other threads:[~2023-03-16 0:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-15 15:43 [PATCH v3 0/4] Add Acer Aspire 1 Nikita Travkin
2023-03-15 15:43 ` [PATCH v3 1/4] arm64: dts: qcom: sc7180: Don't enable lpass clocks by default Nikita Travkin
2023-03-15 16:12 ` Konrad Dybcio
2023-03-16 0:06 ` Doug Anderson
2023-03-16 0:23 ` Matthias Kaehlcke
2023-03-16 0:28 ` Matthias Kaehlcke [this message]
2023-03-16 3:42 ` Nikita Travkin
2023-03-16 17:28 ` Matthias Kaehlcke
2023-03-15 15:43 ` [PATCH v3 2/4] arm64: dts: qcom: sc7180: Drop redundant disable in mdp Nikita Travkin
2023-03-15 16:10 ` Konrad Dybcio
2023-03-15 15:43 ` [PATCH v3 3/4] dt-bindings: arm: qcom: Add Acer Aspire 1 Nikita Travkin
2023-03-15 15:43 ` [PATCH v3 4/4] arm64: dts: " Nikita Travkin
2023-03-15 16:09 ` Krzysztof Kozlowski
2023-03-15 16:41 ` Nikita Travkin
2023-03-15 17:49 ` 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=ZBJivckYK+JrGdG2@google.com \
--to=mka@chromium.org \
--cc=agross@kernel.org \
--cc=andersson@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-kernel@vger.kernel.org \
--cc=nikita@trvn.ru \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.