summaryrefslogtreecommitdiffstats
path: root/drivers/iio/proximity
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-02-07 17:09:01 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-11 20:46:59 +0000
commit30132fe46669a16846fa5412f92040a2fb9243ec (patch)
treeadf5a4a9f3ed1f8fe6a677b8adcb854bcad73ac2 /drivers/iio/proximity
parent788348a5f788f976908231962c6d9ee9d1e6f2db (diff)
downloadlinux-30132fe46669a16846fa5412f92040a2fb9243ec.tar.bz2
iio: accel: kxcjk-1013: Set label based on accel-location on 2-accel yoga-style 2-in-1s
Some 2-in-1 laptops / convertibles with 360° (yoga-style) hinges, use 2 KXCJ91008 accelerometers: 1 in their display using an ACPI HID of "KIOX010A"; and 1 in their base using an ACPI HID of "KIOX020A" Since in this case we know the location of each accelerometer, set the label for the accelerometers to the standardized "accel-display" resp. "accel-base" labels. This way userspace can use the labels to get the location. This was tested on a Medion Akoya E2228T MD60250. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20210207160901.110643-4-hdegoede@redhat.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity')
0 files changed, 0 insertions, 0 deletions