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