Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Icenowy Zheng | 067a697 | 2017-10-26 11:14:45 +0800 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io> |
Icenowy Zheng | 067a697 | 2017-10-26 11:14:45 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __SIMPLEFB_COMMON_H |
| 7 | #define __SIMPLEFB_COMMON_H |
| 8 | |
| 9 | /** |
| 10 | * sunxi_simplefb_fdt_match() - match a sunxi simplefb node |
| 11 | * |
| 12 | * Match a sunxi simplefb device node with a specified pipeline, and |
| 13 | * return its offset. |
| 14 | * |
| 15 | * @blob: device tree blob |
| 16 | * @pipeline: display pipeline |
Heinrich Schuchardt | 47b4c02 | 2022-01-19 18:05:50 +0100 | [diff] [blame] | 17 | * Return: device node offset in blob, or negative values if failed |
Icenowy Zheng | 067a697 | 2017-10-26 11:14:45 +0800 | [diff] [blame] | 18 | */ |
| 19 | int sunxi_simplefb_fdt_match(void *blob, const char *pipeline); |
| 20 | |
| 21 | #endif |