1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019 STMicroelectronics - All Rights Reserved
4 * Author(s): Yannick Fertre <yannick.fertre@st.com> for STMicroelectronics.
12 int dsi_host_init(struct udevice *dev,
13 struct mipi_dsi_device *device,
14 struct display_timing *timings,
15 unsigned int max_data_lanes,
16 const struct mipi_dsi_phy_ops *phy_ops)
18 struct dsi_host_ops *ops = dsi_host_get_ops(dev);
23 return ops->init(dev, device, timings, max_data_lanes, phy_ops);
26 int dsi_host_enable(struct udevice *dev)
28 struct dsi_host_ops *ops = dsi_host_get_ops(dev);
33 return ops->enable(dev);
36 UCLASS_DRIVER(dsi_host) = {
37 .id = UCLASS_DSI_HOST,