Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LA.UM.7.1.r1] Merge tag 'LA.UM.7.1.r1-16600-sm8150.0' #2327

Open
wants to merge 87 commits into
base: aosp/LA.UM.7.1.r1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
86cee62
power: qpnp-fg: qpnp-qg: fg-alg: Improve code readability of TTF algo…
Mar 27, 2019
57604d3
msm: camera: isp: Add irq status prints to CAM_ERR
Jul 1, 2019
60aae8c
drm/msm/sde: avoid connector state mode update in commit thread
Jul 11, 2019
1c55b1b
msm: camera: isp: Handle wait and active list during flush all
Feb 14, 2019
71e62c8
Merge "msm: camera: isp: Add irq status prints to CAM_ERR" into dev/m…
Jul 19, 2019
abf5597
Merge commit '40c77ca69b266c88ebbfdfdf806ed3033f40840e' into dev/msm-…
Jul 22, 2019
7a75626
msm: camera: isp: Enable pixel_format_measurement in CSID
Jul 10, 2019
cb1a16e
Merge "msm: camera: isp: Handle wait and active list during flush all…
Jul 24, 2019
5def64c
msm: camera: isp: Add fps Blob support
Jun 28, 2019
e71c354
msm: camera: cam_isp: Recovery after IRQ delayed
May 31, 2019
9548e42
msm: camera: isp: Log information during IFE acquire failure
Jul 15, 2019
ade3c3e
msm: camera: Add csiphy version for atoll
Jul 26, 2019
6f8f44c
diag: Update hdlc mode for peripherals after mdlog exit
Jul 22, 2019
4573085
ARM: dts: msm: Add dtsi support for v150_110 camera
Jul 18, 2019
6475061
Merge "msm: camera: isp: Log information during IFE acquire failure" …
Jul 30, 2019
149a2b9
Merge "msm: camera: Add csiphy version for atoll" into dev/msm-4.14-camx
Jul 30, 2019
7f757e6
Merge "ARM: dts: msm: Add dtsi support for v150_110 camera" into dev/…
Jul 30, 2019
a09e96a
Merge "drm/msm/sde: avoid connector state mode update in commit thread"
Jul 31, 2019
e68368d
msm: ipa: Fix race condition between timer expiry for wq and pipe tea…
Jul 30, 2019
a3133d5
msm: camera: isp: Added PPI driver functionality
Jul 10, 2019
88502c5
msm: vidc: reset axi during firmware unload
vgarodia Apr 17, 2019
7aa0ac1
Merge remote-tracking branch 'quic/dev/msm-4.14.c2-display' into msm-…
Jul 31, 2019
43f5ff9
usb: dwc3-msm: Fix maximum_speed determination
Jul 24, 2019
df32e0a
ARM: dts: msm: Add PPI clock sources to bring up v150_110 camera
Aug 1, 2019
8849200
Merge "usb: dwc3-msm: Fix maximum_speed determination"
Aug 1, 2019
4faf4b2
Merge "ARM: dts: msm: Add PPI clock sources to bring up v150_110 came…
Aug 2, 2019
a82e3f9
Merge "power: qpnp-fg: qpnp-qg: fg-alg: Improve code readability of T…
Aug 4, 2019
20c5e69
drm/msm/sde: Fix NULL pointer dereferencing
Aug 1, 2019
4ecdf5c
drm/msm/sde: check for ppsplit topology from current state
Jul 12, 2019
b6f62dc
icnss: Skip removing WLAN host driver during recovery
Jul 10, 2019
5ef29ba
msm: camera: eeprom: Release the mutex even though got error
Aug 5, 2019
49c20b8
ARM: dts: msm: Add AHB-IB voting bandwidth to bring up v150_110 camera
Aug 5, 2019
a185b76
msm: camera: cpas: Add cpas support for camera v150_110 platform
Jul 11, 2019
e21a447
diag: Donot queue read in error case during mhi diag open
Aug 1, 2019
21320e3
Merge "msm: camera: cpas: Add cpas support for camera v150_110 platfo…
Aug 6, 2019
1b57e0c
Merge "ARM: dts: msm: Add AHB-IB voting bandwidth to bring up v150_11…
Aug 6, 2019
a07b047
diag: Initialize peripheral mask properly before log switch
Aug 5, 2019
ad317a3
rpmsg: glink: Resource cleanup on glink smem probe fail
Jul 3, 2019
f9bce27
Merge "diag: Update hdlc mode for peripherals after mdlog exit"
Aug 6, 2019
b986d30
Merge "diag: Donot queue read in error case during mhi diag open"
Aug 6, 2019
d3f1671
Merge "rpmsg: glink: Resource cleanup on glink smem probe fail"
Aug 6, 2019
1afee1a
Merge "diag: Initialize peripheral mask properly before log switch"
Aug 6, 2019
ff536c6
qseecom: correct range check in __qseecom_update_qteec_req_buf
Jul 29, 2019
5c7d2a9
Merge "qseecom: correct range check in __qseecom_update_qteec_req_buf"
Aug 7, 2019
4812055
Merge remote-tracking branch 'quic/dev/msm-4.14.c2-display' into msm-…
Aug 7, 2019
8cbcc15
Merge "msm: vidc: reset axi during firmware unload"
Aug 7, 2019
09753e4
pci: framework: skip PCI restore in pci_pm_resume if no_d3hot is set
Aug 2, 2019
259bd41
Merge "Merge remote-tracking branch 'quic/dev/msm-4.14.c2-display' in…
Aug 8, 2019
eb922cd
msm: ipa3: Update channel start as success in flow control state
Aug 2, 2019
62c3ea8
ARM: dts: qcom: Add csiphy, cci for atoll
Jul 26, 2019
9f48254
ARM: dts: qcom: Enable phy regulators for atoll
Aug 5, 2019
d0d9ac8
ARM: dts: msm: Add camera sensor nodes for atoll
Aug 8, 2019
65130d2
msm: camera: cam_isp: Change default fps value
Aug 8, 2019
30d56c2
msm: camera: LDAR Debug info dump framework implementation
Jul 28, 2019
a3c036f
Merge "msm: ipa3: Update channel start as success in flow control state"
Aug 9, 2019
a385e5e
Merge "msm: camera: eeprom: Release the mutex even though got error" …
Aug 9, 2019
94c614f
Merge "msm: camera: cam_isp: Change default fps value" into dev/msm-4…
Aug 9, 2019
f234034
Merge "ARM: dts: msm: Add camera sensor nodes for atoll" into dev/msm…
Aug 10, 2019
5ec7467
Merge changes Ic394ee0b,I6f227207 into dev/msm-4.14-camx
Aug 12, 2019
53e1bbc
Merge "pci: framework: skip PCI restore in pci_pm_resume if no_d3hot …
Aug 13, 2019
2353359
Merge remote-tracking branch 'dev/msm-4.14-camx' into msm-4.14.c2 08/12
Aug 13, 2019
28035e2
staging: android: ion: rate limit warning in ion_sgl_sync_range
Aug 8, 2019
1d886af
Merge "msm: camera: LDAR Debug info dump framework implementation" in…
Aug 14, 2019
e0463d3
Merge a3c036f15d0abd13b0e719c420c7ded7155e5f33 on remote branch
Aug 15, 2019
ef71053
mhi: core: wakeup waiters if early error is received
Jul 25, 2019
89f7ff3
power: qpnp-qg: Fix kernel memory corruption error in qg_device_read
Aug 8, 2019
4dc5db4
pci: framework: skip PCI restore in pci_pm_resume if no_d3hot is set
Aug 2, 2019
63eb654
Merge "power: qpnp-qg: Fix kernel memory corruption error in qg_devic…
Aug 18, 2019
fde00ff
Merge "Merge remote-tracking branch 'dev/msm-4.14-camx' into msm-4.14…
Aug 21, 2019
48792f5
Merge "msm: ipa: Fix race condition between timer expiry for wq and p…
Aug 22, 2019
a082ad2
msm: kgsl: Avoid AOP message on unsupported A640 GPUs
Jul 26, 2019
2f5d1b9
msm: adsprpc: Check fastrpc channel and context during map and unmap
Jun 6, 2019
5780fc5
diag: Use mutex instead of spinlock for synchronization
Jul 31, 2019
21275b9
f_fs: Return correct USB endpoint descriptor to user space daemon
XNUBIA Aug 12, 2019
1b79f97
usb: phy: snps: Turn off CXO clock from msm_hsphy_dpdm_regulator_enable
Jul 24, 2019
47e2135
mmc: core: Update SD card removal logic based on cd gpio state
Jun 6, 2018
835709f
Revert "mmc: core: rescan for card if deferred resume fails"
Jul 12, 2019
ff78109
mmc: core: Reset on error during deferred resume
Jan 2, 2018
a392fde
mmc: sd: set card removed to true
Apr 3, 2019
ddbcea5
Merge "f_fs: Return correct USB endpoint descriptor to user space dae…
Aug 27, 2019
fce957c
Merge "mmc: sd: set card removed to true"
Aug 28, 2019
a0ab3dd
Merge remote-tracking branch 'dev/msm-4.14-camx' into msm-4.14.c2 08/23
Aug 28, 2019
3e9650c
Merge "usb: phy: snps: Turn off CXO clock from msm_hsphy_dpdm_regulat…
Aug 29, 2019
24a35b5
Merge "Merge remote-tracking branch 'dev/msm-4.14-camx' into msm-4.14…
Aug 29, 2019
c3c31b9
Merge 2f5d1b976a288c93b4a60ed47dd56df128a7466b on remote branch
Aug 29, 2019
4e6e0aa
Merge 24a35b53f5bef0b1360b84777f3523505fa83c1d on remote branch
Sep 13, 2019
d131c2f
Merge tag 'LA.UM.7.1.r1-16600-sm8150.0' of https://source.codeaurora.…
tomgus1 Jul 29, 2020
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ First Level Node - CSIPHY device
Value type: <string>
Definition: Should be "qcom,csiphy-v1.0",
"qcom,csiphy-v1.1", "qcom,csiphy-v1.2",
"qcom,csiphy-v2.0", "qcom,csiphy".
"qcom,csiphy-v1.2.2", "qcom,csiphy-v2.0",
"qcom,csiphy".

- cell-index: csiphy hardware core index
Usage: required
Expand Down
102 changes: 102 additions & 0 deletions Documentation/devicetree/bindings/media/video/msm-cam-ppi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
* Qualcomm Technologies, Inc. MSM camera PPI

=======================
Required Node Structure
=======================
The camera PPI node must be described in First level of device nodes. The
first level describe the overall PPI node structure.

======================================
First Level Node - PPI device
======================================

- compatible
Usage: required
Value type: <string>
Definition: Should be "qcom,ppi-v1.0",
"qcom,ppi-v1.1", "qcom,ppi-v1.2",
"qcom,ppi-v2.0", "qcom,ppi".

- cell-index: ppi hardware core index
Usage: required
Value type: <u32>
Definition: Should specify the Hardware index id.

- reg
Usage: required
Value type: <u32>
Definition: offset and length of the register set
for the device for the ppi operating in
compatible mode.

- reg-names
Usage: required
Value type: <string>
Definition: Should specify relevant names to each
reg property defined.

- reg-cam-base
Usage: required
Value type: <string>
Definition: offset of PPI in camera hw block

- interrupts
Usage: required
Value type: <u32>
Definition: Interrupt associated with PPI HW.

- interrupt-names
Usage: required
Value type: <string>
Definition: Name of the interrupt.

- clock-names
Usage: required
Value type: <string>
Definition: List of clock names required for PPI HW.

- clock-rates
Usage: required
Value type: <u32>
Definition: List of clock rates in Hz for PPI HW.

- clock-cntl-level
Usage: required
Value type: <string>
Definition: All different clock level node can support.

- clocks
Usage: required
Value type: <phandle>
Definition: all clock phandle and source clocks.

- regulator-names
Usage: required
Value type: <string>
Definition: name of the voltage regulators required for the device.

- gdscr-supply
Usage: required
Value type: <phandle>
Definition: should contain gdsr regulator used for PPI clocks.

Example:
qcom,ppi0@ace0000 {
cell-index = <0>;
compatible = "qcom,ppi170";
reg-names = "ppi";
reg = <0xace0000 0x200>;
reg-cam-base = <0xe0000>;
interrupt-names = "ppi";
interrupts = <0 202 0>;
regulator-names = "gdscr", "refgen";
gdscr-supply = <&titan_top_gdsc>;
clocks = <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
<&clock_camcc CAM_CC_PPI0_CLK>,
<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>,
<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>;
clock-names = "cphy_rx_clk_src", "ppi0_clk"
clock-rates = <400000000 0 300000000 0>;
clock-cntl-level = "turbo";
status = "ok";
};
256 changes: 256 additions & 0 deletions arch/arm64/boot/dts/qcom/atoll-camera-sensor-idp.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,256 @@
/*
* Copyright (c) 2019, 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/clock/qcom,camcc-atoll.h>

&soc {
led_flash_rear: qcom,camera-flash@0 {
cell-index = <0>;
reg = <0x00 0x00>;
compatible = "qcom,camera-flash";
flash-source = <&pm6150l_flash0 &pm6150l_flash1>;
torch-source = <&pm6150l_torch0 &pm6150l_torch1>;
switch-source = <&pm6150l_switch2 &pm6150l_switch2>;
status = "ok";
};

led_flash_rear_aux: qcom,camera-flash@1 {
cell-index = <1>;
reg = <0x01 0x00>;
compatible = "qcom,camera-flash";
flash-source = <&pm6150l_flash0 &pm6150l_flash1>;
torch-source = <&pm6150l_torch0 &pm6150l_torch1>;
switch-source = <&pm6150l_switch2 &pm6150l_switch2>;
status = "ok";
};
};

&cam_cci0 {
qcom,cam-res-mgr {
compatible = "qcom,cam-res-mgr";
status = "ok";
};

actuator_rear: qcom,actuator@0 {
cell-index = <0>;
reg = <0x0>;
compatible = "qcom,actuator";
cci-master = <0>;
cam_vaf-supply = <&L6P>;
regulator-names = "cam_vaf";
rgltr-cntrl-support;
rgltr-min-voltage = <2800000>;
rgltr-max-voltage = <2800000>;
rgltr-load-current = <100000>;
};

eeprom_rear: qcom,eeprom@0 {
cell-index = <0>;
reg = <0>;
compatible = "qcom,eeprom";
cam_vio-supply = <&L5P>;
cam_vana-supply = <&L4P>;
cam_vdig-supply = <&L1P>;
cam_clk-supply = <&titan_top_gdsc>;
cam_vaf-supply = <&L6P>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk", "cam_vaf";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1104000 0 2800000>;
rgltr-max-voltage = <1800000 2800000 1104000 0 2800000>;
rgltr-load-current = <0 80000 105000 0 100000>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk0_active
&cam_sensor_rear_active>;
pinctrl-1 = <&cam_sensor_mclk0_suspend
&cam_sensor_rear_suspend>;
gpios = <&tlmm 13 0>,
<&tlmm 30 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK0",
"CAM_RESET0";
sensor-mode = <0>;
cci-master = <0>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "turbo";
clock-rates = <24000000>;
};

eeprom_front: qcom,eeprom@2 {
cell-index = <2>;
reg = <0x2>;
compatible = "qcom,eeprom";
cam_vio-supply = <&L5P>;
cam_vana-supply = <&L3P>;
cam_vdig-supply = <&L1P>;
cam_clk-supply = <&titan_top_gdsc>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1104000 0>;
rgltr-max-voltage = <1800000 2800000 1104000 0>;
rgltr-load-current = <0 80000 105000 0>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk2_active
&cam_sensor_front_active>;
pinctrl-1 = <&cam_sensor_mclk2_suspend
&cam_sensor_front_suspend>;
gpios = <&tlmm 15 0>,
<&tlmm 29 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK2",
"CAM_RESET2";
sensor-mode = <0>;
cci-device = <0>;
cci-master = <1>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK2_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "turbo";
clock-rates = <24000000>;
};

qcom,cam-sensor@0 {
cell-index = <0>;
compatible = "qcom,cam-sensor";
reg = <0x0>;
csiphy-sd-index = <0>;
sensor-position-roll = <90>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
led-flash-src = <&led_flash_rear>;
eeprom-src = <&eeprom_rear>;
actuator-src = <&actuator_rear>;
cam_vio-supply = <&L5P>;
cam_vana-supply = <&L4P>;
cam_vdig-supply = <&L1P>;
cam_clk-supply = <&titan_top_gdsc>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1104000 0>;
rgltr-max-voltage = <1800000 2800000 1104000 0>;
rgltr-load-current = <0 80000 105000 0>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk0_active
&cam_sensor_rear_active>;
pinctrl-1 = <&cam_sensor_mclk0_suspend
&cam_sensor_rear_suspend>;
gpios = <&tlmm 13 0>,
<&tlmm 30 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK0",
"CAM_RESET0";
sensor-mode = <0>;
cci-master = <0>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK0_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "turbo";
clock-rates = <24000000>;
};

qcom,cam-sensor@1 {
cell-index = <1>;
compatible = "qcom,cam-sensor";
reg = <0x1>;
csiphy-sd-index = <1>;
sensor-position-roll = <90>;
sensor-position-pitch = <0>;
sensor-position-yaw = <180>;
led-flash-src = <&led_flash_rear_aux>;
cam_vio-supply = <&L5P>;
cam_vana-supply = <&L3P>;
cam_vdig-supply = <&L2P>;
cam_clk-supply = <&titan_top_gdsc>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1104000 0>;
rgltr-max-voltage = <1800000 2800000 1104000 0>;
rgltr-load-current = <0 80000 105000 0>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk1_active
&cam_sensor_rear2_active>;
pinctrl-1 = <&cam_sensor_mclk1_suspend
&cam_sensor_rear2_suspend>;
gpios = <&tlmm 14 0>,
<&tlmm 25 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK1",
"CAM_RESET1";
sensor-mode = <0>;
cci-master = <1>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK1_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "turbo";
clock-rates = <24000000>;
};

qcom,cam-sensor@2 {
cell-index = <2>;
compatible = "qcom,cam-sensor";
reg = <0x2>;
csiphy-sd-index = <2>;
sensor-position-roll = <270>;
sensor-position-pitch = <0>;
sensor-position-yaw = <0>;
eeprom-src = <&eeprom_front>;
cam_vio-supply = <&L5P>;
cam_vana-supply = <&L3P>;
cam_vdig-supply = <&L1P>;
cam_clk-supply = <&titan_top_gdsc>;
regulator-names = "cam_vio", "cam_vana", "cam_vdig",
"cam_clk";
rgltr-cntrl-support;
rgltr-min-voltage = <1800000 2800000 1104000 0>;
rgltr-max-voltage = <1800000 2800000 1104000 0>;
rgltr-load-current = <0 80000 105000 0>;
gpio-no-mux = <0>;
pinctrl-names = "cam_default", "cam_suspend";
pinctrl-0 = <&cam_sensor_mclk2_active
&cam_sensor_front_active>;
pinctrl-1 = <&cam_sensor_mclk2_suspend
&cam_sensor_front_suspend>;
gpios = <&tlmm 15 0>,
<&tlmm 29 0>;
gpio-reset = <1>;
gpio-req-tbl-num = <0 1>;
gpio-req-tbl-flags = <1 0>;
gpio-req-tbl-label = "CAMIF_MCLK2",
"CAM_RESET2";
sensor-mode = <0>;
cci-device = <0>;
cci-master = <1>;
status = "ok";
clocks = <&clock_camcc CAM_CC_MCLK2_CLK>;
clock-names = "cam_clk";
clock-cntl-level = "turbo";
clock-rates = <24000000>;
};
};
Loading