All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "John Ma" <jma@phytec.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 2/2] arm64: dts: ti: Add support for the phyCORE-AM62Px
Date: Tue, 27 Oct 2026 19:48:39 +0000	[thread overview]
Message-ID: <sashiko-outbox-187077@kernel.org> (raw)
In-Reply-To: <20261027193901.3538135-2-jma@phytec.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] arm64: dts: ti: missing wkup_r5fss0_core0_memory_region label breaks DTB build
--

commit 0b85146939f017914b2af5c4afd5af0993cf3aad
Author: John Ma <jma@phytec.com>

arm64: dts: ti: Add support for the phyCORE-AM62Px

This commit adds device tree support for the PHYTEC phyCORE-AM62Px SoM and
the phyBOARD-Lynx carrier board.

> diff --git a/arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi
> new file mode 100644
> index 0000000000000..1955ef49bc3af
> --- /dev/null
> +++ b/arch/arm64/boot/dts/ti/k3-am62p-phycore-som.dtsi
> @@ -0,0 +1,378 @@
[ ... ]
> +	reserved_memory: reserved-memory {
> +		#address-cells = <2>;
> +		#size-cells = <2>;
> +		ranges;
> +
> +		/* global cma region */
> +		linux,cma {
> +			compatible = "shared-dma-pool";
> +			reusable;
> +			size = <0x00 0x24000000>;
> +			linux,cma-default;
> +		};
> +
> +		wkup_r5fss0_core0_dma_memory_region: memory@9c800000 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x00 0x9c800000 0x00 0x100000>;
> +			no-map;
> +		};
> +
> +		wkup_r5fss0_core0_ipc_region: memory@9c900000 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x00 0x9c900000 0x00 0x100000>;
> +			no-map;
> +		};
> +
> +		wkup_r5fss0_core0_lpm_fs_stub_region: memory@9ca00000 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x00 0x9ca00000 0x00 0x8000>;
> +			no-map;
> +		};
> +
> +		wkup_r5fss0_core0_lpm_metadata_region: memory@9ca08000 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x00 0x9ca08000 0x00 0x1000>;
> +			bootph-pre-ram;
> +			no-map;
> +		};
> +
> +		wkup_r5fss0_core0_lpm_rest_region: memory@9ca09000 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x00 0x9ca09000 0x00 0x97000>;
> +			no-map;
> +		};
> +
> +		wkup_r5fss0_core0_dm_region: memory@9caa0000 {
> +			compatible = "shared-dma-pool";
> +			reg = <0x00 0x9caa0000 0x00 0x1b68000>;
> +			no-map;
> +		};
[ ... ]
> +	i2c_som_rtc: rtc@52 {
> +		compatible = "microcrystal,rv3028";
> +		reg = <0x52>;
> +	};
> +};
> +
> +#include "k3-am62p-ti-ipc-firmware.dtsi"

[Severity: Low]
Does building k3-am62p5-phyboard-lynx.dtb when CONFIG_ARCH_K3 is enabled
fail in dtc due to an unresolved reference to
wkup_r5fss0_core0_memory_region?

k3-am62p-phycore-som.dtsi includes k3-am62p-ti-ipc-firmware.dtsi, which
configures wkup_r5fss0_core0 as follows:

&wkup_r5fss0_core0 {
	mboxes = <&mailbox0_cluster0 &mbox_r5_0>;
	memory-region = <&wkup_r5fss0_core0_dma_memory_region>,
			<&wkup_r5fss0_core0_memory_region>;
	memory-region-names = "dma", "firmware";
	status = "okay";
};

However, the reserved_memory node in k3-am62p-phycore-som.dtsi defines
wkup_r5fss0_core0_ipc_region, wkup_r5fss0_core0_lpm_fs_stub_region,
wkup_r5fss0_core0_lpm_metadata_region, wkup_r5fss0_core0_lpm_rest_region,
and wkup_r5fss0_core0_dm_region instead of wkup_r5fss0_core0_memory_region,
and &wkup_r5fss0_core0's memory-region property is not overridden.

Should reserved_memory define wkup_r5fss0_core0_memory_region to match
k3-am62p-ti-ipc-firmware.dtsi?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261027193901.3538135-1-jma@phytec.com?part=2

      reply	other threads:[~2026-10-27 19:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 19:39 [PATCH v4 1/2] dt-bindings: arm: ti: Add bindings for PHYTEC AM62Px based hardware John Ma
2026-10-27 19:39 ` [PATCH v4 2/2] arm64: dts: ti: Add support for the phyCORE-AM62Px John Ma
2026-10-27 19:48   ` sashiko-bot [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=sashiko-outbox-187077@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jma@phytec.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.