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