dsi.h (2ee692802b8f6c54bd6499addd3d07c2833d84d8) dsi.h (e3a91f893cabd684a6cd63599425118308defc06)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
1/*
2 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
4 */
5
6#ifndef __DSI_CONNECTOR_H__
7#define __DSI_CONNECTOR_H__
8
9#include <linux/of_platform.h>
10#include <linux/platform_device.h>
11

--- 144 unchanged lines hidden (view full) ---

156int msm_dsi_host_enable(struct mipi_dsi_host *host);
157int msm_dsi_host_disable(struct mipi_dsi_host *host);
158int msm_dsi_host_power_on(struct mipi_dsi_host *host,
159 struct msm_dsi_phy_shared_timings *phy_shared_timings,
160 bool is_dual_dsi);
161int msm_dsi_host_power_off(struct mipi_dsi_host *host);
162int msm_dsi_host_set_display_mode(struct mipi_dsi_host *host,
163 const struct drm_display_mode *mode);
12 */
13
14#ifndef __DSI_CONNECTOR_H__
15#define __DSI_CONNECTOR_H__
16
17#include <linux/of_platform.h>
18#include <linux/platform_device.h>
19

--- 144 unchanged lines hidden (view full) ---

164int msm_dsi_host_enable(struct mipi_dsi_host *host);
165int msm_dsi_host_disable(struct mipi_dsi_host *host);
166int msm_dsi_host_power_on(struct mipi_dsi_host *host,
167 struct msm_dsi_phy_shared_timings *phy_shared_timings,
168 bool is_dual_dsi);
169int msm_dsi_host_power_off(struct mipi_dsi_host *host);
170int msm_dsi_host_set_display_mode(struct mipi_dsi_host *host,
171 const struct drm_display_mode *mode);
164struct drm_panel *msm_dsi_host_get_panel(struct mipi_dsi_host *host,
165 unsigned long *panel_flags);
172struct drm_panel *msm_dsi_host_get_panel(struct mipi_dsi_host *host);
173unsigned long msm_dsi_host_get_mode_flags(struct mipi_dsi_host *host);
166struct drm_bridge *msm_dsi_host_get_bridge(struct mipi_dsi_host *host);
167int msm_dsi_host_register(struct mipi_dsi_host *host, bool check_defer);
168void msm_dsi_host_unregister(struct mipi_dsi_host *host);
169int msm_dsi_host_set_src_pll(struct mipi_dsi_host *host,
170 struct msm_dsi_pll *src_pll);
171void msm_dsi_host_reset_phy(struct mipi_dsi_host *host);
172void msm_dsi_host_get_phy_clk_req(struct mipi_dsi_host *host,
173 struct msm_dsi_phy_clk_request *clk_req,

--- 49 unchanged lines hidden ---
174struct drm_bridge *msm_dsi_host_get_bridge(struct mipi_dsi_host *host);
175int msm_dsi_host_register(struct mipi_dsi_host *host, bool check_defer);
176void msm_dsi_host_unregister(struct mipi_dsi_host *host);
177int msm_dsi_host_set_src_pll(struct mipi_dsi_host *host,
178 struct msm_dsi_pll *src_pll);
179void msm_dsi_host_reset_phy(struct mipi_dsi_host *host);
180void msm_dsi_host_get_phy_clk_req(struct mipi_dsi_host *host,
181 struct msm_dsi_phy_clk_request *clk_req,

--- 49 unchanged lines hidden ---