summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-08-24 16:03:57 -0700
committerFelix Held <felix-coreboot@felixheld.de>2021-08-26 15:18:45 +0000
commit5ff1808f20a70912796b274c03cec3d91ddf890a (patch)
tree5b8207fc81eca4b6c1dddf478ad47a8537a0a2e6 /src/include
parent7d41491e76eea186fe0e734e50fdb827e877e0ad (diff)
device/mipi: Move to drivers/mipi
Sounds like we prefer to have this under drivers/ instead of device/. Also move all MIPI-related headers out from device/ into their own directory. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: Ib3e66954b8f0cf85b28d8d186b09d7846707559d Reviewed-on: https://review.coreboot.org/c/coreboot/+/57128 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/soundwire.h2
-rw-r--r--src/include/mipi/ids.h (renamed from src/include/device/mipi_ids.h)6
-rw-r--r--src/include/mipi/panel.h (renamed from src/include/device/mipi_panel.h)6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/include/device/soundwire.h b/src/include/device/soundwire.h
index 6f966ae2f4..a78b52b719 100644
--- a/src/include/device/soundwire.h
+++ b/src/include/device/soundwire.h
@@ -76,7 +76,7 @@ enum mipi_class {
* @version: SoundWire specification version from &enum soundwire_version.
* @link_id: Zero-based SoundWire master link id.
* @unique_id: Unique ID for multiple slave devices on the same bus.
- * @manufacturer_id: Manufacturer ID from include/device/mipi_ids.h.
+ * @manufacturer_id: Manufacturer ID from include/mipi/ids.h.
* @part_id: Vendor defined part ID.
* @class: MIPI class encoding in &enum mipi_class.
*/
diff --git a/src/include/device/mipi_ids.h b/src/include/mipi/ids.h
index 50faba7806..982e6e14b4 100644
--- a/src/include/device/mipi_ids.h
+++ b/src/include/mipi/ids.h
@@ -4,8 +4,8 @@
* MIPI Alliance Manufacturer IDs from https://mid.mipi.org
*/
-#ifndef __DEVICE_MIPI_IDS_H__
-#define __DEVICE_MIPI_IDS_H__
+#ifndef __MIPI_IDS_H__
+#define __MIPI_IDS_H__
/* Board Members */
#define MIPI_MFG_ID_INTEL 0x0105
@@ -26,4 +26,4 @@
#define MIPI_MFG_ID_MAXIM 0x019f
#define MIPI_DEV_ID_MAXIM_MAX98373 0x8373
-#endif /* __DEVICE_MIPI_IDS_H__ */
+#endif /* __MIPI_IDS_H__ */
diff --git a/src/include/device/mipi_panel.h b/src/include/mipi/panel.h
index 95fcb69633..e0a1463823 100644
--- a/src/include/device/mipi_panel.h
+++ b/src/include/mipi/panel.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef __DEVICE_MIPI_PANEL_H__
-#define __DEVICE_MIPI_PANEL_H__
+#ifndef __MIPI_PANEL_H__
+#define __MIPI_PANEL_H__
#include <edid.h>
#include <types.h>
@@ -53,4 +53,4 @@ cb_err_t mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_fun
#define PANEL_END \
PANEL_CMD_END
-#endif /* __DEVICE_MIPI_PANEL_H__ */
+#endif /* __MIPI_PANEL_H__ */