xref: /openbmc/u-boot/drivers/phy/nop-phy.c (revision 90c08fa0)
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 
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 };
26