Commit graph

81 commits

Author SHA1 Message Date
Shravan Nevatia
b481e32622 ARM: dts: msm: Add CSIPHY/CCI devicetree support for shima
Add CSIPHY/CCI nodes to camera devicetree for shima.

Change-Id: I4499e9aab45fb8f1e7728fffc5b260638d18eeff
CRs-Fixed: 2709344
2020-06-30 14:47:53 +05:30
Chandan Kumar Jha
dd390c2312 ARM: dts: msm: Add CAMNOC nodes in Shima camera
Add CAMNOC device tree in Shima camera dtsi.

CRs-Fixed: 2707213
Change-Id: I80a4f49947a972ab97ea8a6f6328769cfa406996
2020-06-29 17:20:43 +05:30
Chandan Kumar Jha
c88d8b39de ARM: dts: msm: Add camera device tree support for Shima camera
Add ICP, IPE, BPS, CDM, SMMU, JPEG, IFE, CSID nodes
for shima camera.

CRs-Fixed: 2707213
Change-Id: I018611b5d6cdb5dabf6f6720b5e211872e8bcc85
2020-06-27 21:24:41 +05:30
Camera Software Integration
b37135cb36 Merge "ARM: dts: msm: Add support to enable external regulator for Lahaina" into camera-kernel.lnx.4.0 2020-05-26 13:15:01 -07:00
Pavan Kumar Chilamkurthi
57993ee452 ARM: dts: msm: Enable io-coherency for camera devices on lahaina
Enable io-coherency to avoid cache flush operations when a
buffer generated by CPU module is given to a HW as input.

CRs-Fixed: 2678870
Change-Id: I1476139f91433ed677fd0d4f39421dd978c9732f
2020-05-21 02:30:59 -07:00
Karthik Jayakumar
32b215daec ARM: dts: msm: Update context bank size for Kona and Lahaina
Updates SMMU context bank size for IFE, JPEG and FD in Kona to 4GB
minus a 1MB pad for start and another 1 MB pad for end.

Lahaina has the same change except for FD context bank which is
deprecated.

CRs-Fixed: 2584631
Change-Id: I8d1eba4465c75babdcfc95a6df75788cc058cd7d
2020-05-16 12:21:03 -07:00
Mukund Madhusudan Atre
714d6366e3 ARM: dts: msm: Add support to enable external regulator for Lahaina
The non-POR sensors require support for enabling DB03 which
requires VIO PM8008_L3J to be on. Add support for enabling
external regulator in other sensors and respective eeprom.

CRs-Fixed: 2584631
Change-Id: I06d5b0f8d4940b2df8d8bb2d058205a3519bdab9
2020-05-05 13:24:55 -07:00
Camera Software Integration
fd1b6c1a25 Merge "ARM: dts: msm: Add support to discard a region in dma space" into camera-kernel.lnx.4.0 2020-05-04 14:06:14 -07:00
Vishalsingh Hajeri
4a183e04ac ARM: dts: msm: Remove secure IFE SID for Lahaina and Kona
Secure IFE SID's are never used. This change
removes these entries.

CRs-Fixed: 2665962
Change-Id: I7ceb5b1f5a7e8f809de567b321af7b244f9f3a30
2020-04-16 10:48:22 -07:00
Sathish Ambley
89a0c3f391 ARM: dts: msm: Add support for Kona XR platform camera hardware
Add support for camera for kona XR platforms as a part of new project.

CRs-Fixed: 2532247
Change-Id: Ic3747a6e7a620cce5bc48c3f37a51435b7f89bbf
2020-03-30 11:05:51 -07:00
Venkat Chinta
aec5c84fc7 ARM: dts: msm: Add IFE-CDM support
This change adds support for CDM internal
to full IFEs on Kona and Lahaina hw.

CRs-Fixed: 2621792
Change-Id: Ie4d153e1f7f6e1e2285e59736e4c7d0f6ed20827
2020-03-19 17:15:11 -07:00
Mukund Madhusudan Atre
8e0abb409a ARM: dts: msm: Add support for other sensors on Lahaina
Add sensor dtsi nodes for cell index 0 for Lahaina DC and
cell index 8 and 9 for other DC. Add custom gpio to enable
external regulators.

CRs-Fixed: 2584631
Change-Id: Iae945932005bcb76550655e700bf0c10719ff19a
2020-03-16 17:52:59 -07:00
Pavan Kumar Chilamkurthi
acff28265e ARM: dts: msm: Add support to discard a region in dma space
Add support to discard a specified address space region inside
the full dma map region for lahaina, kona and lito.

CRs-Fixed: 2580128
Change-Id: Ibc5f316e73d020eb2ff500fad6ed92ea2a36c34e
2020-03-13 17:10:02 -07:00
Pengfei Liu
e973ea7ab9 ARM: dts: msm: Update camera device tree inclusions for Lahaina
Add flash nodes to enable camera functionality on Lahaina QRD.

Change-Id: I47ab4a0a44b5f3accbf599f6ac33df0b4bd71e9e
CRs-Fixed: 2625098
2020-03-12 09:41:04 +08:00
Karthik Jayakumar
7482bf56d2 ARM: dts: msm: Update rear tof sensor configuration for Lahaina
Changes the cell index to match user space definitions for rear
TOF sensor.

CRs-Fixed: 2584631
Change-Id: I299149ea969ba587d3c2b694caf3580a7c6ef4df
2020-02-27 16:25:05 -08:00
Camera Software Integration
b2db07dcf3 Merge "ARM: dts: msm: Add camera nodes for Lahaina" into camera-kernel.lnx.4.0 2020-02-24 13:20:56 -08:00
Camera Software Integration
730a1c0813 Merge "ARM: dts: msm: Add custom vcsel source for rear tof sensor in Lahaina" into camera-kernel.lnx.4.0 2020-02-21 13:40:28 -08:00
Pengfei Liu
dc22611ef6 ARM: dts: msm: Add camera nodes for Lahaina
Add camera nodes for Lahaina QRD device.

Change-Id: I1b73df1b11100114575e532f89d2b4afade10f22
CRs-Fixed: 2625098
2020-02-21 21:58:03 +08:00
Mukund Madhusudan Atre
54eb427c11 ARM: dts: msm: Add custom vcsel source for rear tof sensor in Lahaina
Increase peak current for IO regulator and add custom vcsel source.

CRs-Fixed: 2584631
Change-Id: Ia98b8036a5cabab0751d845e307dd0764ef86968
2020-02-17 20:22:50 -08:00
Mukund Madhusudan Atre
516e4e7178 ARM: dts: msm: Add support for led flash in camera for Lahaina
Adding flash and torch info in camera device tree.

CRs-Fixed: 2584631
Change-Id: I118883be46b8073ca31e3525dad7d56d2a504054
2020-02-17 09:40:38 -08:00
Camera Software Integration
7d769db29e Merge "ARM: dts: msm: Override csiphy version for lito v2" into camera-kernel.lnx.4.0 2020-02-12 14:10:48 -08:00
Camera Software Integration
08cc48fced Merge changes I220c2b0a,Ia61332d5 into camera-kernel.lnx.4.0
* changes:
  ARM: dts: msm: Add support for PHY-TPG in Lahaina and Bengal
  dt-bindings: camera: Add support for new TPG version
2020-02-11 13:41:11 -08:00
Venkat Chinta
9ef5a489ce ARM: dts: msm: Add support for PHY-TPG in Lahaina and Bengal
This change adds support for Camera CSI-PHY TPG
hardware version 102.

CRs-Fixed: 2608550
Change-Id: I220c2b0a7631568cff649a15c3e0511cc95ad4c7
2020-02-06 13:37:05 -08:00
Shravan Nevatia
d6fc2fefae ARM: dts: msm: Override csiphy version for lito v2
Add camera dtsi to override CSIPHY version as v1.2.2.2
for lito v2. The purpose of this change is to bifurcate
the CSIPHY settings for lito v2.

CRs-Fixed: 2591712
Change-Id: I32f4acf790cd61811dc08f4e225faade2382594d
2020-02-06 11:37:34 -08:00
Chandan Kumar Jha
8d51f3ee7d ARM: dts: msm: Add lagoon camera dtsi
Add ICP, IPE, BPS, CDM, SMMU, JPEG, IFE,, CSID nodes
for lagoon camera.

CRs-Fixed: 2571273
Change-Id: Ice517a40a6c01e8a52a96a41fc22e9c4e655b05a
2020-02-04 09:35:42 -08:00
Venkat Chinta
64e70de998 dt-bindings: camera: Add support for new TPG version
This change adds example for version 102 Camera PHY-TPG hardware.

CRs-Fixed: 2608550
Change-Id: Ia61332d5a9b1a52a716722fcf32ba8fa88804f6a
2020-02-03 16:09:47 -08:00
Camera Software Integration
1023dd543c Merge "ARM: dts: msm: Add bringup fixes for Lahaina" into camera-kernel.lnx.4.0 2020-02-03 14:11:29 -08:00
Camera Software Integration
f7e89744f8 Merge "ARM: dts: msm: Add camera dts nodes for Bengal QRD" into camera-kernel.lnx.4.0 2020-02-03 14:11:12 -08:00
Camera Software Integration
25ba017fcb Merge "ARM: dts: msm: Add simple-bus compat string in camera for all archs" into camera-kernel.lnx.4.0 2020-02-03 14:10:54 -08:00
Camera Software Integration
ecd010ffab Merge "ARM: dts: msm: Fix order of clock naming in csid lite node for kona" into camera-kernel.lnx.4.0 2020-02-03 14:10:36 -08:00
Karthik Jayakumar
1952f61c8e ARM: dts: msm: Add bringup fixes for Lahaina
Fix RDI write path on ife2.
Fix EEPROM setting for Lahaina sensor.
Update sensor cell id's to match user space.

CRs-Fixed: 2584631
Change-Id: I7693a4cef98383cc5539c25f18799bf70f5f0970
2020-01-31 23:14:03 -08:00
Gaurav Jindal
a63276ffbc dt-bindings: camera: Add CSID and IFE support for lagoon
This commit adds compatible string for CSID and IFE for lagoon
target.

Change-Id: Id0ecd8ae9f051a50cd21692811f9360d84dda0df
CRs-Fixed: 2571273
2020-01-31 11:00:03 -08:00
Karthik Jayakumar
aed8a404e7 ARM: dts: msm: Update IFE2 & CSID2 IRQ numbers for lahaina
Update IFE2 IRQ number to 641 and CSID2 IRQ to 640 for lahaina.

CRs-Fixed: 2584631
Change-Id: I738a4a1ed55c67bb07fa21b21afdd5f9fe675523
2020-01-30 15:36:23 -08:00
Yulei Yao
0bac11efcd ARM: dts: msm: Add camera dts nodes for Bengal QRD
Add 3 rear cameras and 1 front camera nodes for
Bengal QRD.

CRs-Fixed: 2579384
Change-Id: I8a46d1da591ea09e004813e4c10997342f260c15
2020-01-30 05:40:39 -08:00
Mukund Madhusudan Atre
fa100ef0cf ARM: dts: msm: Fix order of clock naming in csid lite node for kona
The order of clock names should be same as the order of its clock
values. Fix order of name for ahb clock in csid lite device tree
node in camera.

CRs-Fixed: 2583813
Change-Id: Ie7ebf744f0ebe9d189055bb412f56902233da9bf
2020-01-30 04:08:41 -08:00
Mukund Madhusudan Atre
d216768569 ARM: dts: msm: Add simple-bus compat string in camera for all archs
For kernel init to recognize child nodes of camera smmu and cci
nodes as platform devices, the parent needs to have "simple-bus"
compatibility string. Add required string so that component
master framework is able to match device with driver for Kona,
Lahaina, Lito and Bengal.

CRs-Fixed: 2584631
Change-Id: Ia968a6617f9bb3bdb05fd999a7f87d4eaf580734
2020-01-29 02:20:56 -08:00
Karthik Jayakumar
2e9325979d ARM: dts: msm: Update IPE0 register size for Lahaina
Update IPE0 register size to match Lahaina register size.

CRs-Fixed: 2584631
Change-Id: Id1ef89f45ee3021866f93bffb89145b25f144b83
2020-01-23 11:28:55 -08:00
Sureshnaidu Laveti
df76a7fb3a ARM: dts: msm: Update power source of rear sensor for lahaina
Use cam_v_custom1 as the power source name for
additional VANA power source for rear (imx586) sensor
on lahaina.

CRs-Fixed: 2599484
Change-Id: I68e441eacbaea38cd5291e78c8d2fec501dc0d9a
2020-01-20 11:40:15 -08:00
Mukund Madhusudan Atre
d7724d02c9 ARM: dts: msm: Add camera sync driver for Kona target
Enable dtsi based compilation for camera sync driver for
kona target.

CRs-Fixed: 2590413
Change-Id: I2d9d4267f0c6192c4b5c7d91a736b9c9821aaec6
2020-01-14 13:19:28 -08:00
Camera Software Integration
5d940e725c Merge "ARM: dts: msm: Fix supply and areg clock name in ife2 dt node for Lahaina" into camera-kernel.lnx.4.0 2020-01-13 20:43:34 -08:00
Mukund Madhusudan Atre
0c3551b1a3 ARM: dts: msm: Fix supply and areg clock name in ife2 dt node for Lahaina
Fix supply and clock name in ife2 dt node. Also, remove DSP clock
as IFE2 does not support HVX for Lahaina target.

CRs-Fixed: 2584631
Change-Id: Ia0f58142e9562446d4e7c517cd717d5cc78c200c
2020-01-08 09:44:42 -08:00
Jigarkumar Zala
ab1fbff885 ARM: dts: msm: Add camera sync driver for Lahaina target
Enable dtsi based compilation for camera sync driver for
lahaina targets.

CRs-Fixed: 2590413
Change-Id: I12b8eb7b5979cc63125255887ca58aa55850a5e3
2020-01-07 16:37:21 -08:00
Jigarkumar Zala
887d51afee dt-bindings: camera: Add bindings for camera sync driver
Add description for camera sync with new compatibility string.

CRs-Fixed: 2590413
Change-Id: I746b8c629cb487ced930ff63b3f807c968c60f3f
2020-01-07 16:36:54 -08:00
Mukund Madhusudan Atre
bb5a3bd3ab ARM: dts: msm: Fix order of clock naming in csid lite node for lahaina
The order of clock names should be same as the order of its clock
values. Fix order of name for ahb clock in csid lite device tree
node in camera.

CRs-Fixed: 2583813
Change-Id: I265af8f302ac4d857f479d3ddd556bae13f872db
2019-12-10 13:52:26 -08:00
Mukund Madhusudan Atre
7fc312b726 ARM: dts: msm: Add camera device tree support for Lahaina
Add device tree nodes for various camera modules with memory,
clock, interrupt, pinctrl, power and version information.
Add interconnect bus IDs and separate ahb static bw vote config
from bus vectors. Change minsvs vdd corner to be mapped to lowsvs
level. Also, add DT nodes for sensors and its accompanying hw
for Lahaina platform.

CRs-Fixed: 2528908, 2525881
Change-Id: If676a7738e7945c14e8e7e39adc973b2e7de21cb
2019-12-03 11:43:39 -08:00
Jigarkumar Zala
e25cf96ef1 dt-bindings: camera: Update documentation for camera modules
Add description for different blocks in camera with new
camera version compatibility strings.

CRs-Fixed: 2528908
Change-Id: I0a1760ac44a82c30a7b2bd993db864d356838f06
2019-11-25 08:24:43 -08:00
Abhijit Trivedi
f3521d1361 UPSTREAM: 11/22/19: Merge 'quic/camera-kernel.lnx.1.0' into 'quic/camera-kernel.lnx.4.0'
* quic/camera-kernel.lnx.1.0:
  ARM: dts: msm: Add dtsi nodes for csiphy and cci
  ARM: dts: msm: Add support for target SM4250
  ARM: dts: msm: Add support for camera hardware for bengal platform
  dt-bindings: camera: Add CDM support
  dt-bindings: camera: Add TFE support
  ARM: dts: msm: Remove CSIPHY0 clock vote for CSIPHY3

Change-Id: I391643d454611bd2262d9a398fa6cebde86b3945
Signed-off-by: Abhijit Trivedi <abhijitt@quicinc.com>
2019-11-22 17:39:08 -08:00
Camera Software Integration
697e8ecb45 Merge "ARM: dts: msm: Add support for camera hardware for bengal platform" into camera-kernel.lnx.1.0 2019-11-15 04:42:17 -08:00
Camera Software Integration
9e2da3605a Merge "ARM: dts: msm: Add dtsi nodes for csiphy and cci" into camera-kernel.lnx.1.0 2019-11-15 04:41:53 -08:00
Camera Software Integration
85dbb3c359 Merge "ARM: dts: msm: Add support for target SM4250" into camera-kernel.lnx.1.0 2019-11-15 04:41:36 -08:00