GitHub/MotorolaMobilityLLC/kernel-slsi.git
5 years ago[9610] drivers: gpu: add SECURE_RENDERING codes
Yoojin Park [Mon, 5 Aug 2019 12:45:19 +0000 (21:45 +0900)]
[9610] drivers: gpu: add SECURE_RENDERING codes

Change-Id: I3fbfaf65a4b3ea592efb2dabc5281e61f093343c
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
5 years ago[9610] drivers: gpu: remove BTS codes in Bifrost r19p0
Yoojin Park [Thu, 4 Jul 2019 14:18:39 +0000 (23:18 +0900)]
[9610] drivers: gpu: remove BTS codes in Bifrost r19p0

To avoid buiid error

Change-Id: I9f68bcf381b81528341d34e959c2c33d3ba1b50c
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
5 years ago[9610] drivers: gpu: adding gpu kernel driver for Bifrost r19p0
Yoojin Park [Thu, 4 Jul 2019 09:45:37 +0000 (18:45 +0900)]
[9610] drivers: gpu: adding gpu kernel driver for Bifrost r19p0

Change-Id: I493e8a9b636db4cfe24a3cd9756937f2250d233f
Signed-off-by: Yoojin Park <yoojin1.park@samsung.com>
5 years ago[COMMON] media: mfc: support H264 5.2 level
Sunyoung Kang [Thu, 8 Aug 2019 10:51:46 +0000 (19:51 +0900)]
[COMMON] media: mfc: support H264 5.2 level

Change-Id: I128a614127cec65d56e8e1edf5aa151846f3c777
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
5 years ago[ERD][NEUS7920-261] [9610] usb: notify: add wake_lock
SEO HOYOUNG [Fri, 10 May 2019 00:46:22 +0000 (09:46 +0900)]
[ERD][NEUS7920-261] [9610] usb: notify: add wake_lock

Change-Id: I7d2995efa208a8e00501d16fba2faa24f1c48758
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
5 years ago[ERD][NEUS7920-261] [9610] usb: notify: disable USB L2 mode
SEO HOYOUNG [Fri, 10 May 2019 01:10:11 +0000 (10:10 +0900)]
[ERD][NEUS7920-261] [9610] usb: notify: disable USB L2 mode

Change-Id: Ic3ef8ca60924e69735173555a0921fe9d6a0096c
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
5 years ago[ERD][NEUS7920-261] [9610] usb: notify: add timer 5s for otg_sw_switch
SEO HOYOUNG [Tue, 7 May 2019 05:49:29 +0000 (14:49 +0900)]
[ERD][NEUS7920-261] [9610] usb: notify: add timer 5s for otg_sw_switch

Change-Id: I77b8658640e761eef6b5ec9224939035e95f79ac
Signed-off-by: SEO HOYOUNG <hy50.seo@samsung.com>
5 years ago[ERD][NEUS7920-226] [COMMON] i2c: exynos: Support multi mode for HSI2C
Kyungwoo Kang [Mon, 22 Apr 2019 05:01:35 +0000 (14:01 +0900)]
[ERD][NEUS7920-226] [COMMON] i2c: exynos: Support multi mode for HSI2C

Change-Id: I15809b11225fd0fc017505231c65d2feea53f755
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
5 years ago[ERD][NEUS7920-226] [COMMON] i2c: core: Add client data for multi mode slave devices
Kyungwoo Kang [Tue, 23 Apr 2019 01:31:22 +0000 (10:31 +0900)]
[ERD][NEUS7920-226] [COMMON] i2c: core: Add client data for multi mode slave devices

Change-Id: Ie43d3c5c80281fe542383de9176918a6a0e50d15
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
5 years ago[ERD][RAMEN9610-14963] [COMMON] lib: dss: Change debug level policy.
Changki Kim [Tue, 26 Mar 2019 11:20:46 +0000 (20:20 +0900)]
[ERD][RAMEN9610-14963] [COMMON] lib: dss: Change debug level policy.

debug level is related with ramdump.
low: if error(like panic, wdtreset ..) happened,
     system does not enter fastboot mode.
mid: system enters fastboot mode.

debug level is determined in bootloader.

Change-Id: I9186dc97ee7591ef2f4e888da488602141779ebf
Signed-off-by: Changki Kim <changki.kim@samsung.com>
5 years ago[ERD][NEUS7920-190] [9610] arm64: defconfig: enable otg_sw_switch
HOYOUNG SEO [Thu, 2 May 2019 05:21:28 +0000 (14:21 +0900)]
[ERD][NEUS7920-190] [9610] arm64: defconfig: enable otg_sw_switch

Change-Id: Ia00b93c25e7b034ab14c767db584a1083c3f610c
Signed-off-by: HOYOUNG SEO <hy50.seo@samsung.com>
5 years ago[ERD][NEUS7920-190] [9610] usb: notify: add otg_sw_switch
HOYOUNG SEO [Thu, 2 May 2019 05:11:33 +0000 (14:11 +0900)]
[ERD][NEUS7920-190] [9610] usb: notify: add otg_sw_switch

Change-Id: I405315c4ee28d0006c5c6c01f286affb7f2936d5
Signed-off-by: HOYOUNG SEO <hy50.seo@samsung.com>
5 years ago[ERD][NEUS7920-140] [9610] fbdev: dpu20: dsim: sysfs for read and write panel addr
Kijun Kim [Tue, 23 Apr 2019 01:57:09 +0000 (10:57 +0900)]
[ERD][NEUS7920-140] [9610] fbdev: dpu20: dsim: sysfs for read and write panel addr

Change-Id: I994bddac72d82567982e4f3aceca0f90e628f40e
Signed-off-by: Kijun Kim <kijun.kim@samsung.com>
5 years ago[ERD][NEUS7920-135] [COMMON]chub: print-out chub fw log to AP during power-on
Boojin Kim [Mon, 1 Apr 2019 08:16:50 +0000 (17:16 +0900)]
[ERD][NEUS7920-135] [COMMON]chub: print-out chub fw log to AP during power-on

Change-Id: I6979c0c2d61867ff1e6b97fedafc21a8f8e06625
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
5 years ago[ERD][NEUS7920-135] [COMMON]chub: No remove sensorinfo in reset
Sukwon Ryoo [Wed, 13 Mar 2019 06:32:09 +0000 (15:32 +0900)]
[ERD][NEUS7920-135] [COMMON]chub: No remove sensorinfo in reset

When something went wrong during os select,
sensorinfo area is swiped out because of reset.
So HAL can not get sensorlist.
This patch makes IPC area set 0 except
sensorinfo area.

Change-Id: I667deedbd4ba4b0b190aa46c13f0b3008ca193b3
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
5 years ago[ERD][NEUS7920-135] [COMMON] Revert "[RAMEN9610-10009][COMMON] soc: samsung: cal...
Boojin Kim [Wed, 23 Jan 2019 04:48:02 +0000 (13:48 +0900)]
[ERD][NEUS7920-135] [COMMON] Revert "[RAMEN9610-10009][COMMON] soc: samsung: cal-if: Changed DLL freq from 360 to 104Mhz"

This reverts commit e8d8ebe6793550609a802cb0526a706ca9160cf9.

Change-Id: Ifa21c50306512a3ff8a91f973142bc934a7a0034

5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: add null check before refer to desc->action
Hyunki Koo [Thu, 11 Oct 2018 10:27:21 +0000 (19:27 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: add null check before refer to desc->action

Change-Id: I9f5211c8a08b94ce5430cb49995e5be79d3ab567
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON]lib: dss: Add saving dss item information for bootloader
Changki Kim [Wed, 24 Oct 2018 05:37:12 +0000 (14:37 +0900)]
[ERD][NEUS7920-76] [COMMON]lib: dss: Add saving dss item information for bootloader

Change-Id: Ie4094df9be7d1a8296dd108667a8d7e6e1e6fde0
Signed-off-by: Changki Kim <changki.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] i2c: core: Add Debug Snapshot Feature for I2C
Kyungwoo Kang [Mon, 20 Aug 2018 05:36:09 +0000 (14:36 +0900)]
[ERD][NEUS7920-76] [COMMON] i2c: core: Add Debug Snapshot Feature for I2C

Since 9820, a debugging feature has been changed
from Exynos snapshot to Debug snapshot.
This is a new porting of Debug snapshot

Change-Id: I671485ed64629c2d00504b13058bcfa0a9282447
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] smc: add smc call for FIQ debugger
Donghyeok Choe [Tue, 28 Aug 2018 07:33:27 +0000 (16:33 +0900)]
[ERD][NEUS7920-76] [COMMON] smc: add smc call for FIQ debugger

add smc cmd about entering multistage WDT FIQ debugger.

Change-Id: Id18b4b720180adf888cfc04623f5e22fd9a25232
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
5 years ago[ERD][NEUS7920-76] [9610] arm64: dts: Add watchdog device node for FIQ Debugger
Donghyeok Choe [Fri, 14 Dec 2018 06:47:56 +0000 (15:47 +0900)]
[ERD][NEUS7920-76] [9610] arm64: dts: Add watchdog device node for FIQ Debugger

Change-Id: Ifccfe5b7fa347a12df4169c728cbbea5fa13ecbd
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: support connected logging for platform log
Hosung Kim [Mon, 22 Oct 2018 11:26:35 +0000 (20:26 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: support connected logging for platform log

Change-Id: I448813459c3b931ad969bc031085c7ab95b3c36e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: add missing logging for spin_trylock
Hosung Kim [Wed, 12 Sep 2018 01:44:12 +0000 (10:44 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: add missing logging for spin_trylock

This commit adds missing logging when using spin_trylock.
It was logging only exit(en = 3) before when using spin_trylock.

Change-Id: I8776a20846f6b1bfca5da7e77f051c9a3f28c9b5
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: save some information to DSS header region
Hosung Kim [Mon, 20 Aug 2018 07:30:39 +0000 (16:30 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: save some information to DSS header region

DSS want to know some physical address in ramdump directly.
- linux-banner is saved to 0x700 -- 0x8FF offset
- kernel log address is saved to 0x900 offset
- platform log address is saved to 0x904 offset
- kernel event address is saved to 0x908 offset
from DSS reserved region.

Change-Id: I74f110249fbc3cecc32bcd2d22ba1cba65d9fbf9
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: remove dbg_snapshot_clockevents logging
Hosung Kim [Fri, 3 Aug 2018 07:25:33 +0000 (16:25 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: remove dbg_snapshot_clockevents logging

Change-Id: Ida00fe5f17b5bc4262cf3d7675b8db78c6862568
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: refactor dbg_snapshot_irq logging
Hosung Kim [Thu, 2 Aug 2018 02:18:37 +0000 (11:18 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: refactor dbg_snapshot_irq logging

This commit refactors logging of dbg_snapshot_irq as following.

1. Remove dbg_snapshot_irq_exit logging (actually it is merged to
   dbg_snapshot_irq like measuring latency)
2. Adding logging actually called function in smp_call_function
   to dbg_snapshot_irq. its flag is DSS_FLAG_SMP_CALL_FN.
3. Replace logging from irqaction structure to irq_desc structure.
   irq_desc includes irqaction and it has more informations.
   And we are too hard to see it in ramdump.

Change-Id: I351593a454fd39eb87a965093349d69b6182e7ce
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: refactor dbg_snapshot_suspend logging
Hosung Kim [Mon, 30 Jul 2018 11:18:12 +0000 (20:18 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: refactor dbg_snapshot_suspend logging

Previously dbg_snapshot_suspend was wrong by logging in
notifier function. This patch fixes it and adding various logging
when suspending and resuming this system.
Now dbg_snapshot_suspend logging is used when analyzing
various issues.

Change-Id: I024a23bfeb995ccd6f6b1ba2831bc85ee4404afd
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[ERD][NEUS7920-76] [COMMON] lib: dss: support to output notifier call functions
Hosung Kim [Wed, 11 Jul 2018 06:31:00 +0000 (15:31 +0900)]
[ERD][NEUS7920-76] [COMMON] lib: dss: support to output notifier call functions

On reboot/panic/occuring itmon, notifier call adding from device
function breaks system sometime.
This commit prevents such a situation to output reboot/panic notifier
like following.

debug-snapshot: panic_notifier_list -> hung_task_panic call +
debug-snapshot: panic_notifier_list -> hung_task_panic call -
debug-snapshot: panic_notifier_list -> exynos_cs_panic_handler call +
debug-snapshot: panic_notifier_list -> exynos_cs_panic_handler call -

Change-Id: Iec9bc3afe77a928a12d1138acd42bf02e3706bb4
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
5 years ago[9610] fimc-is2: OIS HEA test SW change
syoo [Wed, 26 Jun 2019 20:25:57 +0000 (15:25 -0500)]
[9610] fimc-is2: OIS HEA test SW change

- actual measured values are stored separately
- calibration mode procedure is changed

Change-Id: I5a67a3f6b81d314716efa45dea7e77ea68c7a685
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: Add OV12a10/OV12a10FF long exposure function
Dohyun Kim [Mon, 11 Mar 2019 04:53:36 +0000 (13:53 +0900)]
[COMMON] fimc-is2: Add OV12a10/OV12a10FF long exposure function

 PR JIRA ID: CPR-892

Change-Id: I9e0f0597ff3bc6171d36cf80add17580b3e0c9ad
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: modify OV16885 setting to decrease V-blank time
xff [Fri, 29 Mar 2019 08:41:43 +0000 (16:41 +0800)]
[COMMON] fimc-is2: modify OV16885 setting to decrease V-blank time

Change-Id: Ia9cfb584eceb51dd626245db15ee62b7644d6962
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: update max register value of again for ov sensor
xff [Wed, 10 Apr 2019 12:28:36 +0000 (20:28 +0800)]
[COMMON] fimc-is2: update max register value of again for ov sensor

Change-Id: Ied7f8d30133c3393d1c31f679b65dfb129387f41
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: fix 2X5SP LTE capture cancel freeze
Wooyeon Kim [Thu, 4 Apr 2019 05:40:22 +0000 (14:40 +0900)]
[COMMON] fimc-is2: fix 2X5SP LTE capture cancel freeze

 PR JIRA ID: CPR-914

Change-Id: I573445914d43a06b5a56f3d93bfbe2e9b7a0e503
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: modified 2X5 remosaic exp multiplier
Wooyeon Kim [Mon, 8 Apr 2019 04:21:52 +0000 (13:21 +0900)]
[COMMON] fimc-is2: modified 2X5 remosaic exp multiplier

 - move remosaic exp to "adjust_frame_duration"

 PR JIRA ID: CPR-935

Change-Id: I270cb7c77ce36cf40daa5a9195f0d24e6678de24
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat
Wooyeon Kim [Thu, 14 Mar 2019 08:59:17 +0000 (17:59 +0900)]
[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat

 - motion stat update interface added
 - fix wrong register update method for some stats

 PR JIRA ID: CPR-828

Change-Id: Idab1c8dceb671cd8a1f22fa2785455d3d4ea7ba8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agoRevert "[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat"
Wooyeon Kim [Sat, 13 Jul 2019 05:35:50 +0000 (14:35 +0900)]
Revert "[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat"

This reverts commit 5163d533c949d86848ce7db975bf4a090bffe7ba.

Change-Id: Iff98b7dd427df8ca2c8ff45e2f8ca5f7f36462f8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module
Dohyun Kim [Thu, 16 May 2019 08:52:49 +0000 (17:52 +0900)]
[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module

Change-Id: Ic4e74070efecf34fa3d7943faf2ea124dd87968f
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] fimc-is2: add otp data set function
Dohyun Kim [Thu, 16 May 2019 08:53:29 +0000 (17:53 +0900)]
[9610] fimc-is2: add otp data set function

Change-Id: I8ffc5d9d43ae7b07903284c67b64d1f96ede43b9
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: paf on at MSPD mode
Dohyun Kim [Thu, 4 Apr 2019 09:27:20 +0000 (18:27 +0900)]
[COMMON] fimc-is2: paf on at MSPD mode

PR JIRA ID: CPR-924

Change-Id: Iffd6f010bdd54359af0fd0e0c74661a99d302fbc
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: paf on at MSPD tail mode
Wooyeon Kim [Fri, 21 Dec 2018 11:20:48 +0000 (20:20 +0900)]
[COMMON] fimc-is2: paf on at MSPD tail mode

PR JIRA ID: CPR-924

Change-Id: I01866b5ce51eb71022ffca4d19ebbd65ec7b5b62
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: fix section err in resourcemgr
Wooyeon Kim [Wed, 3 Apr 2019 11:31:00 +0000 (20:31 +0900)]
[COMMON] fimc-is2: fix section err in resourcemgr

 - "__init" prefix deleted at lib_map, heap_map

 PR JIRA ID: CPR-916

Change-Id: Iaa0adc0837159451ef60e03171b748edc7219ca6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: do not use fast AF trigger when Precapture trigger
Wooyeon Kim [Wed, 24 Apr 2019 01:59:04 +0000 (10:59 +0900)]
[COMMON] fimc-is2: do not use fast AF trigger when Precapture trigger

 PR JIRA ID: CPR-990

Change-Id: Idb6311be87729c3e2119199e4047124a6733e9b8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: modify "head" base when group is stopped
Wooyeon Kim [Mon, 15 Apr 2019 10:18:10 +0000 (19:18 +0900)]
[COMMON] fimc-is2: modify "head" base when group is stopped

 - when camera is suddenly closed, wrong refer group caused
   smp trigger stuck problem

 PR JIRA ID: CPR-958

Change-Id: I311a14c062906d4aab7aa5f9e36fb151ba80107e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: otp loading sequence change
Dohyun Kim [Wed, 15 May 2019 06:52:36 +0000 (15:52 +0900)]
[9610] fimc-is2: otp loading sequence change

Change-Id: I92c2d524fc9f0f808dbcb1e11ebd6a706501d0e8
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] fimc-is2: turn off VC tasklet
dan huh [Wed, 11 Jul 2018 01:53:48 +0000 (10:53 +0900)]
[9610] fimc-is2: turn off VC tasklet

PR JIRA ID: CPR-584

Change-Id: I3aeccdfb826441e3afd80cf74b2864399a27f12e
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[9610] fimc-is2: remove logic that load initial position of actuator
Dohyun Kim [Fri, 21 Jun 2019 10:16:08 +0000 (19:16 +0900)]
[9610] fimc-is2: remove logic that load initial position of actuator

Change-Id: Ic426459443f7de03ea77c9a17cc7febaab0e9a0c
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: support get actual af position of lc898217
xff [Mon, 4 Mar 2019 02:18:43 +0000 (10:18 +0800)]
[COMMON] fimc-is2: support get actual af position of lc898217

Change-Id: I1b1b2a856f0e5fdd9525a275aa5c998d17e97746
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: kane: update dw9839 init setting
wangdw10 [Tue, 7 May 2019 05:56:54 +0000 (13:56 +0800)]
[COMMON] fimc-is2: kane: update dw9839 init setting

- 0x18 0x03 0x01
- 0x18 0x40 0xF1
- 0x18 0x54 0x0E
- 0x18 0x03 0x11
Delay 3ms
- 0x18 0x04 0x00

Change-Id: I89b3b3d7e091cbc0fac65f5ac0e433ed72a11c77
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: adjust pre flash current for s2mu106 flash
wangdw10 [Tue, 8 Jan 2019 12:44:44 +0000 (20:44 +0800)]
[COMMON] fimc-is2: adjust pre flash current for s2mu106 flash

 - use total 150mA for pre flash mode

Change-Id: I48017d89f8566753df76b597049937511e34e8e5
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[HACK][9610] fimc-is2: add sensor interface that transmit crop value for Troika
Dohyun Kim [Mon, 8 Apr 2019 08:37:10 +0000 (17:37 +0900)]
[HACK][9610] fimc-is2: add sensor interface that transmit crop value for Troika

Change-Id: I2ab248a42145ff71f5194d1ef38c331ab7a19287
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: Add interface that transmits crop info for pdaf
Dohyun Kim [Wed, 27 Mar 2019 09:18:02 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Add interface that transmits crop info for pdaf

PR JIRA ID: CPR-924

Change-Id: If93b8b4d146e686d5e720e28dd39f1259626d26c
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[HACK][9610] fimc-is2: move LTE step1 work only for 2x5
Wooyeon Kim [Fri, 19 Apr 2019 02:53:56 +0000 (11:53 +0900)]
[HACK][9610] fimc-is2: move LTE step1 work only for 2x5

 - for avoid side effect of 0x0BCC settings

 PR JIRA ID: CPR-974

Change-Id: I150ddaf30c636d0355bfcdbfc0c3e53d312148f0
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: do update sensor dm when flash capture
Wooyeon Kim [Wed, 29 May 2019 01:26:06 +0000 (10:26 +0900)]
[COMMON] fimc-is2: do update sensor dm when flash capture

 PR JIRA ID: CPR-1136

Change-Id: Ib465e0dcbcbad706ac4cd41230aeab38dfc28c55
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: eeprom loading sequence optimize
libm1 [Mon, 13 May 2019 07:43:23 +0000 (15:43 +0800)]
[COMMON] fimc-is2: eeprom loading sequence optimize

Change-Id: Id5a42a30418303e80b0f7b225a4b439617b32ce3

5 years ago[COMMON] fimc-is2: update eeprom as KP request
wangdw10 [Mon, 25 Mar 2019 03:16:53 +0000 (11:16 +0800)]
[COMMON] fimc-is2: update eeprom as KP request

support CRC check for DVT and PVT module

Change-Id: Iaf1dbc640ba3ba8de992091756fd07a32663ea3e
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: Fix ois bu24218gwl not work
libm1 [Tue, 19 Mar 2019 13:10:15 +0000 (21:10 +0800)]
[COMMON] fimc-is2: Fix ois bu24218gwl not work

Update the boot sequence
Delete debug log
Enable OIS init work option

Change-Id: I2035a0257440a90ef02cafec6ab391ef536361a2
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: Add debug log for ois bu24218gwl
libm1 [Tue, 12 Mar 2019 08:16:53 +0000 (16:16 +0800)]
[COMMON] fimc-is2: Add debug log for ois bu24218gwl

Sometimes the OIS not move, so add some debug log to
help further check this issue.

Change-Id: I6b7464c7c80e0cad959f9f09fd49481b18a20800
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue
libm1 [Fri, 1 Mar 2019 08:51:53 +0000 (16:51 +0800)]
[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue

Since SELinux enable, kernel OIS driver can`t read eeprom bin file
in userspace filesystem, which lead to OIS always load default cal data.
The solution is to pass the eeprom device node to OIS driver, then
OIS cal data in eeprom data can be parse directly.

Change-Id: Ic61ae2c4abc0c88342383f49df35a1bc48719f7e
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: update ois bu24218gwl settings
libm1 [Sat, 2 Feb 2019 03:15:04 +0000 (11:15 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings

Update FW ver 1.3 to 1.5 support

Change-Id: Id11594dc17b59e1f17c03ad4e529906a4dceda61
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: change ois bu24218gwl cal data check condition
libm1 [Thu, 17 Jan 2019 09:22:46 +0000 (17:22 +0800)]
[COMMON] fimc-is2: change ois bu24218gwl cal data check condition

Since DVT2, the OIS cal data in eerprom is ok.
Using EEPROM table revision to distinguish DVT2 module and after

Change-Id: I50b671f8aee9ec28ccc1e47052d0f8e1a9e8f225
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: update ois bu24218gwl cal data control
libm1 [Tue, 15 Jan 2019 04:51:30 +0000 (12:51 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl cal data control

The OIS cal data in DVT2 eeprom is ok to apply. But before DVT2,
it is not workable data.
So add logic to check whether the OIS cal data is good or not,
if good, use it to write into OIS module,
if wrong, will change to use dafault cal data to write into OIS module.
So the ideal expected result is:
using real ois cal data in EEPROM on DVT2 module and after,
using dafault ois cal data on old module(before DVT2).

Change-Id: I8b156021aa3acc3e21d9b073d007a4b79db2f546
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[9610] fimc-is2: add bu24218 OIS factory test
Xiaofei Ma [Wed, 9 Jan 2019 22:48:45 +0000 (16:48 -0600)]
[9610] fimc-is2: add bu24218 OIS factory test

Firmware version and hea test support.

Change-Id: Iafdd03a47c73aadbb19ed50f71755c51f1adb9c8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: update camera cal dump folder
wangdw10 [Sat, 29 Dec 2018 07:41:18 +0000 (15:41 +0800)]
[COMMON] fimc-is2: update camera cal dump folder

Change-Id: Ied5a2d62c063b214b9418d82a46313a3e390b715
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: update ois bu24218gwl settings
libm1 [Fri, 28 Dec 2018 05:55:57 +0000 (13:55 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings

Update FW ver 1.2 to 1.3 support

Change-Id: I0e10121ded4e3b488b4c317944a5cb2d11388ed9
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: update ois bu24218gwl centering mode settings
libm1 [Thu, 20 Dec 2018 12:34:25 +0000 (20:34 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl centering mode settings

Change-Id: Iae133199dc2843c702f2e7a0e73ee4ec1b3ada81
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[COMMON] fimc-is2: update ois bu24218gwl settings
libm1 [Tue, 18 Dec 2018 05:31:42 +0000 (13:31 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings

Temp use default cal data, not use cal data from eeprom
Move ois init timing after eeprom init done
Update FW ver 1.0 to 1.2 support

Change-Id: I70d2f306208345f3d98cc09c07807f01c4dcf1d1
Signed-off-by: libm1 <libm1@lenovo.com>
5 years ago[9610] fimc-is2: eeprom loading sequence change
Dohyun Kim [Wed, 15 May 2019 06:52:19 +0000 (15:52 +0900)]
[9610] fimc-is2: eeprom loading sequence change

Change-Id: I02f44fd496598aa2812642b2daa4aa326558089e
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: troika: improve eeprom dump flow
wangdw10 [Fri, 10 May 2019 07:39:49 +0000 (15:39 +0800)]
[COMMON] fimc-is2: troika: improve eeprom dump flow

read module serial numbe and check to dump eeprom

Change-Id: Ib61d4041e720aed780b25c5ac462799f8100aafa
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: troika: improve eeprom dump logic
wangdw10 [Fri, 10 May 2019 03:00:05 +0000 (11:00 +0800)]
[COMMON] fimc-is2: troika: improve eeprom dump logic

1. avoid dump again when serial number same
2. fix logic error when CRC fail

Change-Id: Ib7a0ace30b46aef1ca5eb11d40d307a5198acfb4
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: update eeprom map of OV12A10
xff [Thu, 14 Mar 2019 08:50:44 +0000 (16:50 +0800)]
[COMMON] fimc-is2: update eeprom map of OV12A10

1. Robusat2Play_Calibration_map_20190226.xls
2. only dump 2k size for dual camera cal data

Change-Id: I6a65502edb388333e490f880be1ae6eb86309cc8
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: Optimized otp read flow path for 5e9
xff [Tue, 16 Apr 2019 09:07:48 +0000 (17:07 +0800)]
[COMMON] fimc-is2: Optimized otp read flow path for 5e9

Change-Id: I554d9560608b0f2b4069b6e8bd5a2b4dcab98c5b
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: delete avdd gpio power up/down for 5e9
xff [Fri, 12 Apr 2019 07:40:34 +0000 (15:40 +0800)]
[COMMON] fimc-is2: delete avdd gpio power up/down for 5e9

Change-Id: I0e4d67dcbbebcb12c6d9d265df8ae2295aceb261
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: modified OV12A10/OV12A10FF/OV16885/5E9 power on sequence delay
xff [Tue, 16 Apr 2019 07:36:49 +0000 (15:36 +0800)]
[COMMON] fimc-is2: modified OV12A10/OV12A10FF/OV16885/5E9 power on sequence delay

Change-Id: I141dc1f11b91fa81f051982b9f87b3b33ca75fac
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: adjust power up sequence for OV12A10/OV12A10FF/OV16885C/5E9
xff [Mon, 18 Mar 2019 10:53:20 +0000 (18:53 +0800)]
[COMMON] fimc-is2: adjust power up sequence for OV12A10/OV12A10FF/OV16885C/5E9

Change-Id: Id14a701c6a31b89a0aa72ddd78f4a8a892b676b0
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: Add pdaf feature to 12a10 sensor
Dohyun Kim [Wed, 27 Mar 2019 09:18:16 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Add pdaf feature to 12a10 sensor

Change-Id: Ibe4dc721533e5161e7f3bfd9f9b9361c12ae8541
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add power retry logic
wangdw10 [Mon, 15 Apr 2019 03:16:50 +0000 (11:16 +0800)]
[COMMON] fimc-is2: add power retry logic

- when retried sensor module power off to on
 add to get delay more

- sync power sequence from mainline to drvonly

Change-Id: I98f5561e88b9db6812e3d15592aa058e143c6903
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: modified GM1/2X5/5E9 power on sequence delay
Wooyeon Kim [Tue, 9 Apr 2019 01:38:29 +0000 (10:38 +0900)]
[COMMON] fimc-is2: modified GM1/2X5/5E9 power on sequence delay

 - #1(power - MCLK) : increased 1ms
   #2(reset high - first i2c) : each sensor spec

Change-Id: I5af56c82078470f7fc06a85f9a898d2a3ba62b99
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: set init low state for mclk of 5e9
Dohyun Kim [Fri, 15 Feb 2019 07:14:03 +0000 (16:14 +0900)]
[9610] fimc-is2: set init low state for mclk of 5e9

Change-Id: Ia44ae8a9bf70afe1fddff940628c7f6250b894ad
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: troika: add setfile_5e9_troika.bin for troika
wangdw10 [Tue, 29 Jan 2019 07:02:22 +0000 (15:02 +0800)]
[COMMON] fimc-is2: troika: add setfile_5e9_troika.bin for troika

Change-Id: I01ca39281f5d5e78f854b395f562797cfe7142bc
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: cis: update sensor_module_5e9_power_setpin_0 for troika
wangdw10 [Mon, 28 Jan 2019 13:38:48 +0000 (21:38 +0800)]
[COMMON] fimc-is2: cis: update sensor_module_5e9_power_setpin_0 for troika

Change-Id: Ie47b1430bbc25c7e6b314b1f505f86c3fdbb25a5
Signed-off-by: wangdw10 <wangdw10@lenovo.com>
5 years ago[COMMON] fimc-is2: fix wrong regulator set at 5E9
Wooyeon Kim [Tue, 27 Nov 2018 09:20:30 +0000 (18:20 +0900)]
[COMMON] fimc-is2: fix wrong regulator set at 5E9

Change-Id: I8bd6939b6a5e5e21bb530132ce8437a05d85dfa2
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: update sensor 5e9 setting of setC.
ts_songwei1113_tmp [Thu, 15 Nov 2018 06:25:43 +0000 (14:25 +0800)]
[COMMON] fimc-is2: update sensor 5e9 setting of setC.

Change-Id: I6a2c768d79d8c92dfbde2bf3ace2f4fa98f0a891
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add embedded line DT at 2x5sp high speed mode
Wooyeon Kim [Mon, 29 Apr 2019 02:38:41 +0000 (11:38 +0900)]
[COMMON] fimc-is2: add embedded line DT at 2x5sp high speed mode

 - for avoid wrong_cfg error when 3dhdr -> other mode

 PR JIRA ID: CPR-1008

Change-Id: Ifb610fab92c713bb22adee33ecac1db13ee4891e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: Optimized & update settings for 2x5 otp
Wooyeon Kim [Wed, 10 Apr 2019 05:27:06 +0000 (14:27 +0900)]
[COMMON] fimc-is2: Optimized & update settings for 2x5 otp

Change-Id: I3c2d10ed435ec05ee2f22647e2ee09222da8d247
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: modified pinctrl delay function to udelay
Wooyeon Kim [Fri, 12 Apr 2019 12:03:42 +0000 (21:03 +0900)]
[COMMON] fimc-is2: modified pinctrl delay function to udelay

 - for activate by busy waiting

Change-Id: Ib4958629646eb38bef35bd9752c07b2fc45343a4
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: fix wrong GM1SP 60fps VC setting
Wooyeon Kim [Thu, 11 Apr 2019 11:14:20 +0000 (20:14 +0900)]
[COMMON] fimc-is2: fix wrong GM1SP 60fps VC setting

 - It can cause mismatch of PAFSTAT setting
   not initilized for pafstat tasklet

 PR JIRA ID: CPR-944

Change-Id: I2dd6a00e1aafa1b5959925e99aeeed5b976e5cc5
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: Remove ring-buffer concept for sensor tag data
Sanghoon Lee [Sat, 26 Jan 2019 05:39:06 +0000 (14:39 +0900)]
[COMMON] fimc-is2: Remove ring-buffer concept for sensor tag data

Ring buffer concept for sensor tagging data was applied to avoid the
data overwriting issue.
That issue was removed now and ring buffer is not necessary anymore.

PR JIRA ID: CPR-625

Change-Id: Ia85a84261b63e97e223585ebebbd84396fcb8579
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
5 years ago[COMMON] fimc-is2: Update tag_data only for sensor group
Sanghoon Lee [Fri, 25 Jan 2019 09:37:27 +0000 (18:37 +0900)]
[COMMON] fimc-is2: Update tag_data only for sensor group

To update sensor tagging data through device manager's shot callback,
current group must be connected to sensor group with OTF path.
Because sensor tagging data is being stored in global variable,
which is defined in devicemgr structure,
the others should not update it to prevent the data overwriting.

PR JIRA ID: CPR-625

Change-Id: Ib6f67e23216a62fbf33f402fd6d082d9427713ac
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
5 years ago[COMMON] fimc-is2: change 'ENABLE_SENSOR_VC_FUNCTION' to 'CHAIN_ENABLE_VC_TASKLET'
Jeongtae Park [Tue, 15 Jan 2019 05:15:01 +0000 (14:15 +0900)]
[COMMON] fimc-is2: change 'ENABLE_SENSOR_VC_FUNCTION' to 'CHAIN_ENABLE_VC_TASKLET'

PR JIRA ID: CPR-584

Change-Id: I749b371a3fefe175002c3bb418710d52ae7c8ce4
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: do not print false alram of group_stop
Wooyeon Kim [Wed, 17 Apr 2019 05:47:10 +0000 (14:47 +0900)]
[COMMON] fimc-is2: do not print false alram of group_stop

 when closing camera, make do not print a error return

 PR JIRA ID: CPR-972

Change-Id: Ic2284c230bbda6531135ced1e9a2d1c2b7484f8e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: remove unused shot trigger logic
Wooki Min [Wed, 7 Nov 2018 00:58:19 +0000 (09:58 +0900)]
[COMMON] fimc-is2: remove unused shot trigger logic

This shot trigger logic is not valid because when HW FRO is enabled,
shot is transfer to DDK too much.

JIRA PR ID: CPR-370

Change-Id: I040c0caf299a20ab7c0d00d3eab55e37ea312152
Signed-off-by: Wooki Min <wooki.min@samsung.com>
5 years ago[COMMON] fimc-is2: divide mcsc cur_setfile by instance
Wooyeon Kim [Wed, 27 Mar 2019 09:16:22 +0000 (18:16 +0900)]
[COMMON] fimc-is2: divide mcsc cur_setfile by instance

 PR JIRA ID: CPR-880

Change-Id: Id5119ff5bee7716de1cc38b4efabc262d6fc461b
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: change normal spin_lock to spin_lock_irqsave
Dohyun Kim [Sun, 24 Mar 2019 10:51:18 +0000 (19:51 +0900)]
[COMMON] fimc-is2: change normal spin_lock to spin_lock_irqsave

 PR JIRA ID: CPR-863

Change-Id: I36667a8cd4c1765745f4e75c221f29397b9127ef
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: disable CSIS DMA F.S masking at csi v5.1/v5.2
Wooyeon Kim [Tue, 16 Apr 2019 09:01:57 +0000 (18:01 +0900)]
[COMMON] fimc-is2: disable CSIS DMA F.S masking at csi v5.1/v5.2

 PR JIRA ID: CPR-966

Change-Id: I66f87fc2c2884947fd9d1d15a623d49a0dfa4aa2
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: move csi dma disable to DMA ISR & modify DMA state.
Wooyeon Kim [Mon, 8 Apr 2019 07:44:32 +0000 (16:44 +0900)]
[COMMON] fimc-is2: move csi dma disable to DMA ISR & modify DMA state.

 - CSIS core start not guerantee CSIS DMA starts.

 PR JIRA ID: CPR-966

Change-Id: Ifadfe55c34c57c30997e8334b45a19daef5a07c6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] sd: change default chunk size
hgchu [Sat, 21 Apr 2018 05:24:24 +0000 (14:24 +0900)]
[COMMON] sd: change default chunk size

This patch make default chunk size in /sys/block/sda/queue/max_sectors_kb
512 from 8(KB).

Change-Id: I7663df68b85eb64a8a94c9f553c3086a0ca33852
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
5 years agoANDROID: sdcardfs: Add option to not link obb
Daniel Rosenberg [Thu, 25 Oct 2018 23:25:15 +0000 (16:25 -0700)]
ANDROID: sdcardfs: Add option to not link obb

Add mount option unshared_obb to not link the obb
folders of multiple users together.

Bug: 27915347
Test: mount with option. Check if altering one obb
      alters the other
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: I3956e06bd0a222b0bbb2768c9a8a8372ada85e1e

5 years agoANDROID: sdcardfs: Add sandbox
Daniel Rosenberg [Thu, 25 Oct 2018 23:22:50 +0000 (16:22 -0700)]
ANDROID: sdcardfs: Add sandbox

Android/sandbox is treated the same as Android/data

Bug: 27915347
Test: ls -l /sdcard/Android/sandbox/*somepackage* after
      creating the folder.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: I7ef440a88df72198303c419e1f2f7c4657f9c170

5 years agoANDROID: sdcardfs: Add option to drop unused dentries
Daniel Rosenberg [Fri, 6 Jul 2018 23:24:27 +0000 (16:24 -0700)]
ANDROID: sdcardfs: Add option to drop unused dentries

This adds the nocache mount option, which will cause sdcardfs to always
drop dentries that are not in use, preventing cached entries from
holding on to lower dentries, which could  cause strange behavior when
bypassing the sdcardfs layer and directly changing the lower fs.

Change-Id: I70268584a20b989ae8cfdd278a2e4fa1605217fb
Signed-off-by: Daniel Rosenberg <drosen@google.com>
5 years agoANDROID: sdcardfs: Change current->fs under lock
Daniel Rosenberg [Fri, 20 Jul 2018 23:11:40 +0000 (16:11 -0700)]
ANDROID: sdcardfs: Change current->fs under lock

Adjusted from previous version to add missing include

bug: 111641492

Change-Id: I321d83f5d599efb3abdfaf2f3a4900ac512beca6
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>