GitHub/moto-9609/android_kernel_motorola_exynos9610.git
6 years agodma: of: add multi irq get API for support IRQF_GIC_MULTI_TARGET.
Taekki Kim [Fri, 30 Sep 2016 09:13:26 +0000 (18:13 +0900)]
dma: of: add multi irq get API for support IRQF_GIC_MULTI_TARGET.

Change-Id: Ie58232a9fe0f1a5228fa8c7505fd30d856873caf
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[COMMON] dma: Modify dma code for kernel 4.14
Jaejoon Yoo [Thu, 18 Jan 2018 04:25:32 +0000 (13:25 +0900)]
[COMMON] dma: Modify dma code for kernel 4.14

Change-Id: Ifaadf8bf3cdf19a126fc109a9da05cdf44c05359
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agosamsung: dma: add samsung dma
Eunok Jo [Mon, 22 May 2017 10:48:28 +0000 (19:48 +0900)]
samsung: dma: add samsung dma

Change-Id: I817574379d67e5605517dd409cf8f012f59b3653
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
6 years ago[COMMON] dma: change MCODE_BUFFER size.
Jaejoon Yoo [Wed, 29 Nov 2017 06:29:07 +0000 (15:29 +0900)]
[COMMON] dma: change MCODE_BUFFER size.

Change-Id: Id92b11a013db9cbd20c9715108cf465a0bc82ae0
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years ago[COMMON] DMA: Add configurable burst length in cyclic mode.
Jaejoon Yoo [Wed, 29 Nov 2017 00:24:40 +0000 (09:24 +0900)]
[COMMON] DMA: Add configurable burst length in cyclic mode.

Change-Id: Iaa152f26fac528b9fdb4b125cd5206377c55db54
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years ago[COMMON] dma: Remove FLUSHP for dev2mem transfer
Eunok Jo [Thu, 14 Sep 2017 05:43:14 +0000 (14:43 +0900)]
[COMMON] dma: Remove FLUSHP for dev2mem transfer

In Dev2mem transfer, peripheral de-asserts the PERIPHERAL_REQUEST
on the very next clock edge of its finished request because
data transfer is already completed on the peripheral side.

In this case, micro code does not have to do FLUSHP
because there should not be any synchronization issues.

Change-Id: I7370b526759422b1d056f0c54c65899597e327a4
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
6 years agoRevert "dmaengine: Remove the context argument to the prep_dma_cyclic operation"
Eunok Jo [Mon, 22 May 2017 07:48:58 +0000 (16:48 +0900)]
Revert "dmaengine: Remove the context argument to the prep_dma_cyclic operation"

This reverts commit 31c1e5a1350ae8d1bc2018f5de8264266d9773e1.

Change-Id: I0d1eb6fe5cf845935d219bcf31c1902c548240b4

6 years agodma: svace fix: fix variable type mismatch
Eunok Jo [Tue, 7 Feb 2017 10:51:42 +0000 (19:51 +0900)]
dma: svace fix: fix variable type mismatch

WGID: 95862, 96284, 96746, 96796, 97246

Change-Id: I7bfbd10408e7982fe01884435dcb396052c6e42f
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
6 years agoDMA: svace fix: add type cast code to loop function(WGID: 2490).
Jaejoon Yoo [Fri, 6 Jan 2017 08:21:33 +0000 (17:21 +0900)]
DMA: svace fix: add type cast code to loop function(WGID: 2490).

Change-Id: Ie2d0d68c975e2c0b8e51330783c577bff1523b37
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agoDMA: Support 36bit address when call getposition function.
Jaejoon Yoo [Tue, 10 Jan 2017 10:05:01 +0000 (19:05 +0900)]
DMA: Support 36bit address when call getposition function.

Change-Id: I542860611c550d25b014e6cb112e64edf94e4e02
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agodma: pl330: add critical section for list operation
Taekki Kim [Mon, 9 Jan 2017 04:07:34 +0000 (13:07 +0900)]
dma: pl330: add critical section for list operation

Change-Id: I8505ac36fcc13a9d0c376bd4dba7fae6558f50cb
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years agoDMA: Fix SFR address when debug log print.
Jaejoon Yoo [Tue, 3 Jan 2017 09:51:05 +0000 (18:51 +0900)]
DMA: Fix SFR address when debug log print.

Change-Id: Ib52934854f5d238e60b48e908256552b537d6483
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agoDMA: Modify register base address
Jaejoon Yoo [Mon, 2 Jan 2017 12:06:20 +0000 (21:06 +0900)]
DMA: Modify register base address

Change-Id: Ia9e0e042cbbaaf12f5e15b29f5506a15f57de736
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agoDMA: svace fix: Add code for handling null (WGID: 58265).
Jaejoon Yoo [Wed, 28 Dec 2016 06:19:54 +0000 (15:19 +0900)]
DMA: svace fix: Add code for handling null (WGID: 58265).

Change-Id: I168bd2e9effaa27ff1bdcdcce946905697f298b9
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agoDMA: Add more information to pl330_dma_debug function.
Jaejoon Yoo [Thu, 15 Dec 2016 08:16:38 +0000 (17:16 +0900)]
DMA: Add more information to pl330_dma_debug function.

Change-Id: Ideca8099a73ef3aec2ce13af71c37d68ede6228b
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agodma: set mask bit as 36
Eunok Jo [Tue, 10 Nov 2015 06:55:36 +0000 (06:55 +0000)]
dma: set mask bit as 36

Change-Id: I4cd8af74c2b2033c0105de4580d19d16381a36f1
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
6 years agodma: Modify FLUSHP instuction for DP audio.
Jaejoon Yoo [Mon, 24 Oct 2016 06:42:46 +0000 (15:42 +0900)]
dma: Modify FLUSHP instuction for DP audio.

Change-Id: I353a38327e5b5265045547c6ced6c2a072f20a47
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agoRevert "dmaengine: pl330: fix bug that cause start the same descs in cyclic"
Jaejoon Yoo [Wed, 5 Oct 2016 02:19:41 +0000 (11:19 +0900)]
Revert "dmaengine: pl330: fix bug that cause start the same descs in cyclic"

This reverts commit 0091b9d6c1ef2caab6cb3b6c0aa75f9948307856.

Change-Id: Ideaea8c9a415a544335452f8e6bec969040c02d0

6 years agodma: Introduce DMA register dump.
Jaejoon Yoo [Tue, 2 Aug 2016 02:17:09 +0000 (11:17 +0900)]
dma: Introduce DMA register dump.

Change-Id: I4316c39a062fb862450c5e3bb9ff21055aade6e0
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years agodma: pl330: clear interrupt flag in dma stop
Seokju Yoon [Tue, 24 Nov 2015 06:02:43 +0000 (15:02 +0900)]
dma: pl330: clear interrupt flag in dma stop

Change-Id: Ibd286459dfd26d2d2cbdea4f127bf1eaccf646ba
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agoDMA: fixed time loop code
Seokju Yoon [Fri, 27 Nov 2015 08:17:06 +0000 (17:17 +0900)]
DMA: fixed time loop code

Change-Id: I53e9216c0e015709219fb91f1b0cc36a716f13f3
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: restore instruction wrapper register
Eunok Jo [Mon, 20 Jul 2015 02:20:19 +0000 (02:20 +0000)]
dma: restore instruction wrapper register

Wrapper register for instruction address should be restored after power mode.

Change-Id: Icbaf3fe80be32fc496cfdc22dc7ebc34dd00671a
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: of-dma: Support to set number of dma mask bit property.
Seokju Yoon [Thu, 18 Jun 2015 14:09:12 +0000 (23:09 +0900)]
dma: of-dma: Support to set number of dma mask bit property.

Change-Id: I329b65fa71cacddbc1be4df5bc32d142a8598c6d
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agoDMA: pl330: Fixed wrong operation in pl330 interrupt handler
Soohyun Kim [Fri, 4 Jul 2014 07:18:24 +0000 (16:18 +0900)]
DMA: pl330: Fixed wrong operation in pl330 interrupt handler

Channel release operation can occur while running interrupt handler.
It can causes the various side effect. This patch is adding
check usage count to avoid above problem.

Change-Id: I45a68b49837bd5abdb9a7404f2441e94393f2afe
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: Added the DMA wrapper control.
Lee Yongjin [Mon, 20 Apr 2015 11:21:34 +0000 (20:21 +0900)]
dma: Added the DMA wrapper control.

Change-Id: Ifaf27560957bd0c35e1bfc4fd5c8f553fe10eb33
Signed-off-by: Lee Yongjin <yongjin0.lee@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: set AxCACHE[1] as modifiable.
Eunok Jo [Thu, 16 Apr 2015 09:02:19 +0000 (18:02 +0900)]
dma: set AxCACHE[1] as modifiable.

Differ to NOC, TREX cannot chunk burst data
unless AxCACHE is set to high.

Change-Id: Ie54ccc6cb6ebf3570019a2bf9b34dd61d9581191
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: support 4burst mode for dev-to-mem and mem-to-dev transmit
Kang Nam Park [Mon, 29 Dec 2014 06:54:25 +0000 (15:54 +0900)]
dma: support 4burst mode for dev-to-mem and mem-to-dev transmit

Change-Id: I19b1d7f068a1774f693d9b3c3c201fb3042afa80
Signed-off-by: Kang Nam Park <kn0710.park@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: resolve prevent '52720'
Woncheon Ahn [Mon, 22 Dec 2014 04:21:47 +0000 (13:21 +0900)]
dma: resolve prevent '52720'

Change-Id: Icace7fafc9ffc27cfa70636589ce2f275d82e370
Signed-off-by: Woncheon Ahn <woncheon.an@samsung.com>
6 years agodma: pl330: Remove unaligned access code
Soohyun Kim [Tue, 14 Oct 2014 12:46:05 +0000 (21:46 +0900)]
dma: pl330: Remove unaligned access code

If cpu has not allowed unaligned access, this code maybe
has a problem. This patch is prevent above problem.

Change-Id: I4df50f6e7079a32801ba749654f1c8930bc4d142
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: pl330: Add timeout error on transient states
lakkyung jung [Mon, 25 Aug 2014 05:51:56 +0000 (14:51 +0900)]
dma: pl330: Add timeout error on transient states

Change-Id: I096698308a88376073588a7b1da42ed407261514
Signed-off-by: Lee Yongjin <yongjin0.lee@samsung.com>
6 years agodma: pl330: Changed the timeout function
Yongjin Lee [Sun, 9 Feb 2014 11:37:51 +0000 (20:37 +0900)]
dma: pl330: Changed the timeout function

Change-Id: I52449c51ade4ca3a4fe24a4988bc9912d7aecfb7
Signed-off-by: Yongjin Lee <yongjin0.lee@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: pl330: add guard codes for pre-released request
Lee Yongjin [Fri, 26 Jul 2013 08:59:04 +0000 (17:59 +0900)]
dma: pl330: add guard codes for pre-released request

Rarely, pl330_update() function is called for already freed request.
In that case, pl330_update gets id which value is -1, then kernel panic is occurred.

Change-Id: I6e426e576e2bba25891a280e8539d0c5b3dba7fe
Signed-off-by: Lee Yongjin <yongjin0.lee@samsung.com>
6 years agodma: pl330: add infinite loop functionality
Seokju Yoon [Tue, 16 Jun 2015 08:03:44 +0000 (17:03 +0900)]
dma: pl330: add infinite loop functionality

This patch adds an infinite loop feature to PL330 driver.
This feature removes the stop period of PL330 HW.

Change-Id: I5cb5be0eca76497c80ba0ad44021e62776c843d9
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: pl330: support the arm_exynos_dma_mcode_ops in device tree
Lee Yongjin [Fri, 13 Sep 2013 05:39:19 +0000 (14:39 +0900)]
dma: pl330: support the arm_exynos_dma_mcode_ops in device tree

This patch is dma micro code allocation in special memory area.

Change-Id: Ic40c162e3a6ec317e70d8af675304304f2e5886c
Signed-off-by: Lee Yongjin <yongjin0.lee@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years agodma: pl330: add getposition() API
Seokju Yoon [Mon, 15 Jun 2015 08:07:34 +0000 (17:07 +0900)]
dma: pl330: add getposition() API

This patch adds a getposition() API to provide the current DMA buffer
position.

Change-Id: I8627e4c0d494701fe272fda55ac3e64792065074
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years ago[HACK] dma: add header file to support dma
Eunok Jo [Fri, 12 Jan 2018 07:06:38 +0000 (16:06 +0900)]
[HACK] dma: add header file to support dma

Change-Id: If73781484a96c550bc0315140b5677b877da7acc
Signed-off-by: Eunok Jo <eunok25.jo@samsung.com>
6 years ago[9610][ERD] arm64: config: Enable gpio_key
Jaehyoung Choi [Mon, 14 May 2018 05:41:19 +0000 (14:41 +0900)]
[9610][ERD] arm64: config: Enable gpio_key

Change-Id: I31aa8cf3bf81e85ac206f7d2db9a6fb7b7bee35a
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: dts: Add gpio_key device node
Jaehyoung Choi [Mon, 14 May 2018 05:41:00 +0000 (14:41 +0900)]
[9610][ERD] arm64: dts: Add gpio_key device node

Change-Id: I6e4e1d1e1fe6c6bc8672211153b3ceeefa6319cd
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] irq: Bound irq to boot cluster when multi target irq scenario.
Soohyun Kim [Thu, 2 Nov 2017 01:00:02 +0000 (10:00 +0900)]
[COMMON] irq: Bound irq to boot cluster when multi target irq scenario.

IRQD_GIC_MULTI_TARGET flag is enabled, All CPU can receive
interrupts. It cause increase power consumption, so we need to
limits the interrupt only to the boot cluster.

Change-Id: I9a44a07fd12220f8a2cfdd5539ccf52aec80677d
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
6 years ago[COMMON] irqchip: gic: map irq_enable/irq_disable to gic_unmask_irq/gic_mask_irq
Eunki Kim [Fri, 14 Feb 2014 06:00:48 +0000 (15:00 +0900)]
[COMMON] irqchip: gic: map irq_enable/irq_disable to gic_unmask_irq/gic_mask_irq

It's possible to occur the spurious interrupt from the device.
However, it could be problem when it used for level interrupt.
This patch declares irq_disable to mask_irq in order to prevent
from the spurious interrupts and does irq_enable to unmak_irq
pairly.

Change-Id: Iec8de4232f67d2f9ab8762b481c2e4049bf7898c
Signed-off-by: Eunki Kim <eunki_kim@samsung.com>
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
6 years ago[COMMON] irqchip: gic: add dmb(ish) in gic_handle_irq
Hyunki Koo [Fri, 15 Apr 2016 07:47:11 +0000 (16:47 +0900)]
[COMMON] irqchip: gic: add dmb(ish) in gic_handle_irq

Change-Id: I09e180d1d7133d5c306531dd4db3ce8d3c0d176b
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
6 years ago[COMMON] irqchip: gic: implement multiple cpu targeted interrupt
Hosung Kim [Sun, 9 Apr 2017 11:49:29 +0000 (20:49 +0900)]
[COMMON] irqchip: gic: implement multiple cpu targeted interrupt

Current gic driver only supports single cpu targeted interrupt
though GIC HW supports multiple cpu targeted interrupt.
This patch implements this multiple cpu targeted interrupt
by controlling interrupt processor target registers in GIC HW.

Because use of multiple cpu targeted interrupt can cause
unnecessary wakeups of targeted cpus, use this feature
only when minimal interrupt latency is required

Change-Id: Iefb8625564e790eede677190aa2190290f7aee00
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
6 years ago[COMMON] kernel: irq: don't migrate irqs with IRQD_GIC_MULTI_TARGET set
Hyunki Koo [Thu, 8 Mar 2018 09:07:29 +0000 (18:07 +0900)]
[COMMON] kernel: irq: don't migrate irqs with IRQD_GIC_MULTI_TARGET set

Don't migrate multi targeted interrupts during cpu hotplug out
if their masks include any onlie cpus.

This patch was missing by kernel version up, because this code was
in arch/arm64/kernel. But it is in kernel/irq now.

Change-Id: If1acc4c5acac8ca65bc4a3308db40530bdd1e17c
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
6 years agogenirq: move setting GIC_MULTI_TARGET flag
Hosung Kim [Thu, 8 Mar 2018 12:36:09 +0000 (21:36 +0900)]
genirq: move setting GIC_MULTI_TARGET flag

This commit moves setting the code of GIC_MULTI_TARGET flag
over to calling irq_startup function. Because of applying
genirq: Move initial affinity setup to irq_startup() by Thomas Gleixner
Patch, calling setup_affinity function was gone.
So there was no way to set affinity.

Change-Id: I68846906f35f45015ceff56450606c917fd8749d
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
6 years ago[HACK] irq: irqchip: do not check irqd_irq_masked
Hyunki Koo [Fri, 26 Jan 2018 08:32:40 +0000 (17:32 +0900)]
[HACK] irq: irqchip: do not check irqd_irq_masked

Change-Id: Ieb2a610892000b536130629ae6238bcd139955e9
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
6 years ago[COMMON] irq: add IRQF_GIC_MULTI_TARGET flag
Changhwan Youn [Mon, 29 Sep 2014 03:26:26 +0000 (12:26 +0900)]
[COMMON] irq: add IRQF_GIC_MULTI_TARGET flag

Add IRQF_GIC_MULTI_TARGET flag to target multiple cpus
during interrupt affinity setting.
In __setup_irq(), IRQD_GIC_MULTI_TARGET in irq_data is set
if IRQF_GIC_MULTI_TARGET is set.

Change-Id: Id65066e2ea85e3aadb078b644e2410c02b184b8c
Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
6 years ago[9610] arm64: erd9610_defconfig: Enabled CONFIG_REGULATOR_FIXED_VOLTAGE
Jang JeongHoon [Mon, 14 May 2018 04:19:12 +0000 (13:19 +0900)]
[9610] arm64: erd9610_defconfig: Enabled CONFIG_REGULATOR_FIXED_VOLTAGE

Change-Id: I12644e6e5529764be1f53b507083e1182d5964df
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[9610][ERD] arm64: dts: Add modem device tree
Jaehyoung Choi [Sat, 12 May 2018 08:07:08 +0000 (17:07 +0900)]
[9610][ERD] arm64: dts: Add modem device tree

Change-Id: I502b6ed357cd8c7efed55235ac59351f44ac4e67
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: dts: Add reserveed mem device tree
Jaehyoung Choi [Sat, 12 May 2018 07:49:45 +0000 (16:49 +0900)]
[9610][ERD] arm64: dts: Add reserveed mem device tree

Add reserved mem device tree & Remove memory node

Change-Id: I0108daa5ec23e88864856675b0add26fc0c773f3
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: dts: Change bootargs for Android
Jaehyoung Choi [Fri, 11 May 2018 07:56:43 +0000 (16:56 +0900)]
[9610][ERD] arm64: dts: Change bootargs for Android

Change-Id: I51d00c7b09a30f292971a08f4b924d056f1e9c6b
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610] arm64: dts: Added exynos-rgt device node.
Jang JeongHoon [Fri, 11 May 2018 06:49:07 +0000 (15:49 +0900)]
[9610] arm64: dts: Added exynos-rgt device node.

Change-Id: I26047b56d3a868909a6b8bb37012cdeb36695f97
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[COMMON] soc: samsung: Added initial exynos-rgt driver.
Jang JeongHoon [Fri, 11 May 2018 06:48:47 +0000 (15:48 +0900)]
[COMMON] soc: samsung: Added initial exynos-rgt driver.

Change-Id: Id520def8ec546c9b371149108311c451ed44eb5b
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years agoRevert "[HACK][9610] drivers: acpm: set NULL to acpm_mfd_node"
Jang JeongHoon [Fri, 11 May 2018 05:45:43 +0000 (14:45 +0900)]
Revert "[HACK][9610] drivers: acpm: set NULL to acpm_mfd_node"

This reverts commit ee2f05c97aa0d68ee1c7b0dd9254594446f6aaff.

Change-Id: Ic1550153beaa3d62f4bc4c6dd737b0a68802a307

6 years ago[COMMON] drivers: i2c: Add I2C_CLIENT_SPEEDY
Naeun Yoo [Fri, 12 Jan 2018 12:44:41 +0000 (21:44 +0900)]
[COMMON] drivers: i2c: Add I2C_CLIENT_SPEEDY

Change-Id: I60608968106643c797b9a46828727cfadca5303b
Signed-off-by: Naeun Yoo <ne.yoo@samsung.com>
6 years ago[9610] arm64: dts: Added speedy_bus pinctrl.
Jang JeongHoon [Fri, 11 May 2018 05:24:23 +0000 (14:24 +0900)]
[9610] arm64: dts: Added speedy_bus pinctrl.

Change-Id: I6749a50ba277d580a57f2120f8ef10d4aa927df0
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[9610] arm64: added configs and dt node for S2MPU09
Jieun Yi [Fri, 11 May 2018 04:40:45 +0000 (13:40 +0900)]
[9610] arm64: added configs and dt node for S2MPU09

Change-Id: I2fd82f9beec7446d2ee232f37b7163e519377cf3
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
6 years ago[9610] drivers: rtc: created rtc driver for S2MPU09
Jieun Yi [Fri, 11 May 2018 04:40:09 +0000 (13:40 +0900)]
[9610] drivers: rtc: created rtc driver for S2MPU09

Change-Id: Iddbbc11dd7beacd6cac21a922accafe5a23db899
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
6 years ago[9610] drivers: regulator: created regulator driver for S2MPU09
Jieun Yi [Fri, 11 May 2018 04:39:40 +0000 (13:39 +0900)]
[9610] drivers: regulator: created regulator driver for S2MPU09

Change-Id: Ie35d00eb3cdcd96a54b531e949681869281aaf6f
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
6 years ago[9610] drivers: mfd: created mfd driver for S2MPU09
Jieun Yi [Fri, 11 May 2018 04:38:54 +0000 (13:38 +0900)]
[9610] drivers: mfd: created mfd driver for S2MPU09

Change-Id: Ia4ecc49230a49f9b6af59a3520ac191f2e546106
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
6 years ago[9610] arm64: dtsi: Added speedy device node.
Jang JeongHoon [Fri, 11 May 2018 04:21:11 +0000 (13:21 +0900)]
[9610] arm64: dtsi: Added speedy device node.

Change-Id: I88c6e2ee39dec7f1bd6f91a3aaf1fa07831ca60f
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[COMMON] i2c: busses: Added initial speedy driver.
Jang JeongHoon [Fri, 11 May 2018 03:51:44 +0000 (12:51 +0900)]
[COMMON] i2c: busses: Added initial speedy driver.

Change-Id: I7488199a94cff870f7595ca221c26ae64b30f67c
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[HACK] [9610] driver: turn on charger always if notifier is not enabled
Keunho Hwang [Thu, 10 May 2018 12:05:25 +0000 (21:05 +0900)]
[HACK] [9610] driver: turn on charger always if notifier is not enabled

Change-Id: I1173c66588e6e9d32eaaac00763a70ded0f3155f
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[9610] configs: enable s2mu004 mfd/chg/fg, s2mu00x batt.
Keunho Hwang [Thu, 10 May 2018 12:08:11 +0000 (21:08 +0900)]
[9610] configs: enable s2mu004 mfd/chg/fg, s2mu00x batt.

Change-Id: Ib4e98c7ff5a8f0808f8da069913697258613037d
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[9610] include: Add defines for s2mu00x series
Keunho Hwang [Fri, 11 May 2018 01:31:38 +0000 (10:31 +0900)]
[9610] include: Add defines for s2mu00x series

Change-Id: I977fa4e570688fd383cd5892e99a954d2cd3cca1
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[9610] drivers/include/dts: s2mu00x batt. driver bring-up
Keunho Hwang [Fri, 11 May 2018 01:26:22 +0000 (10:26 +0900)]
[9610] drivers/include/dts: s2mu00x batt. driver bring-up

Change-Id: I4db3c51a8327480ec109929c3ada9479acd80e95
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[9610] include: Add wakelock header
Keunho Hwang [Fri, 11 May 2018 01:21:27 +0000 (10:21 +0900)]
[9610] include: Add wakelock header

Change-Id: I9a655cb843a0ae24a16ffa4903a9ed3cf0d482b6
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[9610] drivers/include/dts: s2mu004 mfd/chg/fg bring-up
Keunho Hwang [Fri, 11 May 2018 01:19:41 +0000 (10:19 +0900)]
[9610] drivers/include/dts: s2mu004 mfd/chg/fg bring-up

Change-Id: Id05565a585bd71f9830a14e4616dd1eb1ed65fbb
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
6 years ago[HACK][9610] bts: disable PM QoS request
Taekki Kim [Fri, 11 May 2018 04:21:43 +0000 (13:21 +0900)]
[HACK][9610] bts: disable PM QoS request

This pathc disables PM QoS request because PM QoS classes
are not applied for devfreq. This patch will be revert
after applied PM QoS and Devfreq.

Change-Id: Ia4ad7aa6f0368e29edbca1f8c78c14c0838b99a0
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: change bts code for kernel 4.14
Taekki Kim [Wed, 9 May 2018 04:47:42 +0000 (13:47 +0900)]
[9610] bts: change bts code for kernel 4.14

Change-Id: Iaf6eac1f483b82aa266167170194f055000d86c4
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: reduce peak bandwidth of MFC/DPU for FHD480fps
Taekki Kim [Thu, 19 Apr 2018 01:48:04 +0000 (10:48 +0900)]
[9610] bts: reduce peak bandwidth of MFC/DPU for FHD480fps

Currently, the frame drop occurring when full HD 480fps
encoding because the bandwidth from the MFC and DPU. The
instantaneous high bandwidth of the MFC and DPU increase
the latency of CPU. So, the priority and peak banwidth of
MFC and DPU were limited on the full HD 480fps encoding
scenario. These limitation does not hurt the MFC and DPU
performance on a corresponding scenario.

Change-Id: I61a4859d3913fc8015e47aa68567b437e30566fb
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: fixes prevent defects (CID 214778,214779,214783,214904)
Taekki Kim [Tue, 9 Jan 2018 10:35:39 +0000 (19:35 +0900)]
[9610] bts: fixes prevent defects (CID 214778,214779,214783,214904)

Change-Id: I0b7445d9e2b4ea902e373f1dfc09f727d8b30c29
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: add BTS values for each BTS IPs
Taekki Kim [Mon, 16 Oct 2017 12:16:54 +0000 (21:16 +0900)]
[9610] bts: add BTS values for each BTS IPs

If scenarios were overlapped, BTS value of higher priority
can not set.

Change-Id: I8d019178d49766e09767d7c48a7eaa93d1d2a4aa
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: fixed scenario chaining bug on debugfs
Taekki Kim [Thu, 12 Oct 2017 12:56:05 +0000 (21:56 +0900)]
[9610] bts: fixed scenario chaining bug on debugfs

When scenario value of some bts is changed through debugfs,
if corresponding scenario value was not register originally in
corresponding bts, these value is not set. Because
scenario was not register to scenario chain of bts.

Change-Id: I5df430b176e8142a65dd328b7467eaf4a2ec1f06
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: fixed calling function on debugfs
Taekki Kim [Thu, 12 Oct 2017 10:50:00 +0000 (19:50 +0900)]
[9610] bts: fixed calling function on debugfs

In debugfs, the bts set functions should only be called
when the current scenario and setting scenario are the
same. However, the bts set functions were always called.

Change-Id: I9add896fd84092d59b7fe71e2a00de515c0846e4
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: add scenario for FHD 480fps encoding
Taekki Kim [Wed, 27 Sep 2017 10:11:40 +0000 (19:11 +0900)]
[9610] bts: add scenario for FHD 480fps encoding

This patch adds scenario for FHD 480fps encoding.
These values are draft version.

Change-Id: Id59e614884a098083701cc771fb545744040f902
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: change timeout values for RT IPs
Taekki Kim [Wed, 27 Sep 2017 07:48:26 +0000 (16:48 +0900)]
[9610] bts: change timeout values for RT IPs

This patch changes timeout values for RT IPs.
Previously, they were too large for RT IPs.

Change-Id: Id4f26107626cdeaa955697d7b554ff953db4dffe
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: change bandwidth limit of G3D
Taekki Kim [Tue, 26 Sep 2017 09:49:30 +0000 (18:49 +0900)]
[9610] bts: change bandwidth limit of G3D

This patch changes bandwidth limit of G3D, because
G3D bandwidth very heavy(7GB/sec) when normal operation.

Change-Id: Ifb2d72e1c7da4758fd5513ac1db6a097c38cded8
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[9610] bts: initialize bts driver for exynos9610
Taekki Kim [Thu, 14 Sep 2017 11:17:33 +0000 (20:17 +0900)]
[9610] bts: initialize bts driver for exynos9610

Change-Id: I96060e84e42786957f71c4f000fefb3b6d9a3225
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years ago[COMMON] soc: samsung: add bts header
Taekki Kim [Fri, 14 Apr 2017 07:18:59 +0000 (16:18 +0900)]
[COMMON] soc: samsung: add bts header

Change-Id: I6739d88442ebb1f1544d701e6d843e7fc8e5824f
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
6 years agobts: initialize bts driver for kernel 4.4
Seokju Yoon [Tue, 3 May 2016 10:30:06 +0000 (19:30 +0900)]
bts: initialize bts driver for kernel 4.4

Change-Id: I7400da709f6b73d899f9379e45f3c9aacc14988b
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
6 years ago[9610] arm64: dtsi: Fix pinctrl wake init setting
Jaehyoung Choi [Fri, 11 May 2018 02:21:12 +0000 (11:21 +0900)]
[9610] arm64: dtsi: Fix pinctrl wake init setting

Change-Id: If25036557b5cd46ac794da1dc873d9511f6da2b5
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: config: Enable PWM driver
Jaehyoung Choi [Fri, 11 May 2018 01:31:11 +0000 (10:31 +0900)]
[9610][ERD] arm64: config: Enable PWM driver

Change-Id: I4f57e98f49a5e30068cd38fadc1ced57eaf9e209
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: config: Enable ADC driver
Jaehyoung Choi [Fri, 11 May 2018 01:29:41 +0000 (10:29 +0900)]
[9610][ERD] arm64: config: Enable ADC driver

Change-Id: I85b3b357afe3502ee3518bc01d83f7a28d368be6
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610] arm64: dtsi: Add pwm device node
Jaehyoung Choi [Fri, 11 May 2018 01:27:48 +0000 (10:27 +0900)]
[9610] arm64: dtsi: Add pwm device node

Change-Id: If44b248748211240736c2742cce60243ae9ab15d
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610] arm64: dtsi: Add rtc device node
Jaehyoung Choi [Fri, 11 May 2018 01:26:25 +0000 (10:26 +0900)]
[9610] arm64: dtsi: Add rtc device node

Change-Id: Ia22ad79718a7c463f7f007b1a8fd8533d316366a
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610] arm64: dtsi: Add adc device node
Jaehyoung Choi [Fri, 11 May 2018 01:25:42 +0000 (10:25 +0900)]
[9610] arm64: dtsi: Add adc device node

Change-Id: Idd8b1800a0418b37b78d3abcdd82e2d0739f0c31
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: config: Enable Watchdog driver
Jaehyoung Choi [Thu, 10 May 2018 05:17:42 +0000 (14:17 +0900)]
[9610][ERD] arm64: config: Enable Watchdog driver

Change-Id: I21bb33ae0db182e22caa53b76cf251a1ead1c81c
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610][ERD] arm64: dts: Add watchdog device node
Jaehyoung Choi [Thu, 10 May 2018 05:16:32 +0000 (14:16 +0900)]
[9610][ERD] arm64: dts: Add watchdog device node

Change-Id: I7472be5f98a15edf839b4643d57d8263ee947224
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: moved to subsys_initcall for quick reset support
Changki Kim [Mon, 9 Apr 2018 07:27:26 +0000 (16:27 +0900)]
[COMMON] watchdog: s3c2410_wdt: moved to subsys_initcall for quick reset support

Change-Id: I5497efbf663640122722431e9c1b8b8b5ad8a850
Signed-off-by: Changki Kim <changki.kim@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: Change PMU mask function
Jaehyoung Choi [Thu, 8 Mar 2018 07:01:50 +0000 (16:01 +0900)]
[COMMON] watchdog: s3c2410_wdt: Change PMU mask function

In Exynos9820, PMU registers were changed.
MASK_RESET register was replaced by NONCPU_INT_EN register.
AUTO_DISABLE register was removed and its value was fixed by 0.

For this reason, new drive data was added and function related
PMU was changed.

Change-Id: I14728441f6869946b2317cd6c63e04e0ca4a8360
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: Fix debug code for kernel 4.14
Jaehyoung Choi [Fri, 12 Jan 2018 12:39:32 +0000 (21:39 +0900)]
[COMMON] watchdog: s3c2410_wdt: Fix debug code for kernel 4.14

Change-Id: I7486d531a65859a17e9141c5f5e21ef1ebb4215f
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] watchdog: Add watchdog reset confirm function.
Jaehyoung Choi [Thu, 14 Sep 2017 08:55:52 +0000 (17:55 +0900)]
[COMMON] watchdog: Add watchdog reset confirm function.

Currently mainline code does not support functions
to check whether watchdog works in real time.

The reset_confirm function checks
whether the watchdog timer actually generates a reset.

Change-Id: I569ab2f910b63160753838801d3c0b03f5a1a46d
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: Add debug log in watchdog function
Jaehyoung Choi [Fri, 12 Jan 2018 06:56:31 +0000 (15:56 +0900)]
[COMMON] watchdog: s3c2410_wdt: Add debug log in watchdog function

Change-Id: I74452d58a2e98efd395ba4efa1c950a1beeac656
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: add stutdown disable
hajun.sung [Sun, 27 Aug 2017 04:41:37 +0000 (13:41 +0900)]
[COMMON] watchdog: s3c2410_wdt: add stutdown disable

- When system failure after watchdog driver shutdown,
  there is no way to reboot, just system hang (with black screen).
- To prevent system hang, watchdog must not be disabled after shutdown.
- But sometimes watchdog must be disabled to debug reset sequence.
  So, define with config : S3C2410_SHUTDOWN_REBOOT

- This configuration is recommended for user case.

Change-Id: I2cfcc6d922f2ccd8cd91d0059fb6f79e9fd40854
Signed-off-by: hajun.sung <hajun.sung@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: Add multistage watchdog solution
Choi Jaehyoung [Mon, 25 Sep 2017 08:30:30 +0000 (17:30 +0900)]
[COMMON] watchdog: s3c2410_wdt: Add multistage watchdog solution

Multistage watchdog is a debugging solution using FIQ
when dumpGPR using reset is not available.

Multistage watchdog has a following policies.

1. Multistage watchdog is big cluster watchdog.
2. When little cluster watchdog is started,
   multistage watchdog is also started.
3. However, if the panic function runs a little cluster watchdog,
   then the multistage watchdog should be turned off.

Change-Id: I0c45d07b80c3b75848b1f1bc3259dc7faf5c63da
Signed-off-by: Choi Jaehyoung <jkkkkk.choi@samsung.com>
6 years ago[COMMON] watchdog: s3c2410_wdt: Add watchdog confirm function.
Choi Jaehyoung [Tue, 11 Jul 2017 07:59:32 +0000 (16:59 +0900)]
[COMMON] watchdog: s3c2410_wdt: Add watchdog confirm function.

This function shows the registers associated with the state of the current watchdog.
However, this function does not return, so it must be used only for testing purposes.

Change-Id: Ic666bce8e31c563a7b445f923017990faed92595
Signed-off-by: Choi Jaehyoung <jkkkkk.choi@samsung.com>
6 years agoRevert "[COMMON] watchdog: Add watchdog reset confirm function."
Jaehyoung Choi [Thu, 10 May 2018 04:38:13 +0000 (13:38 +0900)]
Revert "[COMMON] watchdog: Add watchdog reset confirm function."

This reverts commit 816981102c4237b5a40746c6a2d0fa3389584ce0.

6 years ago[COMMON] watchdog: s3c2410_wdt: Fix exynos8 drv_data quirks
Jaehyoung Choi [Fri, 12 Jan 2018 10:31:18 +0000 (19:31 +0900)]
[COMMON] watchdog: s3c2410_wdt: Fix exynos8 drv_data quirks

Change-Id: I0dc4405ab8be7464682d696c2f4c14b39a373560
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] i2c: s3c2410: Fix build error related to idle ip for kernel 4.14
myung-su.cha [Thu, 10 May 2018 04:57:43 +0000 (13:57 +0900)]
[COMMON] i2c: s3c2410: Fix build error related to idle ip for kernel 4.14

Change-Id: Id3a2249cc53caef0608103039adf0ef6b90ba9da
Signed-off-by: myung-su.cha <myung-su.cha@samsung.com>
6 years ago[COMMON] i2c: s3c: Add debugging log for Normal i2c
Kyungwoo Kang [Fri, 20 Oct 2017 07:14:34 +0000 (16:14 +0900)]
[COMMON] i2c: s3c: Add debugging log for Normal i2c

Previously we only print "bus idle" log when the bus is busy.
This patch we put I2C STAT SFR info for more convinient debugging.

Change-Id: I9b18366f7bdcdacfec0e7d0ae4b7cc4e26851e73
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>