2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00
linux-next/drivers/iio
Tony Lindgren 951d21de88 iio: adc: cpcap: Fix die temperature
It seems that "MC13783 Power Management and Audio Ciruit User's Guide"
MC1378UG.pdf documents several similar components as in the CPCAP PMIC.

Chapter "9.5.5 Die Temperature and UID" says that the die temperature
value is 282 at 25C with LSB of -1.14C. Converting CPCAP PMIC channel3
values with following seems to produce values that make sense for a
PMIC die:

temperature = 25000 + ((regval - 282) * 114)

As we don't have any other documentation, let's assume the die
temperature is unconfigured in the Motorola mapphone Linux kernel
and the current temperature conversion table should be only used
for the battery thermistor and not for the die temperature.

Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2017-06-03 08:43:16 +01:00
..
accel iio: accel: bma180: Add ACPI enumeration support for BMA250E 2017-05-21 15:06:17 +01:00
adc iio: adc: cpcap: Fix die temperature 2017-06-03 08:43:16 +01:00
amplifiers
buffer iio:buffer.h - split into buffer.h and buffer_impl.h 2017-01-10 19:54:55 +00:00
chemical drivers: iio: chemical: replace comma with a semicolon 2017-03-30 19:13:23 +01:00
common iio: hid-sensor-hub: Implement batch mode 2017-05-16 19:44:01 +01:00
counter iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option 2017-03-15 21:59:08 +00:00
dac First set of new device support, features and cleanups for IIO in the 4.13 cycle 2017-05-29 15:53:42 +02:00
dummy iio:dummy: Stop enabling timestamp by default. 2017-01-10 19:54:55 +00:00
frequency iio: frequency: ad9523: use unsigned int rather then bare unsigned 2016-04-17 10:31:03 +01:00
gyro Fourth set of IIO new device support, features and cleanups for the 4.12 cycle 2017-04-18 17:13:31 +02:00
health First set of IIO new device support, features and cleanup for the 4.12 cycle. 2017-03-06 13:17:21 +01:00
humidity iio: humidity: hts221: add power management support 2017-05-14 16:52:33 +01:00
imu iio: imu: st_lsm6dsx: substitute ifdef CONFIG_PM with __maybe_unused macro 2017-05-21 15:07:59 +01:00
light iio: light: rpr0521 channel numbers reordered 2017-05-21 15:06:15 +01:00
magnetometer Merge 4.11-rc4 into staging-next 2017-03-27 09:11:25 +02:00
orientation iio: hid-sensor-rotation: Add "scale" and "offset" properties parse support 2017-05-07 12:22:36 +01:00
potentiometer iio: max5481: Add support for Maxim digital potentiometers 2017-01-28 12:13:31 +00:00
potentiostat iio: lmp91000: Set parent device 2017-02-19 12:01:52 +00:00
pressure iio: pressure: zpa2326: report interrupted case as failure 2017-05-14 15:28:14 +01:00
proximity iio: proximity: as3935: move storm out of range check 2017-04-27 07:22:46 +01:00
temperature iio: temperature: maxim_thermocouple: add MAX31856 part 2017-05-07 12:36:41 +01:00
trigger iio: stm32 trigger: Add support for TRGO2 triggers 2017-05-07 16:08:10 +01:00
iio_core_trigger.h
iio_core.h iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
industrialio-buffer.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
industrialio-configfs.c
industrialio-core.c First set of new device support, features and cleanups for IIO in the 4.13 cycle 2017-05-29 15:53:42 +02:00
industrialio-event.c iio: iio_push_event(): Don't crash if the event interface is not registered 2016-09-10 16:40:44 +01:00
industrialio-sw-device.c iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c iio: trigger: clean up viio_trigger_alloc() 2017-01-22 13:37:34 +00:00
industrialio-triggered-event.c
inkern.c iio: inkern: fix a static checker error 2017-04-26 06:04:06 +01:00
Kconfig iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8 2016-10-01 17:06:21 +01:00
Makefile iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8 2016-10-01 17:06:21 +01:00