hdctools: servod: mcCroskey ADCs for power measurement.

BUG=none
TEST=manual,
1. Emerge it
sudo emerge hdctools

2. launch servod
sudo servod -c mccroskey.xml

3.  Take measurments
mv=`dut-control -i | grep _mv | cut -d' ' -f1`
ma=`dut-control -i | grep _ma | cut -d' ' -f1`
mw=`dut-control -i | grep _mw | cut -d' ' -f1`
dut-control $mv
dut-control $ma
dut-control $mw

Values read make sense.

Change-Id: I32ba3dfa2a94483b6d85d0338c39bf7962418d8a
Reviewed-on: https://gerrit.chromium.org/gerrit/42965
Reviewed-by: Neil Hendin <nhendin@chromium.org>
Tested-by: Neil Hendin <nhendin@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
diff --git a/servo/data/Makefile b/servo/data/Makefile
index 0969bd1..9504313 100644
--- a/servo/data/Makefile
+++ b/servo/data/Makefile
@@ -8,7 +8,7 @@
 XML_SRC		= $(notdir $(wildcard $(HDCTOOLS_SOURCE_DIR)/*.xml))
 XML_DST		= $(addprefix $(THIS_BUILD_DIR)/,$(XML_SRC))
 INAS		= wario.xml waluigi.xml servo_loc.xml link_dvt.xml link.xml \
-	          snow.xml daisy.xml spring.xml
+	          snow.xml daisy.xml spring.xml mccroskey.xml
 
 # TODO(tbroch) should probably be added to setup.py if possible
 all:	$(INAS) $(XML_DST)
diff --git a/servo/data/mccroskey.py b/servo/data/mccroskey.py
new file mode 100644
index 0000000..976f8fb
--- /dev/null
+++ b/servo/data/mccroskey.py
@@ -0,0 +1,9 @@
+# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+inas = [(0x40, 'usb_vbus_up', 5, 0.1, 'rem', True),
+        (0x41, 'usb_vbus_dn', 5, 0.1, 'rem', True),
+        (0x42, 'pp3300_ec', 3.3, 0.39, 'rem', True),
+        (0x43, 'pp3300_hub', 3.3, 0.39, 'rem', True),
+        (0x44, 'pp3300_widi', 3.3, 0.39, 'rem', True),
+        ]