diff options
| author | Hans de Goede <[email protected]> | 2020-04-28 19:29:22 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-05-11 20:19:19 +0100 |
| commit | d34ca613b93940808ceaae2c405c68313f947f81 (patch) | |
| tree | 550e415fdc2e3cb417f1dfe0803bc90d5eb4640c /tools/perf/scripts/python/stackcollapse.py | |
| parent | 63b1be78774f8c3bdb9efd862ba7dfe8e2c056ff (diff) | |
iio: light: cm32181: Add support for parsing CPM0 and CPM1 ACPI tables
On ACPI based systems the CPLM3218 ACPI device node describing the
CM3218[1] sensor typically will have some extra tables with register
init values for initializing the sensor and calibration info.
This is based on a newer version of cm32181.c, with a copyright of:
* Copyright (C) 2014 Capella Microsystems Inc.
* Author: Kevin Tsai <[email protected]>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2, as published
* by the Free Software Foundation.
Which is floating around on the net in various places, but the changes
from this newer version never made it upstream.
This was tested on the following models: Acer Switch 10 SW5-012 (CM32181)
Asus T100TA (CM3218), Asus T100CHI (CM3218) and HP X2 10-n000nd (CM32181).
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions