]> git.ipfire.org Git - thirdparty/u-boot.git/blame - drivers/video/bridge/ptn3460.c
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / drivers / video / bridge / ptn3460.c
CommitLineData
83d290c5 1// SPDX-License-Identifier: GPL-2.0+
048dba01
SG
2/*
3 * Copyright (C) 2015 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
048dba01
SG
5 */
6
d678a59d 7#include <common.h>
048dba01 8#include <dm.h>
f7ae49fc 9#include <log.h>
048dba01
SG
10#include <video_bridge.h>
11
12static int ptn3460_attach(struct udevice *dev)
13{
048dba01 14 debug("%s: %s\n", __func__, dev->name);
048dba01 15
720873bf 16 return video_bridge_set_active(dev, true);
048dba01
SG
17}
18
19struct video_bridge_ops ptn3460_ops = {
20 .attach = ptn3460_attach,
21};
22
23static const struct udevice_id ptn3460_ids[] = {
24 { .compatible = "nxp,ptn3460", },
25 { }
26};
27
28U_BOOT_DRIVER(parade_ptn3460) = {
29 .name = "nmp_ptn3460",
30 .id = UCLASS_VIDEO_BRIDGE,
31 .of_match = ptn3460_ids,
32 .ops = &ptn3460_ops,
33};