summaryrefslogtreecommitdiff
path: root/drivers/video/meson/simplefb_common.h
blob: 9ea7b0486c05bf29de64dd8b505ad1e7c3287355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
 */

#ifndef __SIMPLEFB_COMMON_H
#define __SIMPLEFB_COMMON_H

/**
 * meson_simplefb_fdt_match() - match a meson simplefb node
 *
 * Match a meson simplefb device node with a specified pipeline, and
 * return its offset.
 *
 * @blob: device tree blob
 * @pipeline: display pipeline
 * @return device node offset in blob, or negative values if failed
 */
int meson_simplefb_fdt_match(void *blob, const char *pipeline);

#endif