Skip to content

Commit 4631637

Browse files
stephan-ghandersson
authored andcommitted
arm64: dts: qcom: msm8916-samsung-serranove: Add display panel
Add the Samsung S6E88A0-AMS427AP24 panel to the device tree for the Samsung Galaxy S4 Mini Value Edition. By default the panel displays everything horizontally flipped, so add "flip-horizontal" to the panel node to correct that. Signed-off-by: Stephan Gerhold <[email protected]> Co-developed-by: Jakob Hauser <[email protected]> Signed-off-by: Jakob Hauser <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 9eb81b3 commit 4631637

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

arch/arm64/boot/dts/qcom/msm8916-samsung-serranove.dts

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,41 @@
321321
status = "okay";
322322
};
323323

324+
&gpu {
325+
status = "okay";
326+
};
327+
328+
&mdss {
329+
status = "okay";
330+
};
331+
332+
&mdss_dsi0 {
333+
pinctrl-names = "default", "sleep";
334+
pinctrl-0 = <&mdss_default>;
335+
pinctrl-1 = <&mdss_sleep>;
336+
337+
panel@0 {
338+
compatible = "samsung,s6e88a0-ams427ap24";
339+
reg = <0>;
340+
341+
vdd3-supply = <&pm8916_l17>;
342+
vci-supply = <&pm8916_l6>;
343+
reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>;
344+
flip-horizontal;
345+
346+
port {
347+
panel_in: endpoint {
348+
remote-endpoint = <&mdss_dsi0_out>;
349+
};
350+
};
351+
};
352+
};
353+
354+
&mdss_dsi0_out {
355+
data-lanes = <0 1>;
356+
remote-endpoint = <&panel_in>;
357+
};
358+
324359
&mpss_mem {
325360
reg = <0x0 0x86800000 0x0 0x5a00000>;
326361
};
@@ -330,6 +365,13 @@
330365
linux,code = <KEY_VOLUMEDOWN>;
331366
};
332367

368+
&pm8916_rpm_regulators {
369+
pm8916_l17: l17 {
370+
regulator-min-microvolt = <2850000>;
371+
regulator-max-microvolt = <2850000>;
372+
};
373+
};
374+
333375
&pm8916_vib {
334376
status = "okay";
335377
};
@@ -425,6 +467,22 @@
425467
bias-disable;
426468
};
427469

470+
mdss_default: mdss-default-state {
471+
pins = "gpio25";
472+
function = "gpio";
473+
474+
drive-strength = <8>;
475+
bias-disable;
476+
};
477+
478+
mdss_sleep: mdss-sleep-state {
479+
pins = "gpio25";
480+
function = "gpio";
481+
482+
drive-strength = <2>;
483+
bias-pull-down;
484+
};
485+
428486
muic_i2c_default: muic-i2c-default-state {
429487
pins = "gpio105", "gpio106";
430488
function = "gpio";

0 commit comments

Comments
 (0)