Re: [PATCH v1 1/1] bus: ti-sysc: PRUSS OCP configuration
From: Kevin Hilman
Date: Thu May 01 2025 - 14:07:42 EST
Parvathi Pudi <parvathi@xxxxxxxxxxx> writes:
> 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 to enable
> the OCP master ports during resume sequence and disables the OCP master
> ports during suspend sequence (applicable only on SoCs using OCP
> interconnect like the OMAP family).
>
> Signed-off-by: Parvathi Pudi <parvathi@xxxxxxxxxxx>
> ---
> drivers/bus/ti-sysc.c | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
> index f67b927ae4ca..51caae611acf 100644
> --- a/drivers/bus/ti-sysc.c
> +++ b/drivers/bus/ti-sysc.c
> @@ -2036,6 +2036,19 @@ static void sysc_module_disable_quirk_pruss(struct sysc *ddata)
> sysc_write(ddata, ddata->offsets[SYSC_SYSCONFIG], reg);
> }
>
> +static void sysc_module_enable_quirk_pruss(struct sysc *ddata)
> +{
> + u32 reg;
> +
> + reg = sysc_read(ddata, ddata->offsets[SYSC_SYSCONFIG]);
> + /* Clearing the SYSC_PRUSS_STANDBY_INIT bit - Updates OCP master
> + * port configuration to enable memory access outside of the
> + * PRU-ICSS subsystem.
> + */
minor nit: incorrect multi-line comment style (first /* should be on
line of its own)
But I fixed this up locally before applying.
Kevin