diff options
| author | Gwendal Grignou <[email protected]> | 2023-02-10 16:24:21 -0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-03-11 12:18:28 +0000 |
| commit | e522a6f7cbeb0cdb672f3f3ed88dd1ed930a76d2 (patch) | |
| tree | a88e8f2e0e87b1f313f123e1b3b35d59473c78e2 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 6d5f85de2d610d652ab7e90fea19a85c58b8df04 (diff) | |
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 <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions