summaryrefslogtreecommitdiff
path: root/drivers/phy/nop-phy.c
blob: 2201cc35bf0ab807f7d0d2bc11e2297e76895581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
 * Written by Jean-Jacques Hiblot  <jjhiblot@ti.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <common.h>
#include <dm.h>
#include <dm/device.h>
#include <generic-phy.h>

static const struct udevice_id nop_phy_ids[] = {
	{ .compatible = "nop-phy" },
	{ }
};

static struct phy_ops nop_phy_ops = {
};

U_BOOT_DRIVER(nop_phy) = {
	.name	= "nop_phy",
	.id	= UCLASS_PHY,
	.of_match = nop_phy_ids,
	.ops = &nop_phy_ops,
};