On 2/23/24 10:36, Bhargav Raviprakash wrote:
The reversion check is only applicable on TPS6594 family of PMICs. Conditionally add that check if the chip_id is one of the PMIC in the TPS6594 family. Signed-off-by: Bhargav Raviprakash <bhargav.r@xxxxxxxx> --- drivers/misc/tps6594-esm.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)
Following my comment related to ESM_MCU interrupts for 'tps6594.h': Does it really make sense to add tps65224 ESM_MCU support in linux ? For tps6594. TI requested a linux driver for ESM_SOC only (the "main" ESM). No linux driver was requested for ESM_MCU. Since tps65224 does not have ESM_SOC, I'm not sure that anything should be done in linux for tps65224 ESM. Maybe you should discuss this point with TI analog team (our TI contact for tps6594 was Chris Sterzik). Julien