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>
This commit is contained in:
parent
7d41491e76
commit
5ff1808f20
|
@ -375,7 +375,7 @@ chip and can be decoded for this table with the codec datasheet and board schema
|
|||
* @version: SoundWire specification version from &enum soundwire_version.
|
||||
* @link_id: Zero-based SoundWire Link Number.
|
||||
* @unique_id: Unique ID for multiple devices.
|
||||
* @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.
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
## SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
source "src/device/mipi/Kconfig"
|
||||
|
||||
menu "Devices"
|
||||
|
||||
config HAVE_VGA_TEXT_FRAMEBUFFER
|
||||
|
|
|
@ -40,7 +40,7 @@ ramstage-$(CONFIG_PCIEXP_PLUGIN_SUPPORT) += pciexp_device.c
|
|||
ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += cardbus_device.c
|
||||
endif
|
||||
|
||||
subdirs-y += oprom dram mipi
|
||||
subdirs-y += oprom dram
|
||||
|
||||
bootblock-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
|
||||
verstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data AUO_B101UAN08_3 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data AUO_KD101N80_45NA = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data AUO_NT51021D8P = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data BOE_TV080WUM_NG0 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data BOE_TV101WUM_N53 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data BOE_TV101WUM_NG0 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data BOE_TV101WUM_NL6 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data BOE_TV105WUM_NW0 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data P097PFG_SSD2858 = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data INX_OTA7290D10P = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data STA_QFH032011_53G = {
|
||||
.edid = {
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
struct panel_serializable_data VIS_RM69299 = {
|
||||
.edid = {
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <console/console.h>
|
||||
#include <delay.h>
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
|
||||
cb_err_t mipi_panel_parse_init_commands(const void *buf, mipi_cmd_func_t cmd_func)
|
||||
{
|
|
@ -5,8 +5,8 @@
|
|||
#include <acpi/acpi_soundwire.h>
|
||||
#include <device/device.h>
|
||||
#include <device/path.h>
|
||||
#include <device/mipi_ids.h>
|
||||
#include <device/soundwire.h>
|
||||
#include <mipi/ids.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
#include <acpi/acpi_device.h>
|
||||
#include <acpi/acpi_soundwire.h>
|
||||
#include <device/device.h>
|
||||
#include <device/mipi_ids.h>
|
||||
#include <device/path.h>
|
||||
#include <device/soundwire.h>
|
||||
#include <mipi/ids.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include <acpi/acpi_soundwire.h>
|
||||
#include <device/device.h>
|
||||
#include <device/path.h>
|
||||
#include <device/mipi_ids.h>
|
||||
#include <device/soundwire.h>
|
||||
#include <mipi/ids.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.h"
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include <acpi/acpi_soundwire.h>
|
||||
#include <device/device.h>
|
||||
#include <device/path.h>
|
||||
#include <device/mipi_ids.h>
|
||||
#include <device/soundwire.h>
|
||||
#include <mipi/ids.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "chip.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.
|
||||
*/
|
||||
|
|
|
@ -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__ */
|
|
@ -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__ */
|
|
@ -3,7 +3,7 @@
|
|||
#ifndef __MAINBOARD_GOOGLE_KUKUI_PANEL_H__
|
||||
#define __MAINBOARD_GOOGLE_KUKUI_PANEL_H__
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
#include <soc/dsi.h>
|
||||
|
||||
struct panel_description {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <delay.h>
|
||||
#include <device/device.h>
|
||||
#include <device/i2c_simple.h>
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
#include <drivers/ti/sn65dsi86bridge/sn65dsi86bridge.h>
|
||||
#include <edid.h>
|
||||
#include <framebuffer_info.h>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include <assert.h>
|
||||
#include <console/console.h>
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
#include <device/mmio.h>
|
||||
#include <delay.h>
|
||||
#include <edid.h>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <device/mipi_panel.h>
|
||||
#include <mipi/panel.h>
|
||||
#include <device/mmio.h>
|
||||
#include <console/console.h>
|
||||
#include <assert.h>
|
||||
|
|
Loading…
Reference in New Issue