From: Aniket Limaye <a-limaye@ti.com>
To: Anurag Dutta <a-dutta@ti.com>, <nm@ti.com>, <vigneshr@ti.com>,
<kristo@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <vaishnav.a@ti.com>, <j-keerthy@ti.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<u-kumar1@ti.com>
Subject: Re: [PATCH 1/4] arm64: dts: ti: k3-j7200: Fix clock ids for MCSPI instances
Date: Thu, 24 Oct 2024 11:52:15 +0530 [thread overview]
Message-ID: <7f1d8857-9894-4db9-a0c4-534e1bff4cbb@ti.com> (raw)
In-Reply-To: <20241023104532.3438851-2-a-dutta@ti.com>
On 23/10/24 16:15, Anurag Dutta wrote:
> The clock IDs for multiple MCSPI instances across wakeup as
> well as main domain in J7200 are incorrect when compared with
> documentation [1]. This results in kernel crashes when the said
> instances are enabled. Fix the clock ids to their appropriate
> values.
>
> [1]https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j7200/clocks.html
>
> Fixes: 8f6c475f4ca7 ("arm64: dts: ti: k3-j7200: Add MCSPI nodes")
>
> Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Reviewed-by: Aniket Limaye <a-limaye@ti.com>
> ---
> arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 16 ++++++++--------
> arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 6 +++---
> 2 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
> index 9386bf3ef9f6..ee953c0bf11f 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
> @@ -1145,7 +1145,7 @@ main_spi0: spi@2100000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 266 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 266 1>;
> + clocks = <&k3_clks 266 4>;
> status = "disabled";
> };
>
> @@ -1156,7 +1156,7 @@ main_spi1: spi@2110000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 267 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 267 1>;
> + clocks = <&k3_clks 267 4>;
> status = "disabled";
> };
>
> @@ -1167,7 +1167,7 @@ main_spi2: spi@2120000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 268 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 268 1>;
> + clocks = <&k3_clks 268 4>;
> status = "disabled";
> };
>
> @@ -1178,7 +1178,7 @@ main_spi3: spi@2130000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 269 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 269 1>;
> + clocks = <&k3_clks 269 4>;
> status = "disabled";
> };
>
> @@ -1189,7 +1189,7 @@ main_spi4: spi@2140000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 270 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 270 1>;
> + clocks = <&k3_clks 270 2>;
> status = "disabled";
> };
>
> @@ -1200,7 +1200,7 @@ main_spi5: spi@2150000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 271 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 271 1>;
> + clocks = <&k3_clks 271 4>;
> status = "disabled";
> };
>
> @@ -1211,7 +1211,7 @@ main_spi6: spi@2160000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 272 1>;
> + clocks = <&k3_clks 272 4>;
> status = "disabled";
> };
>
> @@ -1222,7 +1222,7 @@ main_spi7: spi@2170000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 273 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 273 1>;
> + clocks = <&k3_clks 273 4>;
> status = "disabled";
> };
>
> diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
> index 5097d192c2b2..b18b2f2deb96 100644
> --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
> @@ -494,7 +494,7 @@ mcu_spi0: spi@40300000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 274 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 274 0>;
> + clocks = <&k3_clks 274 4>;
> status = "disabled";
> };
>
> @@ -505,7 +505,7 @@ mcu_spi1: spi@40310000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 275 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 275 0>;
> + clocks = <&k3_clks 275 4>;
> status = "disabled";
> };
>
> @@ -516,7 +516,7 @@ mcu_spi2: spi@40320000 {
> #address-cells = <1>;
> #size-cells = <0>;
> power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>;
> - clocks = <&k3_clks 276 0>;
> + clocks = <&k3_clks 276 2>;
> status = "disabled";
> };
>
next prev parent reply other threads:[~2024-10-24 6:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-23 10:45 [PATCH 0/4] MCSPI clock ID fixes for J7200/J721E/J721S2/J784S4 Anurag Dutta
2024-10-23 10:45 ` [PATCH 1/4] arm64: dts: ti: k3-j7200: Fix clock ids for MCSPI instances Anurag Dutta
2024-10-24 6:22 ` Aniket Limaye [this message]
2024-10-23 10:45 ` [PATCH 2/4] arm64: dts: ti: k3-j721e: Fix clock IDs " Anurag Dutta
2024-10-23 10:45 ` [PATCH 3/4] arm64: dts: ti: k3-j721s2: " Anurag Dutta
2024-10-23 10:45 ` [PATCH 4/4] arm64: dts: ti: k3-j784s4: " Anurag Dutta
2024-10-30 4:54 ` (subset) [PATCH 0/4] MCSPI clock ID fixes for J7200/J721E/J721S2/J784S4 Vignesh Raghavendra
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=7f1d8857-9894-4db9-a0c4-534e1bff4cbb@ti.com \
--to=a-limaye@ti.com \
--cc=a-dutta@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j-keerthy@ti.com \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh@kernel.org \
--cc=u-kumar1@ti.com \
--cc=vaishnav.a@ti.com \
--cc=vigneshr@ti.com \
/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
all inboxes | Powered by JetHome®