2 * Common code for Allwinner SimpleFB with pipeline.
4 * (C) Copyright 2013-2014 Luc Verhaegen <libv@skynet.be>
5 * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com>
6 * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
8 * SPDX-License-Identifier: GPL-2.0+
13 int sunxi_simplefb_fdt_match(void *blob, const char *pipeline)
17 /* Find a prefilled simpefb node, matching out pipeline config */
18 offset = fdt_node_offset_by_compatible(blob, -1,
19 "allwinner,simple-framebuffer");
21 ret = fdt_stringlist_search(blob, offset, "allwinner,pipeline",
25 offset = fdt_node_offset_by_compatible(blob, offset,
26 "allwinner,simple-framebuffer");