]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: da9121: automotive variants identity fix
authorAdam Ward <Adam.Ward.opensource@diasemi.com>
Wed, 21 Apr 2021 12:03:06 +0000 (12:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 May 2021 06:37:18 +0000 (08:37 +0200)
commiteab7cb8d1c2d50f7f38407303b915ac89d187de4
tree1c473b9192e8f37add814f4c2588e4add8579c61
parent24f6803a6e207549d829720c3c5554602fc1b822
regulator: da9121: automotive variants identity fix

[ Upstream commit 013592be146a10d3567c0062cd1416faab060704 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/regulator/da9121-regulator.c
drivers/regulator/da9121-regulator.h