Jean-Jacques Hiblot | c2da3e3 | 2017-07-24 15:18:15 +0200 | [diff] [blame] | 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 | |
| 8 | #include <common.h> |
| 9 | #include <dm.h> |
| 10 | #include <dm/device.h> |
| 11 | #include <generic-phy.h> |
| 12 | |
| 13 | static const struct udevice_id nop_phy_ids[] = { |
| 14 | { .compatible = "nop-phy" }, |
| 15 | { } |
| 16 | }; |
| 17 | |
| 18 | static struct phy_ops nop_phy_ops = { |
| 19 | }; |
| 20 | |
| 21 | U_BOOT_DRIVER(nop_phy) = { |
| 22 | .name = "nop_phy", |
| 23 | .id = UCLASS_PHY, |
| 24 | .of_match = nop_phy_ids, |
| 25 | .ops = &nop_phy_ops, |
| 26 | }; |