soc/tegra: pmc: Support software wake-up for SPE
authorPetlozu Pravareshwar <petlozup@nvidia.com>
Thu, 30 Mar 2023 17:06:21 +0000 (17:06 +0000)
committerThierry Reding <treding@nvidia.com>
Mon, 3 Apr 2023 12:34:00 +0000 (14:34 +0200)
commita0941221c5c6d4574af69b40ac026c22c24965fc
treedc10330c5968e558bf8695e4b1f30c6c735b8eab
parentcc026ccdd502c3709f06aadfde14d1eac6cc3763
soc/tegra: pmc: Support software wake-up for SPE

The Sensor Processing Engine(SPE) can trigger a software wake-up of
the device. To support this wake-up for the SPE, set SR_CAPTURE_EN
bit in WAKE_AOWAKE_CNTRL register associated with the wake-up for
the SPE. This SR capturing logic is expected to be enabled for wakes
with short pulse signalling requirements.

Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/pmc.c