blob: d0cc1b401faec67964200a2648d4413cd5abdf1a [file] [log] [blame]
Neil Armstrong3bed4222018-07-24 17:45:28 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
4 */
5
6#ifndef __SIMPLEFB_COMMON_H
7#define __SIMPLEFB_COMMON_H
8
9/**
10 * meson_simplefb_fdt_match() - match a meson simplefb node
11 *
12 * Match a meson simplefb device node with a specified pipeline, and
13 * return its offset.
14 *
15 * @blob: device tree blob
16 * @pipeline: display pipeline
Heinrich Schuchardt185f8122022-01-19 18:05:50 +010017 * Return: device node offset in blob, or negative values if failed
Neil Armstrong3bed4222018-07-24 17:45:28 +020018 */
19int meson_simplefb_fdt_match(void *blob, const char *pipeline);
20
21#endif