--- /dev/null
+test ltc2607_write_dac
+ protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder ltc26x7
+ stack i2c ltc26x7
+ input i2c/ltc2607/ltc2607_write_dac.sr
+ output ltc26x7 annotation match ltc2607_write_dac.output
+
+# Pretend that this is an LTC2617 to test those code paths.
+test ltc2607_write_dac_test_ltc2617
+ protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder ltc26x7 option chip=ltc2617
+ stack i2c ltc26x7
+ input i2c/ltc2607/ltc2607_write_dac.sr
+ output ltc26x7 annotation match ltc2607_write_dac_test_ltc2617.output
+
+# Pretend that this is an LTC2627 to test those code paths.
+test ltc2607_write_dac_test_ltc2627
+ protocol-decoder i2c channel scl=0 channel sda=1
+ protocol-decoder ltc26x7 option chip=ltc2627
+ stack i2c ltc26x7
+ input i2c/ltc2607/ltc2607_write_dac.sr
+ output ltc26x7 annotation match ltc2607_write_dac_test_ltc2627.output