platform/x86: int3472: discrete: Add alternative "AVDD" regulator supply name
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Jun 2023 17:21:30 +0000 (19:21 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 20 Jun 2023 10:39:27 +0000 (12:39 +0200)
commitebeb3fff9cd197a8890733e0af4eb06d8114cdff
treed94295d7cc8840cd9729cb543be1664ebd353d4e
parentf1a582502cdd8c5931a9c4a14ec239470d3a13fa
platform/x86: int3472: discrete: Add alternative "AVDD" regulator supply name

Add an "AVDD" regulator supply name alias to the supply-map which
gets registered for the INT3472 GPIO regulator.

This is necessary for the ov2680 driver which expects "AVDD" rather then
"avdd". Updating the ov2680 driver to use "avdd" is not possible because
that will break compatibility with existing DT / DTB files.

Tested-by: Hao Yao <hao.yao@intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Link: https://lore.kernel.org/r/20230616172132.37859-5-hdegoede@redhat.com
drivers/platform/x86/intel/int3472/clk_and_regulator.c
drivers/platform/x86/intel/int3472/common.h