mirror_ubuntu-kernels/include/linux/platform_data/x86
Luke D. Jones 2c97d3e55b platform/x86: asus-wmi: add support for ASUS screenpad
Add support for the WMI methods used to turn off and adjust the
brightness of the secondary "screenpad" device found on some high-end
ASUS laptops like the GX650P series and others.

There are some small quirks with this device when considering only the
raw WMI methods:
1. The Off method can only switch the device off
2. Changing the brightness turns the device back on
3. To turn the device back on the brightness must be > 1
4. When the device is off the brightness can't be changed (so it is
   stored by the driver if device is off).
5. Booting with a value of 0 brightness (retained by bios) means the bios
   will set a value of >0 <15
6. When the device is off it is "unplugged"

asus_wmi sets the minimum brightness as 20 in general use, and 60 for
booting with values <= min.

The ACPI methods are used in a new backlight device named asus_screenpad.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20230830032237.42987-2-luke@ljones.dev
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2023-09-12 10:18:07 +02:00
..
apple.h
asus-wmi.h platform/x86: asus-wmi: add support for ASUS screenpad 2023-09-12 10:18:07 +02:00
clk-lpss.h
clk-pmc-atom.h
nvidia-wmi-ec-backlight.h platform/x86: nvidia-wmi-ec-backlight: Move fw interface definitions to a header (v2) 2022-09-03 12:17:26 +02:00
p2sb.h platform/x86/intel: Add Primary to Sideband (P2SB) bridge support 2022-07-14 10:48:27 +01:00
pmc_atom.h platform/x86: pmc_atom: Amend comment style and grammar 2022-08-25 16:23:52 +02:00
pwm-lpss.h pwm: lpss: Rename pwm_lpss_probe() --> devm_pwm_lpss_probe() 2022-11-22 16:36:27 +02:00
simatic-ipc-base.h platform/x86/siemens: simatic-ipc: add new models BX-56A/BX-59A 2023-07-31 14:23:58 +02:00
simatic-ipc.h platform/x86/siemens: simatic-ipc: add new models BX-56A/BX-59A 2023-07-31 14:23:58 +02:00
soc.h platform/x86: Fix header inclusion in linux/platform_data/x86/soc.h 2023-02-10 17:15:18 +01:00
spi-intel.h mtd: spi-nor: intel-spi: Convert to SPI MEM 2022-02-14 12:53:09 +00:00