Lines Matching +full:panel +full:- +full:dsi +full:- +full:cm

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
8 * As omapdss panel drivers are omapdss specific, but we want to define the
9 * DT-data in generic manner, we convert the compatible strings of the panel and
10 * encoder nodes from "panel-foo" to "omapdss,panel-foo". This way we can have
13 * When we get generic panel drivers to the kernel, this file will be removed.
34 const char *p = prop->value; in omapdss_count_strings()
38 for (i = 0; total < prop->length; total += l, p += l, i++) in omapdss_count_strings()
53 prop->name = "compatible"; in omapdss_update_prop()
54 prop->value = compat; in omapdss_update_prop()
55 prop->length = len; in omapdss_update_prop()
89 if (!prop || !prop->value) in omapdss_omapify_node()
92 if (strnlen(prop->value, prop->length) >= prop->length) in omapdss_omapify_node()
96 if (strncmp(prefix, prop->value, strlen(prefix)) == 0) in omapdss_omapify_node()
101 new_len = prop->length + strlen(prefix) * num_strs; in omapdss_omapify_node()
104 omapdss_prefix_strcpy(new_compat, new_len, prop->value, prop->length); in omapdss_omapify_node()
113 n->node = node; in omapdss_add_to_list()
114 n->root = root; in omapdss_add_to_list()
115 list_add(&n->list, &dss_conv_list); in omapdss_add_to_list()
124 if (n->node == node) in omapdss_list_contains()
168 { .compatible = "ti,omap2-dss", },
169 { .compatible = "ti,omap3-dss", },
170 { .compatible = "ti,omap4-dss", },
171 { .compatible = "ti,omap5-dss", },
172 { .compatible = "ti,dra7-dss", },
177 { .compatible = "panel-dsi-cm" },
216 if (of_match_node(omapdss_of_fixups_whitelist, n->node)) in omapdss_boot_init()
217 omapdss_omapify_node(n->node); in omapdss_boot_init()
219 list_del(&n->list); in omapdss_boot_init()
220 of_node_put(n->node); in omapdss_boot_init()