summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-04-15 16:10:38 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-04-22 12:41:06 +0300
commit901c9229172392a119f34aa94b95247a2574173e (patch)
treeb761aa417e053b677d2352ebb68f142457138043 /include/linux
parentf9fc706352fd08c42b54bb318cab43d0c7d9369d (diff)
downloadlinux-901c9229172392a119f34aa94b95247a2574173e.tar.xz
media: hi556: Add support for avdd regulator
On some ACPI platforms, such as Chromebooks the ACPI methods to change the power-state (_PS0 and _PS3) fully take care of powering on/off the sensor. On other ACPI platforms, such as e.g. various HP models with IPU6 + hi556 sensor, the sensor driver must control the avdd regulator itself. Add support for having the driver control the sensor's avdd regulator. Note this relies on the regulator-core providing a dummy regulator (which it does by default) on platforms where Linux is not aware of the avdd regulator. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions