board: ti: j721e: initialize ESM support
authorTero Kristo <t-kristo@ti.com>
Fri, 14 Feb 2020 09:18:19 +0000 (11:18 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 3 Mar 2020 07:38:14 +0000 (13:08 +0530)
commitfa281f64a1f15f77d96098792f1fce37680ed50c
tree730cbe65af9fa6fb48b2bfaefc95c1c71f3aaa11
parent91600a6a843d397ba28b1eecaf2021035c92eb71
board: ti: j721e: initialize ESM support

Initialize both ESM and ESM_PMIC support if available for the board.
If support is not available for either, a warning is printed out.

ESM signals are only properly routed on PM2 version of the J721E SOM,
so only probe the drivers on this device.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
board/ti/j721e/evm.c