blob: 182bdcd4c81f1fc139599938f57b823f4118b4ff [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Roger Quadros9c4b64f2013-11-11 16:56:39 +02002/*
3 * TI PIPE3 PHY
4 *
5 * (C) Copyright 2013
6 * Texas Instruments, <www.ti.com>
Roger Quadros9c4b64f2013-11-11 16:56:39 +02007 */
8
9#ifndef __OMAP_PIPE3_PHY_H
10#define __OMAP_PIPE3_PHY_H
11
12struct pipe3_dpll_params {
13 u16 m;
14 u8 n;
15 u8 freq:3;
16 u8 sd;
17 u32 mf;
18};
19
20struct pipe3_dpll_map {
21 unsigned long rate;
22 struct pipe3_dpll_params params;
23};
24
25struct omap_pipe3 {
26 void __iomem *pll_ctrl_base;
27 void __iomem *power_reg;
28 struct pipe3_dpll_map *dpll_map;
29};
30
31
32int phy_pipe3_power_on(struct omap_pipe3 *phy);
33int phy_pipe3_power_off(struct omap_pipe3 *pipe3);
34
35#endif /* __OMAP_PIPE3_PHY_H */