Skip to content

Commit

Permalink
SQUASHME: arm64: dts: msm8916-samsung-a5u: Setup panel driver
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Aug 3, 2019
1 parent 82398a4 commit bbf4162
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,30 @@
/ {
model = "Samsung Galaxy A5U (EUR)";
compatible = "samsung,a5u-eur", "qcom,msm8916";

reg_vlcd_vdd3: regulator-vlcd-vdd3 {
compatible = "regulator-fixed";
regulator-name = "vlcd_vdd3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&pm8916_s4>;

gpio = <&msmgpio 87 0>;
enable-active-high;

pinctrl-names = "default";
pinctrl-0 = <&lcd_on_default>;
};

reg_vlcd_vci: regulator-vlcd-vci {
compatible = "regulator-fixed";
regulator-name = "vlcd_vci";
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;

gpio = <&msmgpio 87 0>;
enable-active-high;
};
};

&blsp_i2c5 {
Expand Down Expand Up @@ -35,6 +59,10 @@
compatible = "samsung,ea8061v-ams497ee01";
reg = <0>;

vdd3-supply = <&reg_vlcd_vdd3>;
vci-supply = <&reg_vlcd_vci>;
reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;

ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down Expand Up @@ -65,6 +93,18 @@
};

&msmgpio {
lcd_on_default: lcd_on_default {
pinmux {
function = "gpio";
pins = "gpio87";
};
pinconf {
pins = "gpio87";
drive-strength = <2>;
bias-disable;
};
};

ts_int_default: ts_int_default {
pinmux {
function = "gpio";
Expand Down

0 comments on commit bbf4162

Please sign in to comment.