]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: Configure interconnect target module for am437x sgx
authorTony Lindgren <tony@atomide.com>
Fri, 8 Nov 2019 21:31:25 +0000 (13:31 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Jan 2020 18:00:00 +0000 (10:00 -0800)
commit624813087ed82f7d73da7e4871341409a17450df
tree406783b7a057fbe910bd464a89f2275fb9aedb84
parent3ce6dcecb690c49c82e2df0f2d9919674cd7b78c
ARM: dts: Configure interconnect target module for am437x sgx

This seems to be similar to what we have for am335x. The following can be
tested via sysfs with the to ensure the SGX module gets enabled and disabled
properly:

# echo on > /sys/bus/platform/devices/5600fe00.target-module/power/control
# rwmem 0x5600fe00              # revision register
0x5600fe00 = 0x40000000
# echo auto > /sys/bus/platform/devices/5600fe00.target-module/power/control
# rwmem 0x5000fe00
Bus error

Note that this patch depends on the PRM rstctrl driver that has
been recently posted. If the child device driver(s) need to prevent
rstctrl reset on PM runtime suspend, the drivers need to increase
the usecount for the shared rstctrl reset that can be mapped also
for the child device(s) or accessed via dev->parent.

Cc: Adam Ford <aford173@gmail.com>
Cc: Filip Matijević <filip.matijevic.pz@gmail.com>
Cc: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Cc: moaz korena <moaz@korena.xyz>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Cc: Philipp Rossak <embed3d@gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am4372.dtsi