Merge "ARM: dts: msm: Add support for ov9282 dual camera support"
This commit is contained in:
commit
14cda0001f
7 changed files with 4305 additions and 0 deletions
|
@ -169,6 +169,9 @@ Generic board variants:
|
||||||
- RUMI device:
|
- RUMI device:
|
||||||
compatible = "qcom,rumi"
|
compatible = "qcom,rumi"
|
||||||
|
|
||||||
|
- SVR device:
|
||||||
|
compatible = "qcom,svr"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Boards (SoC type + board variant):
|
Boards (SoC type + board variant):
|
||||||
|
@ -202,6 +205,7 @@ compatible = "qcom,apqtitanium-mtp"
|
||||||
compatible = "qcom,apq8098-cdp"
|
compatible = "qcom,apq8098-cdp"
|
||||||
compatible = "qcom,apq8098-mtp"
|
compatible = "qcom,apq8098-mtp"
|
||||||
compatible = "qcom,apq8098-qrd"
|
compatible = "qcom,apq8098-qrd"
|
||||||
|
compatible = "qcom,apq8098-svr"
|
||||||
compatible = "qcom,mdm9630-cdp"
|
compatible = "qcom,mdm9630-cdp"
|
||||||
compatible = "qcom,mdm9630-mtp"
|
compatible = "qcom,mdm9630-mtp"
|
||||||
compatible = "qcom,mdm9630-sim"
|
compatible = "qcom,mdm9630-sim"
|
||||||
|
|
|
@ -168,6 +168,7 @@ dtb-$(CONFIG_ARCH_MSM8998) += msm8998-sim.dtb \
|
||||||
apq8098-v2.1-cdp.dtb \
|
apq8098-v2.1-cdp.dtb \
|
||||||
apq8098-v2.1-qrd.dtb \
|
apq8098-v2.1-qrd.dtb \
|
||||||
apq8098-v2.1-mediabox.dtb \
|
apq8098-v2.1-mediabox.dtb \
|
||||||
|
apq8098-v2.1-svr20.dtb \
|
||||||
msm8998-v2.1-interposer-sdm660-cdp.dtb \
|
msm8998-v2.1-interposer-sdm660-cdp.dtb \
|
||||||
msm8998-v2.1-interposer-sdm660-mtp.dtb \
|
msm8998-v2.1-interposer-sdm660-mtp.dtb \
|
||||||
msm8998-v2.1-interposer-sdm660-qrd.dtb \
|
msm8998-v2.1-interposer-sdm660-qrd.dtb \
|
||||||
|
|
22
arch/arm/boot/dts/qcom/apq8098-v2.1-svr20.dts
Normal file
22
arch/arm/boot/dts/qcom/apq8098-v2.1-svr20.dts
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/* Copyright (c) 2016-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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/dts-v1/;
|
||||||
|
|
||||||
|
#include "apq8098-v2.1.dtsi"
|
||||||
|
#include "msm8998-svr20.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
model = "Qualcomm Technologies, Inc. APQ 8098 V2.1 SVR V2.0 Board";
|
||||||
|
compatible = "qcom,apq8098-svr", "qcom,apq8098", "qcom,svr";
|
||||||
|
qcom,board-id = <0x03020008 3>;
|
||||||
|
};
|
|
@ -0,0 +1,84 @@
|
||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
qcom,svr835v2_3200mah {
|
||||||
|
/*3003021_TC_MLP603170_3200mAh_averaged_MasterSlave_Jun292017*/
|
||||||
|
qcom, = <24>;
|
||||||
|
qcom,max-voltage-uv = <4200000>;
|
||||||
|
qcom,fg-cc-cv-threshold-mv = <4190>;
|
||||||
|
qcom,fastchg-current-ma = <3200>;
|
||||||
|
qcom,nom-batt-capacity-mah = <3200>;
|
||||||
|
qcom,batt-id-kohm = <0>;
|
||||||
|
qcom,battery-beta = <3435>;
|
||||||
|
qcom,battery-type = "svr835v2_3200mah";
|
||||||
|
qcom,checksum = <0xB7B0>;
|
||||||
|
qcom,gui-version = "PMI8998GUI - 2.0.0.58";
|
||||||
|
qcom,fg-profile-data = [
|
||||||
|
87 16 AB 0B
|
||||||
|
BE 15 3A 0A
|
||||||
|
8B 1C 6D 02
|
||||||
|
76 0D 1F 0A
|
||||||
|
50 18 ED 22
|
||||||
|
98 45 CA 52
|
||||||
|
83 00 00 00
|
||||||
|
0D 00 00 00
|
||||||
|
00 00 37 B4
|
||||||
|
78 C5 9D BA
|
||||||
|
29 00 08 00
|
||||||
|
3E CA 11 E5
|
||||||
|
D4 06 B7 EA
|
||||||
|
51 07 0F 02
|
||||||
|
82 DD 22 3B
|
||||||
|
1C 06 09 20
|
||||||
|
27 00 14 00
|
||||||
|
1C 19 82 0A
|
||||||
|
E9 0C 49 03
|
||||||
|
84 1C 5C 03
|
||||||
|
D0 15 0D 12
|
||||||
|
91 19 0C 22
|
||||||
|
F0 3C 35 4B
|
||||||
|
7D 00 00 00
|
||||||
|
12 00 00 00
|
||||||
|
00 00 F3 D4
|
||||||
|
9F B4 AF D3
|
||||||
|
22 00 00 00
|
||||||
|
CC EA 11 E5
|
||||||
|
2D F4 35 E3
|
||||||
|
A5 F3 49 0B
|
||||||
|
8F EA 5A 1A
|
||||||
|
9B 33 CC FF
|
||||||
|
07 10 00 00
|
||||||
|
21 0D 33 43
|
||||||
|
22 00 40 00
|
||||||
|
07 01 0A FA
|
||||||
|
FF 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
00 00 00 00
|
||||||
|
];
|
||||||
|
};
|
399
arch/arm/boot/dts/qcom/msm8998-camera-sensor-svr20.dtsi
Normal file
399
arch/arm/boot/dts/qcom/msm8998-camera-sensor-svr20.dtsi
Normal file
|
@ -0,0 +1,399 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2016-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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
led_flash0: qcom,camera-flash@0 {
|
||||||
|
cell-index = <0>;
|
||||||
|
compatible = "qcom,camera-flash";
|
||||||
|
qcom,flash-source = <&pmi8998_flash0 &pmi8998_flash1>;
|
||||||
|
qcom,torch-source = <&pmi8998_torch0 &pmi8998_torch1>;
|
||||||
|
qcom,switch-source = <&pmi8998_switch0>;
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
led_flash1: qcom,camera-flash@1 {
|
||||||
|
cell-index = <1>;
|
||||||
|
compatible = "qcom,camera-flash";
|
||||||
|
qcom,flash-source = <&pmi8998_flash2>;
|
||||||
|
qcom,torch-source = <&pmi8998_torch2>;
|
||||||
|
qcom,switch-source = <&pmi8998_switch1>;
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&cci {
|
||||||
|
actuator0: qcom,actuator@0 {
|
||||||
|
cell-index = <0>;
|
||||||
|
reg = <0x0>;
|
||||||
|
compatible = "qcom,actuator";
|
||||||
|
qcom,cci-master = <0>;
|
||||||
|
gpios = <&tlmm 27 0>;
|
||||||
|
qcom,gpio-vaf = <0>;
|
||||||
|
qcom,gpio-req-tbl-num = <0>;
|
||||||
|
qcom,gpio-req-tbl-flags = <0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAM_VAF";
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_actuator_vaf_active>;
|
||||||
|
pinctrl-1 = <&cam_actuator_vaf_suspend>;
|
||||||
|
};
|
||||||
|
|
||||||
|
actuator1: qcom,actuator@1 {
|
||||||
|
cell-index = <1>;
|
||||||
|
reg = <0x1>;
|
||||||
|
compatible = "qcom,actuator";
|
||||||
|
qcom,cci-master = <1>;
|
||||||
|
gpios = <&tlmm 27 0>;
|
||||||
|
qcom,gpio-vaf = <0>;
|
||||||
|
qcom,gpio-req-tbl-num = <0>;
|
||||||
|
qcom,gpio-req-tbl-flags = <0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAM_VAF";
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_actuator_vaf_active>;
|
||||||
|
pinctrl-1 = <&cam_actuator_vaf_suspend>;
|
||||||
|
};
|
||||||
|
|
||||||
|
ois0: qcom,ois@0 {
|
||||||
|
cell-index = <0>;
|
||||||
|
reg = <0x0>;
|
||||||
|
compatible = "qcom,ois";
|
||||||
|
qcom,cci-master = <0>;
|
||||||
|
gpios = <&tlmm 27 0>;
|
||||||
|
qcom,gpio-vaf = <0>;
|
||||||
|
qcom,gpio-req-tbl-num = <0>;
|
||||||
|
qcom,gpio-req-tbl-flags = <0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAM_VAF";
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_actuator_vaf_active>;
|
||||||
|
pinctrl-1 = <&cam_actuator_vaf_suspend>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
|
||||||
|
eeprom0: qcom,eeprom@0 {
|
||||||
|
cell-index = <0>;
|
||||||
|
reg = <0>;
|
||||||
|
compatible = "qcom,eeprom";
|
||||||
|
cam_vio-supply = <&pm8998_lvs1>;
|
||||||
|
cam_vana-supply = <&pmi8998_bob>;
|
||||||
|
cam_vdig-supply = <&pm8998_s3>;
|
||||||
|
qcom,cam-vreg-name = "cam_vio", "cam_vana", "cam_vdig";
|
||||||
|
qcom,cam-vreg-min-voltage = <0 3312000 1352000>;
|
||||||
|
qcom,cam-vreg-max-voltage = <0 3600000 1352000>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 80000 105000>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk0_active
|
||||||
|
&cam_sensor_rear_active
|
||||||
|
&cam_actuator_vaf_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk0_suspend
|
||||||
|
&cam_sensor_rear_suspend
|
||||||
|
&cam_actuator_vaf_suspend>;
|
||||||
|
gpios = <&tlmm 13 0>,
|
||||||
|
<&tlmm 30 0>,
|
||||||
|
<&pm8998_gpios 20 0>,
|
||||||
|
<&tlmm 29 0>,
|
||||||
|
<&tlmm 27 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vdig = <2>;
|
||||||
|
qcom,gpio-vana = <3>;
|
||||||
|
qcom,gpio-vaf = <4>;
|
||||||
|
qcom,gpio-req-tbl-num = <0 1 2 3 4>;
|
||||||
|
qcom,gpio-req-tbl-flags = <1 0 0 0 0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAMIF_MCLK0",
|
||||||
|
"CAM_RESET0",
|
||||||
|
"CAM_VDIG",
|
||||||
|
"CAM_VANA",
|
||||||
|
"CAM_VAF";
|
||||||
|
qcom,sensor-position = <0>;
|
||||||
|
qcom,sensor-mode = <0>;
|
||||||
|
qcom,cci-master = <0>;
|
||||||
|
status = "ok";
|
||||||
|
clocks = <&clock_mmss clk_mclk0_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk0_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
eeprom1: qcom,eeprom@1 {
|
||||||
|
cell-index = <1>;
|
||||||
|
reg = <0x1>;
|
||||||
|
compatible = "qcom,eeprom";
|
||||||
|
cam_vdig-supply = <&pm8998_lvs1>;
|
||||||
|
cam_vio-supply = <&pm8998_lvs1>;
|
||||||
|
cam_vana-supply = <&pmi8998_bob>;
|
||||||
|
qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana";
|
||||||
|
qcom,cam-vreg-min-voltage = <0 0 3312000>;
|
||||||
|
qcom,cam-vreg-max-voltage = <0 0 3600000>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 0 80000>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk2_active
|
||||||
|
&cam_sensor_rear2_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk2_suspend
|
||||||
|
&cam_sensor_rear2_suspend>;
|
||||||
|
gpios = <&tlmm 15 0>,
|
||||||
|
<&tlmm 9 0>,
|
||||||
|
<&tlmm 8 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vana = <2>;
|
||||||
|
qcom,gpio-req-tbl-num = <0 1 2>;
|
||||||
|
qcom,gpio-req-tbl-flags = <1 0 0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAMIF_MCLK1",
|
||||||
|
"CAM_RESET1",
|
||||||
|
"CAM_VANA1";
|
||||||
|
qcom,sensor-position = <0>;
|
||||||
|
qcom,sensor-mode = <0>;
|
||||||
|
qcom,cci-master = <1>;
|
||||||
|
status = "ok";
|
||||||
|
clocks = <&clock_mmss clk_mclk2_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk2_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
eeprom2: qcom,eeprom@2 {
|
||||||
|
cell-index = <2>;
|
||||||
|
reg = <0x2>;
|
||||||
|
compatible = "qcom,eeprom";
|
||||||
|
cam_vio-supply = <&pm8998_lvs1>;
|
||||||
|
/*cam_vana-supply = <&pm8998_l22>;*/
|
||||||
|
cam_vdig-supply = <&pm8998_s3>;
|
||||||
|
qcom,cam-vreg-name = "cam_vio", "cam_vana", "cam_vdig";
|
||||||
|
qcom,cam-vreg-min-voltage =
|
||||||
|
<0 2864000 1352000>;
|
||||||
|
qcom,cam-vreg-max-voltage =
|
||||||
|
<0 2864000 1352000>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 80000 105000>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk1_active
|
||||||
|
&cam_sensor_front_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk1_suspend
|
||||||
|
&cam_sensor_front_suspend>;
|
||||||
|
gpios = <&tlmm 14 0>,
|
||||||
|
<&tlmm 28 0>,
|
||||||
|
<&pm8998_gpios 9 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vdig = <2>;
|
||||||
|
qcom,gpio-req-tbl-num = <0 1 2>;
|
||||||
|
qcom,gpio-req-tbl-flags = <1 0 0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAMIF_MCLK2",
|
||||||
|
"CAM_RESET2",
|
||||||
|
"CAM_VDIG";
|
||||||
|
qcom,sensor-position = <1>;
|
||||||
|
qcom,sensor-mode = <0>;
|
||||||
|
qcom,cci-master = <1>;
|
||||||
|
status = "ok";
|
||||||
|
clocks = <&clock_mmss clk_mclk1_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk1_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,camera@0 {
|
||||||
|
cell-index = <0>;
|
||||||
|
compatible = "qcom,camera";
|
||||||
|
reg = <0x0>;
|
||||||
|
qcom,csiphy-sd-index = <0>;
|
||||||
|
qcom,csid-sd-index = <0>;
|
||||||
|
qcom,mount-angle = <270>;
|
||||||
|
cam_vio-supply = <&pm8998_l8>;
|
||||||
|
cam_vana-supply = <&pmi8998_bob>;
|
||||||
|
cam_vdig-supply = <&pm8998_l9>;
|
||||||
|
cam_v_custom1-supply = <&pm8998_lvs1>;
|
||||||
|
qcom,cam-vreg-name = "cam_vdig", "cam_vana",
|
||||||
|
"cam_vio", "cam_v_custom1";
|
||||||
|
qcom,cam-vreg-min-voltage = <1808000 3312000 1200000 0>;
|
||||||
|
qcom,cam-vreg-max-voltage = <2960000 3600000 1200000 0>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 80000 105000 0>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk0_active
|
||||||
|
&cam_sensor_6dofl_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk0_suspend
|
||||||
|
&cam_sensor_6dofl_suspend>;
|
||||||
|
gpios = <&tlmm 13 0>,
|
||||||
|
<&tlmm 148 0>,
|
||||||
|
<&tlmm 93 0>,
|
||||||
|
<&tlmm 52 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vana = <2>;
|
||||||
|
qcom,gpio-vdig = <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_MCLK0",
|
||||||
|
"CAM_RESET0",
|
||||||
|
"CAM_VANA",
|
||||||
|
"CAM_VDIG";
|
||||||
|
qcom,sensor-position = <0>;
|
||||||
|
qcom,sensor-mode = <1>;
|
||||||
|
qcom,cci-master = <0>;
|
||||||
|
status = "ok";
|
||||||
|
clocks = <&clock_mmss clk_mclk0_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk0_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,camera@1 {
|
||||||
|
cell-index = <1>;
|
||||||
|
compatible = "qcom,camera";
|
||||||
|
reg = <0x1>;
|
||||||
|
qcom,csiphy-sd-index = <1>;
|
||||||
|
qcom,csid-sd-index = <1>;
|
||||||
|
qcom,mount-angle = <90>;
|
||||||
|
qcom,eeprom-src = <&eeprom1>;
|
||||||
|
qcom,actuator-src = <&actuator1>;
|
||||||
|
cam_vdig-supply = <&pm8998_lvs1>;
|
||||||
|
cam_vio-supply = <&pm8998_lvs1>;
|
||||||
|
cam_vana-supply = <&pmi8998_bob>;
|
||||||
|
qcom,cam-vreg-name = "cam_vdig", "cam_vio", "cam_vana";
|
||||||
|
qcom,cam-vreg-min-voltage = <0 0 3312000>;
|
||||||
|
qcom,cam-vreg-max-voltage = <0 0 3600000>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 0 80000>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk2_active
|
||||||
|
&cam_sensor_rear2_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk2_suspend
|
||||||
|
&cam_sensor_rear2_suspend>;
|
||||||
|
gpios = <&tlmm 15 0>,
|
||||||
|
<&tlmm 9 0>,
|
||||||
|
<&tlmm 8 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vana = <2>;
|
||||||
|
qcom,gpio-req-tbl-num = <0 1 2>;
|
||||||
|
qcom,gpio-req-tbl-flags = <1 0 0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAMIF_MCLK1",
|
||||||
|
"CAM_RESET1",
|
||||||
|
"CAM_VANA1";
|
||||||
|
qcom,sensor-position = <0>;
|
||||||
|
qcom,sensor-mode = <0>;
|
||||||
|
qcom,cci-master = <1>;
|
||||||
|
status = "ok";
|
||||||
|
clocks = <&clock_mmss clk_mclk2_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk2_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
qcom,camera@2 {
|
||||||
|
cell-index = <2>;
|
||||||
|
compatible = "qcom,camera";
|
||||||
|
reg = <0x02>;
|
||||||
|
qcom,csiphy-sd-index = <2>;
|
||||||
|
qcom,csid-sd-index = <2>;
|
||||||
|
qcom,mount-angle = <90>;
|
||||||
|
qcom,eeprom-src = <&eeprom2>;
|
||||||
|
qcom,led-flash-src = <&led_flash1>;
|
||||||
|
qcom,actuator-src = <&actuator1>;
|
||||||
|
cam_vio-supply = <&pm8998_lvs1>;
|
||||||
|
cam_vana-supply = <&pmi8998_bob>;
|
||||||
|
cam_vdig-supply = <&pm8998_s3>;
|
||||||
|
qcom,cam-vreg-name = "cam_vio", "cam_vana", "cam_vdig";
|
||||||
|
qcom,cam-vreg-min-voltage =
|
||||||
|
<0 3312000 1352000>;
|
||||||
|
qcom,cam-vreg-max-voltage =
|
||||||
|
<0 3600000 1352000>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 80000 105000>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk1_active
|
||||||
|
&cam_sensor_front_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk1_suspend
|
||||||
|
&cam_sensor_front_suspend>;
|
||||||
|
gpios = <&tlmm 14 0>,
|
||||||
|
<&tlmm 28 0>,
|
||||||
|
<&pm8998_gpios 9 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vdig = <2>;
|
||||||
|
qcom,gpio-req-tbl-num = <0 1 2>;
|
||||||
|
qcom,gpio-req-tbl-flags = <1 0 0>;
|
||||||
|
qcom,gpio-req-tbl-label = "CAMIF_MCLK2",
|
||||||
|
"CAM_RESET2",
|
||||||
|
"CAM_VDIG";
|
||||||
|
qcom,sensor-position = <1>;
|
||||||
|
qcom,sensor-mode = <0>;
|
||||||
|
qcom,cci-master = <1>;
|
||||||
|
status = "disabled";
|
||||||
|
clocks = <&clock_mmss clk_mclk1_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk1_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
qcom,camera@3 {
|
||||||
|
cell-index = <3>;
|
||||||
|
compatible = "qcom,camera";
|
||||||
|
reg = <0x3>;
|
||||||
|
qcom,csiphy-sd-index = <0>;
|
||||||
|
qcom,csid-sd-index = <0>;
|
||||||
|
qcom,mount-angle = <270>;
|
||||||
|
cam_vio-supply = <&pm8998_l8>;
|
||||||
|
cam_vana-supply = <&pmi8998_bob>;
|
||||||
|
cam_vdig-supply = <&pm8998_l9>;
|
||||||
|
cam_v_custom1-supply = <&pm8998_lvs1>;
|
||||||
|
qcom,cam-vreg-name = "cam_vdig", "cam_vana",
|
||||||
|
"cam_vio", "cam_v_custom1";
|
||||||
|
qcom,cam-vreg-min-voltage = <1808000 3312000 1200000 0>;
|
||||||
|
qcom,cam-vreg-max-voltage = <2960000 3600000 1200000 0>;
|
||||||
|
qcom,cam-vreg-op-mode = <0 80000 105000 0>;
|
||||||
|
qcom,gpio-no-mux = <0>;
|
||||||
|
pinctrl-names = "cam_default", "cam_suspend";
|
||||||
|
pinctrl-0 = <&cam_sensor_mclk0_active
|
||||||
|
&cam_sensor_6dofr_active>;
|
||||||
|
pinctrl-1 = <&cam_sensor_mclk0_suspend
|
||||||
|
&cam_sensor_6dofr_suspend>;
|
||||||
|
gpios = <&tlmm 13 0>,
|
||||||
|
<&tlmm 149 0>,
|
||||||
|
<&tlmm 93 0>,
|
||||||
|
<&tlmm 52 0>;
|
||||||
|
qcom,gpio-reset = <1>;
|
||||||
|
qcom,gpio-vana = <2>;
|
||||||
|
qcom,gpio-vdig = <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_MCLK0",
|
||||||
|
"CAM_RESET1",
|
||||||
|
"CAM_VANA1",
|
||||||
|
"CAM_VDIG1";
|
||||||
|
qcom,sensor-position = <1>;
|
||||||
|
qcom,sensor-mode = <1>;
|
||||||
|
qcom,cci-master = <0>;
|
||||||
|
status = "ok";
|
||||||
|
clocks = <&clock_mmss clk_mclk0_clk_src>,
|
||||||
|
<&clock_mmss clk_mmss_camss_mclk0_clk>;
|
||||||
|
clock-names = "cam_src_clk", "cam_clk";
|
||||||
|
qcom,clock-rates = <24000000 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
&pm8998_gpios {
|
||||||
|
gpio@c800 { /* GPIO 9 - CAMERA SENSOR 2 VDIG */
|
||||||
|
qcom,mode = <1>; /* Output */
|
||||||
|
qcom,pull = <5>; /* No Pull */
|
||||||
|
qcom,vin-sel = <0>; /* VIN1 GPIO_LV */
|
||||||
|
qcom,src-sel = <0>; /* GPIO */
|
||||||
|
qcom,invert = <0>; /* Invert */
|
||||||
|
qcom,master-en = <1>; /* Enable GPIO */
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio@d300 { /* GPIO 20 - CAMERA SENSOR 0 VDIG */
|
||||||
|
qcom,mode = <1>; /* Output */
|
||||||
|
qcom,pull = <5>; /* No Pull */
|
||||||
|
qcom,vin-sel = <1>; /* VIN1 GPIO_MV */
|
||||||
|
qcom,src-sel = <0>; /* GPIO */
|
||||||
|
qcom,invert = <0>; /* Invert */
|
||||||
|
qcom,master-en = <1>; /* Enable GPIO */
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
};
|
3386
arch/arm/boot/dts/qcom/msm8998-svr20-pinctrl.dtsi
Normal file
3386
arch/arm/boot/dts/qcom/msm8998-svr20-pinctrl.dtsi
Normal file
File diff suppressed because it is too large
Load diff
409
arch/arm/boot/dts/qcom/msm8998-svr20.dtsi
Normal file
409
arch/arm/boot/dts/qcom/msm8998-svr20.dtsi
Normal file
|
@ -0,0 +1,409 @@
|
||||||
|
/* Copyright (c) 2016-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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
|
#include "msm8998-svr20-pinctrl.dtsi"
|
||||||
|
#include "msm8998-camera-sensor-svr20.dtsi"
|
||||||
|
&vendor {
|
||||||
|
bluetooth: bt_wcn3990 {
|
||||||
|
compatible = "qca,wcn3990";
|
||||||
|
qca,bt-vdd-io-supply = <&pm8998_s3>;
|
||||||
|
qca,bt-vdd-xtal-supply = <&pm8998_s5>;
|
||||||
|
qca,bt-vdd-core-supply = <&pm8998_l7>;
|
||||||
|
qca,bt-vdd-pa-supply = <&pm8998_l17>;
|
||||||
|
qca,bt-vdd-ldo-supply = <&pm8998_l25>;
|
||||||
|
qca,bt-chip-pwd-supply = <&pmi8998_bob_pin1>;
|
||||||
|
clocks = <&clock_gcc clk_rf_clk2_pin>;
|
||||||
|
clock-names = "rf_clk2";
|
||||||
|
|
||||||
|
qca,bt-vdd-io-voltage-level = <1352000 1352000>;
|
||||||
|
qca,bt-vdd-xtal-voltage-level = <2040000 2040000>;
|
||||||
|
qca,bt-vdd-core-voltage-level = <1800000 1800000>;
|
||||||
|
qca,bt-vdd-pa-voltage-level = <1304000 1304000>;
|
||||||
|
qca,bt-vdd-ldo-voltage-level = <3312000 3312000>;
|
||||||
|
qca,bt-chip-pwd-voltage-level = <3600000 3600000>;
|
||||||
|
|
||||||
|
qca,bt-vdd-io-current-level = <1>; /* LPM/PFM */
|
||||||
|
qca,bt-vdd-xtal-current-level = <1>; /* LPM/PFM */
|
||||||
|
qca,bt-vdd-core-current-level = <1>; /* LPM/PFM */
|
||||||
|
qca,bt-vdd-pa-current-level = <1>; /* LPM/PFM */
|
||||||
|
qca,bt-vdd-ldo-current-level = <1>; /* LPM/PFM */
|
||||||
|
};
|
||||||
|
svr20_batterydata: qcom,battery-data {
|
||||||
|
qcom,batt-id-range-pct = <25>;
|
||||||
|
#include "fg-gen3-batterydata-svr-v2-3200mah.dtsi"
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&blue_led {
|
||||||
|
qcom,default-state = "on";
|
||||||
|
linux,default-trigger = "system-running";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pmi8998_charger {
|
||||||
|
qcom,fcc-max-ua = <5000000>;
|
||||||
|
qcom,usb-icl-ua = <3000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&blsp1_uart3_hs {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ufsphy1 {
|
||||||
|
vdda-phy-supply = <&pm8998_l1>;
|
||||||
|
vdda-pll-supply = <&pm8998_l2>;
|
||||||
|
vddp-ref-clk-supply = <&pm8998_l26>;
|
||||||
|
vdda-phy-max-microamp = <51400>;
|
||||||
|
vdda-pll-max-microamp = <14600>;
|
||||||
|
vddp-ref-clk-max-microamp = <100>;
|
||||||
|
vddp-ref-clk-always-on;
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ufs1 {
|
||||||
|
vdd-hba-supply = <&gdsc_ufs>;
|
||||||
|
vdd-hba-fixed-regulator;
|
||||||
|
vcc-supply = <&pm8998_l20>;
|
||||||
|
vccq-supply = <&pm8998_l26>;
|
||||||
|
vccq2-supply = <&pm8998_s4>;
|
||||||
|
vcc-max-microamp = <750000>;
|
||||||
|
vccq-max-microamp = <560000>;
|
||||||
|
vccq2-max-microamp = <750000>;
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ufs_ice {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sdhc_2 {
|
||||||
|
vdd-supply = <&pm8998_l21>;
|
||||||
|
qcom,vdd-voltage-level = <2950000 2960000>;
|
||||||
|
qcom,vdd-current-level = <200 800000>;
|
||||||
|
|
||||||
|
vdd-io-supply = <&pm8998_l13>;
|
||||||
|
qcom,vdd-io-voltage-level = <1808000 2960000>;
|
||||||
|
qcom,vdd-io-current-level = <200 22000>;
|
||||||
|
|
||||||
|
pinctrl-names = "active", "sleep";
|
||||||
|
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
|
||||||
|
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
|
||||||
|
|
||||||
|
qcom,clk-rates = <400000 20000000 25000000
|
||||||
|
50000000 100000000 200000000>;
|
||||||
|
qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104";
|
||||||
|
|
||||||
|
cd-gpios = <&tlmm 95 0x1>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&uartblsp2dm1 {
|
||||||
|
status = "ok";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&uart_console_active>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&pm8998_gpios {
|
||||||
|
/* GPIO 5 for Home Key */
|
||||||
|
gpio@c400 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <0>;
|
||||||
|
qcom,pull = <0>;
|
||||||
|
qcom,vin-sel = <0>;
|
||||||
|
qcom,src-sel = <0>;
|
||||||
|
qcom,out-strength = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* GPIO 6 for Vol+ Key */
|
||||||
|
gpio@c500 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <0>;
|
||||||
|
qcom,pull = <0>;
|
||||||
|
qcom,vin-sel = <0>;
|
||||||
|
qcom,src-sel = <0>;
|
||||||
|
qcom,out-strength = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* GPIO 7 for Snapshot Key */
|
||||||
|
gpio@c600 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <0>;
|
||||||
|
qcom,pull = <0>;
|
||||||
|
qcom,vin-sel = <0>;
|
||||||
|
qcom,src-sel = <0>;
|
||||||
|
qcom,out-strength = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* GPIO 8 for Focus Key */
|
||||||
|
gpio@c700 {
|
||||||
|
status = "okay";
|
||||||
|
qcom,mode = <0>;
|
||||||
|
qcom,pull = <0>;
|
||||||
|
qcom,vin-sel = <0>;
|
||||||
|
qcom,src-sel = <0>;
|
||||||
|
qcom,out-strength = <1>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio@cc00 { /* GPIO 13 */
|
||||||
|
qcom,mode = <1>;
|
||||||
|
qcom,output-type = <0>;
|
||||||
|
qcom,pull = <5>;
|
||||||
|
qcom,vin-sel = <0>;
|
||||||
|
qcom,out-strength = <1>;
|
||||||
|
qcom,src-sel = <3>;
|
||||||
|
qcom,master-en = <1>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
/* GPIO 21 (NFC_CLK_REQ) */
|
||||||
|
gpio@d400 {
|
||||||
|
qcom,mode = <0>;
|
||||||
|
qcom,vin-sel = <1>;
|
||||||
|
qcom,src-sel = <0>;
|
||||||
|
qcom,master-en = <1>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
/* GPIO 18 SMB138X */
|
||||||
|
gpio@d100 {
|
||||||
|
qcom,mode = <0>;
|
||||||
|
qcom,pull = <0>;
|
||||||
|
qcom,vin-sel = <0>;
|
||||||
|
qcom,src-sel = <0>;
|
||||||
|
qcom,master-en = <1>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&i2c_5 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&i2c_6 { /* BLSP1 QUP6 (NFC) */
|
||||||
|
status = "okay";
|
||||||
|
nq@28 {
|
||||||
|
compatible = "qcom,nq-nci";
|
||||||
|
reg = <0x28>;
|
||||||
|
qcom,nq-irq = <&tlmm 92 0x00>;
|
||||||
|
qcom,nq-ven = <&tlmm 12 0x00>;
|
||||||
|
qcom,nq-firm = <&tlmm 93 0x00>;
|
||||||
|
qcom,nq-clkreq = <&pm8998_gpios 21 0x00>;
|
||||||
|
qcom,nq-esepwr = <&tlmm 116 0x00>;
|
||||||
|
interrupt-parent = <&tlmm>;
|
||||||
|
qcom,clk-src = "BBCLK3";
|
||||||
|
interrupts = <92 0>;
|
||||||
|
interrupt-names = "nfc_irq";
|
||||||
|
pinctrl-names = "nfc_active", "nfc_suspend";
|
||||||
|
pinctrl-0 = <&nfc_int_active &nfc_enable_active>;
|
||||||
|
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend>;
|
||||||
|
clocks = <&clock_gcc clk_ln_bb_clk3_pin>;
|
||||||
|
clock-names = "ref_clk";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_hdmi_tx {
|
||||||
|
status = "disabled";
|
||||||
|
pinctrl-names = "hdmi_hpd_active", "hdmi_ddc_active", "hdmi_cec_active",
|
||||||
|
"hdmi_active", "hdmi_sleep";
|
||||||
|
pinctrl-0 = <&mdss_hdmi_5v_active &mdss_hdmi_hpd_active
|
||||||
|
&mdss_hdmi_ddc_suspend &mdss_hdmi_cec_suspend>;
|
||||||
|
pinctrl-1 = <&mdss_hdmi_5v_active &mdss_hdmi_hpd_active
|
||||||
|
&mdss_hdmi_ddc_active &mdss_hdmi_cec_suspend>;
|
||||||
|
pinctrl-2 = <&mdss_hdmi_5v_active &mdss_hdmi_hpd_active
|
||||||
|
&mdss_hdmi_cec_active &mdss_hdmi_ddc_suspend>;
|
||||||
|
pinctrl-3 = <&mdss_hdmi_5v_active &mdss_hdmi_hpd_active
|
||||||
|
&mdss_hdmi_ddc_active &mdss_hdmi_cec_active>;
|
||||||
|
pinctrl-4 = <&mdss_hdmi_5v_suspend &mdss_hdmi_hpd_suspend
|
||||||
|
&mdss_hdmi_ddc_suspend &mdss_hdmi_cec_suspend>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_dp_ctrl {
|
||||||
|
status = "disabled";
|
||||||
|
pinctrl-names = "mdss_dp_active", "mdss_dp_sleep";
|
||||||
|
pinctrl-0 = <&mdss_dp_aux_active &mdss_dp_usbplug_cc_active>;
|
||||||
|
pinctrl-1 = <&mdss_dp_aux_suspend &mdss_dp_usbplug_cc_suspend>;
|
||||||
|
qcom,aux-en-gpio = <&tlmm 77 0>;
|
||||||
|
qcom,aux-sel-gpio = <&tlmm 78 0>;
|
||||||
|
qcom,usbplug-cc-gpio = <&tlmm 38 0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_mdp {
|
||||||
|
qcom,mdss-pref-prim-intf = "dsi";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mdss_dsi {
|
||||||
|
hw-config = "split_dsi";
|
||||||
|
};
|
||||||
|
|
||||||
|
&mem_client_3_size {
|
||||||
|
qcom,peripheral-size = <0x500000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
&pmi8998_haptics {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&pm8998_vadc {
|
||||||
|
chan@83 {
|
||||||
|
label = "vph_pwr";
|
||||||
|
reg = <0x83>;
|
||||||
|
qcom,decimation = <2>;
|
||||||
|
qcom,pre-div-channel-scaling = <1>;
|
||||||
|
qcom,calibration-type = "absolute";
|
||||||
|
qcom,scale-function = <0>;
|
||||||
|
qcom,hw-settle-time = <0>;
|
||||||
|
qcom,fast-avg-setup = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@85 {
|
||||||
|
label = "vcoin";
|
||||||
|
reg = <0x85>;
|
||||||
|
qcom,decimation = <2>;
|
||||||
|
qcom,pre-div-channel-scaling = <1>;
|
||||||
|
qcom,calibration-type = "absolute";
|
||||||
|
qcom,scale-function = <0>;
|
||||||
|
qcom,hw-settle-time = <0>;
|
||||||
|
qcom,fast-avg-setup = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@4c {
|
||||||
|
label = "xo_therm";
|
||||||
|
reg = <0x4c>;
|
||||||
|
qcom,decimation = <2>;
|
||||||
|
qcom,pre-div-channel-scaling = <0>;
|
||||||
|
qcom,calibration-type = "ratiometric";
|
||||||
|
qcom,scale-function = <4>;
|
||||||
|
qcom,hw-settle-time = <2>;
|
||||||
|
qcom,fast-avg-setup = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@4d {
|
||||||
|
label = "msm_therm";
|
||||||
|
reg = <0x4d>;
|
||||||
|
qcom,decimation = <2>;
|
||||||
|
qcom,pre-div-channel-scaling = <0>;
|
||||||
|
qcom,calibration-type = "ratiometric";
|
||||||
|
qcom,scale-function = <2>;
|
||||||
|
qcom,hw-settle-time = <2>;
|
||||||
|
qcom,fast-avg-setup = <0>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@51 {
|
||||||
|
label = "quiet_therm";
|
||||||
|
reg = <0x51>;
|
||||||
|
qcom,decimation = <2>;
|
||||||
|
qcom,pre-div-channel-scaling = <0>;
|
||||||
|
qcom,calibration-type = "ratiometric";
|
||||||
|
qcom,scale-function = <2>;
|
||||||
|
qcom,hw-settle-time = <2>;
|
||||||
|
qcom,fast-avg-setup = <0>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&pm8998_adc_tm {
|
||||||
|
chan@83 {
|
||||||
|
label = "vph_pwr";
|
||||||
|
reg = <0x83>;
|
||||||
|
qcom,pre-div-channel-scaling = <1>;
|
||||||
|
qcom,calibration-type = "absolute";
|
||||||
|
qcom,scale-function = <0>;
|
||||||
|
qcom,hw-settle-time = <0>;
|
||||||
|
qcom,btm-channel-number = <0x60>;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@4d {
|
||||||
|
label = "msm_therm";
|
||||||
|
reg = <0x4d>;
|
||||||
|
qcom,pre-div-channel-scaling = <0>;
|
||||||
|
qcom,calibration-type = "ratiometric";
|
||||||
|
qcom,scale-function = <2>;
|
||||||
|
qcom,hw-settle-time = <2>;
|
||||||
|
qcom,btm-channel-number = <0x68>;
|
||||||
|
qcom,thermal-node;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@51 {
|
||||||
|
label = "quiet_therm";
|
||||||
|
reg = <0x51>;
|
||||||
|
qcom,pre-div-channel-scaling = <0>;
|
||||||
|
qcom,calibration-type = "ratiometric";
|
||||||
|
qcom,scale-function = <2>;
|
||||||
|
qcom,hw-settle-time = <2>;
|
||||||
|
qcom,btm-channel-number = <0x70>;
|
||||||
|
qcom,thermal-node;
|
||||||
|
};
|
||||||
|
|
||||||
|
chan@4c {
|
||||||
|
label = "xo_therm";
|
||||||
|
reg = <0x4c>;
|
||||||
|
qcom,pre-div-channel-scaling = <0>;
|
||||||
|
qcom,calibration-type = "ratiometric";
|
||||||
|
qcom,scale-function = <4>;
|
||||||
|
qcom,hw-settle-time = <2>;
|
||||||
|
qcom,btm-channel-number = <0x78>;
|
||||||
|
qcom,thermal-node;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&wil6210 {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
gpio_keys {
|
||||||
|
compatible = "gpio-keys";
|
||||||
|
input-name = "gpio-keys";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
home {
|
||||||
|
label = "home";
|
||||||
|
gpios = <&pm8998_gpios 5 0x1>;
|
||||||
|
linux,input-type = <1>;
|
||||||
|
linux,code = <158>;
|
||||||
|
gpio-key,wakeup;
|
||||||
|
debounce-interval = <15>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vol_up {
|
||||||
|
label = "volume_up";
|
||||||
|
gpios = <&pm8998_gpios 6 0x1>;
|
||||||
|
linux,input-type = <1>;
|
||||||
|
linux,code = <115>;
|
||||||
|
gpio-key,wakeup;
|
||||||
|
debounce-interval = <15>;
|
||||||
|
};
|
||||||
|
|
||||||
|
vol_down {
|
||||||
|
label = "volume_down";
|
||||||
|
gpios = <&pm8998_gpios 7 0x1>;
|
||||||
|
linux,input-type = <1>;
|
||||||
|
linux,code = <114>;
|
||||||
|
gpio-key,wakeup;
|
||||||
|
debounce-interval = <15>;
|
||||||
|
};
|
||||||
|
|
||||||
|
confirm {
|
||||||
|
label = "confirm_key";
|
||||||
|
gpios = <&pm8998_gpios 8 0x1>;
|
||||||
|
linux,input-type = <1>;
|
||||||
|
linux,code = <28>;
|
||||||
|
gpio-key,wakeup;
|
||||||
|
debounce-interval = <15>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&pmi8998_fg {
|
||||||
|
qcom,battery-data = <&svr20_batterydata>;
|
||||||
|
qcom,fg-force-load-profile;
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue