com.meta: add compatible device strings for santabarbara BIOS and CPLD

Add Santabarbara compatible strings for CPLD and BIOS to enable
firmware update and version check.

Change-Id: I8d9963cec60c3457729aa081983e2d7019d852d4
Signed-off-by: Fred Chen <Fred.Chen@quantatw.com>
diff --git a/gen/com/meta/Hardware/Santabarbara/meson.build b/gen/com/meta/Hardware/Santabarbara/meson.build
new file mode 100644
index 0000000..3d8a595
--- /dev/null
+++ b/gen/com/meta/Hardware/Santabarbara/meson.build
@@ -0,0 +1,38 @@
+# Generated file; do not modify.
+
+sdbusplus_current_path = 'com/meta/Hardware/Santabarbara'
+
+generated_sources += custom_target(
+    'com/meta/Hardware/Santabarbara__cpp'.underscorify(),
+    input: ['../../../../../yaml/com/meta/Hardware/Santabarbara.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/Santabarbara',
+    ],
+    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 f766a28..ee7da69 100644
--- a/gen/com/meta/Hardware/meson.build
+++ b/gen/com/meta/Hardware/meson.build
@@ -1,6 +1,7 @@
 # Generated file; do not modify.
 subdir('BMC')
 subdir('Harma')
+subdir('Santabarbara')
 subdir('Yosemite5')
 
 sdbusplus_current_path = 'com/meta/Hardware'
@@ -50,6 +51,28 @@
 )
 
 generated_markdown += custom_target(
+    'com/meta/Hardware/Santabarbara__markdown'.underscorify(),
+    input: ['../../../../yaml/com/meta/Hardware/Santabarbara.interface.yaml'],
+    output: ['Santabarbara.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/Santabarbara',
+    ],
+    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/Yosemite5__markdown'.underscorify(),
     input: ['../../../../yaml/com/meta/Hardware/Yosemite5.interface.yaml'],
     output: ['Yosemite5.md'],
diff --git a/yaml/com/meta/Hardware/Santabarbara.interface.yaml b/yaml/com/meta/Hardware/Santabarbara.interface.yaml
new file mode 100644
index 0000000..284033d
--- /dev/null
+++ b/yaml/com/meta/Hardware/Santabarbara.interface.yaml
@@ -0,0 +1,18 @@
+description: >
+    This interface is never intended to be instantiated, but is used to define
+    devices for Santabarbara.
+
+enumerations:
+    - name: CPLD
+      description: >
+          The compatible hardware strings for the CPLD on Santabarbara.
+      values:
+          - name: "LCMXO3D_9400_scm"
+          - name: "LCMXO3D_9400_swb"
+          - name: "LCMXO3LF_2100C_sitv3"
+
+    - name: SPI
+      description: >
+          The compatible hardware strings for the SPI flash on Santabarbara.
+      values:
+          - name: Host