coreboot-kgpe-d16/src/drivers
Gwendal Grignou 689c25b9d6 drivers/i2c: sx9310: Replace register map with descriptive names
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>
2021-03-10 19:33:01 +00:00
..
amd cpu/x86: Rename __protected_start symbol 2021-01-28 08:53:30 +00:00
ams
analogix/anx7625 src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
asmedia
aspeed drivers/aspeed: Fix some issues 2021-02-03 08:53:10 +00:00
broadcom
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb drivers/crb/tpm: Fix compilation on x86_64 2020-12-10 07:25:23 +00:00
elog drivers/elog: Correct code style 2021-01-28 09:18:00 +00:00
emulation/qemu drivers: Replace set_vbe_mode_info_valid 2020-12-17 06:21:56 +00:00
generic drivers/generic/max98357a: Use depends HAVE_ACPI_TABLES 2021-03-04 08:47:58 +00:00
genesyslogic drivers/genesyslogic/gl9763e: Add HS400ES compatibility settings 2021-01-12 04:52:16 +00:00
gfx/generic src/drivers: Remove unused <console/console.h> 2021-02-15 10:48:39 +00:00
gic
i2c drivers/i2c: sx9310: Replace register map with descriptive names 2021-03-10 19:33:01 +00:00
intel drivers/intel/gma/gma.ads: Uniformize casing 2021-03-05 10:59:00 +00:00
ipmi ipmi/ocp: Move common OCP/Facebook IPMI OEM codes into drivers/ipmi/ocp 2021-02-01 08:47:48 +00:00
lenovo
maxim drivers/maxim/max77686/max77686.h: Remove repeated word 2021-01-18 07:39:21 +00:00
mrc_cache mrc_cache: Move code for triggering memory training into mrc_cache 2020-11-13 22:57:50 +00:00
net src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
ocp/dmi drivers/ocp/dmi/Kconfig: Set FRU_DEVICE_ID depend on OCP_DMI 2021-01-18 07:50:46 +00:00
parade
pc80 cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
ricoh/rce822
secunet/dmi
siemens/nc_fpga
sil/3114
smmstore src/drivers/smmstore: Fix SMMSTOREv1 clear command 2021-01-21 11:04:04 +00:00
soundwire drivers/soundwire/alc1308 : Add ALC1308 soundwire device 2021-02-27 09:41:42 +00:00
spi cbfs: Pull handling of the CBFS_CACHE mem_pool into CBFS core 2021-03-08 22:31:29 +00:00
ti drivers/ti/sn65dsi86bridge: Add parentheses to Macros 2021-01-18 07:48:09 +00:00
tpm drivers/tpm/ppi_stub: Fix interface version 2020-12-21 02:38:28 +00:00
uart lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
usb drivers/usb/pci_xhci: Add cezanne xhci pci devce id 2021-03-10 00:47:18 +00:00
vpd drivers/vpd: Add support to read device serial from VPD 2021-01-04 23:12:58 +00:00
wifi/generic acpi: Move PCI functions to separate file 2021-03-01 08:26:23 +00:00