Commit 67c22c16 authored by Mis012's avatar Mis012

__WIP2__

parent 2a1c0c22
......@@ -288,6 +288,7 @@
[email protected] {
dsi0_out: endpoint {
remote-endpoint = <&panel_in>;
data-lanes = <0 1>;
};
};
};
......@@ -337,8 +338,6 @@
l2 { //already-same
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on; //FIXME trying to avoid dsi deinit
regulator-boot-on; //FIXME trying to avoid dsi deinit
};
/* PM8916 L3 VDD_MX supply */
......@@ -362,8 +361,6 @@
l6 { //already-same
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on; //FIXME trying to avoid dsi deinit
regulator-boot-on; //FIXME trying to avoid dsi deinit
};
l7 {
......@@ -420,8 +417,6 @@
l17 {
regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>;
regulator-always-on; //FIXME trying to avoid dsi deinit
regulator-boot-on; //FIXME trying to avoid dsi deinit
};
l18 {
......
......@@ -120,7 +120,7 @@ static int s6e88a0_panel_on(struct s6e88a0_panel *s6e88a0)
}
msleep(10); //FIXME needed or not?
ret = mipi_dsi_dcs_write(dsi, 0xb6, (u8[]){ 0x2c, 0x0b }, 5);
ret = mipi_dsi_dcs_write(dsi, 0xb6, (u8[]){ 0x2c, 0x0b }, 2);
if (ret < 0) {
dev_err(dev, "failed on dsc command `b6 2c 0b` ('elvss') : %d\n", ret);
return ret;
......@@ -134,7 +134,7 @@ static int s6e88a0_panel_on(struct s6e88a0_panel *s6e88a0)
}
msleep(10); //FIXME needed or not?
ret = mipi_dsi_dcs_write(dsi, 0xf7, (u8[]){ 0x03 }, 5);
ret = mipi_dsi_dcs_write(dsi, 0xf7, (u8[]){ 0x03 }, 1);
if (ret < 0) {
dev_err(dev, "failed on dsc command `f7 03` ('gamma update') : %d\n", ret);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment