acrn-kernel/drivers/iio
Billy Tsai fdd0d6b2eb iio: adc: aspeed: Remove the trim valid dts property.
The dts property "aspeed,trim-data-valid" is currently used to determine
whether to read trimming data from the OTP register. If this is set on
a device without valid trimming data in the OTP the ADC will not function
correctly. This patch drops the use of this property and instead uses the
default (unprogrammed) OTP value of 0 to detect when a fallback value of
0x8 should be used rather then the value read from the OTP.

Fixes: d0a4c17b40 ("iio: adc: aspeed: Get and set trimming data.")
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Link: https://lore.kernel.org/r/20221114025057.10843-1-billy_tsai@aspeedtech.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2022-11-14 20:20:08 +00:00
..
accel iio: accel: bma400: Fix memory leak in bma400_get_steps_reg() 2022-11-12 17:49:22 +00:00
adc iio: adc: aspeed: Remove the trim valid dts property. 2022-11-14 20:20:08 +00:00
addac iio: stx104: Move to addac subdirectory 2022-08-20 13:09:38 +01:00
afe
amplifiers
buffer
cdc
chemical i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
common iio: common: scmi_sensors: use HZ macro from units.h 2022-08-28 16:57:56 +01:00
dac Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
dummy
filter
frequency iio: frequency: admv1014: return -EINVAL directly 2022-08-19 18:07:22 +01:00
gyro i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
health iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw 2022-11-12 16:30:23 +00:00
humidity i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
imu iio: imu: bno055: uninitialized variable bug in bno055_trigger_handler() 2022-11-01 08:48:13 +00:00
light iio: light: rpr0521: add missing Kconfig dependencies 2022-11-12 17:36:02 +00:00
magnetometer Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
multiplexer
orientation
position
potentiometer
potentiostat i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
pressure iio: pressure: ms5611: changed hardcoded SPI speed to value limited 2022-10-29 12:39:21 +01:00
proximity Char/Misc and other driver changes for 6.1-rc1 2022-10-08 08:56:37 -07:00
resolver
temperature iio: temperature: ltc2983: allocate iio channels once 2022-10-17 08:51:26 +01:00
test
trigger iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init() 2022-10-24 18:48:57 +01:00
Kconfig
Makefile
TODO
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c iio: add support for binary attributes 2022-09-21 18:42:55 +01:00
industrialio-event.c iio: Add new event type gesture and use direction for single and double tap 2022-09-05 18:08:42 +01:00
industrialio-sw-device.c
industrialio-sw-trigger.c iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails 2022-11-12 17:53:35 +00:00
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c