~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/arm/cpu/armv7/omap-common/pipe3-phy.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 */