From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F672EEB3; Fri, 5 Sep 2025 02:45:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.235 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757040327; cv=none; b=URr5p79MDvJvr2+7pi+eUbyu2szRbnONILHmtTuGCS508z3vkeqtYl1DbQFXGqikG8K7LQB3Hi9Gowpep+t5LGmxmFeCIpW7lMMiZwySuXtmxi3BZobw1BBSz58PM47hzK7liLPUPSuoq0I5F/vcGvT7UYO1+5k6i7ZwTk92X6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757040327; c=relaxed/simple; bh=1oZaaSwR1Sa1mnNKk7QdlrOmQz8giGpB2NXuMpSY0EU=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=jjmslD7GNo/l5T3mMBWXnrM4AjZeODEO1aZI9CrzyumApFkgGp+Lqeuhiq9OO8DPXujf/7HrVcW/N9tyFP5t5pCsz0KQElaVCQGx4gfB2Rl1q4a4A5VwMgf4nyHSJPkooyhuFfS5B1Qwwb/tw7mPcnWXZpF+wjJzJQ/4exzdjKo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=WhRQa/oe; arc=none smtp.client-ip=198.47.23.235 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="WhRQa/oe" Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 5852ivfj3654671; Thu, 4 Sep 2025 21:44:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757040297; bh=UNwxcaJFSrFO5q+R1t0J7M4sGh4VvR9Irx9KtutqIis=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=WhRQa/oe0vza4t+wPi400uTMIETdVCn92OmjEKIy823CyxlUz66awuXcroEYhY/yf rnW9WyC7n9bRZcsCSTEvn3UA5ygbShgjFtnHCCojIA3DWiQrDT10FWH0W9YlyC+wvV RyhM/mp2pi3PRwB61v1n/+J+p+ZgzUDdchkApTdA= Received: from DFLE20.ent.ti.com (dfle20.ent.ti.com [10.64.6.57]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 5852ivsY1325372 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 4 Sep 2025 21:44:57 -0500 Received: from DFLE208.ent.ti.com (10.64.6.66) by DFLE20.ent.ti.com (10.64.6.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20; Thu, 4 Sep 2025 21:44:57 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE208.ent.ti.com (10.64.6.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.2.2562.20; Thu, 4 Sep 2025 21:44:56 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Thu, 4 Sep 2025 21:44:56 -0500 Received: from [10.249.48.175] ([10.249.48.175]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 5852is6x054550; Thu, 4 Sep 2025 21:44:54 -0500 Message-ID: <5dc272a9-6a14-47df-e7ce-006517e2cb43@ti.com> Date: Thu, 4 Sep 2025 21:44:54 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 00/33] Refactor TI IPC DT configs into dtsi To: Judith Mendez , Beleswar Padhi , , , , , , CC: , , , , , Robert Nelson , Jo_o Paulo Gon_alves , Parth Pancholi , Emanuele Ghidoli , Francesco Dolcini , Matthias Schiffer , Logan Bristol , Josua Mayer , John Ma , Nathan Morrisson , Garrett Giordano , Matt McKee , Wadim Egorov , Andrejs Cainikovs , "Max Krummenacher" , Stefan Eichenberger , Hiago De Franco References: <20250823160901.2177841-1-b-padhi@ti.com> <8fea9d7d-faa0-4e51-b7a5-e17a945bf1ed@ti.com> Content-Language: en-US From: Hari Nagalla In-Reply-To: <8fea9d7d-faa0-4e51-b7a5-e17a945bf1ed@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea On 9/4/25 15:40, Judith Mendez wrote: > Hi Beleswar, > > On 8/23/25 11:08 AM, Beleswar Padhi wrote: >> The TI K3 SoCs have multiple programmable remote processors like >> R5F, M4F, C6x/C7x etc. The TI SDKs for these SoCs offer sample firmware >> which could be run on these cores to demonstrate an "echo" IPC test. >> Those firmware require certain memory carveouts to be reserved from >> system memory, timers to be reserved, and certain mailbox >> configurations for interrupt based messaging. These configurations >> could be different for a different firmware. >> >> Refactor these firmware dependent configurations from board level DTS >> into a dtsi for now. This dtsi for TI IPC firmware is board-independent >> and can be applied to all boards from the same SoC Family. This gets >> rid of code duplication (>50%) and allows more freedom for users >> developing custom firmware (or no firmware) to utilize system resources >> better; easily by swapping out this dtsi. To maintain backward >> compatibility, the dtsi is included in all existing boards. >> >> DTSI vs Overlay: >> 1. I chose DTSI over overlay as both the ways required including the >> refactored file in existing board-level files to maintain backward >> compatibility, so didn't see the advantage of using overlays here. >> 2. If we do down the overlay path, existing board-level file names have >> to be changed to indicate they are without the IPC support; so that >> they can be combined with the overlay to generate the same-named DTBs. >> For example: >> k3-am69-sk.dtb := k3-am69-sk-sans-ipc.dtb k3-j784s4-ti-ipc-firmware.dtbo >>                  ~~~~~~~~ >> >> I am not sure if this renaming of files is ideal? >> > > Thanks for you patches, I was able to boot test on am62px SK and > am62ax SK boards. I was also able do a simple rpmsg echo test with some > additional patches on top of your changes: > https://gist.github.com/jmenti/4ae7a6a65c2cb95fd54f48d32430c1e9 > > so for am62ax and am62px SK boards: > > Tested-by: Judith Mendez > Tested the AM64 dts patches on AM64-SK board and it worked. Thanks Tested-by: Hari Nagalla