pipe3-phy.h 621 B

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