linux/drivers/iio/proximity
Gwendal Grignou e522a6f7cb iio: proximity: sx_common: Add old register mapping
Older firmwares still send sensor configuration using a list of
registers with opaque values defined during sensor tuning.
sx9234 and sx9360 sensor on ACPI based devices are concerned.
More schema to configure the sensors will be needed to support devices
designed for windows, like Samsung Galaxy Book2.

Support schema is: "<_HID>.<register_name>". For instance
"STH9324,reg_adv_ctrl2" in:

    Scope (\_SB.PCI0.I2C2)
    {
        Device (SX28)
        {
            Name (_HID, "STH9324")  // _HID: Hardware ID
...
            Name (_DSD, Package (0x02)  // _DSD: Device-Specific Data
            {
                ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301") /*
Device Properties for _DSD */,
                Package (0x3F)
                {
...
                    Package (0x02)
                    {
                        "STH9324,reg_adv_ctrl2",
                        Zero
                    },`

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20230211002421.3447060-1-gwendal@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-03-11 12:18:28 +00:00
..
as3935.c iio: proximity: as3935: Fix alignment for DMA safety 2022-06-14 11:53:19 +01:00
cros_ec_mkbp_proximity.c iio: proximity: cros_ec_mkbp: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-07-18 18:48:18 +01:00
isl29501.c iio: proximity: isl29501: Convert to i2c's .probe_new() 2022-11-23 20:20:31 +00:00
Kconfig iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
Makefile iio:proximity:sx9360: Add sx9360 support 2022-01-23 18:03:33 +00:00
mb1232.c iio: proximity: mb1232: Convert to i2c's .probe_new() 2022-11-23 20:20:31 +00:00
ping.c iio: proximity: ping: fix typo in comment 2022-06-11 14:35:27 +01:00
pulsedlight-lidar-lite-v2.c iio: proximity: pulsedlight-lidar-lite-v2: Convert to i2c's .probe_new() 2022-11-23 20:20:31 +00:00
rfd77402.c iio: proximity: rfd77402: Convert to i2c's .probe_new() 2022-11-23 20:20:31 +00:00
srf04.c iio: proximity: srf04: Use pm_ptr() to remove unused struct dev_pm_ops 2022-09-21 18:42:56 +01:00
srf08.c iio: proximity: srf08: Convert to i2c's .probe_new() 2022-11-23 20:20:31 +00:00
sx9310.c iio: proximity: sx9310: Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-21 18:42:56 +01:00
sx9324.c iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
sx9360.c iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
sx9500.c iio: proximity: sx9500: Convert to i2c's .probe_new() 2022-11-23 20:20:31 +00:00
sx_common.c iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
sx_common.h iio: proximity: sx_common: Add old register mapping 2023-03-11 12:18:28 +00:00
vcnl3020.c iio: proximity: vcnl3020: Drop unnecessary alignment requirement for i2c device 2022-06-14 11:53:19 +01:00
vl53l0x-i2c.c proximity: vl53l0x: Make VDD regulator actually optional 2022-06-18 17:55:17 +01:00