Jeonghoon Jang [Mon, 25 Mar 2019 08:49:52 +0000 (17:49 +0900)]
[RAMEN9610-13834] [9610] soc: samsung: Added wakeup_stats property on exynos-pm.
Change-Id: I95d94af858dac49863d80a1bd5b2e91c37bb8c46
Signed-off-by: Jeonghoon Jang <jnghn.jang@samsung.com>
Jeonghoon Jang [Mon, 25 Mar 2019 08:19:38 +0000 (17:19 +0900)]
[RAMEN9610-13834] Revert "[RAMEN9610-11554][9610] soc: samsung: cal-if: Added cal_print_wakeup_reason."
This reverts commit
17f55953d5f4226b8ccae46009455c8ada078f44.
Change-Id: Id4f6333957949c70b9c550cdb539df5b14dcc86f
Yunsu Kim [Tue, 19 Mar 2019 10:05:16 +0000 (19:05 +0900)]
[RAMEN9610-13804][COMMON] media: radio: Fix 'Missing autoscan 87.5Mhz'
Change-Id: Ia2f1ed7b30a4c5a45bb622c817d44a7206cc2976
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Youngsoo [Mon, 25 Mar 2019 05:46:10 +0000 (14:46 +0900)]
[RAMEN9610-13798][common]Revert "[9610] wlbt: Read FW TxGood, RxGood, TxBad counters"
This reverts commit
59028f6be4b1a957511e740ff8812aee47f0f013.
Change-Id: I05879f2fb680ee6acc6099f06d95ce977c00bf40
jinchul kim [Wed, 12 Sep 2018 07:08:26 +0000 (16:08 +0900)]
[ERD][RAMEN9610-13615] IFPMIC: S2MU00X: current control for thermal action
Change-Id: Ib6fe1fb23c3126c383c137e4cf503912f90f8a05
Signed-off-by: jinchul kim <jinchul7.kim@samsung.com>
dan huh [Fri, 14 Sep 2018 03:21:44 +0000 (12:21 +0900)]
[ERD][RAMEN9610-13615] fimc-is2: Enable a change to sensor fps use by sysfs
Change-Id: I302e4e6ee6c81d668066488d7c2d712a8f5ffd2c
Signed-off-by: dan huh <dan.huh@samsung.com>
Hyeonseong Gil [Wed, 5 Sep 2018 04:45:46 +0000 (13:45 +0900)]
[ERD][RAMEN9610-13615] arm64: configs: Enable NTC_THERMISTOR
Change-Id: I45dd831a09e42503edf810ddf6edb6634f662aaa
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 8 Aug 2018 23:55:54 +0000 (08:55 +0900)]
[ERD][RAMEN9610-13615] [9610] arm64: dts: Enable Thermistor node
Change-Id: I9ead9c45fe7c4f1a464c91e69bdb25a1d812557f
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Signed-off-by: Hanjun Shin <hanjun.shin@samsung.com>
Hyeonseong Gil [Wed, 5 Sep 2018 04:34:48 +0000 (13:34 +0900)]
[ERD][RAMEN9610-13615] hwmon: ntc_thermistor: Add condition of iio convert
From mainline, ntc_thermistor uses iio_convert_raw_to_processed()
for microvolt conversion.
But, if adc driver does not support scaling, the API just pass raw
values as processed. Then, the driver misunderstands the values as microvolt.
So, we added iio_convert_support property from device-tree.
In our BSP, not supprot iio_convert, microvolt will be convert
by using pullup_uv.
Change-Id: Idcc2fe11835d7c0ca69c4b06e40129bafb756df4
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 5 Sep 2018 04:00:32 +0000 (13:00 +0900)]
[ERD][RAMEN9610-13615] [COMMON] hwmon: ntc_thermistor: Use pdev->name for register
Change-Id: Idf68d4be62a666bbd75ab83a6392ee1e5af3b8e8
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
hwangjae lee [Thu, 13 Sep 2018 11:37:38 +0000 (20:37 +0900)]
[ERD][RAMEN9610-13615] fbdev: dpu20: panel: max_brightness constraints is added for thermal solution
Change-Id: I48ef05fea81b348fe753584cff5f385243a1750c
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
Signed-off-by: Hanjun Shin <hanjun.shin@samsung.com>
Kim Taejeong [Sat, 23 Mar 2019 05:37:09 +0000 (14:37 +0900)]
[RAMEN9610-13766][COMMON] drivers: muic: support unstable usb connection
Change-Id: I89085baf6c58b5bdba84d6af58f558bf696bdf28
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
hayoung78.joo [Fri, 22 Mar 2019 08:39:09 +0000 (17:39 +0900)]
[RAMEN9610-13756] asoc: abox: add delay to ensure that ABOX core is suspended
Change-Id: I4d9bf28e20973231fa3d4086fe6dd2c39bb29554
Signed-off-by: hayoung78.joo <hayoung78.joo@samsung.com>
Yuseok Kim [Fri, 22 Mar 2019 17:26:21 +0000 (02:26 +0900)]
[RAMEN9610-13741][Common][9610] fix to avoid invalid scan channel
When channel scan was triggered for ACS, invalid channel was shwon.
This patch add protection code to avoid kernel panic.
Change-Id: Ic84aaddb8f145ffbb4d37c46d1a9a0d8d08b1ea0
Boojin Kim [Fri, 22 Mar 2019 04:49:15 +0000 (13:49 +0900)]
[RAMEN9610-13690] fmp: add invalid pointer check
Change-Id: I331b878539a60c86b65c98196b2630963e4d1eb2
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Mohit Ghuley [Thu, 21 Mar 2019 13:02:48 +0000 (18:32 +0530)]
[RAMEN9610-13676][Common][9610][7885][7872][7570] wlbt : Mac Randomization will not be performed during Scheduled Scan.
Mac Randomization will not be performed during Scheduled Scan.
Change-Id: Ia65a2f2c10228d2ac78f3db6e73b00a93de53329
SCSC-Bug-Id: SSB-50850
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
lakkyung.jung [Wed, 20 Mar 2019 08:56:19 +0000 (17:56 +0900)]
[RAMEN9610-13673][9610] soc: samsung: cal-if: Add to clear cpu sequencer when cpu up.
Change-Id: Ie88223a5ebb6323293f5dbab8c4388634a898d1f
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
Yunsu Kim [Fri, 22 Mar 2019 05:33:18 +0000 (14:33 +0900)]
[RAMEN9610-13671][COMMON] media: radio: Optimize seek time
Change-Id: I1047b8a5f19f8309c29b4b56478b96a0d6d8633d
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Ivan Priest [Wed, 20 Mar 2019 15:03:55 +0000 (15:03 +0000)]
[RAMEN9610-13665][common] Wlbt: FM request API should signal active mxman
Signal FM requests to the "active" mxman context,
so that requests can be consumed during WLBT recovery,
instead of querying via the service structure that
could be NULL during the recovery phase.
Remove the service driver API for FM LDO control.
Change-Id: Icd3dadb0105ab3266639f2b83d81c353a89cc0b0
SCSC-Bug-Id: SSB-50826
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Youngsoo [Thu, 21 Mar 2019 10:54:38 +0000 (19:54 +0900)]
[RAMEN9610-13636][common][prevent][9610] wlbt: fix CID261400
CID 261400 (#1 of 1): Resource leak (RESOURCE_LEAK)
8. leaked_storage: Variable firm going out of scope leaks the storage it points to.
func should return after free resources.
Change-Id: I9dcb8ff93c05785e6da10bab24660bb4f97a2db6
Debabrata Purohit [Wed, 20 Mar 2019 16:20:33 +0000 (16:20 +0000)]
[RAMEN9610-13634][common][9610] wlbt: NAPI: prevent issues in hip4.c
Resolve Prevent reported issues in hip4.c
Change-Id: I5f57e53c546242b3f789b8f8921f0e710fe77916
SCSC-Bug-Id: SSB-50793
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Srishti Piplani [Wed, 20 Mar 2019 11:09:05 +0000 (16:39 +0530)]
[RAMEN9610-13634][common][7570][7872][7885][9610] wlbt: Prevent issues in nl80211_vendor.c and cfg80211_ops.c
Changes done to fix prevent issues in nl80211_vendor.c
and cfg80211_ops.c files.
Change-Id: Icffd273de1c0a0dde1e201b73fc3709df0e5e1d4
SCSC-Bug-Id: SSB-50792
Signed-off-by: Srishti Piplani <srishti.p@samsung.com>
Junhan Bae [Wed, 20 Mar 2019 11:37:53 +0000 (20:37 +0900)]
[RAMEN9610-13626][COMMON][9610] drivers : fix pd communication timing for mac
Change-Id: I1a47f5803fba91e0050571be211427e3daaaf846
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
hayoung78.joo [Thu, 21 Mar 2019 05:17:42 +0000 (14:17 +0900)]
[RAMEN9610-13624] sound: core: decrease read/write timeout to 1 second
Read/Write timeout was 10 seconds.
But default timeout value of android audio server is 5 second.
If read/write is blocked for 10 seconds in read/write ioctl,
it exceeds the timeout of audio server.
Change-Id: Ia823419594f4a3e35ab38bc2d3103acaf99545be
Signed-off-by: hayoung78.joo <hayoung78.joo@samsung.com>
Munjoo Kim [Thu, 21 Mar 2019 05:29:34 +0000 (14:29 +0900)]
[RAMEN9610-13621] crypto: disable cfi on crypto_cts_encrypt
Change-Id: I9e7adc6b8700e7a4ba7fb8a33d229ae243e59539
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
Debabrata Purohit [Wed, 20 Mar 2019 11:22:00 +0000 (11:22 +0000)]
[RAMEN9610-13609][common][RAMEN9610-13609][9610] wlbt: scheduling while atomic
Cause:
For intra BSS relay, the SKBs are allocated with
GFP_KERNEL flag. this is done in atomic context, which can be fatal.
Resolution:
Allocate the SKBs with GFP_ATOMIC flag.
Change-Id: I667ad314c7c1f95b7b2bda73a9d2252668b6efa6
SCSC-Bug-Id: SSB-50805
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Hosung Kim [Thu, 21 Mar 2019 02:20:17 +0000 (11:20 +0900)]
[RAMEN9610-13608][COMMON][RAMEN9610-13599] lib: dss: fix to set debug level
This commit fixes to set wrong debug level.
It was detected by prevent.
Change-Id: I5a7f76da3bb083e0091644b317e03bf38fc68896
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Cho KyongHo [Tue, 19 Mar 2019 09:55:42 +0000 (18:55 +0900)]
[RAMEN9610-13448] arm64: remove dma zone
DMA zone (ZONE_DMA) is not necessary in Exynos SoCs because all
peripherals are capable of 36-bit wide DMA access.
Change-Id: I04749a3cd42e3d07d3a41ba1a2259c1159931173
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
Kisang Lee [Wed, 20 Mar 2019 02:20:06 +0000 (11:20 +0900)]
[RAMEN9610-13496][COMMON] arm64: configs: enable USB video class to support USB camera
Change-Id: I32e91b9108a6af90d6b0d5bbdb12d6769f26566e
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Kisang Lee [Wed, 20 Mar 2019 02:09:50 +0000 (11:09 +0900)]
[RAMEN9610-13496][COMMON] media: vb2: modify code to support USB camera
Compile error occures after enable CONFIG_USB_VIDEO_CLASS. This patch
modified code to fit changed function prototype.
Change-Id: Iee717c5da94be504a9237528d95334b6a6762225
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
Youngsoo [Fri, 15 Mar 2019 09:07:23 +0000 (18:07 +0900)]
[common][RAMEN9610-13443][9610] wlbt: host update 6.64.2
1. Protect SMAPPER from possible spurious interrupts
2. slsi_convert_tlv_data_to_value should be outside
3. NAPI: config RPS
4. NAPI: increase retry time when no space in FB queue
5. NAPI: false watchdog trigger
6. [9610][7885][7872][7570] wlbt: Notify CFG regarding the Disconnection, on ...
7. [9610][7885][7872][7570] wlbt: Perform Dual Interface registration in ...
8. wlbt: update host induced error code
9. increment scsc_release to 6.64.2
Change-Id: I0bc936a5ce4ecdd905b1deba629db7f816fc43f3
Signed-off-by: Youngsoo <youngss.kim@samsung.com>
dukhyun kwon [Tue, 21 Aug 2018 07:26:45 +0000 (16:26 +0900)]
[RAMEN9610-13390][COMMON] mmc: dw_mmc: Change card_detect_delay
When SD card removed in slot that can happen
sometimes abnormal removed in 0ms delay.
So, Set to 200ms for stability.
Change-Id: Ie5bf4ff4424888ab0c9f1686bb02b3b7e1c7a76c
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
Yunsu Kim [Thu, 14 Mar 2019 10:46:32 +0000 (19:46 +0900)]
[RAMEN9610-13376][COMMON] media: radio: align 0xFFF240 shared by WLBT
Change-Id: I3eb970bac5033f02093edfd5d3fe79a997925c34
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Jang Hyunsung [Wed, 31 Oct 2018 04:15:45 +0000 (13:15 +0900)]
[RAMEN9610-13333][COMMON] soc: samsung: seclog: add code which check valdation of address
code which checks validation of v_log_addr address has been added.
Change-Id: Ia26ebdf8200fa3538fa3f27d03334df1cc716927
Signed-off-by: Jang Hyunsung <hs79.jang@samsung.com>
dukhyun kwon [Thu, 17 Jan 2019 05:29:31 +0000 (14:29 +0900)]
[RAMEN9610-13366][COMMON] ufs: add ufs dump stuct log for ufs err debug.
Change-Id: Icba94e44882161e39d5e1e6aa20b120cf85812b9
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
Keunho Hwang [Fri, 15 Mar 2019 05:38:08 +0000 (14:38 +0900)]
[RAMEN9610-13315][9610] include: fuelgauge: change capacity learning cycle
Change-Id: I4b388c11704ce6d3aa7cb3caea63c8769237773d
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Thu, 14 Mar 2019 01:52:05 +0000 (10:52 +0900)]
[RAMEN9610-13248][9610] drivers: battery: add full charge condition
When battery is fully charged, charging current is
near to 0mA. So it need to be added for full charge check
condition.
Change-Id: If6adc9431b977ec769aef112b8709e81561024c0
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Tue, 12 Mar 2019 04:27:48 +0000 (13:27 +0900)]
[RAMEN9610-13248][9610] drivers: battery: Maintain 1%, until raw SOC reaches 0%
Change-Id: Ide0b42cd839d9320ea92c8f59bbdd7b618a31798
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
hayoung78.joo [Wed, 13 Mar 2019 05:34:53 +0000 (14:34 +0900)]
[RAMEN9610-13205] asoc: abox: register abox log debugfs file node at system probe
Change-Id: Ib30d3a9ddabe268ef61e0904a1a000053c476f4f
Signed-off-by: hayoung78.joo <hayoung78.joo@samsung.com>
Junhan Bae [Tue, 12 Mar 2019 01:41:07 +0000 (10:41 +0900)]
[RAMEN9610-13185][COMMON][9610] drivers : fix ccic driver for PD 2.0 communication
Change-Id: I60371c71a841cbe58914bfc27d0db2303162b65d
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Debabrata Purohit [Mon, 11 Mar 2019 19:13:53 +0000 (19:13 +0000)]
[RAMEN9610-13159][common][MODAP-20690][9610] wlbt: NAPI: do not use GRO path in BA timer context
When releasing frames from BA timer context, do not use
napi_gro_receive() as that can corrupt the kernel GRO lists.
Resolution:
Use non-NAPI path when releasing frames from BA timer context.
Change-Id: I9ac803e0a69d6eca3bb8c69e1be8bdfb152b4058
SCSC-Bug-Id: SSB-50448
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
ShinHyung [Tue, 12 Mar 2019 06:12:39 +0000 (15:12 +0900)]
[RAMEN9610-13131][COMMON] ASoC: abox: enable timer 0 at wake up from WFI
Timer can be enabled without proper setting, if kernel enable a timer
before initializing by firmware. It cause malfunction on the ABOX.
change-Id: I1840cd676a47ed73773fa9bf916123da082b7b9a
Signed-off-by: ShinHyung <s47.kang@samsung.com>
Youngmin Nam [Mon, 11 Mar 2019 08:34:07 +0000 (17:34 +0900)]
[RAMEN9610-13098][COMMON] soc: samsung: exynos-reboot: clear RAMDUMP SCRATCH register
This patch clears RAMDUMP SCRATCH register in case of device power off.
As soon as the devcie power is down and then the device power is up with pin reset,
the device can enter fastboot mode when power up.
To avoid this situation we should clear RAMDUMP SCRATCH register.
Change-Id: I01c05fa6c67bc8ea1c7dcd11a4e2777f279c87af
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
Kyungwoo Kang [Mon, 11 Mar 2019 05:02:27 +0000 (14:02 +0900)]
[RAMEN9610-13087][COMMON] i2c: s3c2410: Add IICCON SFR dump for debug
Change-Id: Iabbde5e3601a6f7d605b5859e30ebc34322f0062
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
Keunho Hwang [Sun, 10 Mar 2019 05:43:05 +0000 (14:43 +0900)]
[RAMEN9610-13083][9610] drivers: battery: use offset for max_rawsoc calc.
Change-Id: Ifae02fb2cdde804ff4ffd128b8b901c6b8aaeccb
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Yunsu Kim [Sat, 9 Mar 2019 06:45:49 +0000 (15:45 +0900)]
[RAMEN9610-13080][COMMON] media: radio: revert workaround for ldo control unstable
Change-Id: I92d332436694ad206b14a2940f3283e342ed68b2
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Yunsu Kim [Fri, 8 Mar 2019 11:09:05 +0000 (20:09 +0900)]
[RAMEN9610-13050][COMMON] media: radio: Modify AGC tunning value
- Fix FM radio signal is worst then before
Change-Id: I0e8727717406983efa13340b1202009e57666883
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Mohit Ghuley [Fri, 8 Mar 2019 07:29:04 +0000 (12:59 +0530)]
[RAMEN9610-13049][common][9610][7885][7872][7570] wlbt: Update P2P GO Channel in Driver, on receiving Channel Switched Indication from Firmware.
Update P2P GO Channel in Driver, on receiving
Channel Switched Indication from Firmware.
Change-Id: Idb9f3076231d915d62f61acc73cf34f2f28bf99c
SCSC-Bug-Id: SSB-50359
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
Keunho Hwang [Thu, 7 Mar 2019 13:08:54 +0000 (22:08 +0900)]
[RAMEN9610-13030][9610] drivers: battery: Add C type Rp current setting
Change-Id: I9525b6c4b70600d97283aefecb848ab0bfe38a9a
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Junhan Bae [Thu, 7 Mar 2019 12:52:55 +0000 (21:52 +0900)]
[RAMEN9610-13030][9610] drivers : add ccic rp current level check fucntion
Change-Id: I6e300c7e3f8b1024370d2a424d2c6e6ced5dc348
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Janghyuck Kim [Fri, 8 Mar 2019 02:19:54 +0000 (11:19 +0900)]
[RAMEN9610-13018][COMMON] iommu/exynos: check return value and retry if PTW fault
Change-Id: Ic6eabb2d13a22f629fe8aa7384e96fe01228ce8a
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Janghyuck Kim [Tue, 5 Mar 2019 06:53:32 +0000 (15:53 +0900)]
[RAMEN9610-12969][COMMON] iommu/exynos: retry when PTW fault occur
Change-Id: I3e425c2e611d65c6b619b3e21c46fce7de7fde18
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Yunsu Kim [Wed, 6 Mar 2019 04:53:17 +0000 (13:53 +0900)]
[RAMEN9610-12937][COMMON] media: radio: fix FM open fail
Add polling for wlbt shared ldo stable
Change-Id: Ic3f80ca8a419238b2ad37028c1b2595855777d79
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Kim Taejeong [Tue, 5 Mar 2019 05:27:35 +0000 (14:27 +0900)]
[RAMEN9610-12909][COMMON] muic: irq init sequnece change
Problem: Kernel panic
Cause: Before work queue init, the work is called in ISR
Solution: Sequence is modified that the order on work queue and irq init
is reversed.
Change-Id: I99dfac1f36d01bb1c608e71cb88a95ad190aa34f
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
Junhan Bae [Thu, 28 Feb 2019 06:44:41 +0000 (15:44 +0900)]
[RAMEN9610-12817][COMMON][9610] driver : fix vsafe voltage and vbus check fail log
Change-Id: I0639d7149460b43dc02b2c7b94f870ec7fc5c158
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Youngsoo Kim [Thu, 28 Feb 2019 04:01:32 +0000 (13:01 +0900)]
[RAMEN9610-12700][Common] Revert "fix not releasing hip4_wake_lock"
This reverts commit
d8ed961c7594adba0beb962ac76546c48ef3cbc4.
Change-Id: I1eb2fff62589620b2783c96382c3b3a4f1701683
yan0414.chen [Thu, 28 Feb 2019 02:10:02 +0000 (10:10 +0800)]
[RAMEN9610-12705][Mptool]:Porting factory mode function.
Change-Id: I94b6a98c28ce9841af90ed01274cb99621a559b5
Signed-off-by: yan0414.chen <yan0414.chen@samsung.com>
Kavitha Velayutham [Tue, 22 Jan 2019 12:55:47 +0000 (18:25 +0530)]
[RAMEN9610-12700][Common] wlbt: Mac Randomization Fixes
Mac randomization Fixes and optimization
Change-Id: I26d6dea2162c202cd962abcc6fadb3b54b6950a1
SCSC-Bug-Id: SSB-48540
Signed-off-by: Kavitha Velayutham <k.velayutham@samsung.com>
Debabrata Purohit [Mon, 25 Feb 2019 19:16:11 +0000 (19:16 +0000)]
[RAMEN9610-12700][Common] wlbt: NAPI: fix wakelocks
Fix broken HIP wakelocks for NAPI config.
Change-Id: I1ca71171a9c8084a8050facbaa431139c53e93f9
SCSC-Bug-Id: SSB-49805
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Albert Cano [Fri, 22 Feb 2019 13:35:17 +0000 (13:35 +0000)]
[RAMEN9610-12700][Common] wlbt: Fix interrupt leakage
SSB-49603 has introduced a regression where intr_tohost interrupt is not
getting freed on hip4_deinit. If BT remains on, and WIFI runs few on-off
cycles we will see that allocation will eventually fail.
Change-Id: I3419b3f47ad7fc75970d30e870efe607469c3a27
SCSC-Bug-Id: SSB-49808
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
Himani Gupta [Mon, 18 Feb 2019 07:03:15 +0000 (12:33 +0530)]
[RAMEN9610-12700][Common] wlbt: Enhance kernel logs.
Enhance kernel logs and decouple driver changes from enhance
logging in rx_event_log_indication path.
Parse result code in connect_ind and pass it to above.
Change-Id: I0ed613754d8396621f733b8da78c784eadc30235
SCSC-Bug-Id: SSB-49329
Signed-off-by: Himani Gupta <himani.g2@samsung.com>
Ivan Priest [Thu, 21 Feb 2019 11:14:38 +0000 (11:14 +0000)]
[RAMEN9610-12700][Common] wlbt: remove needless inlining in scsc_log_collector.c
Some functions are needlessly static inline.
Change-Id: I1da206bfef24687717f95fbe9cae46cb700454e8
SCSC-Bug-Id: SSB-49743
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Ivan Priest [Tue, 19 Feb 2019 11:47:09 +0000 (11:47 +0000)]
[RAMEN9610-12700][Common] wlbt: remove redundant free of static A-Box buffer
Since the BT/A-Box ringbuffer moved to static memory, the
attempt to free it from the pool returns an error. Remove
the superfluous free.
Change-Id: I8dd2a5274e1503ff72452d41b4ec8c8e34bae9e9
SCSC-Bug-Id: SSB-48965
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Jiyoung Jeong [Thu, 28 Feb 2019 01:06:44 +0000 (10:06 +0900)]
[RAMEN9610-12695][COMMON][MODAP-20423] fix L2TP cfi_check_fail issue
Change-Id: I9b517321289235d60d44f6f814a7a6c96235836e
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Keunho Hwang [Tue, 26 Feb 2019 13:11:25 +0000 (22:11 +0900)]
[RAMEN9610-12679][Common] driver: fuelgauge: power off 3.25V using SW off.
Change-Id: Ibc537b96c8dea8ffee6e1352bdd2cb3b421fe8d2
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Thu, 21 Feb 2019 10:17:24 +0000 (19:17 +0900)]
[RAMEN9610-12679][Common] driver: fuelgauge: Force power off 3.25V.
Change-Id: I9cf62abdc8bfaceb279c32dac8c229672db14f6b
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Mohit Ghuley [Wed, 27 Feb 2019 10:38:51 +0000 (16:08 +0530)]
[RAMEN9610-12677][Common] wlbt: Scheduled Scan Results will not be reported to CFG, in case of 0 Scan Results.
Scheduled Scan Results will not be reported
to CFG, in case of 0 Scan Results.
Change-Id: I4d52dfe5546ba921e6ceca52de98fb9d9d6ae444
SCSC-Bug-Id: CBR-242
Signed-off-by: Mohit Ghuley <mohit.ghuley@samsung.com>
Kim Taejeong [Wed, 27 Feb 2019 06:09:04 +0000 (15:09 +0900)]
[RAMEN9610-12641][COMMON][9610] ccic : fix ccic for turbo charger
Cause :
The VBUS Short check function was removed for usbpd compliance,
and ID_TA notification that was sent to MUIC after vbus short check
was completed does not come anymore ,
The flag that was checked before the muic TURBO TA HVDCP recognition was proceeded was not set.
CounterMeasure :
Send ID_TA to muic when SINK attach.
Change-Id: I150e15a9ee9b46fc16fb0487f39a98775225da05
Signed-off-by: Junhan Bae <junan84.bae@samsung.com>
Keunho Hwang [Wed, 27 Feb 2019 06:06:28 +0000 (15:06 +0900)]
[RAMEN9610-12631][COMMON] s2mcs02: delete unnecessary alloc
Change-Id: I8b96b1a480c1ccdf3b3366e63c8520a03c6d87a0
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Wed, 27 Feb 2019 04:04:33 +0000 (13:04 +0900)]
[RAMEN9610-12620][COMMON] power_supply: update power_supply_sysfs
Change-Id: I9b572678f1327cf30416ec173a6290be3960df29
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Yunsu Kim [Tue, 26 Feb 2019 12:02:06 +0000 (21:02 +0900)]
[RAMEN9610-12618][COMMON] media: radio: Add 512k trf
Change-Id: If31b41ece32e959642d98923826ed2ba4493a69a
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Ivan Priest [Thu, 21 Feb 2019 10:23:26 +0000 (10:23 +0000)]
[RAMEN9610-12615][Common] wlbt: Sable firmware SCSC_LOG_FW_PANIC collection must be synchronous
The mxman_failure_work must wait for wlbtd to collect and archive moredump
before allowing recovery to proceed. The scsc_log_collector_schedule_collection()
must block until it is done.
Change-Id: Ic89b1a0df532782f99ed261306b6a82e1f77db44
SCSC-Bug-Id: SSB-49743
Signed-off-by: Ivan Priest <i.priest@samsung.com>
Yuseok Kim [Tue, 26 Feb 2019 23:49:22 +0000 (08:49 +0900)]
[RAMEN9610-12615][Common][9610] wlbt : STATIC_INTERFACE disabled
Static interface is for STA/AP concurrency mode.
It causes kernel panic about data abort during MHS on/off test.
Change-Id: I5a6a541724bd1f6239d89ee7118539b2c4ff7743
hyesoo.yu [Wed, 23 Jan 2019 06:48:26 +0000 (15:48 +0900)]
[RAMEN9610-12508] ion: avoid accumulation of memory of page pool
Cached buffer allocated from cached pool and
noncached buffer allocated from uncached pool.
However there is an exception for sync_force flag.
If the sync_force is present, it is allocated to
uncached pool regardless of buffer cachable attribute
without unnecessary cache flush.
It makes accumulation of page pool because cached buffer
with sync force flag allocates from uncached pool and
it releases to cached pool.
If uncached pool exhausts, uncached pool get pages
from buddy, but it release to cached pool.
It makes accumulation of cached pool.
To avoid this situation, the page of exception case
with cachable and sync force flags returns the uncachable
page pool after cache flush.
Change-Id: Iacba9b8f536c3e480cbdc738dc139f5c8bd4b28c
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
Jiyoung Jeong [Tue, 26 Feb 2019 06:04:29 +0000 (15:04 +0900)]
[RAMEN9610-12602][COMMON][MODAP-18802] The default value of gro_flush_time is set 0
Change-Id: I60d6fe73468791e7f877688fa83c5e699d32bda5
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
JaeHun Jung [Tue, 26 Feb 2019 00:18:46 +0000 (09:18 +0900)]
[RAMEN9610-12589][COMMON] arm64: dts: Disabling erase at SD card.
Android StorageManagerService has timeout(180 sec) for format.
But, Some devices are over the timeout. (Because, Spend time for erase.)
Disable on ERD9610.
Change-Id: I752bc5586643280b8c46211165e4b4452bb8f7ae
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
JaeHun Jung [Sat, 23 Feb 2019 10:19:15 +0000 (19:19 +0900)]
[RAMEN9610-12589][COMMON] mmc: dw_mmc: Disable mmc erase(discard) for slow device format.
Android StorageManagerService has timeout(180 sec) for format.
But, Some devices are over the timeout. (Because, Spend time for erase.)
Change-Id: If5d38642d28b3937dceeca80048bc3813b27f41d
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
Kim Taejeong [Fri, 22 Feb 2019 06:26:59 +0000 (15:26 +0900)]
[RAMEN9610-12449][COMMON] muic: skip vdnmon low when plug out
Change-Id: Iaf6af296eee9cc6cb274f22b25f00c963bb5b3e8
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
Kim Taejeong [Thu, 21 Feb 2019 02:15:42 +0000 (11:15 +0900)]
[RAMEN9610-12442][COMMON] muic: TA noti for sleep test
Change-Id: I09b9098ebdcdd71753bb24814d464ca4948ef032
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
dujeonglee [Fri, 22 Feb 2019 11:57:31 +0000 (20:57 +0900)]
[RAMEN9610-12462][9610] fix not releasing hip4_wake_lock
Signed-off-by: dujeonglee <dujeong.lee@samsung.com>
Disable napi
Change-Id: I64e16669943c2f9eb82ade188ac96c0e39f61c4c
Junhan Bae [Thu, 21 Feb 2019 09:10:01 +0000 (18:10 +0900)]
[RAMEN9610-12413][COMMON][9610] usbpd : update s2mu106 drivers for usbpd compliance
Change-Id: I88bfa9de57153f0d802d689c81f97ce452e5848e
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
hq_zhixueyin_tmp [Fri, 15 Feb 2019 01:42:02 +0000 (09:42 +0800)]
[RAMEN9610-12413][kernel] modified turbo charge max charging current to 3A
modified turbo charger max charging current to 3A
Change-Id: I2286b059e7524db6512627c3f731b0a59a457425
Jiyoung Jeong [Thu, 21 Feb 2019 10:06:19 +0000 (19:06 +0900)]
[RAMEN9610-12421][COMMON][MODAP-19520] Add skb free when skb is empty
Change-Id: Idfbc4f1b507855d94c35e503b32640f5b0fd6a62
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
Yunsu Kim [Thu, 21 Feb 2019 09:48:12 +0000 (18:48 +0900)]
[RAMEN9610-12417][COMMON] media:radio: align register value shared by FM/WLBT
Change-Id: I1983cdc9b820681a08acc5b5840ae6885f5af6e0
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Youngsoo [Thu, 21 Feb 2019 02:42:56 +0000 (11:42 +0900)]
[RAMEN9610-12398] [common][9610] wlbt: host 6.63.1 release
1. wlbt: Enabling GSCAN in SLSI Wifi Driver.
2. wlbt: Dwell time handling for WPS
3. wlbt: Add some missing compilation gates
4. wlbt: Send DNS request on VO AC
5. wlbt: MHS doesn't start in 5GHz for IN
6. wlbt: kstrtoint fixup
Change-Id: I2258bf9708669d83276a28c11d5bc95814ea9be5
ChiHun Won [Tue, 19 Feb 2019 11:15:55 +0000 (20:15 +0900)]
[RAMEN9610-12373] fbdev: dpu20: added dqe software reset
Change-Id: I26a5e551d8fdbbec2109e1304de90c4ec5d6e5ec
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
ChiHun Won [Fri, 15 Feb 2019 08:10:27 +0000 (17:10 +0900)]
[RAMEN9610-12373] fbdev: dpu20: added dqe sfr dump
Change-Id: Ic86eafb0bb8022f59047e34ea177120494b8848f
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
Hosung Kim [Thu, 14 Feb 2019 06:43:19 +0000 (15:43 +0900)]
[RAMEN9610-12350][COMMON] clocksource: arm_arch_timer: apply ARM ERRATA 858921
Change-Id: I8fcb5a9ed6ff49b333988d59aff7e60795a5798e
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Purnendu Kapadia [Tue, 19 Feb 2019 17:54:50 +0000 (17:54 +0000)]
[RAMEN9610-12339][9610] wlbt: separate completion for fw_panic
use separate completion for fw_panic than other triggers.
for other triggers complete *ONLY ONCE* when we have written .sbl file and
ignore the second message with tar completion time
SCSC-Bug-Id: ssb-49322
Change-Id: Ia6ec5064bb795858f82a6c358c4a0517fa4b29bb
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
Sanghwa Park [Tue, 19 Feb 2019 07:59:05 +0000 (16:59 +0900)]
[RAMEN9610-12328][9610] vipx: change DRAM address for cacheable configuration and add debugging methods
Change-Id: I8c11914bc28bff84fb19884c38c00009e8eedd67
Signed-off-by: Sanghwa Park <senius.park@samsung.com>
Yunsu Kim [Tue, 19 Feb 2019 10:26:04 +0000 (19:26 +0900)]
[RAMEN9610-12322][COMMON] media: radio: Fix CE FCC FM Test fail (EN303345)
Change-Id: I87a88557fe1afa23bb43a02debb2e21f325d357f
Signed-off-by: Yunsu Kim <iamyunsu.kim@samsung.com>
Suji Lee [Tue, 19 Feb 2019 08:15:26 +0000 (17:15 +0900)]
[RAMEN9610-12321][9610] driver: charger: bat OCP level 7A increase
Change-Id: Ifc1b470bb1fbc15d621cee53ddcce387f81c116d
Signed-off-by: Suji Lee <suji0908.lee@samsung.com>
hwangjae lee [Tue, 19 Feb 2019 06:17:06 +0000 (15:17 +0900)]
[RAMEN9610-12313][COMMON] fbdev: dpu: Added esd_thread problem defence code
Change-Id: I688025c7a114c1db35d2b1c22b7f23e8e1a1f680
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
Keunho Hwang [Mon, 28 Jan 2019 04:24:38 +0000 (13:24 +0900)]
[RAMEN9610-12309][9610] drivers: fuelgauge: update mode change condition
Change-Id: Icc0d89673678ca3bd679c0a7dd042907538421fa
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Tue, 19 Feb 2019 07:37:09 +0000 (16:37 +0900)]
[RAMEN9610-12309][9610] drivers: fuelgauge: change Low voltage W/A threshold
Change Low voltage W/A threshold voltage 3.45V to 3.4V
Change-Id: Ib139e80f32a61e38c1ce4370e28876d3e382964c
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Keunho Hwang [Tue, 19 Feb 2019 07:34:25 +0000 (16:34 +0900)]
[RAMEN9610-12309][9610] dts: battery: Update battery parameter, 0% at 3.4V
Change-Id: I250b4b4c6161f032188c0c56d454c21cd92e44f9
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Debabrata Purohit [Mon, 18 Feb 2019 18:16:32 +0000 (18:16 +0000)]
[RAMEN9610-12302][common][9610] wlbt: support HIP version 3 in NAPI enabled config
NAPI is supported for HIP config version 4 onwards.
But if in kernel config NAPI is enabled, and the
firmware is HIP config version 3, then it causes a
fatal kernel panic.
Resoultion: add support for both config version 3 and
config version 4 when NAPI is enabled in kernel config.
Change-Id: I08e7769db73ba3decbc2d4c6a1843b10a7b7f96a
SCSC-Bug-Id: SSB-49603
Signed-off-by: Debabrata Purohit <d.purohit@samsung.com>
Mathias Sass Michno [Tue, 21 Aug 2018 06:42:32 +0000 (08:42 +0200)]
[RAMEN9610-12296][Common][9610] wlbt: Sanitise ACL connection handle in credit checks
Only the first 12 of the 16 bits in the ACL connection handles
identifies a given connection, the remaining 4 bits should therefore be
masked when used to identify the connection.
Change-Id: Ieb771952274cb036dae49db9e1229385466acbc2
SCSC-Bug-Id: SSB-42734
Signed-off-by: Mathias Sass Michno <m.michno@samsung.com>
Janghyuck Kim [Fri, 15 Feb 2019 08:03:41 +0000 (17:03 +0900)]
[RAMEN9610-12270] media: vb2: fix for wrong GFP mask to sg_alloc_table_from_pages
sg_alloc_table_from_pages() would be failed if free memory is not
enough. GFP mask is changed to GFP_KERNEL to reclaim memory in this
situation.
Change-Id: I654975ce7903f1545e10ac1bc2f905f1caff8268
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
Cho KyongHo [Mon, 18 Feb 2019 04:19:34 +0000 (13:19 +0900)]
[RAMEN9610-12270] media: smfc: force unshareable for HWFC buffer
Camera driver has no chance to maintain its destination buffer before
reading the buffer by SMFC if HWFC is enabled because SMFC starts
reading the buffer before MSCS finishes writing to the buffer.
Therefore, we should make SMFC read the buffer with the unshareable
attribute.
Change-Id: I9e9e326ecaa742fba1995a1bfc3f2ff60e68ef37
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>