blob: 2201cc35bf0ab807f7d0d2bc11e2297e76895581 [file] [log] [blame]
Jean-Jacques Hiblot3b63db32017-07-24 15:18:15 +02001/*
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
13static const struct udevice_id nop_phy_ids[] = {
14 { .compatible = "nop-phy" },
15 { }
16};
17
18static struct phy_ops nop_phy_ops = {
19};
20
21U_BOOT_DRIVER(nop_phy) = {
22 .name = "nop_phy",
23 .id = UCLASS_PHY,
24 .of_match = nop_phy_ids,
25 .ops = &nop_phy_ops,
26};