nop-phy.c 507 B

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