Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
338d300
Enable LZ4 compression for ZRAM
OnlyCM Aug 11, 2015
2c9e40d
Enable LZ4 compression for ZRAM
OnlyCM Aug 11, 2015
9ef9616
Enable LZ4 compression for ZRAM
OnlyCM Aug 11, 2015
778a38c
Enable LZ4 compression for ZRAM
OnlyCM Aug 11, 2015
5eba02d
Enable LZ4 compression for ZRAM
OnlyCM Aug 11, 2015
3e23f84
add lge l70pds d290 support
OnlyCM Aug 12, 2015
3ced80b
add lge l70pds d290 support
OnlyCM Aug 12, 2015
402de01
add lge l70pds d290 support
OnlyCM Aug 12, 2015
0e061b2
add lge l70pd d290 support
OnlyCM Aug 12, 2015
43d6247
Delete msm8610-l70p-hdmi.dtsi
OnlyCM Aug 12, 2015
73a79b3
Delete msm8610-l70p.dtsi
OnlyCM Aug 12, 2015
7651dc5
add lge l70p d290 support
OnlyCM Aug 12, 2015
6e34647
add lge l70p d290 support
OnlyCM Aug 12, 2015
789d70c
add lge l70p d290 support
OnlyCM Aug 12, 2015
44930f0
add lge l70p d290 support
OnlyCM Aug 12, 2015
329aa97
add lge l70p d290 support
OnlyCM Aug 12, 2015
4e06d97
add lge l70p d290 support
OnlyCM Aug 12, 2015
a7312db
add lge l70p d290 support
OnlyCM Aug 12, 2015
d6ab435
add lge l70p d290 support
OnlyCM Aug 12, 2015
c1e9141
add lge l70p d290 support
OnlyCM Aug 12, 2015
1051c93
add lge l70p d290 support
OnlyCM Aug 12, 2015
d77e153
add lge l70p d290 support
OnlyCM Aug 12, 2015
815065b
add lge l70p d290 support
OnlyCM Aug 12, 2015
43b66d2
add lge l70pn d290n support
OnlyCM Aug 12, 2015
cb94c15
add lge l70pn d290n support
OnlyCM Aug 12, 2015
61a4b47
add lge l70pn d290n support
OnlyCM Aug 12, 2015
f137cef
add lge l70pn d290n support
OnlyCM Aug 12, 2015
a2f364b
add lge l70pn d290n support
OnlyCM Aug 12, 2015
b1bdc4d
add lge l70pn d290n support
OnlyCM Aug 12, 2015
4b4a2bc
add lge l70pn d290n support
OnlyCM Aug 12, 2015
626244d
add lge l70pn d290n support
OnlyCM Aug 12, 2015
228da2a
add lge l70pn d290n support
OnlyCM Aug 12, 2015
1139972
add lge l70pn d290n support
OnlyCM Aug 12, 2015
9e76c00
add lge l70pn d290n support
OnlyCM Aug 12, 2015
2081c48
add lge l70pn d290n support
OnlyCM Aug 12, 2015
358b8ed
add lge l70pds d295 support
OnlyCM Aug 12, 2015
32d8c3e
Delete msm8610-l70pds.dtsi
OnlyCM Aug 12, 2015
f111e41
add lge l70pds d295 support
OnlyCM Aug 12, 2015
39a86cf
add lge l70pds d295 support
OnlyCM Aug 12, 2015
47441ba
add lge l70pds d295 support
OnlyCM Aug 12, 2015
1842635
add lge l70pds d295 support
OnlyCM Aug 12, 2015
a76d00b
add lge l70pds d295 support
OnlyCM Aug 12, 2015
02e90a1
add lge l70pds d295 support
OnlyCM Aug 12, 2015
873ac8b
add lge l70pds d295 support
OnlyCM Aug 12, 2015
10aa930
add lge l70pds d295 support
OnlyCM Aug 12, 2015
19032f1
add lge l70pds d295 support
OnlyCM Aug 12, 2015
a9b92cd
add lge l70pds d295 support
OnlyCM Aug 12, 2015
030bbc9
add lge l70pds d295 support
OnlyCM Aug 12, 2015
9f4f0f2
update DT l70p l70pds
OnlyCM Aug 12, 2015
95e6cea
Delete msm8610-lge-panel.dtsi
OnlyCM Aug 12, 2015
1f6f48b
Add configuration l70p
OnlyCM Aug 12, 2015
981a5c3
pm: add LGE battery code
OnlyCM Aug 16, 2015
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
171 changes: 171 additions & 0 deletions arch/arm/boot/dts/msm8610-l70p_global_com/msm8610-l70p-camera.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
/*
* Copyright (c) 2013, 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.
*/

&soc {
i2c@0 {
led_flash0: qcom,led-flash@39 {
compatible = "qcom,led-flash";
status = "ok";
reg = <0x39>;
rt8542,lcd_bl_en = <&msmgpio 60 0x00>;
rt8542,max_current = <0x0C>;
rt8542,min_brightness = <0x04>;
rt8542,default_brightness = <0x66>;
rt8542,max_brightness = <0x7D>;
rt8542,enable_pwm = <0>;
rt8542,blmap_size = <127>;
rt8542,blmap = <
5 5 5 5 5 5 5 5 5 5 //9
5 5 5 6 6 6 6 6 6 6 //19
6 6 6 6 6 6 7 7 7 7 //29
7 7 7 8 8 8 8 9 9 9 //39
10 10 10 11 11 11 12 12 12 12 //49
13 13 14 14 14 14 15 15 15 16 //59
17 18 19 20 20 21 22 23 23 24 //69
24 25 25 25 26 26 26 27 27 27 //79
27 28 29 30 31 32 33 34 35 36 //89
37 38 38 39 40 41 42 43 44 45 //99
46 47 48 49 50 52 53 54 55 56 //109
57 58 59 60 61 63 64 65 67 68 //119
70 71 73 75 77 79 80>;

cell-index = <0>;
qcom,flash-name = "rt8542";
qcom,slave-id = <0x39 0x00 0x0011>;
qcom,flash-type = <1>;
qcom,gpio-no-mux = <0>;
gpios = <&msmgpio 18 0>;
qcom,gpio-flash-en = <0>;
qcom,gpio-req-tbl-num = <0>;
qcom,gpio-req-tbl-flags = <0>;
qcom,gpio-req-tbl-label = "FLASH_EN";

};
};
};

&i2c {

/* IMX219(8M) actuator */
/* because of alternative sensor module usages, Actuator address are 0x18s,
but somehow without CCI & Platform DD, It is impossible to share the same No. of address with other DT actuator nodes.
So, as a workaround, we add one by one on the address as no. of array goes on. 0x18, 0x19 and 0x1A which used to be 0x18, 0x18 and 0x18
This temporal address will be parsing in the msm_actuator_i2c_probe() of msm_actuator.c file.
youngwook.song@lge.com, 2014-02-20*/

actuator2: qcom,actuator_2@18 {
cell-index = <3>;//Use Af_main_2 of dw9718
reg = <0x18 0x0>;
compatible = "qcom,actuator";
};

/* Imx219(cowell) eeprom */
eeprom2: msm_eeprom_imx219@50 { //EEPROM READ
cell-index = <0>;
reg = <0x50 0x0>;
qcom,eeprom-name = "imx219_eeprom";
compatible = "msm_eeprom";
qcom,slave-addr = <0x50>;

qcom,num-blocks = <1>;
qcom,page0 = <0 0x0 2 0x0 1 20>; // valid size, addr, addr_t, data, data_t, delay
qcom,poll0 = <0 0x0 2 0x0 1 20>;
qcom,mem0 = <0x900 0x0000 2 0 1 0>; //EEPROM READ

cam_vio-supply = <&pm8110_l7>;
qcom,cam-vreg-name = "cam_vio";
qcom,cam-vreg-type = <0>;
qcom,cam-vreg-min-voltage = <1800000>;
qcom,cam-vreg-max-voltage = <1800000>;
qcom,cam-vreg-op-mode = <80000>;

qcom,cam-power-seq-type = "sensor_vreg";
qcom,cam-power-seq-val = "cam_vio";
qcom,cam-power-seq-cfg-val = <1>;
qcom,cam-power-seq-delay = <1>;
};

hi707: qcom,camera_rev_a@60 {
compatible = "qcom,hi707";
reg = <0x60>;
qcom,slave-id = <0x60 0x4 0xB8>;
qcom,csiphy-sd-index = <1>;
qcom,csid-sd-index = <1>;
qcom,mount-angle = <270>;
qcom,sensor-name = "hi707";
qcom,maker-gpio = <86>;

cam_vdig-supply = <&pm8110_l7>; /* Dummy VDIG Setting, We never use this LDO7 for DIG, youngwook.song@lge.com, 2013.08.26 */
cam_vio-supply = <&pm8110_l7>;
cam_vana-supply = <&pm8110_l7>; /* Dummy VANA Setting, We never use this LDO7 for DIG, youngwook.song@lge.com, 2013.08.26 */
qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana";
qcom,cam-vreg-type = <0 0 0>;
qcom,cam-vreg-min-voltage = <1300000 1800000 2850000>;
qcom,cam-vreg-max-voltage = <1300000 1800000 2850000>;
qcom,cam-vreg-op-mode = <200000 80000 80000>;
qcom,sensor-type = <1>;
qcom,gpio-no-mux = <0>;
gpios = <&msmgpio 14 0>,
<&msmgpio 15 0>, //VT_CAM_RESET_N, GPIO 15
<&msmgpio 67 0>, //VT_CAM_PWDN, GPIO=67
<&msmgpio 85 0>;
qcom,gpio-reset = <1>;
qcom,gpio-standby = <2>;
qcom,gpio-vana = <3>;
qcom,gpio-req-tbl-num = <0 1 2 3>;
qcom,gpio-req-tbl-flags = <1 0 0 0>;
qcom,gpio-req-tbl-label = "CAMIF_MCLK2", "CAM_RESET2", "CAM_STANDBY2", "MAIN_VANA_EN2";
qcom,csi-lane-assign = <0xe4>;
qcom,csi-lane-mask = <0x3>;
qcom,sensor-position = <1>;
qcom,sensor-mode = <1>;
status = "okay";
revision = "rev_a...";
};

imx219: qcom,camera_rev_a@34 {
compatible = "qcom,imx219";
reg = <0x34 0x0>;
qcom,slave-id = <0x34 0x0 0x219>;
qcom,csiphy-sd-index = <0>;
qcom,csid-sd-index = <0>;
qcom,actuator-src = <&actuator2>;
qcom,led-flash-src = <&led_flash0>;
qcom,eeprom-src = <&eeprom2>;
qcom,mount-angle = <90>;
qcom,sensor-name = "imx219";
cam_vdig-supply = <&pm8110_l7>; //CAM_DVDD_1V8_1V2
cam_vio-supply = <&pm8110_l7>;
cam_vana-supply = <&pm8110_l7>; /* Dummy VANA Setting, We never use this LDO7 for DIG, youngwook.song@lge.com, 2013.08.26 */
qcom,cam-vreg-name = "cam_vdig", "cam_vio";//, "cam_vana";
qcom,cam-vreg-type = <0 0>;
qcom,cam-vreg-min-voltage = <1200000 1800000 2850000>;
qcom,cam-vreg-max-voltage = <1200000 1800000 2850000>;
qcom,cam-vreg-op-mode = <200000 80000 80000>;
qcom,gpio-no-mux = <0>;
gpios = <&msmgpio 13 0>, //MAIN_CAM_MCLK
<&msmgpio 21 0>, //MAIN_RESET_N
<&msmgpio 85 0>; //CAM_AVDD_2V8, LDO1_EN=GPIO 62
qcom,gpio-reset = <1>;
qcom,gpio-vana = <2>; // =CAM_AVDD_2V8
qcom,gpio-req-tbl-num = <0 1 2>;
qcom,gpio-req-tbl-flags = <1 0 0>;
qcom,gpio-req-tbl-label = "CAMIF_MCLK", "CAM_RESET1", "MAIN_VANA_EN";
qcom,csi-lane-assign = <0xe4>;
qcom,csi-lane-mask = <0x07>;
qcom,sensor-position = <0>;
qcom,sensor-mode = <0>;
status = "okay";
revision = "rev_a...";
};
};
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/msm8610-l70p_global_com/msm8610-l70p-hdmi.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* Copyright (c) 2012, Code Aurora Forum. 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.
*/

/ {

};
120 changes: 120 additions & 0 deletions arch/arm/boot/dts/msm8610-l70p_global_com/msm8610-l70p-input.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
/* Copyright (c) 2012, Code Aurora Forum. 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.
*/
&soc {
i2c@f9923000{
lgd_mit200@34 {
revision = "rev_0...";
status = "disable";
};
lge_touch_incell@34 {
revision = "rev_0...rev_a";
status = "ok";
lge,auto_fw_update = <1>;
lge,product = "L0M45P2";
lge,fw_image = "melfas/mit200/l70p/L0M45P1_1_13.fw";
button_name = <158 139>;
lge,id-gpio = <&msmgpio 0 0x00>;
lge,id2-gpio = <&msmgpio 0 0x00>;
booting_delay = <10>;
reset_delay = <5>;
use_crack_mode = <0>;
active_area_gap = <24>;

/* Limitation Value. */
raw_data_max = <42125>;
raw_data_min = <11394>;
raw_data_margin = <1000>;
raw_data_otp_min = <15000>;
raw_data_otp_max = <39000>;
open_short_min = <10>;
slope_max = <110>;
slope_min = <90>;

/* panel status check */
openshort_enable = <1>;

/* platform_data->pwr*/
/* type 0: none(default) */
/* 1: gpio */
/* 2: regulator */
/* name if type == 1, gpio active condition "low" or "high" */
/* if type == 2, sypply name for regulator */
/* value if type == 1, gpio pin no. */
/* if type == 2, regulator voltage */
vdd_type0 = <1>;
vdd_name0 = "high";
vdd_value0 = <82>;
vdd-supply = <0>;
vdd_type1 = <2>;
vdd_name1 = "vdd_io";
vdd_value1 = <1800000>;
vdd_io-supply = <&pm8110_l8>;

//vdd_type2 = <2>;
//vdd_name2 = "vio_int";
//vdd_value2 = <1800000>;
//vio_int-supply = <&pm8110_l8>;
};
lge_touch_incell_rev_b@34 {
revision = "rev_b...";
status = "ok";
lge,auto_fw_update = <1>;
lge,product = "L0M45P2";
lge,fw_image = "melfas/mit200/l70p/L0M45P1_1_13.fw";
button_name = <158 139>;
lge,id-gpio = <&msmgpio 0 0x00>;
lge,id2-gpio = <&msmgpio 0 0x00>;
booting_delay = <10>;
reset_delay = <5>;
use_crack_mode = <0>;
active_area_gap = <24>;

/* Limitation Value. */
raw_data_max = <42125>;
raw_data_min = <11394>;
raw_data_margin = <1000>;
raw_data_otp_min = <15000>;
raw_data_otp_max = <39000>;
open_short_min = <10>;
slope_max = <110>;
slope_min = <90>;

/* panel status check */
openshort_enable = <1>;

/* platform_data->pwr*/
/* type 0: none(default) */
/* 1: gpio */
/* 2: regulator */
/* name if type == 1, gpio active condition "low" or "high" */
/* if type == 2, sypply name for regulator */
/* value if type == 1, gpio pin no. */
/* if type == 2, regulator voltage */
vdd_type0 = <1>;
vdd_name0 = "high";
vdd_value0 = <76>;
vdd-supply = <0>;
vdd_type1 = <1>;
vdd_name1 = "high";
vdd_value1 = <82>;
vdd-supply = <0>;
//vdd_type1 = <2>;
//vdd_name1 = "vdd_io";
//vdd_value1 = <1800000>;
//vdd_io-supply = <&pm8110_l8>;
//vdd_type2 = <2>;
//vdd_name2 = "vio_int";
//vdd_value2 = <1800000>;
//vio_int-supply = <&pm8110_l8>;
};
};
};
54 changes: 54 additions & 0 deletions arch/arm/boot/dts/msm8610-l70p_global_com/msm8610-l70p-misc.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/* Copyright (c) 2012, Code Aurora Forum. 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.
*/

&soc {
earjack-debugger {
status = "disable";
};

i2c@0 {
rt8542@39 {
status = "ok";
rt8542,max_current = <0x0C>; /* 12.1mA */
rt8542,max_brightness = <105>; /* 105 */
rt8542,blmap = <
10 10 12 12 12 14 14 16 16 18
18 19 19 20 20 22 22 22 24 24
26 26 28 28 29 29 30 30 32 32
32 34 34 36 36 38 38 39 39 40
40 42 42 42 44 44 46 46 48 48
49 49 50 50 52 52 52 54 54 56
56 58 58 59 59 60 60 62 62 62
64 64 66 66 68 68 69 69 70 70
72 72 72 74 74 76 76 78 78 79
79 80 80 82 82 82 84 84 86 86
88 88 89 89 90 90 92 92 92 94
94 96 96 96 98 98 99 99 100 100
102 102 104 104 105 105 105>;
};
lp5521@32{
status = "no";
revision = "rev_a...";
ti,led_en = <&msmgpio 6 0x0>;
ti,i2c-pull-up = <1>;
ti,vddio_i2c-supply = <&pm8110_l14>;
ti,vddio_i2c_supply_min = <1800000>;
ti,vddio_i2c_supply_max = <1800000>;
ti,vddio_i2c_load_ua = <10000>;

};
};

hall-bu52061nvx {
status = "ok";
};
};
Loading