Moved PDI from TPM.interface to TrustedComponent.interface

This patch moved PDI from TPM.interface to TrustedComponent.interface
The changes were made as per discussion mentioned below
[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/79157

The association is removed as it is not documented

Tested:
dbus introspect output
[2]  busctl get-property  xyz.openbmc_project.Smbios.MDR_V2 /xyz/openbmc_project/inventory/system/chassis/Chassis_0/tpm xyz.openbmc_project.Inventory.Item.TrustedComponent TrustedComponentType
[3]  s "xyz.openbmc_project.Inventory.Item.TrustedComponent.ComponentAttachType.Discrete"

Change-Id: I28dbda71ed5493e06330e58d8079f1a940e04c85
Signed-off-by: Prithvi Pai <ppai@nvidia.com>
diff --git a/src/tpm.cpp b/src/tpm.cpp
index 74279d0..0009e1c 100644
--- a/src/tpm.cpp
+++ b/src/tpm.cpp
@@ -44,12 +44,7 @@
     tpmVendor(tpmInfo);
     tpmFirmwareVersion(tpmInfo);
     tpmDescription(tpmInfo->description, tpmInfo->length, dataIn);
-    if (!motherboardPath.empty())
-    {
-        std::vector<std::tuple<std::string, std::string, std::string>> assocs;
-        assocs.emplace_back("chassis", "trusted_components", motherboardPath);
-        association::associations(assocs);
-    }
+    trustedComponentType(trustedComponent::ComponentAttachType::Discrete);
 }
 
 void Tpm::tpmVendor(const struct TPMInfo* tpmInfo)