servo: kevin: Add new INA measurement config

BUG=None
BRANCH=None
TEST=in chroot:
sudo emerge hdctools
sudo servod -c kevin_r1_loc.xml &
dut-control adc_mux:bank0
dut-control ppvar_logic_ma

Then check that a number is produced (not an err)

Change-Id: Ia3152f403147e1f316b2ce78aeab92780b3cf1f7
Reviewed-on: https://chromium-review.googlesource.com/368623
Commit-Ready: Derek Basehore <dbasehore@chromium.org>
Tested-by: Derek Basehore <dbasehore@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
diff --git a/servo/data/Makefile b/servo/data/Makefile
index 6bfcb2d..9e70c15 100644
--- a/servo/data/Makefile
+++ b/servo/data/Makefile
@@ -15,7 +15,8 @@
 		  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 ryu_p5_loc.xml ryu_evt2_loc.xml \
-                  ryu_dvt_loc.xml kunimitsu.xml amenia_inas.xml kevin_r0_loc.xml
+		  ryu_dvt_loc.xml kunimitsu.xml amenia_inas.xml kevin_r0_loc.xml \
+		  kevin_r1_loc.xml
 INA231		= samus.xml whale_samus_dut.xml gru_r0.xml servo_v4_inas.xml
 INA3221		= glados_p1_inas.xml glados_r2_inas.xml chell_r1_inas.xml \
                   reef_r1_inas.xml
diff --git a/servo/data/kevin_r1_loc.py b/servo/data/kevin_r1_loc.py
new file mode 100644
index 0000000..fdb6c7b
--- /dev/null
+++ b/servo/data/kevin_r1_loc.py
@@ -0,0 +1,37 @@
+# Copyright 2016 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.
+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, 'pp5000',         5.0, 0.01, 'loc', True),
+        (0x41, 'ppvar_gpu',      0.9, 0.01, 'loc', True),
+        (0x42, 'pp3300_wifi_bt', 3.3, 0.01, 'loc', True),
+        (0x43, 'pp1500_ap_io',   1.5, 0.10, 'loc', True),
+        (0x44, 'pp3300_alw',     3.3, 0.01, 'loc', True),
+        (0x45, 'ppvar_litcpu',   0.9, 0.01, 'loc', True),
+        (0x46, 'pp1800_s0',      1.8, 0.05, 'loc', True),
+        (0x47, 'ppvar_logic',    0.9, 0.10, 'loc', True),
+        (0x48, 'ppvar_bigcpu',   0.9, 0.01, 'loc', True),
+        (0x49, 'pp900_ap',       0.9, 0.01, 'loc', True),
+        (0x4A, 'pp1800_ec',      1.8, 0.10, 'loc', True),
+        (0x4B, 'pp1800_sensor',  1.8, 0.01, 'loc', True),
+        (0x4C, 'pp1800_alw',     1.8, 0.05, 'loc', True),
+        (0x4D, 'pp1200_lpddr',   1.2, 0.01, 'loc', True),
+        (0x4E, 'pp3300_ec',      3.3, 0.10, 'loc', True),
+        (0x4F, 'pp3300_s0',      3.3, 0.05, 'loc', True),
+       ]
+