hdctools: servod: Add smaug sense points.

BUG=chrome-os-partner:39721
TEST=Test with ryu P5 board. Number look right

Change-Id: I704c171a083741872b8199313f07ac0830d78795
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/268532
Reviewed-by: Todd Broch <tbroch@chromium.org>
diff --git a/servo/data/Makefile b/servo/data/Makefile
index 780080e..e883043 100644
--- a/servo/data/Makefile
+++ b/servo/data/Makefile
@@ -14,8 +14,7 @@
 		  skate.xml big.xml whale_samus_larvae.xml storm.xml \
 		  veyron_p0.xml veyron_p1.xml veyron_r2.xml samus_evt_v1.xml \
 		  strago_proto.xml veyron_danger_p1.xml ryu_p0_loc.xml oak.xml \
-		  veyron_brain_p1.xml
-
+		  veyron_brain_p1.xml ryu_p5_loc.xml
 INA231		= samus.xml whale_samus_dut.xml
 
 # TODO(tbroch) should probably be added to setup.py if possible
diff --git a/servo/data/ryu_p5_loc.py b/servo/data/ryu_p5_loc.py
new file mode 100644
index 0000000..6118cd7
--- /dev/null
+++ b/servo/data/ryu_p5_loc.py
@@ -0,0 +1,36 @@
+# Copyright 2015 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.
+
+# for use with servo INA adapter board.  If measuring via servo V1 this can just
+# be ignored.  clobber_ok added if user wishes to include servo_loc.xml
+# additionally.
+inline = """
+  <map>
+    <name>adc_mux</name>
+    <doc>valid mux values for DUT's two banks of INA219 off PCA9540
+    ADCs</doc>
+    <params clobber_ok="" none="0" bank0="4" bank1="5"></params>
+  </map>
+  <control>
+    <name>adc_mux</name>
+    <doc>4 to 1 mux to steer remote i2c i2c_mux:rem to two sets of
+    16 INA219 ADCs. Note they are only on leg0 and leg1</doc>
+    <params clobber_ok="" interface="2" drv="pca9546" slv="0x70"
+    map="adc_mux"></params>
+  </control>
+"""
+
+inas = [(0x40, 'pp3000_always', 3, 1, "loc0", True),
+        (0x41, 'pp2800_ec', 3, 1, "loc0", True),
+        (0x42, 'pplcd', 3.8, 0.02, "loc0", True),
+        (0x43, 'pp1800_lcd', 1.8, 0.02, "loc0", True),
+        (0x44, 'pp3300', 3.8, 0.1, "loc0", True),
+        (0x46, 'pp3300_wifi', 3.3, 0.1, "loc0", True),
+        (0x47, 'pp3300_sensorhub', 3.3, 0.1, "loc0", True),
+        (0x48, 'ppvar_sys_pmic', 3.8, 0.005, "loc0", True),
+        (0x49, 'pp_vbat', 3.8, 0.02, "loc0", True),
+        (0x4A, 'cpu_in', 3.8, 0.01, "loc0", True),
+        (0x4B, 'gpu_in', 3.8, 0.01, "loc0", True),
+        (0x4C, 'soc_in', 3.8, 0.1, "loc0", True),
+        (0x4D, 'pp1800_in', 3.8, 0.1, "loc0", True)]