blob: e7290277b9062a4c8376f57265604d6db2d29398 [file] [log] [blame]
Simon Glass8807a562021-06-27 17:50:57 -06001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * This header provides common constants for PCI bindings.
4 */
5
6#ifndef _DT_BINDINGS_PCI_PCI_H
7#define _DT_BINDINGS_PCI_PCI_H
8
9/* Encode a vendor and device ID into a single cell */
10#define PCI_VENDEV(v, d) (((v) << 16) | (d))
11
12#endif /* _DT_BINDINGS_PCI_PCI_H */