2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2017-10-26 03:14:45 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SIMPLEFB_COMMON_H
|
|
|
|
#define __SIMPLEFB_COMMON_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* sunxi_simplefb_fdt_match() - match a sunxi simplefb node
|
|
|
|
*
|
|
|
|
* Match a sunxi 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 sunxi_simplefb_fdt_match(void *blob, const char *pipeline);
|
|
|
|
|
|
|
|
#endif
|