USBPort: add the configuration interface

Add the configuration interface for USBPort based on Entity Manager
schema definition of [1].

[1]: https://gerrit.openbmc.org/c/openbmc/entity-manager/+/80242

Tested: meson build passes.

Change-Id: If14c5f7127a6298df4372acb0f8db84d39ce95a2
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/gen/xyz/openbmc_project/Configuration/meson.build b/gen/xyz/openbmc_project/Configuration/meson.build
index bbdb8e1..8ba3ce1 100644
--- a/gen/xyz/openbmc_project/Configuration/meson.build
+++ b/gen/xyz/openbmc_project/Configuration/meson.build
@@ -2,6 +2,7 @@
 subdir('GPIODeviceDetect')
 subdir('GPIOLeakDetector')
 subdir('GPIOValve')
+subdir('USBPort')
 
 sdbusplus_current_path = 'xyz/openbmc_project/Configuration'
 
@@ -77,3 +78,27 @@
     build_by_default: should_generate_markdown,
 )
 
+generated_markdown += custom_target(
+    'xyz/openbmc_project/Configuration/USBPort__markdown'.underscorify(),
+    input: [
+        '../../../../yaml/xyz/openbmc_project/Configuration/USBPort.interface.yaml',
+    ],
+    output: ['USBPort.md'],
+    depend_files: sdbusplusplus_depfiles,
+    command: [
+        sdbuspp_gen_meson_prog,
+        '--command',
+        'markdown',
+        '--output',
+        meson.current_build_dir(),
+        '--tool',
+        sdbusplusplus_prog,
+        '--directory',
+        meson.current_source_dir() / '../../../../yaml',
+        'xyz/openbmc_project/Configuration/USBPort',
+    ],
+    install: should_generate_markdown,
+    install_dir: [inst_markdown_dir / sdbusplus_current_path],
+    build_by_default: should_generate_markdown,
+)
+