Skip to contentSkip to conversation

bus: ti-sysc: AM3: RNG is GP only

PATCH In review Kevin Hilman 2 participants 2 messages Jul 20, 2021 – Jul 27, 2021 OMAP2+ support

lore
Share & tools
lore

Kevin Hilman

author maintainer
#0 lore raw

PATCH 1/1 bus: ti-sysc: AM3: RNG is GP only

Make the RNG on AM3 GP only.

Based on this patch from TI v5.4 tree which is based on hwmod data which are now removed:

| ARM: AM43xx: hwmod: Move RNG to a GP only links table
|
| On non-GP devices the RNG is controlled by the secure-side software,
| like in DRA7xx hwmod we should not control this IP when we are not
| a GP device.
|
| Signed-off-by: Andrew F. Davis <[email protected]>

---
If this is merged, it should be flagged for stable v5.10+.

 drivers/bus/ti-sysc.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/bus/ti-sysc.c +2 -0
index 38cb116ed433..2587ed43ee8a 100644
@@ -2951,6 +2951,8 @@ static int sysc_init_soc(struct sysc *ddata)
 		case SOC_3430 ... SOC_3630:
 			sysc_add_disabled(0x48304000);	/* timer12 */
 			break;
+		case SOC_AM3:
+			sysc_add_disabled(0x48310000);  /* rng */
 		default:
 			break;
 		}
Signature · 1 line
2.31.1
maintainer
#1 lore raw
Quoted 13 lines · Kevin Hilman

Make the RNG on AM3 GP only.

Based on this patch from TI v5.4 tree which is based on hwmod data which are now removed:

| ARM: AM43xx: hwmod: Move RNG to a GP only links table
|
| On non-GP devices the RNG is controlled by the secure-side software,
| like in DRA7xx hwmod we should not control this IP when we are not
| a GP device.
|
| Signed-off-by: Andrew F. Davis <[email protected]>
Quoted 3 lines

---
If this is merged, it should be flagged for stable v5.10+.

Applying into fixes with a stable tag thanks.

Tony