public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Kumar, Udit" <u-kumar1@ti.com>
To: Roger Quadros <rogerq@kernel.org>,
	"Nandan, Apurva" <a-nandan@ti.com>,
	"Nagalla, Hari" <hnagalla@ti.com>,
	Lukasz Majewski <lukma@denx.de>,
	"Sean Anderson" <seanga2@gmail.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	"Francis, Neha" <n-francis@ti.com>,
	Simon Glass <sjg@chromium.org>, "Davis, Andrew" <afd@ti.com>,
	"Gurudasani, Kamlesh" <kamlesh@ti.com>,
	"Dasnavis, Sabiya" <sabiya.d@ti.com>,
	"Chawdhry, Manorit" <m-chawdhry@ti.com>,
	"Bhatia, Aradhya" <a-bhatia1@ti.com>,
	"Brattlof, Bryan" <bb@ti.com>,
	Christian Gmeiner <christian.gmeiner@gmail.com>,
	"Menon, Nishanth" <nm@ti.com>,
	"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
	Marcel Ziswiler <marcel.ziswiler@toradex.com>,
	"Kacines, Jason" <j-kacines@ti.com>,
	"Choudhary, Jayesh" <j-choudhary@ti.com>,
	Ralph Siemsen <ralph.siemsen@linaro.org>,
	Yanhong Wang <yanhong.wang@starfivetech.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	"Kumar, Udit" <u-kumar1@ti.com>
Subject: RE: [PATCH v3 06/16] remoteproc: k3-r5: Extend support for R5F clusters on J784S4 SoCs
Date: Tue, 19 Sep 2023 07:44:41 +0000	[thread overview]
Message-ID: <136176fb443045a8a90dde4b727b6ffb@ti.com> (raw)
In-Reply-To: <0b68fd7f-eb71-a5af-996b-898b8f8145c8@kernel.org>

Hi Roger

>
>
>On 08/09/2023 14:05, Apurva Nandan wrote:
>> From: Hari Nagalla <hnagalla@ti.com>
>>
>> The K3 J784S4 SoCs have four dual-core R5F subsystems, one in MCU
>> voltage domain and the other three in MAIN voltage domain. These R5F
>> clusters are similar to the R5F clusters in J7200 and J721S2 SoCs.
>>
>> Extend support to the R5F clusters for J784S4 with J721S2 compatible
>> string.
>>
>> Signed-off-by: Hari Nagalla <hnagalla@ti.com>
>> Signed-off-by: Apurva Nandan <a-nandan@ti.com>
>> ---
>>  drivers/remoteproc/ti_k3_r5f_rproc.c | 6 ++++--
>>  1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/remoteproc/ti_k3_r5f_rproc.c
>> b/drivers/remoteproc/ti_k3_r5f_rproc.c
>> index 6f3e12d915..631e548dcc 100644
>> --- a/drivers/remoteproc/ti_k3_r5f_rproc.c
>> +++ b/drivers/remoteproc/ti_k3_r5f_rproc.c
>> @@ -855,7 +855,7 @@ static const struct k3_r5f_ip_data k3_data = {
>>  	.tcm_ecc_autoinit = false,
>>  };
>>
>> -static const struct k3_r5f_ip_data j7200_data = {
>> +static const struct k3_r5f_ip_data j7200_j721s2_data = {
>
>No need to rename this.
>
>>  	.tcm_is_double = true,
>>  	.tcm_ecc_autoinit = true,
>>  };
>> @@ -863,7 +863,8 @@ static const struct k3_r5f_ip_data j7200_data = {
>> static const struct udevice_id k3_r5f_rproc_ids[] = {
>>  	{ .compatible = "ti,am654-r5f", .data = (ulong)&k3_data, },
>>  	{ .compatible = "ti,j721e-r5f", .data = (ulong)&k3_data, },
>> -	{ .compatible = "ti,j7200-r5f", .data = (ulong)&j7200_data, },
>> +	{ .compatible = "ti,j7200-r5f", .data = (ulong)&j7200_j721s2_data, },
>> +	{ .compatible = "ti,j721s2-r5f", .data = (ulong)&j7200_j721s2_data,
>> +},
>
>Where is DT binding documentation for this?


Please see https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/remoteproc/ti,k3-r5f-rproc.yaml#L45 

>Don't you need compatible for ti,j728s4-r5f?

If IP is same then we should use available compatible,

In long term, we should dis-associate name of IP with name of silicon 

Thanks 

>>  	{}
>>  };
>>
>> @@ -901,6 +902,7 @@ static const struct udevice_id k3_r5fss_ids[] = {
>>  	{ .compatible = "ti,am654-r5fss"},
>>  	{ .compatible = "ti,j721e-r5fss"},
>>  	{ .compatible = "ti,j7200-r5fss"},
>> +	{ .compatible = "ti,j721s2-r5fss"},
>>  	{}
>>  };
>>
>
>--
>cheers,
>-roger

  reply	other threads:[~2023-09-19  7:45 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 11:05 [PATCH v3 00/16]Introduce initial TI's J784S4 and AM69 support Apurva Nandan
2023-09-08 11:05 ` [PATCH v3 01/16] arm: dts: Introduce j784s4 dts from linux kernel Apurva Nandan
2023-09-09 10:50   ` Roger Quadros
2023-09-19 17:37     ` Apurva Nandan
2023-09-12 11:10   ` Marcel Ziswiler
2023-09-08 11:05 ` [PATCH v3 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition Apurva Nandan
2023-09-09 10:48   ` Roger Quadros
2023-09-19 17:38     ` Apurva Nandan
2023-09-28 10:05     ` Apurva Nandan
2023-09-28 10:33     ` Apurva Nandan
2023-09-12 11:17   ` Marcel Ziswiler
2023-09-08 11:05 ` [PATCH v3 03/16] soc: ti: k3-socinfo: Add entry for J784S4 SoC Apurva Nandan
2023-09-12 11:21   ` Marcel Ziswiler
2023-09-12 12:31     ` Nishanth Menon
2023-09-08 11:05 ` [PATCH v3 04/16] arm: mach-k3: j784s4: Add clk and power support Apurva Nandan
2023-09-12 11:24   ` Marcel Ziswiler
2023-09-08 11:05 ` [PATCH v3 05/16] drivers: dma: Add support for J784S4 SoC Apurva Nandan
2023-09-12 11:26   ` Marcel Ziswiler
2023-09-08 11:05 ` [PATCH v3 06/16] remoteproc: k3-r5: Extend support for R5F clusters on J784S4 SoCs Apurva Nandan
2023-09-09 10:56   ` Roger Quadros
2023-09-19  7:44     ` Kumar, Udit [this message]
2023-09-19 17:40     ` Apurva Nandan
2023-09-08 11:05 ` [PATCH v3 07/16] remoteproc: k3-dsp: Extend support for C71x DSPs " Apurva Nandan
2023-09-09 10:58   ` Roger Quadros
2023-09-19 17:42     ` Apurva Nandan
2023-09-08 11:05 ` [PATCH v3 08/16] board: ti: j784s4: Add board support for J784S4 EVM Apurva Nandan
2023-09-09 11:02   ` Roger Quadros
2023-09-19 17:43     ` Apurva Nandan
2023-09-09 11:29   ` Roger Quadros
2023-09-19 17:43     ` Apurva Nandan
2023-09-12 11:35   ` Marcel Ziswiler
2023-09-08 11:05 ` [PATCH v3 09/16] arm: dts: Introduce j784s4 u-boot dts files Apurva Nandan
2023-09-12 12:03   ` Marcel Ziswiler
2023-09-08 11:05 ` [PATCH v3 10/16] arm: dts: Introduce am69-sk dts from linux kernel Apurva Nandan
2023-09-12 12:10   ` Marcel Ziswiler
2023-09-12 12:35     ` Nishanth Menon
2023-09-08 11:05 ` [PATCH v3 11/16] board: ti: j784s4: Add support for board detection by EEPROM read Apurva Nandan
2023-09-08 14:42   ` Nishanth Menon
2023-09-08 15:59     ` Andrew Davis
2023-09-08 17:03       ` Nishanth Menon
2023-09-08 17:20         ` Andrew Davis
2023-09-08 18:31           ` Nishanth Menon
2023-09-08 11:05 ` [PATCH v3 12/16] board: ti: j784s4: Update env to use am69-sk dtb Apurva Nandan
2023-09-08 11:05 ` [PATCH v3 13/16] arm: dts: Introduce am69-sk u-boot dts files Apurva Nandan
2023-09-12 12:20   ` Marcel Ziswiler
2023-09-12 12:44     ` Nishanth Menon
2023-09-08 11:05 ` [PATCH v3 14/16] arm: dts: k3-j784s4-binman: Add support for AM69 SK Apurva Nandan
2023-09-08 11:05 ` [PATCH v3 15/16] configs: j784s4_evm: Add defconfig for j784s4 evm and am69 sk Apurva Nandan
2023-09-08 11:05 ` [PATCH v3 16/16] doc: board: ti: k3: Add J784S4 EVM and AM69 SK documentation Apurva Nandan
2023-09-09 11:38   ` Roger Quadros
2023-09-19 18:03     ` Apurva Nandan
2023-09-12 12:50   ` Marcel Ziswiler
2023-09-12 20:01     ` Heinrich Schuchardt
2023-09-12 11:13 ` [PATCH v3 00/16]Introduce initial TI's J784S4 and AM69 support Marcel Ziswiler

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=136176fb443045a8a90dde4b727b6ffb@ti.com \
    --to=u-kumar1@ti.com \
    --cc=a-bhatia1@ti.com \
    --cc=a-nandan@ti.com \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=hnagalla@ti.com \
    --cc=j-choudhary@ti.com \
    --cc=j-kacines@ti.com \
    --cc=jh80.chung@samsung.com \
    --cc=kamlesh@ti.com \
    --cc=lukma@denx.de \
    --cc=m-chawdhry@ti.com \
    --cc=marcel.ziswiler@toradex.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=ralph.siemsen@linaro.org \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=rogerq@kernel.org \
    --cc=sabiya.d@ti.com \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    --cc=yanhong.wang@starfivetech.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