Skip to content

Commit 9aab660

Browse files
Xin-ANXsravnborg
authored andcommitted
dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema
anx7625: MIPI to DP transmitter DT schema Signed-off-by: Xin Ji <xji@analogixsemi.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/bafa02aa50c5c29b3336ca6930c406150a3c60d2.1600423932.git.xji@analogixsemi.com
1 parent defa1dc commit 9aab660

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
# Copyright 2019 Analogix Semiconductor, Inc.
3+
%YAML 1.2
4+
---
5+
$id: "http://devicetree.org/schemas/display/bridge/analogix,anx7625.yaml#"
6+
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7+
8+
title: Analogix ANX7625 SlimPort (4K Mobile HD Transmitter)
9+
10+
maintainers:
11+
- Xin Ji <xji@analogixsemi.com>
12+
13+
description: |
14+
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter
15+
designed for portable devices.
16+
17+
properties:
18+
compatible:
19+
items:
20+
- const: analogix,anx7625
21+
22+
reg:
23+
maxItems: 1
24+
25+
interrupts:
26+
description: used for interrupt pin B8.
27+
maxItems: 1
28+
29+
enable-gpios:
30+
description: used for power on chip control, POWER_EN pin D2.
31+
maxItems: 1
32+
33+
reset-gpios:
34+
description: used for reset chip control, RESET_N pin B7.
35+
maxItems: 1
36+
37+
ports:
38+
type: object
39+
40+
properties:
41+
port@0:
42+
type: object
43+
description:
44+
Video port for MIPI DSI input.
45+
46+
port@1:
47+
type: object
48+
description:
49+
Video port for panel or connector.
50+
51+
required:
52+
- port@0
53+
- port@1
54+
55+
required:
56+
- compatible
57+
- reg
58+
- ports
59+
60+
additionalProperties: false
61+
62+
examples:
63+
- |
64+
#include <dt-bindings/gpio/gpio.h>
65+
66+
i2c0 {
67+
#address-cells = <1>;
68+
#size-cells = <0>;
69+
70+
encoder@58 {
71+
compatible = "analogix,anx7625";
72+
reg = <0x58>;
73+
enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>;
74+
reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>;
75+
76+
ports {
77+
#address-cells = <1>;
78+
#size-cells = <0>;
79+
80+
mipi2dp_bridge_in: port@0 {
81+
reg = <0>;
82+
anx7625_in: endpoint {
83+
remote-endpoint = <&mipi_dsi>;
84+
};
85+
};
86+
87+
mipi2dp_bridge_out: port@1 {
88+
reg = <1>;
89+
anx7625_out: endpoint {
90+
remote-endpoint = <&panel_in>;
91+
};
92+
};
93+
};
94+
};
95+
};

0 commit comments

Comments
 (0)