On 08/04/2024 17:00, Thierry Reding wrote:
On Wed Apr 3, 2024 at 1:42 PM CEST, Jon Hunter wrote:
Add the wake event for the EQOS ethernet controller on Tegra194 and
Tegra234 devices, so that system can be woken up by an event from this
ethernet controller.
Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
---
drivers/soc/tegra/pmc.c | 2 ++
1 file changed, 2 insertions(+)
I don't think we've ever tested the EQOS on Tegra234 because all of the
upstream-supported platforms only make use of the MGBE. Do we have any
platforms where we need this on Tegra234? Also, do we perhaps want to
add an wake event for MGBE?
Yes, the Drive platforms [0] support EQOS for Tegra234. Although there
is no device-tree upstream for Drive, I think that it is good to include
this. Obviously we should have it for the Tegra194 platforms that are
upstream and so we may as well included Tegra234.
BTW, we already have the MGBE wake-up event upstream for Tegra234 [1]
and from what I can tell this is the only wake-up event that is
currently missing.
Jon
[0] https://developer.nvidia.com/drive/agx
[1] cc026ccdd502 ("soc/tegra: pmc: Add wake source interrupt for MGBE")
--
nvpublic