1 /* 2 * TI PIPE3 PHY 3 * 4 * (C) Copyright 2013 5 * Texas Instruments, <www.ti.com> 6 * 7 * SPDX-License-Identifier: GPL-2.0+ 8 */ 9 10 #ifndef __OMAP_PIPE3_PHY_H 11 #define __OMAP_PIPE3_PHY_H 12 13 struct pipe3_dpll_params { 14 u16 m; 15 u8 n; 16 u8 freq:3; 17 u8 sd; 18 u32 mf; 19 }; 20 21 struct pipe3_dpll_map { 22 unsigned long rate; 23 struct pipe3_dpll_params params; 24 }; 25 26 struct omap_pipe3 { 27 void __iomem *pll_ctrl_base; 28 void __iomem *power_reg; 29 struct pipe3_dpll_map *dpll_map; 30 }; 31 32 33 int phy_pipe3_power_on(struct omap_pipe3 *phy); 34 int phy_pipe3_power_off(struct omap_pipe3 *pipe3); 35 36 #endif /* __OMAP_PIPE3_PHY_H */ 37