Commit 526d64d1 authored by Mis012's avatar Mis012

sm-a300fu dts: start work on display

parent 9ca09baf
......@@ -72,8 +72,51 @@
};
};
pmx_mdss_active: pmx_mdss_active {
pinmux {
function = "gpio";
pins = "gpio25", "gpio9";
};
pinconf {
drive-strength = <8>;
bias-disable;
};
};
pmx_mdss_suspend: pmx_mdss_suspend {
pinmux {
function = "gpio";
pins = "gpio25", "gpio9";
};
pinconf {
drive-strength = <2>;
bias-pull-down;
};
};
pmx_lcd_active: pmx_lcd_active {
pinmux {
function = "gpio";
pins = "gpio56";
};
pinconf {
drive-strength = <2>;
bias-pull-none;
};
};
pmx_lcd_suspend: pmx_lcd_suspend {
pinmux {
function = "gpio";
pins = "gpio56";
};
pinconf {
drive-strength = <2>;
bias-pull-down;
};
};
gpio_keys_default: gpio-keys-default {
gpio_keys_default: gpio_keys_default {
pinmux {
function = "gpio";
pins = "gpio107", "gpio109";
......@@ -86,7 +129,7 @@
};
};
hall_gpio_default: hall-gpio-default {
hall_gpio_default: hall_gpio_default {
pinmux {
function = "gpio";
pins = "gpio52";
......
......@@ -39,7 +39,7 @@
[email protected] {
status= "okay";
compatible = "simple-framebuffer";
reg = <0x0 0x83200000 0x0 (540 * 960 * 3)>;
reg = <0x0 0x83000000 0x0 (540 * 960 * 3)>;
width = <540>;
height = <960>;
stride = <(960*3)>;
......@@ -245,25 +245,81 @@
};
};
};
[email protected] {
status = "okay";
[email protected] {
status = "okay";
};
[email protected] {
status = "okay";
vdda-supply = <&pm8916_l2>;
vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l6>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <&pmx_mdss_active &pmx_lcd_active>;
pinctrl-1 = <&pmx_mdss_suspend &pmx_lcd_suspend>;
[email protected] {
compatible = "samsung,s6e88a0-ams452ef01";
//vddp-supply = </*??*/>;
iovcc-supply = <&pm8916_l6>;
//enable-gpios = </*??*/>;
reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
port {
panel_in: endpoint {
remote-endpoint = <&dsi0_out>;
};
};
};
ports {
[email protected] {
dsi0_out: endpoint {
remote-endpoint = <&panel_in>;
data-lanes = <0 1>;
};
};
};
};
[email protected] {
status = "okay";
vddio-supply = <&pm8916_l6>;
};
};
};
};
&smd_rpm_regulators {
vdd_l1_l2_l3-supply = <&pm8916_s3>;
vdd_l5-supply = <&pm8916_s3>;
vdd_l4_l5_l6-supply = <&pm8916_s4>;
vdd_l7-supply = <&pm8916_s4>;
s1 {
s1 { //doesn't seem to be a thing FIXME
status = "disabled";
regulator-min-microvolt = <375000>;
regulator-max-microvolt = <1562000>;
};
//s2? FIXME
s3 {
regulator-min-microvolt = <375000>;
regulator-max-microvolt = <1562000>;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1300000>;
};
s4 {
s4 { //already-fine
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
......@@ -272,94 +328,95 @@
};
l1 {
regulator-min-microvolt = <375000>;
regulator-max-microvolt = <1525000>;
regulator-min-microvolt = <1225000>;
regulator-max-microvolt = <1225000>;
};
l2 {
l2 { //already-same
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
};
/* PM8916 L3 VDD_MX supply */
l3 {
regulator-min-microvolt = <375000>;
regulator-max-microvolt = <1525000>;
regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1287500>;
};
l4 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <2050000>;
regulator-max-microvolt = <2050000>;
};
l5 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
l6 {
l6 { //already-same
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
l7 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
l8 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2900000>;
};
l9 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
l10 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2800000>;
};
l11 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
};
l12 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2950000>;
};
l13 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <3075000>;
regulator-max-microvolt = <3075000>;
};
l14 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
l15 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
l16 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
};
l17 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
l18 {
regulator-min-microvolt = <1750000>;
regulator-max-microvolt = <3337000>;
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
};
};
......
......@@ -169,6 +169,12 @@ config DRM_PANEL_SAMSUNG_S6E63J0X03
depends on BACKLIGHT_CLASS_DEVICE
select VIDEOMODE_HELPERS
config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01
tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller"
depends on OF
select DRM_MIPI_DSI
select VIDEOMODE_HELPERS
config DRM_PANEL_SAMSUNG_S6E8AA0
tristate "Samsung S6E8AA0 DSI video mode panel"
depends on OF
......
......@@ -17,6 +17,7 @@ obj-$(CONFIG_DRM_PANEL_SAMSUNG_LD9040) += panel-samsung-ld9040.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6D16D0) += panel-samsung-s6d16d0.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E3HA2) += panel-samsung-s6e3ha2.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E63J0X03) += panel-samsung-s6e63j0x03.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01) += panel-samsung-s6e88a0-ams452ef01.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6E8AA0) += panel-samsung-s6e8aa0.o
obj-$(CONFIG_DRM_PANEL_SEIKO_43WVF1G) += panel-seiko-43wvf1g.o
obj-$(CONFIG_DRM_PANEL_SHARP_LQ101R1SX01) += panel-sharp-lq101r1sx01.o
......
This diff is collapsed.
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