summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2021-07-20 11:27:16 -0700
committerTony Lindgren <tony@atomide.com>2021-07-27 11:11:37 +0300
commita6d90e9f22328f07343e49e08a4ca483ae8e8abb (patch)
treeea5a7cf96be299781bf8ca631258bedcaa27c21b /drivers/bus
parentb070f9ca78680486927b799cf6126b128a7c2c1b (diff)
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 <afd@ti.com> Cc: stable@vger.kernel.org # v5.10+ Signed-off-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/ti-sysc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index 38cb116ed433..2587ed43ee8a 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -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;
}