Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,34 @@ properties:
description: Regulator for 1.1V vdd.

reset-gpios:
description: GPIO connected to active high RESET pin.
description: GPIO connected to active low RESET pin.

ports:
$ref: /schemas/graph.yaml#/properties/ports

properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description:
DP port for DP input from soc to bridge chip

port@1:
$ref: /schemas/graph.yaml#/properties/port
description:
DP port for DP output from bridge

port@2:
$ref: /schemas/graph.yaml#/properties/port
description:
Additional DP port for DP output from bridge

required:
- port@0

required:
- compatible
- reg
- ports

additionalProperties: false

Expand All @@ -47,6 +70,32 @@ examples:
bridge@4f {
compatible = "lontium,lt8713sx";
reg = <0x4f>;
reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>;
reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
lt8713sx_dp_in: endpoint {
remote-endpoint = <&mdss_dp0_out>;
};
};

port@1 {
reg = <1>;
lt8713sx_dp0_out: endpoint {
remote-endpoint = <&dp0_connector_in>;
};
};

port@2 {
reg = <2>;
lt8713sx_dp1_out: endpoint {
remote-endpoint = <&dp1_connector_in>;
};
};
};
};
};
89 changes: 67 additions & 22 deletions arch/arm64/boot/dts/qcom/monaco-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,30 @@
stdout-path = "serial0:115200n8";
};

dp-connector0 {
compatible = "dp-connector";
label = "DP";
type = "mini";

port {
dp0_connector_in: endpoint {
remote-endpoint = <&lt8713sx_dp0_out>;
};
};
};

dp-connector1 {
compatible = "dp-connector";
label = "DP";
type = "mini";

port {
dp1_connector_in: endpoint {
remote-endpoint = <&lt8713sx_dp1_out>;
};
};
};

dmic: audio-codec-0 {
compatible = "dmic-codec";
#sound-dai-cells = <0>;
Expand Down Expand Up @@ -400,16 +424,38 @@
};

&i2c0 {
pinctrl-0 = <&qup_i2c0_default>;
pinctrl-names = "default";

status = "okay";

lt8713sx: lt8713sx@4f {
/*Display bridge chip, DP1.4/HDMI2.0/DP++ hub*/
bridge@4f {
compatible = "lontium,lt8713sx";
reg = <0x4f>;
reset-gpios = <&expander5 6 GPIO_ACTIVE_HIGH>;
reset-gpios = <&expander5 6 GPIO_ACTIVE_LOW>;

ports {
#address-cells = <1>;
#size-cells = <0>;

port@0 {
reg = <0>;
lt8713sx_dp_in: endpoint {
remote-endpoint = <&mdss_dp0_out>;
};
};

port@1 {
reg = <1>;
lt8713sx_dp0_out: endpoint {
remote-endpoint = <&dp0_connector_in>;
};
};

port@2 {
reg = <2>;
lt8713sx_dp1_out: endpoint {
remote-endpoint = <&dp1_connector_in>;
};
};
};
};
};

Expand Down Expand Up @@ -502,24 +548,31 @@
};
};

&iris {
status = "okay";
};

&mdss {
status = "okay";
};

&mdss_dp0 {
pinctrl-0 = <&dp_hot_plug_det>;
pinctrl-names = "default";

status = "okay";
};

&mdss_dp0_out {
data-lanes = <0 1 2 3>;
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
remote-endpoint = <&lt8713sx_dp_in>;
};

&mdss_dp0_phy {
status = "okay";
};
vdda-phy-supply = <&vreg_l5a>;
vdda-pll-supply = <&vreg_l4a>;

&iris {
status = "okay";
};

Expand All @@ -530,6 +583,11 @@
};
};

&qup_i2c0_data_clk {
drive-strength = <2>;
bias-pull-up;
};

&qupv3_id_0 {
firmware-name = "qcom/qcs8300/qupv3fw.elf";
status = "okay";
Expand Down Expand Up @@ -614,12 +672,6 @@
};

&tlmm {
dp_hot_plug_det: dp-hot-plug-det-state {
pins = "gpio94";
function = "edp0_hot";
bias-disable;
};

ethernet0_default: ethernet0-default-state {
ethernet0_mdc: ethernet0-mdc-pins {
pins = "gpio5";
Expand Down Expand Up @@ -682,13 +734,6 @@
};
};

qup_i2c0_default: qup-i2c0-state {
pins = "gpio17", "gpio18";
function = "qup0_se0";
drive-strength = <2>;
bias-pull-up;
};

qup_i2c1_default: qup-i2c1-state {
pins = "gpio19", "gpio20";
function = "qup0_se1";
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/qcom/qcs8300.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -5995,6 +5995,12 @@
};
};

dp_hot_plug_det: dp-hot-plug-det-state {
pins = "gpio94";
function = "edp0_hot";
bias-disable;
};

hs0_mi2s_active: hs0-mi2s-active-state {
pins = "gpio106", "gpio107", "gpio108", "gpio109";
function = "hs0_mi2s";
Expand Down
Loading