From d3df8ec7dc4f060b981c24a09834cde3cf46c532 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Sat, 6 Jan 2001 02:28:39 +0000 Subject: [PATCH] initial brief doc for mtp008 git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@969 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/chips/mtp008 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 doc/chips/mtp008 diff --git a/doc/chips/mtp008 b/doc/chips/mtp008 new file mode 100644 index 00000000..cfd80cd1 --- /dev/null +++ b/doc/chips/mtp008 @@ -0,0 +1,58 @@ +Kernel driver `mtp008.o' +========================= + +Status: Complete; Alpha. + +Supported chips: + * Myson MTP008 + Prefix `mtp008' + Addresses scanned: I2C 0x2c - 0x2e (inclusive) + Datasheet: Publicly available at the Myson website + +Author: Kris Van Hees + + +Description +----------- + +The Myson MTP008 is similar in function to the Winbond W83781D and the +National Semi LM78. See documentation for those chips for an overview. + + +The MTP008 chip has three inputs that are configurable. +One input is always temp1, and the sensor type is configured with the sensor1 entry. +One input is either in4 or temp2, and is configured with the sensor2 entry. +One input is either in5 or temp3, and is configured with the sensor3 entry. + +We are making the initial assumption that +AIN4 is to be configured as PII temp sensor 2. +We are also making the assumption that +AIN5 is hooked up to the -12V sensing circuit. +This is the configuration on the Tyan S1824D motherboard. + +Setting temp sensors 1 and 2 to be a PII sensors is done as follows: + + Register 0x57: 0 0 0 0 1 1 0 0 + | \ / +-- AIN5/VT3 with AIN5 + | +----- AIN4/VT2/PII with PII + +-------- VT1/PII with PII + + +The MTP008 has sensor type selection in /proc like the Winbond W83782D. +However, the appropriate values used to make the selection are different. + +To select a sensor type, echo the value to the /proc entry, for example: + echo 1 > /proc/sys/dev/sensors/mtp008-i2c-0-2d/sensor1 + +Sensor selection is as follows: + + Value Function Valid on sensors + ----- -------- ---------------- + 1 Analog input (not for temperature sensing) 2,3 + 2 Thermistor 1,2,3 + 3 Pentium diode 1,2 + + +Maintainer +----------------- +Send requests to the sensors@stimpy.netroedge.com mailing list.