Re: [PATCH v2 1/1] soc: ti: PRUSS OCP configuration

From: Parvathi Pudi
Date: Wed Apr 02 2025 - 08:13:50 EST


Hi Nishanth,

>> On 18:29-20250108, Basharath Hussain Khaja wrote:
>>> From: Roger Quadros <rogerq@xxxxxx>
>>>
>>> Updates OCP master port configuration to enable memory access outside
>>> of the PRU-ICSS subsystem.
>>>
>>> This set of changes configures PRUSS_SYSCFG.STANDBY_INIT bit either
>>> to enable or disable the OCP master ports (applicable only on SoCs
>>> using OCP interconnect like the OMAP family).
>>>
>>> Signed-off-by: Roger Quadros <rogerq@xxxxxx>
>>> Signed-off-by: Andrew F. Davis <afd@xxxxxx>
>>> Signed-off-by: Parvathi Pudi <parvathi@xxxxxxxxxxx>
>>> Signed-off-by: Basharath Hussain Khaja <basharath@xxxxxxxxxxx>
>>
>> On the verge of applying this patch, looking deeper, I noticed
>> drivers/bus/ti-sysc.c managing the sysc controls. infact, I wonder if
>> b2745d92bb015cc4454d4195c4ce6e2852db397e ("bus: ti-sysc: Add support
>> for PRUSS SYSC type") could be merged with this?
>>
>>
>> Could you say why drivers/bus/ti-sysc.c would'nt be the right solution?
>>
>> Ccying Kevin if he has any ideas about this.
>>
>
> Thank you for the feedback.
>
> We will analyze ti-sysc and revert back with an update shortly.
>

We've reviewed the code and decided to bypass the SOC patch posted here.
Instead, we have implemented the required changes in the "drivers/bus/ti-sysc.c"
file to enable OCMC access to the PRU-ICSS and verified the Ethernet
functionality over PRUETH on AM335x, AM437x and AM57x platforms.

This patch will be abandoned and a new patch will be posted with
"drivers/bus/ti-sysc.c" changes shortly.


Thanks and Regards,
Parvathi.