blob: 1a2bfabf00c6f7bdea2eabfa4589c5f70b17b5bf [file] [log] [blame]
Icenowy Zheng067a6972017-10-26 11:14:45 +08001/*
2 * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __SIMPLEFB_COMMON_H
8#define __SIMPLEFB_COMMON_H
9
10/**
11 * sunxi_simplefb_fdt_match() - match a sunxi simplefb node
12 *
13 * Match a sunxi simplefb device node with a specified pipeline, and
14 * return its offset.
15 *
16 * @blob: device tree blob
17 * @pipeline: display pipeline
18 * @return device node offset in blob, or negative values if failed
19 */
20int sunxi_simplefb_fdt_match(void *blob, const char *pipeline);
21
22#endif