689c25b9d6
The current driver is using chip registers map to configure the SAR sensor, which is opaque, especially when the datasheet is not published widely. Use more descriptive names, as defined in Linux kernel documentation at https://www.kernel.org/doc/Documentation/devicetree/bindings/iio/proximity/semtech%2Csx9310.yaml BUG=b:173341604 BRANCH=volteer TEST=Dump all tables, check semtech property: for i in $(find /sys/firmware/acpi/tables/ -type f) ; do f=$(basename $i); cat $i > /tmp/$f.dat ; iasl -d /tmp/$f.dat done In SSDT.dsl, we have: Package (0x06) { Package (0x02) { "semtech,cs0-ground", Zero }, Package (0x02) { "semtech,startup-sensor", Zero }, Package (0x02) { "semtech,proxraw-strength", Zero }, Package (0x02) { "semtech,avg-pos-strength", 0x0200 }, Package (0x02) { "semtech,combined-sensors", Package (0x03) { Zero, One, 0x02 } }, Package (0x02) { "semtech,resolution", "finest" } } Change-Id: I8d1c81b56eaeef1dbb0f73c1d74c3a20e8b2fd7b Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50210 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> |
||
---|---|---|
.. | ||
amd | ||
ams | ||
analogix/anx7625 | ||
asmedia | ||
aspeed | ||
broadcom | ||
camera | ||
crb | ||
elog | ||
emulation/qemu | ||
generic | ||
genesyslogic | ||
gfx/generic | ||
gic | ||
i2c | ||
intel | ||
ipmi | ||
lenovo | ||
maxim | ||
mrc_cache | ||
net | ||
ocp/dmi | ||
parade | ||
pc80 | ||
ricoh/rce822 | ||
secunet/dmi | ||
siemens/nc_fpga | ||
sil/3114 | ||
smmstore | ||
soundwire | ||
spi | ||
ti | ||
tpm | ||
uart | ||
usb | ||
vpd | ||
wifi/generic |