| // SPDX-License-Identifier: GPL-2.0+ |
| * Copyright (C) 2019 STMicroelectronics - All Rights Reserved |
| * Author(s): Yannick Fertre <yannick.fertre@st.com> for STMicroelectronics. |
| #define LOG_CATEGORY UCLASS_DSI_HOST |
| int dsi_host_init(struct udevice *dev, |
| struct mipi_dsi_device *device, |
| struct display_timing *timings, |
| unsigned int max_data_lanes, |
| const struct mipi_dsi_phy_ops *phy_ops) |
| struct dsi_host_ops *ops = dsi_host_get_ops(dev); |
| return ops->init(dev, device, timings, max_data_lanes, phy_ops); |
| int dsi_host_enable(struct udevice *dev) |
| struct dsi_host_ops *ops = dsi_host_get_ops(dev); |
| UCLASS_DRIVER(dsi_host) = { |