pipe3-phy.h 625 B

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef __OMAP_PIPE3_PHY_H
  10. #define __OMAP_PIPE3_PHY_H
  11. struct pipe3_dpll_params {
  12. u16 m;
  13. u8 n;
  14. u8 freq:3;
  15. u8 sd;
  16. u32 mf;
  17. };
  18. struct pipe3_dpll_map {
  19. unsigned long rate;
  20. struct pipe3_dpll_params params;
  21. };
  22. struct omap_pipe3 {
  23. void __iomem *pll_ctrl_base;
  24. void __iomem *power_reg;
  25. struct pipe3_dpll_map *dpll_map;
  26. };
  27. int phy_pipe3_power_on(struct omap_pipe3 *phy);
  28. int phy_pipe3_power_off(struct omap_pipe3 *pipe3);
  29. #endif /* __OMAP_PIPE3_PHY_H */