Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm...
[sfrench/cifs-2.6.git] / drivers / gpu / drm / tilcdc / tilcdc_slave_compat.dts
1 /*
2  * DTS overlay for converting ti,tilcdc,slave binding to new binding.
3  *
4  * Copyright (C) 2015 Texas Instruments Inc.
5  * Author: Jyri Sarha <jsarha@ti.com>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * version 2 as published by the Free Software Foundation.
10  */
11
12 /*
13  * target-path property values are simple tags that are replaced with
14  * correct values in tildcdc_slave_compat.c. Some properties are also
15  * copied over from the ti,tilcdc,slave node.
16  */
17
18 /dts-v1/;
19 / {
20         fragment@0 {
21                 target-path = "i2c";
22                 __overlay__ {
23                         #address-cells = <1>;
24                         #size-cells = <0>;
25                         tda19988 {
26                                 compatible = "nxp,tda998x";
27                                 reg = <0x70>;
28                                 status = "okay";
29
30                                 port {
31                                         hdmi_0: endpoint@0 {
32                                                 remote-endpoint = <&lcd_0>;
33                                         };
34                                 };
35                         };
36                 };
37         };
38
39         fragment@1 {
40                 target-path = "lcdc";
41                 __overlay__ {
42                         port {
43                                 lcd_0: endpoint@0 {
44                                         remote-endpoint = <&hdmi_0>;
45                                 };
46                         };
47                 };
48         };
49
50         __local_fixups__ {
51                 fragment@0 {
52                         __overlay__ {
53                                 tda19988 {
54                                         port {
55                                                 endpoint@0 {
56                                                         remote-endpoint = <0>;
57                                                 };
58                                         };
59                                 };
60                         };
61                 };
62                 fragment@1 {
63                         __overlay__ {
64                                 port {
65                                         endpoint@0 {
66                                                 remote-endpoint = <0>;
67                                         };
68                                 };
69                         };
70                 };
71         };
72 };