public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver
@ 2024-04-30 10:46 MD Danish Anwar
  2024-04-30 10:46 ` [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores MD Danish Anwar
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: MD Danish Anwar @ 2024-04-30 10:46 UTC (permalink / raw)
  To: Nishanth Menon, MD Danish Anwar, Tom Rini
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran, Roger Quadros

This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers.
This series is a prerequisite for ICSSG Ethernet driver.

Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send
another series to enable ICSSG Ethernet driver for AM64x as well.

MD Danish Anwar (2):
  remoteproc: pru: Add support for AM64x PRU / RTU cores
  soc: ti: pruss: Add support for AM64x

 drivers/remoteproc/pru_rproc.c | 9 +++++++--
 drivers/soc/ti/pruss.c         | 1 +
 2 files changed, 8 insertions(+), 2 deletions(-)


base-commit: ff0de1f0557ed7d2dab47ba976a37347a1fdc432
-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores
  2024-04-30 10:46 [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver MD Danish Anwar
@ 2024-04-30 10:46 ` MD Danish Anwar
  2024-05-08 12:19   ` Roger Quadros
  2024-04-30 10:46 ` [PATCH 2/2] soc: ti: pruss: Add support for AM64x MD Danish Anwar
  2024-05-10 19:32 ` [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver Tom Rini
  2 siblings, 1 reply; 9+ messages in thread
From: MD Danish Anwar @ 2024-04-30 10:46 UTC (permalink / raw)
  To: Nishanth Menon, MD Danish Anwar, Tom Rini
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran, Roger Quadros

Add support for AM64x PRU cores by adding compatibles for AM64x.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
---
 drivers/remoteproc/pru_rproc.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c
index 6ec55e27d9..5e9334e117 100644
--- a/drivers/remoteproc/pru_rproc.c
+++ b/drivers/remoteproc/pru_rproc.c
@@ -399,10 +399,12 @@ static void pru_set_id(struct pru_privdata *priv, struct udevice *dev)
 {
 	u32 mask2 = 0x38000;
 
-	if (device_is_compatible(dev, "ti,am654-rtu"))
+	if (device_is_compatible(dev, "ti,am654-rtu") ||
+	    device_is_compatible(dev, "ti,am642-rtu"))
 		mask2 = 0x6000;
 
-	if (device_is_compatible(dev, "ti,am654-tx-pru"))
+	if (device_is_compatible(dev, "ti,am654-tx-pru") ||
+	    device_is_compatible(dev, "ti,am642-tx-pru"))
 		mask2 = 0xc000;
 
 	if ((priv->pru_iram & mask2) == mask2)
@@ -448,6 +450,9 @@ static const struct udevice_id pru_ids[] = {
 	{ .compatible = "ti,am654-pru"},
 	{ .compatible = "ti,am654-rtu"},
 	{ .compatible = "ti,am654-tx-pru" },
+	{ .compatible = "ti,am642-pru"},
+	{ .compatible = "ti,am642-rtu"},
+	{ .compatible = "ti,am642-tx-pru" },
 	{}
 };
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] soc: ti: pruss: Add support for AM64x
  2024-04-30 10:46 [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver MD Danish Anwar
  2024-04-30 10:46 ` [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores MD Danish Anwar
@ 2024-04-30 10:46 ` MD Danish Anwar
  2024-05-08 12:19   ` Roger Quadros
  2024-05-10 19:32 ` [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver Tom Rini
  2 siblings, 1 reply; 9+ messages in thread
From: MD Danish Anwar @ 2024-04-30 10:46 UTC (permalink / raw)
  To: Nishanth Menon, MD Danish Anwar, Tom Rini
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran, Roger Quadros

Add support for AM64x by adding it's compatible in pruss driver.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
---
 drivers/soc/ti/pruss.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
index 461390925d..5317b8335b 100644
--- a/drivers/soc/ti/pruss.c
+++ b/drivers/soc/ti/pruss.c
@@ -205,6 +205,7 @@ static int pruss_probe(struct udevice *dev)
 
 static const struct udevice_id pruss_ids[] = {
 	{ .compatible = "ti,am654-icssg"},
+	{ .compatible = "ti,am642-icssg"},
 	{}
 };
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores
  2024-04-30 10:46 ` [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores MD Danish Anwar
@ 2024-05-08 12:19   ` Roger Quadros
  0 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2024-05-08 12:19 UTC (permalink / raw)
  To: MD Danish Anwar, Nishanth Menon, Tom Rini
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran



On 30/04/2024 13:46, MD Danish Anwar wrote:
> Add support for AM64x PRU cores by adding compatibles for AM64x.
> 
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>

Reviewed-by: Roger Quadros <rogerq@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] soc: ti: pruss: Add support for AM64x
  2024-04-30 10:46 ` [PATCH 2/2] soc: ti: pruss: Add support for AM64x MD Danish Anwar
@ 2024-05-08 12:19   ` Roger Quadros
  0 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2024-05-08 12:19 UTC (permalink / raw)
  To: MD Danish Anwar, Nishanth Menon, Tom Rini
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran



On 30/04/2024 13:46, MD Danish Anwar wrote:
> Add support for AM64x by adding it's compatible in pruss driver.
> 
> Signed-off-by: MD Danish Anwar <danishanwar@ti.com>

Reviewed-by: Roger Quadros <rogerq@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver
  2024-04-30 10:46 [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver MD Danish Anwar
  2024-04-30 10:46 ` [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores MD Danish Anwar
  2024-04-30 10:46 ` [PATCH 2/2] soc: ti: pruss: Add support for AM64x MD Danish Anwar
@ 2024-05-10 19:32 ` Tom Rini
  2024-05-21  9:01   ` MD Danish Anwar
  2 siblings, 1 reply; 9+ messages in thread
From: Tom Rini @ 2024-05-10 19:32 UTC (permalink / raw)
  To: Nishanth Menon, MD Danish Anwar
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran, Roger Quadros

On Tue, 30 Apr 2024 16:16:31 +0530, MD Danish Anwar wrote:

> This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers.
> This series is a prerequisite for ICSSG Ethernet driver.
> 
> Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send
> another series to enable ICSSG Ethernet driver for AM64x as well.
> 
> MD Danish Anwar (2):
>   remoteproc: pru: Add support for AM64x PRU / RTU cores
>   soc: ti: pruss: Add support for AM64x
> 
> [...]

Applied to u-boot/next, thanks!

-- 
Tom



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver
  2024-05-10 19:32 ` [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver Tom Rini
@ 2024-05-21  9:01   ` MD Danish Anwar
  2024-05-21 16:39     ` Tom Rini
  0 siblings, 1 reply; 9+ messages in thread
From: MD Danish Anwar @ 2024-05-21  9:01 UTC (permalink / raw)
  To: Tom Rini, Nishanth Menon
  Cc: u-boot, srk, Vignesh Raghavendra, r-gunasekaran, Roger Quadros

Hi Tom,

On 11/05/24 1:02 am, Tom Rini wrote:
> On Tue, 30 Apr 2024 16:16:31 +0530, MD Danish Anwar wrote:
> 
>> This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers.
>> This series is a prerequisite for ICSSG Ethernet driver.
>>
>> Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send
>> another series to enable ICSSG Ethernet driver for AM64x as well.
>>
>> MD Danish Anwar (2):
>>   remoteproc: pru: Add support for AM64x PRU / RTU cores
>>   soc: ti: pruss: Add support for AM64x
>>
>> [...]
> 
> Applied to u-boot/next, thanks!
> 

I was working on the latest u-boot/next (d4781422d1 (origin/next) "Merge
tag 'v2024.07-rc3' into next") and I don't see this series being part of
u-boot/next.

I checked the git logs, you had merged this series but on 18th may you
committed [1] ("Revert "Merge patch series "arm: dts: am62-beagleplay:
Fix Beagleplay Ethernet""") which reverts bunch of changes and as part
of this commit, this series was also reverted.

Now when I am trying to verify ICSSG, it doesn't work as this series is
not part of u-boot/next anymore.

Can you please pull / merge this series again to u-boot/next? Or do I
need to send these patches for merge again?

Please let me know.

[1]
https://source.denx.de/u-boot/u-boot/-/commit/d678a59d2d719da9e807495b4b021501f2836ca5


-- 
Thanks and Regards,
Danish

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver
  2024-05-21  9:01   ` MD Danish Anwar
@ 2024-05-21 16:39     ` Tom Rini
  2024-05-22  5:56       ` MD Danish Anwar
  0 siblings, 1 reply; 9+ messages in thread
From: Tom Rini @ 2024-05-21 16:39 UTC (permalink / raw)
  To: MD Danish Anwar
  Cc: Nishanth Menon, u-boot, srk, Vignesh Raghavendra, r-gunasekaran,
	Roger Quadros

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

On Tue, May 21, 2024 at 02:31:44PM +0530, MD Danish Anwar wrote:
> Hi Tom,
> 
> On 11/05/24 1:02 am, Tom Rini wrote:
> > On Tue, 30 Apr 2024 16:16:31 +0530, MD Danish Anwar wrote:
> > 
> >> This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers.
> >> This series is a prerequisite for ICSSG Ethernet driver.
> >>
> >> Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send
> >> another series to enable ICSSG Ethernet driver for AM64x as well.
> >>
> >> MD Danish Anwar (2):
> >>   remoteproc: pru: Add support for AM64x PRU / RTU cores
> >>   soc: ti: pruss: Add support for AM64x
> >>
> >> [...]
> > 
> > Applied to u-boot/next, thanks!
> > 
> 
> I was working on the latest u-boot/next (d4781422d1 (origin/next) "Merge
> tag 'v2024.07-rc3' into next") and I don't see this series being part of
> u-boot/next.
> 
> I checked the git logs, you had merged this series but on 18th may you
> committed [1] ("Revert "Merge patch series "arm: dts: am62-beagleplay:
> Fix Beagleplay Ethernet""") which reverts bunch of changes and as part
> of this commit, this series was also reverted.
> 
> Now when I am trying to verify ICSSG, it doesn't work as this series is
> not part of u-boot/next anymore.
> 
> Can you please pull / merge this series again to u-boot/next? Or do I
> need to send these patches for merge again?
> 
> Please let me know.
> 
> [1]
> https://source.denx.de/u-boot/u-boot/-/commit/d678a59d2d719da9e807495b4b021501f2836ca5

Please re-post based on current next, sorry for the rework.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver
  2024-05-21 16:39     ` Tom Rini
@ 2024-05-22  5:56       ` MD Danish Anwar
  0 siblings, 0 replies; 9+ messages in thread
From: MD Danish Anwar @ 2024-05-22  5:56 UTC (permalink / raw)
  To: Tom Rini
  Cc: Nishanth Menon, u-boot, srk, Vignesh Raghavendra, r-gunasekaran,
	Roger Quadros

Hi Tom,

On 21/05/24 10:09 pm, Tom Rini wrote:
> On Tue, May 21, 2024 at 02:31:44PM +0530, MD Danish Anwar wrote:
>> Hi Tom,
>>
>> On 11/05/24 1:02 am, Tom Rini wrote:
>>> On Tue, 30 Apr 2024 16:16:31 +0530, MD Danish Anwar wrote:
>>>
>>>> This series adds AM64x related compatibles to PRUSS and PRU_RPROC drivers.
>>>> This series is a prerequisite for ICSSG Ethernet driver.
>>>>
>>>> Once Support for AM64x is added to PRUSS and PRU_RPROC driver, I'll send
>>>> another series to enable ICSSG Ethernet driver for AM64x as well.
>>>>
>>>> MD Danish Anwar (2):
>>>>   remoteproc: pru: Add support for AM64x PRU / RTU cores
>>>>   soc: ti: pruss: Add support for AM64x
>>>>
>>>> [...]
>>>
>>> Applied to u-boot/next, thanks!
>>>
>>
>> I was working on the latest u-boot/next (d4781422d1 (origin/next) "Merge
>> tag 'v2024.07-rc3' into next") and I don't see this series being part of
>> u-boot/next.
>>
>> I checked the git logs, you had merged this series but on 18th may you
>> committed [1] ("Revert "Merge patch series "arm: dts: am62-beagleplay:
>> Fix Beagleplay Ethernet""") which reverts bunch of changes and as part
>> of this commit, this series was also reverted.
>>
>> Now when I am trying to verify ICSSG, it doesn't work as this series is
>> not part of u-boot/next anymore.
>>
>> Can you please pull / merge this series again to u-boot/next? Or do I
>> need to send these patches for merge again?
>>
>> Please let me know.
>>
>> [1]
>> https://source.denx.de/u-boot/u-boot/-/commit/d678a59d2d719da9e807495b4b021501f2836ca5
> 
> Please re-post based on current next, sorry for the rework.
> 

I see that now this series is part of u-boot/next. Your commit [1] has
restored the changes. Thanks for that.

[1]
https://source.denx.de/u-boot/u-boot/-/commit/03de305ec48b0bb28554372abb40ccd46dbe0bf9

-- 
Thanks and Regards,
Danish

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-22  5:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 10:46 [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver MD Danish Anwar
2024-04-30 10:46 ` [PATCH 1/2] remoteproc: pru: Add support for AM64x PRU / RTU cores MD Danish Anwar
2024-05-08 12:19   ` Roger Quadros
2024-04-30 10:46 ` [PATCH 2/2] soc: ti: pruss: Add support for AM64x MD Danish Anwar
2024-05-08 12:19   ` Roger Quadros
2024-05-10 19:32 ` [PATCH 0/2] Add AM64x Support to PRUSS and PRU_RPROC driver Tom Rini
2024-05-21  9:01   ` MD Danish Anwar
2024-05-21 16:39     ` Tom Rini
2024-05-22  5:56       ` MD Danish Anwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox