dsi.h (aaadcbb4d70239b24b469ede7637c332820c12f0) dsi.h (36c5dde5fdf028daf005197a4dd08b196784bf9e)
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

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

157
158struct msm_dsi_phy_clk_request {
159 unsigned long bitclk_rate;
160 unsigned long escclk_rate;
161};
162
163void msm_dsi_phy_driver_register(void);
164void msm_dsi_phy_driver_unregister(void);
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

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

157
158struct msm_dsi_phy_clk_request {
159 unsigned long bitclk_rate;
160 unsigned long escclk_rate;
161};
162
163void msm_dsi_phy_driver_register(void);
164void msm_dsi_phy_driver_unregister(void);
165int msm_dsi_phy_enable(struct msm_dsi_phy *phy, int src_pll_id,
165int msm_dsi_phy_enable(struct msm_dsi_phy *phy,
166 struct msm_dsi_phy_clk_request *clk_req);
167void msm_dsi_phy_disable(struct msm_dsi_phy *phy);
168void msm_dsi_phy_get_shared_timings(struct msm_dsi_phy *phy,
169 struct msm_dsi_phy_shared_timings *shared_timing);
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);
176
177#endif /* __DSI_CONNECTOR_H__ */
178
166 struct msm_dsi_phy_clk_request *clk_req);
167void msm_dsi_phy_disable(struct msm_dsi_phy *phy);
168void msm_dsi_phy_get_shared_timings(struct msm_dsi_phy *phy,
169 struct msm_dsi_phy_shared_timings *shared_timing);
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);
176
177#endif /* __DSI_CONNECTOR_H__ */
178