670859 Commits

Author SHA1 Message Date
xingkai
8eb455fed7 kernel: modify lt9611_hdmi_tx_phy for 4k VL
Change-Id: Ife2720cde881e802c056b67b0c303e07017e9bea
kernel: modify lt9611_hdmi_tx_phy for 4k VL
2019-05-20 16:07:54 +08:00
xingkai
4558e9c21a kernel: modify lt9611_hdmi_tx_phy
kernel: modify lt9611_hdmi_tx_phy

Change-Id: I77bcfd8258ca01788dc5b123f12dfd3c054fcc69
2019-05-20 16:07:44 +08:00
ts_huanggm0701
65cf30bb01 camera:Ov7251 can't run on post cs
Csi3phytimer clk set fail

Issue-Id: task83918

Change-Id: Ief4d0c49416428069073d90612e6e2dc6a1c58cc
2019-03-27 14:47:49 +08:00
ts_huanggm0701
8b6c1aa22e Merge branch 'new' into robotics-x-lu-16.04-sda845-p1-dev
* new: (106 commits)
  spi: spi-geni-qcom: Fix slab out of bounds error
  msm: camera: Fix arbitrary kernel write
  af_key: unconditionally clone on broadcast
  Revert "msm: camera: isp: Select epoch config based on Hardware"
  msm: camera: disable power collapse when camera is working
  Revert "Revert "msm: camera: eeprom: set platform driver data to null""
  msm: camera: flash: Remove race condition in subdev close
  msm: camera: flash: Remove regulator power up/down from early PCR
  msm: camera: isp: Initialize isp_dev's mutex
  msm: camera: isp: clean up logic to handle bubble
  msm: camera: isp: Preserve the default min hbi value.
  msm: camera: isp: Enable early EOF
  msm: camera: isp: Add debugfs to dump hbi/vbi info
  msm: camera: flash: Add i2c hw support
  msm: camera: icp: Avoid accessing unclocked registers
  msm: camera: icp: Reset pwr_ctrl register as part of PC
  msm: camera: Modify shutdown sequence in KMD
  msm: camera: sensor: Protect link/unlink calls
  msm: camera: fd: Add mutex protection to frame done processing
  msm: camera: csiphy: Adding support of secure camera
  ...

Change-Id: I9fd06fa92b2dcbb1f4d8308efb6dbdb7155fa33c
2019-03-27 14:19:45 +08:00
_宋伟#013979
a787370733 Merge "camera:TOF Fix ext SYNC error" into robotics-x-lu-16.04-sda845-p1-dev 2019-03-01 14:25:11 +08:00
_宋伟#013979
283c9a08b9 Merge "camera:Improve the performance of opening altek" into robotics-x-lu-16.04-sda845-p1-dev 2019-03-01 14:20:00 +08:00
luzf1106
14c88d7508 camera:TOF Fix ext SYNC error
Fix ini_ofst_delay >668  error

Issue-Id: task82960

Change-Id: Icb0b4332f66908cb758a03f86694b39b77ffc021
2019-02-25 17:04:19 +08:00
luzf1106
9ba3218aa2 camera:TOF Fix GST crash
Fix GST crash

Issue-Id: task82960

Change-Id: I89b01eb8d7b8cfef47a2822c1c34dcea5a4954be
2019-02-22 12:45:10 +08:00
ts_huanggm0701
66f8bd4c57 camera:Improve the performance of opening altek
Improve the performance of opening camera

Issue-Id: task82741

Change-Id: I803d3662a06edc63d008b9168d7d198fbe1dc587
2019-02-21 21:25:28 +08:00
李政春
7dc1f0a955 Merge "kernel: Enable USB_SERIAL_FTDI_SIO" into robotics-x-lu-16.04-sda845-p1-dev 2019-02-21 09:53:40 +08:00
futrg0704
2e660f0c37 kernel: Enable USB_SERIAL_FTDI_SIO
ROS KUBOQI

Issue-Id: task88709

Change-Id: I42f37e0e591b6f6aeb6262796501ccef24e91a76
2019-02-21 09:50:55 +08:00
李政春
b7a2af15a2 Merge "kernel:gpio78 used as icm4x6xx clkin[1/3]" into robotics-x-lu-16.04-sda845-p1-dev 2019-02-21 09:46:42 +08:00
_宋伟#013979
1bb341fd3a Merge "camera:Fix open TOF order issue" into robotics-x-lu-16.04-sda845-p1-dev 2019-02-20 11:57:59 +08:00
zhangrj0920
c35989d124 kernel:gpio78 used as icm4x6xx clkin[1/3]
Because of the HW changed,gpio78 used as the icm4x6xx clkin.

Issue-Id: task88751

Change-Id: I62eb0f27354a24ce6685b8aca7fc22aea40209e5
2019-02-20 11:45:35 +08:00
ts_huanggm0701
c826047eb4 camera:Fix open TOF order issue
Fix the TOF must opened at last issue in three cameras concurrency

Issue-Id: task82960

Change-Id: I597efcc4d0c6a7026194ac1c2567a8052abb8556
2019-02-19 21:10:07 +08:00
luzf1106
df4b867d93 camera:TOF update multi camera
add multi camera feature
[IssueID]:task87654
[Module]: kernel/msm-4.9

Change-Id: Idcd5272fbb785e53fc46f72182528b1177950857
2019-02-19 19:43:44 +08:00
shangbl
b08c6e921b altek: update altek sensor driver.
1. the eeprom bring up for altek chip to use.
2. enable altek module board power on/off function
3. new solution for blocking aec in ov9282 sensor.

Issue-Id: task82581

Change-Id: I1d9329957ab1d0bddf40b3b17f36f37c645fc5b9
2019-01-30 13:48:52 +08:00
shangbl
ce3434826d camera: change tof sensor flags and optimize eeprom op.
In cam_sensor_core.c file, the tof flags use globle shared variance this
will cause error when more one sensor run. And optimize eeprom op.

Issue-Id: task82581

Change-Id: Icae831ee293f7062ad69b8748b815a652ec9f9fe
2019-01-28 20:43:59 +08:00
luzf1106
29cc62cded camera:TOF
Repair eeprom bug.

Issue-Id: task87654

Change-Id: I6185e5fe4679e95e0805b5a8622e74e005a7573e
2019-01-28 20:40:14 +08:00
_宋伟#013979
4e9d36150c Merge "Camera: optimize eeprom read operation for rpmh timeout" into robotics-x-lu-16.04-sda845-p1-dev 2019-01-22 20:36:31 +08:00
shangbl
bc65221df4 Camera: optimize eeprom read operation for rpmh timeout
split eeprom consequence read size into small blocks to void rpmh timeout that
cause system dump.

Issue-Id: task82581

Change-Id: I454696658c942a557ec3e48faa5e6f4f1eab0e36
2019-01-22 20:24:22 +08:00
李政春
88e397dc8c Merge "kernel: Fix ICM42600 driver" into robotics-x-lu-16.04-sda845-p1-dev 2019-01-14 17:42:14 +08:00
李政春
1ab4fc966f Merge "kernel: Bring up ICM42600" into robotics-x-lu-16.04-sda845-p1-dev 2019-01-14 17:41:50 +08:00
futrg0704
1bc85b2aff kernel: Fix ICM42600 driver
[IssueID]:task88343
[Module]:kernel

Change-Id: I0edbad785c81e70565a8888d6b051efd3c28167f
2019-01-14 09:34:44 +08:00
futrg0704
ea57e90140 kernel: Bring up ICM42600
[IssueID]:task88343
[Module]:kernel

Change-Id: I2873272a02fa7f196b3793673f86054f2908d9bc
2019-01-09 10:09:55 +08:00
李政春
540a0195fc Merge "camera:TOF feature" into robotics-x-lu-16.04-sda845-p1-dev 2019-01-08 15:27:36 +08:00
zhangrj0920
39a1bb176c Summary:roboitcs LE:USB2LAN mac address storage in /persist/lan_mac.bin[2/2]
[IssueID]:redmineID88260
[Module]: kernel

Change-Id: Ie8fe261a465e5b0afac667a760875a5135c13b32
2019-01-03 15:00:16 +08:00
zhangrj0920
17f44997ce Summary:roboitcs LE:USB2LAN mac address storage in /persist/lan_mac.bin[1/2]
[IssueID]:redmineID88260
[Module]: kernel

Change-Id: Icb71d6ae48979d30ba2f0d4050ba4316562cc79a
2019-01-03 14:59:26 +08:00
李政春
9553d4614a Merge "Summary:roboitcs LE:Sierra LTE module bring up[1/2]" into robotics-x-lu-16.04-sda845-p1-dev 2019-01-03 14:58:29 +08:00
zhangrj0920
0cda9a950f Summary:roboitcs LE:Sierra LTE module bring up[1/2]
[IssueID]: redmineID88253
[Module]: kernel

Change-Id: I15b7aa8eceb32a80366c7f933bd61b3db26a4dcf
2019-01-02 17:04:49 +08:00
ts_huanggm0701
320d1a121b camera: 3 Camera concurrency work
Modified the limit of links in per session

[IssueID]:redmineID82126
[Module]: kernel/msm-4.9

Change-Id: I298282b5faf5056167beddebbe9b603887aa6bdb
2018-12-27 18:32:11 +08:00
luzf1106
b669af512f camera:TOF feature
add temperature and mode feature
[IssueID]:task87654
[Module]: kernel/msm-4.9

Change-Id: I26b6a4ecf70f50b1040b9719423d35ecdc3e4f58
2018-12-13 18:05:10 +08:00
Linux Build Service Account
bca5c15c77 Merge "msm: camera: Fix arbitrary kernel write" 2018-12-12 07:42:44 -08:00
Linux Build Service Account
4da0084861 Merge "spi: spi-geni-qcom: Fix slab out of bounds error" 2018-12-12 07:42:28 -08:00
Prudhvi Yarlagadda
eaa7de2e21 spi: spi-geni-qcom: Fix slab out of bounds error
Passing incorrect argument to pm_runtime_status_suspended
function is causing slab out of bounds error. Pass
structure device type pointer as argument to
pm_runtime_status_suspended.

Change-Id: I59df6574496b9228c9238fe65673060d4ca141ef
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
2018-12-12 01:51:56 -08:00
Haibin Liu
27fc34c596 msm: camera: Fix arbitrary kernel write
In 64 bit kernel and 32 bit userspace, ioctl_ptr from
kernel space, should NOT call the copy_from_user.

In 64 bit kernel and 64 bit userspace, ioctl_ptr from
user space, use the copy_from_user to copy data.

use the is_compat_task to distinguish two condition.

CRs-Fixed: 2283160
Change-Id: If9205e4f3176a52e52f694a3183dc9c5b7617a97
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
2018-12-12 01:48:00 -08:00
Sean Tranchetti
e7a010e860 af_key: unconditionally clone on broadcast
Attempting to avoid cloning the skb when broadcasting by inflating
the refcount with sock_hold/sock_put while under RCU lock is dangerous
and violates RCU principles. It leads to subtle race conditions when
attempting to free the SKB, as we may reference sockets that have
already been freed by the stack.

Unable to handle kernel paging request at virtual address 6b6b6b6b6b6c4b
[006b6b6b6b6b6c4b] address between user and kernel address ranges
Internal error: Oops: 96000004 [#1] PREEMPT SMP
task: fffffff78f65b380 task.stack: ffffff8049a88000
pc : sock_rfree+0x38/0x6c
lr : skb_release_head_state+0x6c/0xcc
Process repro (pid: 7117, stack limit = 0xffffff8049a88000)
Call trace:
	sock_rfree+0x38/0x6c
	skb_release_head_state+0x6c/0xcc
	skb_release_all+0x1c/0x38
	__kfree_skb+0x1c/0x30
	kfree_skb+0xd0/0xf4
	pfkey_broadcast+0x14c/0x18c
	pfkey_sendmsg+0x1d8/0x408
	sock_sendmsg+0x44/0x60
	___sys_sendmsg+0x1d0/0x2a8
	__sys_sendmsg+0x64/0xb4
	SyS_sendmsg+0x34/0x4c
	el0_svc_naked+0x34/0x38
Kernel panic - not syncing: Fatal exception

CRs-Fixed: 2251019
Change-Id: Ib3b01f941a34a7df61fe9445f746b7df33f4656a
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
2018-12-11 22:02:43 -08:00
Linux Build Service Account
408840624e Merge "Revert "msm: camera: isp: Select epoch config based on Hardware"" 2018-12-11 04:52:26 -08:00
Gerrit - the friendly Code Review server
0952642f4a Merge changes into LE.UM.2.3.7 2018-12-11 04:29:29 -08:00
Jianyong Zhang
e6622ccce6 Revert "msm: camera: isp: Select epoch config based on Hardware"
This reverts commit 864262097c.

Change-Id: I4455d2c39349516d837dd45bd96d2c4399074133
Signed-off-by: Jianyong Zhang <zhangjy54299@codeaurora.org>
2018-12-10 18:09:21 -08:00
Haizhou Fan
dbf0ab56d7 msm: camera: disable power collapse when camera is working
To avoid CPU goes into power collapse mode,
set PM QOS latency to 100 when opening camera,
and reset it to -1 when closing camera.

Change-Id: I4472f64ac853d822a77367b843287a9a7c9d83d9
Signed-off-by: Haizhou Fan <haizhoufan@codeaurora.org>
2018-12-10 19:55:26 +08:00
Haizhou Fan
8af5dec75f Revert "Revert "msm: camera: eeprom: set platform driver data to null""
This reverts commit 85481d9259.

Change-Id: Ifefca6c8eda43f5af373ac9e45fcd3c4a29b063d
Signed-off-by: Haizhou Fan <haizhoufan@codeaurora.org>
2018-12-08 00:43:37 +08:00
Jigarkumar Zala
2b6d694bce msm: camera: flash: Remove race condition in subdev close
Subdev close is calling flash_shutdown() to flush req and release
device operation. flash_subdev_close() does the mutex lock already.
Removing same mutex lock opertion from flash_shutdown() function
to remove race condition.

Change-Id: Id2fb7c1b73d4294d1e164df3b44e51455ba15b7f
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2018-12-08 00:34:11 +08:00
Jigarkumar Zala
49f68461d7 msm: camera: flash: Remove regulator power up/down from early PCR
Regulator is enabled at the time of flash init. Early PCR tries to
enable regulator again which is not correct operation. This change
fixes this error by removing regulator in early PCR operation.

Change-Id: Ice6cd13ab1724d15950458579ab60aedd15103fa
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2018-12-08 00:29:48 +08:00
Abhilash Kumar
d374014bea msm: camera: isp: Initialize isp_dev's mutex
Accessing uninitialized mutex is not recommended.
Prevent such handling by initializing the mutex
during probe.

Change-Id: Iff3bc8d390fe59f5fc71cdadfa53e66077b59e1b
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
2018-12-08 00:25:50 +08:00
Junzhe Zou
c8cc18669c msm: camera: isp: clean up logic to handle bubble
Move request to active list whenever bubble is detected and wait for
buf done. Remove the request from active list after buf done from all
the ports are returned.

Change-Id: Ic9e3b0d28ab8beef7018b781fbcfcba83add8281
Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
2018-12-08 00:19:21 +08:00
Karthik Anantha Ram
2a09f0534a msm: camera: isp: Preserve the default min hbi value.
For the IPP & PPP paths the default min hbi between lines
is specified to be 4. The value is overwritten while
configuring other bits in this register. This change ensures
that we retain the default register value for min hbi.

Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Change-Id: If39c58f7208d61e711d32000f5481d99f6fc80c5
2018-12-08 00:15:49 +08:00
Karthik Anantha Ram
d7dd8e156b msm: camera: isp: Enable early EOF
This change enables generating EOF strobe immediately after
last line of the image. This feature reuses the START_LINE and
END_LINE fields of the VCROP register to know what the actual
frame height is. Hence this bit is enabled only when user
correctly programs the start and end lines of the vcrop register.
Also the change adds a debugfs to disable this feature.

Change-Id: I3b884a18ea50931cad58ee7d03829bfb596e01a2
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2018-12-08 00:11:26 +08:00
Karthik Anantha Ram
d7d7ad2c1b msm: camera: isp: Add debugfs to dump hbi/vbi info
Add debugfs which when enabled dumps the configured
horizontal & vertical blanking.

To dump hbi/vbi from csid-
adb shell "echo 0x80 > /sys/kernel/debug/camera_ife/ife_csid_debug"

To dump camif sensor diagnostic status-
adb shell "echo 0x1 > /sys/kernel/debug/camera_ife/ife_camif_debug"

Change-Id: Ib6372600883b68893563e137f62eef21cf4b7ff1
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
2018-12-08 00:08:10 +08:00
Jigarkumar Zala
b36fa62ea1 msm: camera: flash: Add i2c hw support
Add i2c related operations which include command buffer parsing,
apply settings and delete settings.

Change-Id: I1e5a23ba7f76ed14f0ba0115d092e8248f2e9999
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
2018-12-08 00:02:57 +08:00