media: atomisp_gmin_platform: Set ELDO1 to 1.6V on devices with an AXP288 PMIC
authorHans de Goede <hdegoede@redhat.com>
Sun, 16 Jan 2022 21:52:01 +0000 (22:52 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 8 Feb 2022 05:28:38 +0000 (06:28 +0100)
commit9aa32cb5c69dc9284a799f60ea2a5e21eae78058
tree931d980032be8d71822d5fa63dc54cf958d9f2e1
parent74bfe151d0aa06c76d35ae5ee02f6897240a2094
media: atomisp_gmin_platform: Set ELDO1 to 1.6V on devices with an AXP288 PMIC

Testing on multiple tablet models has shown that Android always uses
1.6V for ELDO1, adjust our code to match.

This also matches with how ELDO1 is used in the DSDTs on these devices,
where for Cherry Trail (ISP2401) based devices ELDO1 is used for an
ACPI power-resource which is named "P16P".

Note on Bay Trail (ISP2400) based devices the power-resource is called
"P15P", which suggests that 1.5V might be a better value there.

Link: https://lore.kernel.org/linux-media/20220116215204.307649-7-hdegoede@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c