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
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ NAME = Saber-toothed Squirrel
# o print "Entering directory ...";
MAKEFLAGS += -rR --no-print-directory

export CONFIG_NO_ERROR_ON_MISMATCH := y
export CONFIG_SECTION_MISMATCH_WARN_ONLY := y

# Avoid funny character set dependencies
unexport LC_ALL
LC_COLLATE=C
Expand Down
89 changes: 89 additions & 0 deletions arch/arm/boot/dts/dsi-panel-martini-amoled-dsi0-video.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

/*---------------------------------------------------------------------------
* This file is autogenerated file using gcdb parser. Please do not edit it.
* Update input XML file to add a new entry or update variable in this file
* VERSION = "1.0"
*---------------------------------------------------------------------------*/
&mdss_mdp {
dsi_martini_amoled_dsi0_video: qcom,mdss_dsi_martini_amoled_dsi0_video {
qcom,mdss-dsi-panel-name = "Martini 1080p video mode panel2";
qcom,mdss-dsi-panel-controller = <&mdss_dsi0>;
qcom,mdss-dsi-panel-type = "dsi_video_mode";
qcom,mdss-dsi-panel-destination = "display_1";
qcom,mdss-dsi-panel-framerate = <60>;
qcom,mdss-dsi-virtual-channel-id = <0>;
qcom,mdss-dsi-stream = <0>;
qcom,mdss-dsi-panel-width = <1080>;
qcom,mdss-dsi-panel-height = <1920>;
qcom,mdss-dsi-h-front-porch = <46>;
qcom,mdss-dsi-h-back-porch = <30>;
qcom,mdss-dsi-h-pulse-width = <20>;
qcom,mdss-dsi-h-sync-skew = <0>;
qcom,mdss-dsi-v-back-porch = <2>;
qcom,mdss-dsi-v-front-porch = <13>;
qcom,mdss-dsi-v-pulse-width = <1>;
qcom,mdss-dsi-h-left-border = <0>;
qcom,mdss-dsi-h-right-border = <0>;
qcom,mdss-dsi-v-top-border = <0>;
qcom,mdss-dsi-v-bottom-border = <0>;
qcom,mdss-dsi-bpp = <24>;
qcom,mdss-dsi-color-order = "rgb_swap_rgb";
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-h-sync-pulse = <32>;
qcom,mdss-dsi-traffic-mode = "burst_mode";
qcom,mdss-dsi-lane-map = "lane_map_0123";
qcom,mdss-dsi-lane-hs = <1>;
qcom,mdss-dsi-bllp-eof-power-mode;
qcom,mdss-dsi-bllp-power-mode;
qcom,cmd-sync-wait-broadcast;
qcom,cont-splash-enabled;
qcom,mdss-dsi-lane-0-state;
qcom,mdss-dsi-lane-1-state;
qcom,mdss-dsi-lane-2-state;
qcom,mdss-dsi-lane-3-state;

qcom,mdss-dsi-panel-timings = [D5 9A 1E 00 66 5E 36 9E 55 03 04 00];
qcom,mdss-dsi-reset-sequence = <1 20>, <0 200>, <1 20>;
qcom,mdss-dsi-t-clk-pre = <0x36>;
qcom,mdss-dsi-t-clk-post = <0x00>;

qcom,mdss-dsi-bl-min-level = <0x1>;
qcom,mdss-dsi-bl-max-level = <0x80>;
qcom,mdss-dsi-bl-default-level = <0xFF>;
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs";

qcom,mdss-dsi-dma-trigger = "trigger_sw";
qcom,mdss-dsi-mdp-trigger = "none";
qcom,mdss-dsi-on-command = [
05 01 00 00 78 00 02 11 00
39 01 00 00 00 00 03 F0 5A 5A
39 01 00 00 00 00 0E CB 16 00 01 01 DE 01 00 00 03 00 06 00 08
39 01 00 00 00 00 02 F7 03
39 01 00 00 65 00 03 F0 A5 A5
15 01 00 00 00 00 02 53 2C
15 01 00 00 00 00 02 51 FF
05 01 00 00 00 00 02 29 00
];
qcom,mdss-dsi-off-command = [
05 01 00 00 00 00 02 28 00
15 01 00 00 00 00 02 53 00
05 01 00 00 78 00 02 10 00
];
qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
qcom,mdss-pan-physical-width-dimension = <65>;
qcom,mdss-pan-physical-height-dimension = <115>;
};
};
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/msm8974-martini-panel.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* Copyright (c) 2015, LGE Inc. All rights reserved.
* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/


&mdss_mdp {
qcom,mdss-pref-prim-intf = "dsi";
};

&mdss_dsi0 {
qcom,dsi-pref-prim-pan = <&dsi_martini_amoled_dsi0_video>;

qcom,platform-reset-gpio = <&pm8941_gpios 19 0>;
vdd-supply = <&pm8941_l22>;
vddio-supply = <&pm8941_l12>;
};
30 changes: 30 additions & 0 deletions arch/arm/boot/dts/msm8974-martini-touch.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* Copyright (c) 2015, LGE Inc. All rights reserved.
* Copyright (c) 2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/

&i2c_2 {
status = "okay";

synaptics@4b {
compatible = "synaptics,rmi4";
reg = <0x4b>;

synaptics,reset-gpio = <&msmgpio 60 0x00>;
synaptics,irq-gpio = <&msmgpio 61 0x2008>;
interrupt-parent = <&msmgpio>;
interrupts = <61 0x2008>;
reset-gpios = <&msmgpio 60 0x00>;
vdd-supply = <&pm8941_l22>;
vcc_i2c-supply = <&pm8941_l22>;
synaptics,display-coords = <0 0 1079 1919>;
};
};
Loading