com.meta: add compatible device for Anacapa CPLD, SPI, PCIe switch

Add compatible device strings for Anacapa CPLD, SPI, and PCIe switch

Change-Id: I9b45e4a1437c7da863273ddc592364cc9baf8035
Signed-off-by: Colin Huang <colin.huang2@amd.com>
diff --git a/gen/com/meta/Hardware/Anacapa/meson.build b/gen/com/meta/Hardware/Anacapa/meson.build
new file mode 100644
index 0000000..88d5f5c
--- /dev/null
+++ b/gen/com/meta/Hardware/Anacapa/meson.build
@@ -0,0 +1,38 @@
+# Generated file; do not modify.
+
+sdbusplus_current_path = 'com/meta/Hardware/Anacapa'
+
+generated_sources += custom_target(
+    'com/meta/Hardware/Anacapa__cpp'.underscorify(),
+    input: ['../../../../../yaml/com/meta/Hardware/Anacapa.interface.yaml'],
+    output: [
+        'common.hpp',
+        'server.hpp',
+        'server.cpp',
+        'aserver.hpp',
+        'client.hpp',
+    ],
+    depend_files: sdbusplusplus_depfiles,
+    command: [
+        sdbuspp_gen_meson_prog,
+        '--command',
+        'cpp',
+        '--output',
+        meson.current_build_dir(),
+        '--tool',
+        sdbusplusplus_prog,
+        '--directory',
+        meson.current_source_dir() / '../../../../../yaml',
+        'com/meta/Hardware/Anacapa',
+    ],
+    install: should_generate_cpp,
+    install_dir: [
+        get_option('includedir') / sdbusplus_current_path,
+        get_option('includedir') / sdbusplus_current_path,
+        false,
+        get_option('includedir') / sdbusplus_current_path,
+        get_option('includedir') / sdbusplus_current_path,
+    ],
+    build_by_default: should_generate_cpp,
+)
+
diff --git a/gen/com/meta/Hardware/meson.build b/gen/com/meta/Hardware/meson.build
index 78831b6..0d2c9af 100644
--- a/gen/com/meta/Hardware/meson.build
+++ b/gen/com/meta/Hardware/meson.build
@@ -1,4 +1,5 @@
 # Generated file; do not modify.
+subdir('Anacapa')
 subdir('BMC')
 subdir('Catalina')
 subdir('Harma')
@@ -9,6 +10,28 @@
 sdbusplus_current_path = 'com/meta/Hardware'
 
 generated_markdown += custom_target(
+    'com/meta/Hardware/Anacapa__markdown'.underscorify(),
+    input: ['../../../../yaml/com/meta/Hardware/Anacapa.interface.yaml'],
+    output: ['Anacapa.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',
+        'com/meta/Hardware/Anacapa',
+    ],
+    install: should_generate_markdown,
+    install_dir: [inst_markdown_dir / sdbusplus_current_path],
+    build_by_default: should_generate_markdown,
+)
+
+generated_markdown += custom_target(
     'com/meta/Hardware/BMC__markdown'.underscorify(),
     input: ['../../../../yaml/com/meta/Hardware/BMC.interface.yaml'],
     output: ['BMC.md'],
diff --git a/yaml/com/meta/Hardware/Anacapa.interface.yaml b/yaml/com/meta/Hardware/Anacapa.interface.yaml
new file mode 100644
index 0000000..5807968
--- /dev/null
+++ b/yaml/com/meta/Hardware/Anacapa.interface.yaml
@@ -0,0 +1,26 @@
+description: >
+    This interface is never intended to be instantiated, but is used to define
+    devices for Anacapa.
+
+enumerations:
+    - name: CPLD
+      description: >
+          The compatible hardware strings for the CPLD on Anacapa.
+      values:
+          - name: LCMXO3D_9400_scm
+          - name: LFMXO5_15D_mb
+          - name: LFMXO5_15D_lbb
+          - name: LFMXO5_15D_rbb
+
+    - name: SPI
+      description: >
+          The compatible hardware strings for the SPI flash on Anacapa.
+      values:
+          - name: Host
+
+    - name: PCIeSwitch
+      description: >
+          The compatible hardware strings for the PCIe switch flash on Anacapa.
+      values:
+          - name: PEX90080_lbb
+          - name: PEX90080_rbb