Re: [PATCH v2 12/14] regulator: tps6594-regulator: Add TI TPS65224 PMIC regulators

From: Mark Brown
Date: Thu Feb 29 2024 - 08:59:08 EST


On Fri, Feb 23, 2024 at 03:06:59PM +0530, Bhargav Raviprakash wrote:

> +static struct tps6594_regulator_irq_type tps65224_ext_regulator_irq_types[] = {
> + { TPS65224_IRQ_NAME_VCCA_UVOV, "VCCA", "voltage out of range",
> + REGULATOR_EVENT_OVER_VOLTAGE_WARN },
> + { TPS65224_IRQ_NAME_VMON1_UVOV, "VMON1", "voltage out of range",
> + REGULATOR_EVENT_OVER_VOLTAGE_WARN },
> + { TPS65224_IRQ_NAME_VMON2_UVOV, "VMON2", "voltage out of range",
> + REGULATOR_EVENT_OVER_VOLTAGE_WARN },
> +};

These should be REGULATOR_EVENT_REGULATION_OUT I think - they look like
they could be warning on either under or over voltage.

Attachment: signature.asc
Description: PGP signature