dsi.h (dceac340155b66b6c97cb802b03d4778dd82e9be) | dsi.h (57bf433893370c069a0c34842f35a3bb8aa130fc) |
---|---|
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, --- 23 unchanged lines hidden (view full) --- 32enum msm_dsi_phy_type { 33 MSM_DSI_PHY_28NM_HPM, 34 MSM_DSI_PHY_28NM_LP, 35 MSM_DSI_PHY_20NM, 36 MSM_DSI_PHY_28NM_8960, 37 MSM_DSI_PHY_MAX 38}; 39 | 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, --- 23 unchanged lines hidden (view full) --- 32enum msm_dsi_phy_type { 33 MSM_DSI_PHY_28NM_HPM, 34 MSM_DSI_PHY_28NM_LP, 35 MSM_DSI_PHY_20NM, 36 MSM_DSI_PHY_28NM_8960, 37 MSM_DSI_PHY_MAX 38}; 39 |
40enum msm_dsi_phy_usecase { 41 MSM_DSI_PHY_STANDALONE, 42 MSM_DSI_PHY_MASTER, 43 MSM_DSI_PHY_SLAVE, 44}; 45 |
|
40#define DSI_DEV_REGULATOR_MAX 8 41#define DSI_BUS_CLK_MAX 4 42 43/* Regulators for DSI devices */ 44struct dsi_reg_entry { 45 char name[32]; 46 int enable_load; 47 int disable_load; --- 127 unchanged lines hidden (view full) --- 175void msm_dsi_phy_driver_register(void); 176void msm_dsi_phy_driver_unregister(void); 177int msm_dsi_phy_enable(struct msm_dsi_phy *phy, int src_pll_id, 178 const unsigned long bit_rate, const unsigned long esc_rate); 179void msm_dsi_phy_disable(struct msm_dsi_phy *phy); 180void msm_dsi_phy_get_shared_timings(struct msm_dsi_phy *phy, 181 struct msm_dsi_phy_shared_timings *shared_timing); 182struct msm_dsi_pll *msm_dsi_phy_get_pll(struct msm_dsi_phy *phy); | 46#define DSI_DEV_REGULATOR_MAX 8 47#define DSI_BUS_CLK_MAX 4 48 49/* Regulators for DSI devices */ 50struct dsi_reg_entry { 51 char name[32]; 52 int enable_load; 53 int disable_load; --- 127 unchanged lines hidden (view full) --- 181void msm_dsi_phy_driver_register(void); 182void msm_dsi_phy_driver_unregister(void); 183int msm_dsi_phy_enable(struct msm_dsi_phy *phy, int src_pll_id, 184 const unsigned long bit_rate, const unsigned long esc_rate); 185void msm_dsi_phy_disable(struct msm_dsi_phy *phy); 186void msm_dsi_phy_get_shared_timings(struct msm_dsi_phy *phy, 187 struct msm_dsi_phy_shared_timings *shared_timing); 188struct msm_dsi_pll *msm_dsi_phy_get_pll(struct msm_dsi_phy *phy); |
189void msm_dsi_phy_set_usecase(struct msm_dsi_phy *phy, 190 enum msm_dsi_phy_usecase uc); |
|
183 184#endif /* __DSI_CONNECTOR_H__ */ 185 | 191 192#endif /* __DSI_CONNECTOR_H__ */ 193 |