comphy.h 387 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2015-2016 Marvell International Ltd.
  4. */
  5. #ifndef _MVEBU_COMPHY_H_
  6. #define _MVEBU_COMPHY_H_
  7. #include <dt-bindings/comphy/comphy_data.h>
  8. struct comphy_map {
  9. u32 type;
  10. u32 speed;
  11. u32 invert;
  12. bool clk_src;
  13. bool end_point;
  14. };
  15. int comphy_update_map(struct comphy_map *serdes_map, int count);
  16. #endif /* _MVEBU_COMPHY_H_ */