soc: ti: wkup_m3_ipc: Add support for IO Isolation
authorDave Gerlach <d-gerlach@ti.com>
Thu, 14 Apr 2022 19:27:24 +0000 (12:27 -0700)
committerNishanth Menon <nm@ti.com>
Tue, 3 May 2022 13:02:09 +0000 (08:02 -0500)
commit1dcbae86ee669bdb0338954cd0136863f5c96c0a
tree24f6d6fc830f65e4377ef5e06eac672525db4dfb
parentd4c41d32cf8af10e4c0a35a6d4995de253b54df6
soc: ti: wkup_m3_ipc: Add support for IO Isolation

AM43xx support isolation of the IOs so that control is taken
from the peripheral they are connected to and overridden by values
present in the CTRL_CONF_* registers for the pad in the control module.

The actual toggling happens from the wkup_m3, so use a DT property from
the wkup_m3_ipc node to allow the PM code to communicate the necessity
for placing the IOs into isolation to the firmware.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20220414192722.2978837-3-dfustini@baylibre.com
drivers/soc/ti/wkup_m3_ipc.c
include/linux/wkup_m3_ipc.h