nop-phy.c 504 B

12345678910111213141516171819202122232425
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
  4. * Written by Jean-Jacques Hiblot <jjhiblot@ti.com>
  5. */
  6. #include <common.h>
  7. #include <dm.h>
  8. #include <dm/device.h>
  9. #include <generic-phy.h>
  10. static const struct udevice_id nop_phy_ids[] = {
  11. { .compatible = "nop-phy" },
  12. { }
  13. };
  14. static struct phy_ops nop_phy_ops = {
  15. };
  16. U_BOOT_DRIVER(nop_phy) = {
  17. .name = "nop_phy",
  18. .id = UCLASS_PHY,
  19. .of_match = nop_phy_ids,
  20. .ops = &nop_phy_ops,
  21. };