OSDN Git Service

regulator: da9121: automotive variants identity fix
authorAdam Ward <Adam.Ward.opensource@diasemi.com>
Wed, 21 Apr 2021 12:03:06 +0000 (12:03 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Apr 2021 14:49:51 +0000 (15:49 +0100)
commit013592be146a10d3567c0062cd1416faab060704
tree90ae17a29149ed406fbc3d3aa34e219100cb9a33
parent1deceabbdc0dd3162def1e26acb2e57a93275909
regulator: da9121: automotive variants identity fix

This patch fixes identification of DA913x parts by the DA9121 driver,
where a lack of clarity lead to implementation on the basis that variant
IDs were to be identical to the equivalent rated non-automotive parts.

There is a new emphasis on the DT identity to cope with overlap in these
ID's - this is not considered to be problematic, because projects would
be exclusively using automotive or consumer grade parts.

Signed-off-by: Adam Ward <Adam.Ward.opensource@diasemi.com>
Link: https://lore.kernel.org/r/20210421120306.DB5B880007F@slsrvapps-01.diasemi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9121-regulator.c
drivers/regulator/da9121-regulator.h