summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/gpu/drm/tilcdc/tilcdc_slave_compat.dts
blob: 693f8b0aea2da1cca43ca277d91453ca9027cb3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 * DTS overlay for converting ti,tilcdc,slave binding to new binding.
 *
 * Copyright (C) 2015 Texas Instruments Inc.
 * Author: Jyri Sarha <jsarha@ti.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * version 2 as published by the Free Software Foundation.
 */

/*
 * target-path property values are simple tags that are replaced with
 * correct values in tildcdc_slave_compat.c. Some properties are also
 * copied over from the ti,tilcdc,slave node.
 */

/dts-v1/;
/ {
	fragment@0 {
		target-path = "i2c";
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <0>;
			tda19988 {
				compatible = "nxp,tda998x";
				reg = <0x70>;
				status = "okay";

				port {
					hdmi_0: endpoint@0 {
						remote-endpoint = <&lcd_0>;
					};
				};
			};
		};
	};

	fragment@1 {
		target-path = "lcdc";
		__overlay__ {
			port {
				lcd_0: endpoint@0 {
					remote-endpoint = <&hdmi_0>;
				};
			};
		};
	};

	__local_fixups__ {
		fragment@0 {
			__overlay__ {
				tda19988 {
					port {
						endpoint@0 {
							remote-endpoint	= <0>;
						};
					};
				};
			};
		};
		fragment@1 {
			__overlay__ {
				port {
					endpoint@0 {
						remote-endpoint	= <0>;
					};
				};
			};
		};
	};
};