tpm: Add tpm_required_sensor in sensor config.yaml

Resolves openbmc/openbmc#2104

Change-Id: I04db9d42b2460ae9195a5eee988da8dcf03061c7
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
index 61c43cf..ee474ad 100644
--- a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/config.yaml
@@ -107,3 +107,17 @@
           type: "bool"
           assert: true
           deassert: false
+
+tpm_required_sensor:
+  path: /xyz/openbmc_project/control/host0/TPMEnable
+  serviceInterface: org.freedesktop.DBus.Properties
+  readingType: assertion
+  interfaces:
+    xyz.openbmc_project.Control.TPM.Policy:
+      TPMEnable:
+        0x00:
+          type: "bool"
+          assert: false
+        0x01:
+          type: "bool"
+          assert: true
\ No newline at end of file