From: Jonathan McDowell <noodles@earth.li>
To: Ansuel Smith <ansuelsmth@gmail.com>
Cc: Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 10/18] ARM: dts: qcom: add saw for l2 cache and kraitcc for ipq8064
Date: Tue, 22 Feb 2022 20:01:41 +0000 [thread overview]
Message-ID: <YhVBJaPR7a/E9n1B@earth.li> (raw)
In-Reply-To: <20220218002956.6590-11-ansuelsmth@gmail.com>
On Fri, Feb 18, 2022 at 01:29:48AM +0100, Ansuel Smith wrote:
> Add saw compatible for l2 cache and kraitcc node for ipq8064 dtsi.
> Also declare clock-output-names for acc0 and acc1 and qsb fixed clock
> for the secondary mux.
>
> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
> ---
> arch/arm/boot/dts/qcom-ipq8064.dtsi | 34 +++++++++++++++++++++++++++--
> 1 file changed, 32 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-ipq8064.dtsi
> index c579fb09e768..7df1c1482220 100644
> --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
> @@ -298,6 +298,12 @@ smem: smem@41000000 {
> };
>
> clocks {
> + qsb: qsb {
> + compatible = "fixed-clock";
> + clock-frequency = <384000000>;
> + #clock-cells = <0>;
> + };
> +
> cxo_board {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> @@ -504,11 +510,19 @@ IRQ_TYPE_EDGE_RISING)>,
> acc0: clock-controller@2088000 {
> compatible = "qcom,kpss-acc-v1";
> reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
> + clock-output-names = "acpu0_aux";
> + clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
You need to add the pxo_board: label to the clock above or we get:
arch/arm/boot/dts/qcom-ipq8064.dtsi:645.34-652.5: ERROR (phandle_references): /soc/clock-controller@2088000: Reference to non-existent node or label "pxo_board"
arch/arm/boot/dts/qcom-ipq8064.dtsi:654.34-661.5: ERROR (phandle_references): /soc/clock-controller@2098000: Reference to non-existent node or label "pxo_board"
> + clock-names = "pll8_vote", "pxo";
> + #clock-cells = <0>;
> };
>
> acc1: clock-controller@2098000 {
> compatible = "qcom,kpss-acc-v1";
> reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
> + clock-output-names = "acpu1_aux";
> + clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
> + clock-names = "pll8_vote", "pxo";
> + #clock-cells = <0>;
> };
>
> adm_dma: dma-controller@18300000 {
> @@ -532,17 +546,23 @@ adm_dma: dma-controller@18300000 {
> };
>
> saw0: regulator@2089000 {
> - compatible = "qcom,saw2";
> + compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon";
> reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
> regulator;
> };
>
> saw1: regulator@2099000 {
> - compatible = "qcom,saw2";
> + compatible = "qcom,saw2", "qcom,apq8064-saw2-v1.1-cpu", "syscon";
> reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
> regulator;
> };
>
> + saw_l2: regulator@02012000 {
> + compatible = "qcom,saw2", "syscon";
> + reg = <0x02012000 0x1000>;
> + regulator;
> + };
> +
> gsbi2: gsbi@12480000 {
> compatible = "qcom,gsbi-v1.0.0";
> cell-index = <2>;
> @@ -899,6 +919,16 @@ l2cc: clock-controller@2011000 {
> clock-output-names = "acpu_l2_aux";
> };
>
> + kraitcc: clock-controller {
> + compatible = "qcom,krait-cc-v1";
> + clocks = <&gcc PLL9>, <&gcc PLL10>, <&gcc PLL12>,
> + <&acc0>, <&acc1>, <&l2cc>, <&qsb>;
> + clock-names = "hfpll0", "hfpll1", "hfpll_l2",
> + "acpu0_aux", "acpu1_aux", "acpu_l2_aux",
> + "qsb";
> + #clock-cells = <1>;
> + };
> +
> lcc: clock-controller@28000000 {
> compatible = "qcom,lcc-ipq8064";
> reg = <0x28000000 0x1000>;
> --
> 2.34.1
>
J.
--
Hats off to the insane. | .''`. Debian GNU/Linux Developer
| : :' : Happy to accept PGP signed
| `. `' or encrypted mail - RSA
| `- key on the keyservers.
next prev parent reply other threads:[~2022-02-22 20:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-18 0:29 [PATCH v2 00/18] Multiple addition to ipq8064 dtsi Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 01/18] ARM: dts: qcom: add multiple missing pin definition for ipq8064 Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 02/18] ARM: dts: qcom: add gsbi6 missing " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 03/18] ARM: dts: qcom: add missing rpm regulators and cells " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 04/18] ARM: dts: qcom: disable smb208 regulators for ipq8064-rb3011 Ansuel Smith
2022-02-22 18:53 ` Jonathan McDowell
2022-02-18 0:29 ` [PATCH v2 05/18] ARM: dts: qcom: add missing snps,dwmac compatible for gmac ipq8064 Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 06/18] ARM: dts: qcom: enable usb phy by default for ipq8064 Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 07/18] ARM: dts: qcom: reduce pci IO size to 64K " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 08/18] ARM: dts: qcom: fix dtc warning for missing #address-cells " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 09/18] ARM: dts: qcom: add smem node " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 10/18] ARM: dts: qcom: add saw for l2 cache and kraitcc " Ansuel Smith
2022-02-22 20:01 ` Jonathan McDowell [this message]
2022-02-24 17:49 ` Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 11/18] ARM: dts: qcom: add sic non secure node " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 12/18] ARM: dts: qcom: fix and add some missing gsbi " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 13/18] ARM: dts: qcom: add opp table for cpu and l2 " Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 14/18] ARM: dts: qcom: add speedbin efuse nvmem binding Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 15/18] ARM: dts: qcom: add multiple missing binding for cpu and l2 for ipq8064 Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 16/18] ARM: dts: qcom: remove redundant binding from ipq8064 rb3011 dts Ansuel Smith
2022-02-18 14:11 ` Jonathan McDowell
2022-02-19 19:08 ` Jonathan McDowell
2022-02-20 14:50 ` Ansuel Smith
2022-02-20 14:44 ` Ansuel Smith
2022-02-22 18:29 ` Jonathan McDowell
2022-02-18 0:29 ` [PATCH v2 17/18] ARM: dts: qcom: add ipq8064-v2.0 dtsi Ansuel Smith
2022-02-18 0:29 ` [PATCH v2 18/18] ARM: dts: qcom: add ipq8065 dtsi Ansuel Smith
2022-02-22 20:06 ` [PATCH v2 00/18] Multiple addition to ipq8064 dtsi Jonathan McDowell
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=YhVBJaPR7a/E9n1B@earth.li \
--to=noodles@earth.li \
--cc=agross@kernel.org \
--cc=ansuelsmth@gmail.com \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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 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.