dsi.h (ca31fef11dc83e672415d5925a134749761329bd) dsi.h (94ad6ec987393824d253d963e974a798e870c34e)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#ifndef __DSI_CONNECTOR_H__
7#define __DSI_CONNECTOR_H__
8

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

159struct msm_dsi_phy_clk_request {
160 unsigned long bitclk_rate;
161 unsigned long escclk_rate;
162};
163
164void msm_dsi_phy_driver_register(void);
165void msm_dsi_phy_driver_unregister(void);
166int msm_dsi_phy_enable(struct msm_dsi_phy *phy,
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#ifndef __DSI_CONNECTOR_H__
7#define __DSI_CONNECTOR_H__
8

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

159struct msm_dsi_phy_clk_request {
160 unsigned long bitclk_rate;
161 unsigned long escclk_rate;
162};
163
164void msm_dsi_phy_driver_register(void);
165void msm_dsi_phy_driver_unregister(void);
166int msm_dsi_phy_enable(struct msm_dsi_phy *phy,
167 struct msm_dsi_phy_clk_request *clk_req);
167 struct msm_dsi_phy_clk_request *clk_req,
168 struct msm_dsi_phy_shared_timings *shared_timings);
168void msm_dsi_phy_disable(struct msm_dsi_phy *phy);
169void msm_dsi_phy_disable(struct msm_dsi_phy *phy);
169void msm_dsi_phy_get_shared_timings(struct msm_dsi_phy *phy,
170 struct msm_dsi_phy_shared_timings *shared_timing);
171void msm_dsi_phy_set_usecase(struct msm_dsi_phy *phy,
172 enum msm_dsi_phy_usecase uc);
173int msm_dsi_phy_get_clk_provider(struct msm_dsi_phy *phy,
174 struct clk **byte_clk_provider, struct clk **pixel_clk_provider);
175void msm_dsi_phy_pll_save_state(struct msm_dsi_phy *phy);
176int msm_dsi_phy_pll_restore_state(struct msm_dsi_phy *phy);
177void msm_dsi_phy_snapshot(struct msm_disp_state *disp_state, struct msm_dsi_phy *phy);
178
179#endif /* __DSI_CONNECTOR_H__ */
180
170void msm_dsi_phy_set_usecase(struct msm_dsi_phy *phy,
171 enum msm_dsi_phy_usecase uc);
172int msm_dsi_phy_get_clk_provider(struct msm_dsi_phy *phy,
173 struct clk **byte_clk_provider, struct clk **pixel_clk_provider);
174void msm_dsi_phy_pll_save_state(struct msm_dsi_phy *phy);
175int msm_dsi_phy_pll_restore_state(struct msm_dsi_phy *phy);
176void msm_dsi_phy_snapshot(struct msm_disp_state *disp_state, struct msm_dsi_phy *phy);
177
178#endif /* __DSI_CONNECTOR_H__ */
179