mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
9c4b64fb61
Pipe3 PHY is used by SATA, USB3 and PCIe modules. This is a driver for the Pipe3 PHY. Signed-off-by: Roger Quadros <rogerq@ti.com>
36 lines
625 B
C
36 lines
625 B
C
/*
|
|
* TI PIPE3 PHY
|
|
*
|
|
* (C) Copyright 2013
|
|
* Texas Instruments, <www.ti.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __OMAP_PIPE3_PHY_H
|
|
#define __OMAP_PIPE3_PHY_H
|
|
|
|
struct pipe3_dpll_params {
|
|
u16 m;
|
|
u8 n;
|
|
u8 freq:3;
|
|
u8 sd;
|
|
u32 mf;
|
|
};
|
|
|
|
struct pipe3_dpll_map {
|
|
unsigned long rate;
|
|
struct pipe3_dpll_params params;
|
|
};
|
|
|
|
struct omap_pipe3 {
|
|
void __iomem *pll_ctrl_base;
|
|
void __iomem *power_reg;
|
|
struct pipe3_dpll_map *dpll_map;
|
|
};
|
|
|
|
|
|
int phy_pipe3_power_on(struct omap_pipe3 *phy);
|
|
int phy_pipe3_power_off(struct omap_pipe3 *pipe3);
|
|
|
|
#endif /* __OMAP_PIPE3_PHY_H */
|