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