GitHub/LineageOS/android_kernel_motorola_exynos9610.git
6 years ago[COMMON] thermal: samsung: Parse thermal zone name
Soomin Kim [Tue, 12 Jul 2016 08:01:36 +0000 (17:01 +0900)]
[COMMON] thermal: samsung: Parse thermal zone name

If sensor node has tmu_name property, parse the name.

Change-Id: I05df2e9e0a7c9d95ee7219f1c7e7b7fab54ab721
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[8895] thermal: samsung: Set AVG_CONTROL register
Soomin Kim [Mon, 11 Jul 2016 09:22:30 +0000 (18:22 +0900)]
[8895] thermal: samsung: Set AVG_CONTROL register

AVG_CONTROL register is newly added in EXYNOS8895.
This register should be set accrording to TRIMINFO2.

Change-Id: Id9cff5cf2b5bf6a57beda07ff131f0783696d9dd
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[8895] thermal: samsung: Support remote probe
Soomin Kim [Mon, 11 Jul 2016 07:46:29 +0000 (16:46 +0900)]
[8895] thermal: samsung: Support remote probe

Exynos8895 supports remote probe. To use it,
driver and DT is changed. The usage is bellow.
'sensors' property in DT decribes which sensor
is used.

Change-Id: I43db6f641785011035a604ea47576582d2cdf902
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[COMMON] thermal: samsung: Add CONFIG_CPU_FREQ
Soomin Kim [Mon, 11 Jul 2016 06:13:59 +0000 (15:13 +0900)]
[COMMON] thermal: samsung: Add CONFIG_CPU_FREQ

cpufreq_frequency_get_table() should be called
when CONFIG_CPU_FREQ is enabled.

Change-Id: I377f4c31b651cc3728ff322745c280be851352f4
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[COMMON] thermal: samsung: Define NR_HOTPLUG_CPUS
Soomin Kim [Mon, 11 Jul 2016 06:08:26 +0000 (15:08 +0900)]
[COMMON] thermal: samsung: Define NR_HOTPLUG_CPUS

NR_CLUST1_CPUS defined in include/soc/samsung/cpufreq.h
isn't available because above file is deleted.

Resolved migration conflicts from kernel 4.9 to 4.14.

Change-Id: I79d9e5c318586fb7c9d43f26fd93b1bcbcda6a65
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[8895] tmu: samsung: Exynos8895 initial bring up
Soomin Kim [Mon, 11 Jul 2016 02:20:33 +0000 (11:20 +0900)]
[8895] tmu: samsung: Exynos8895 initial bring up

Change-Id: I21be6076556a75bfb47864ee5a3a2dabdbcc6d14
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years agothermal: exynos: Do not call set_cur_temp in case APL
Hyeonseong Gil [Thu, 12 May 2016 02:37:46 +0000 (11:37 +0900)]
thermal: exynos: Do not call set_cur_temp in case APL

Change-Id: Ib91dca652d2732cf7722bd7d8a7b27dd2627ea8d
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal : Modify interrupt trigger type edge to level.
Park Chungwoo [Fri, 2 Oct 2015 05:15:48 +0000 (14:15 +0900)]
thermal : Modify interrupt trigger type edge to level.

Change-Id: Ic626ce1e5ce49a0e398c20f2df58e6ad86c144b9
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
6 years agothermal: Add isp cooling related code.
Park Chungwoo [Fri, 18 Mar 2016 05:34:27 +0000 (14:34 +0900)]
thermal: Add isp cooling related code.

Change-Id: Id25553799131a6685a27fcb516902ae2fee2ce43
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: Apply gpu cooling related code.
Park Chungwoo [Fri, 18 Mar 2016 04:13:32 +0000 (13:13 +0900)]
thermal: Apply gpu cooling related code.

Change-Id: I594bd9293c7f5c72a5fb51a6e9bd7531b159faa6
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal : Add throttle hotplug function.
Park Chungwoo [Tue, 15 Mar 2016 08:09:10 +0000 (17:09 +0900)]
thermal : Add throttle hotplug function.

Resolved migration conflicts from kernel 4.9 to 4.14.

Change-Id: I594d154e791f420a036731ddc3238b7ec6c49947
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
6 years agothermal: exynos: Added cold event.
Hyeonseong Gil [Mon, 9 May 2016 06:22:25 +0000 (15:22 +0900)]
thermal: exynos: Added cold event.

Resolved migration conflicts from kernel 4.9 to 4.14.

Change-Id: Ie3397c0359dc0b220ac03f3c552cc1852415f0c2
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: move THERMAL_DEVICE_ENABLED
Hyeonseong Gil [Wed, 30 Mar 2016 07:52:16 +0000 (16:52 +0900)]
thermal: move THERMAL_DEVICE_ENABLED

THERMAL_DEVICE_ENABLED was set during thermal_zone_of_sensor_register().
it cause incorrect temperature reading before tmu initialize.
So, move it after tmu h/w control.

Change-Id: Ic7fe67ff6a29db87a34f8c189ae2c79014befc5f
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: Add check cpufreq table code.
Park Chungwoo [Sun, 21 Feb 2016 00:06:28 +0000 (09:06 +0900)]
thermal: Add check cpufreq table code.

This patch added check cpufreq table.
Thermal driver must be registered after the registration of cpufreq.

Change-Id: I36732df36c0afe8d74529816ee4ebec7df5bd23c
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
6 years agothermal: exynos: Delete unsupported SoC
Hyeonseong Gil [Mon, 9 May 2016 05:00:59 +0000 (14:00 +0900)]
thermal: exynos: Delete unsupported SoC

From now on, we support SoC since exynos8890.

Change-Id: Iedc183e0d7ce7099162deb6cfcf907aa2a8941dc
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: exynos: Modify multi thermal zone register code.
Park Chungwoo [Thu, 17 Mar 2016 02:58:51 +0000 (11:58 +0900)]
thermal: exynos: Modify multi thermal zone register code.

Change-Id: I39164f0d2c7f1f257328f48040975ed73fbd0807
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: cpu_cooling: Move cpufreq_cooling_device structure to header file.
Park Chungwoo [Tue, 15 Mar 2016 07:54:50 +0000 (16:54 +0900)]
thermal: cpu_cooling: Move cpufreq_cooling_device structure to header file.

Resolved migration conflicts from kernel 4.9 to 4.14.

Change-Id: I4d694ace63149e5935d6d5d7d421ac5f7ad002e1
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Signed-off-by: Eunseok Choi <es10.choi@samsung.com>
6 years agothermal: of-thermal: Add governor parsing from device-tree
Park Chungwoo [Wed, 9 Mar 2016 05:35:36 +0000 (14:35 +0900)]
thermal: of-thermal: Add governor parsing from device-tree

Change-Id: Ia63bc75ab4595bcf969402c8ea737cb8289b8292
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: exynos: Add cpufreq cooling regist code.
Park Chungwoo [Wed, 9 Mar 2016 05:30:58 +0000 (14:30 +0900)]
thermal: exynos: Add cpufreq cooling regist code.

Change-Id: I4e598f4a25f32e5e8f35aa9ef2830e626c6396a7
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[COMMON] thermal: samsung: Added get_trend function
Hyeonseong Gil [Wed, 5 Apr 2017 00:37:53 +0000 (09:37 +0900)]
[COMMON] thermal: samsung: Added get_trend function

Exynos will use sensor ops for get_trend function.

Change-Id: I2da40c030c8ed44f1901b2ebb7d7122d2f243ec6
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: exynos: Add TMU support for exynos8890
Park Chungwoo [Mon, 22 Feb 2016 02:35:13 +0000 (11:35 +0900)]
thermal: exynos: Add TMU support for exynos8890

Change-Id: I02e591700a769f0f17c252a6f28978257d8bda8b
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years agothermal: exynos: Delete tmu clock control code.
Park Chungwoo [Sun, 21 Feb 2016 23:01:22 +0000 (08:01 +0900)]
thermal: exynos: Delete tmu clock control code.

This patch deleted thermal related clock control code.
Because exynos must not to control clock in thermal drivers.

Change-Id: Idf999b99d0892fb6cdbbac51eeab448167fa4e8a
Signed-off-by: Park Chungwoo <cww.park@samsung.com>
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[COMMON] soc: samsung: add tmu header
Yulgon Kim [Wed, 12 Apr 2017 01:33:29 +0000 (10:33 +0900)]
[COMMON] soc: samsung: add tmu header

Change-Id: Icd6bfbe5b4a89c3a9f9c196f1635220afac1269f
Signed-off-by: Yulgon Kim <yulgon.kim@samsung.com>
6 years ago[COMMON] power: qos: Introduce MFC/NPU QoS
Hyeonseong Gil [Wed, 14 Mar 2018 00:34:07 +0000 (09:34 +0900)]
[COMMON] power: qos: Introduce MFC/NPU QoS

Change-Id: Ie50551e5f3ef4717b6224082a535388008484a65
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
6 years ago[COMMON] pm_qos: add pm_qos_class for cpu
Park Bumgyu [Wed, 17 Jan 2018 01:39:43 +0000 (10:39 +0900)]
[COMMON] pm_qos: add pm_qos_class for cpu

Change-Id: Iebb3ff8c074c45d7604bb73fa84bb4ae34d4d09b
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
6 years ago[COMMON] power: qos: Add new qos class for devfreq
Soomin Kim [Mon, 22 May 2017 05:35:58 +0000 (14:35 +0900)]
[COMMON] power: qos: Add new qos class for devfreq

Change-Id: I16d41ed16242fe4abc8c11301af5ca41eaa13ef8
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
6 years ago[COMMON] power: qos: added intcam qos handle for devfreq
Jaejoon Yoo [Tue, 5 Jul 2016 03:54:10 +0000 (12:54 +0900)]
[COMMON] power: qos: added intcam qos handle for devfreq

intcam dvfs domain is added first in 8895.
I added new pm qos handle for intcam domain to be able to
manage frequencies requested from the domain.

Change-Id: Id40afe1001e1ef603ee9629496871d72545476b6
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
6 years ago[COMMON] power: qos: added the function for reading request value
Jongyun Jung [Tue, 23 Feb 2016 07:00:04 +0000 (16:00 +0900)]
[COMMON] power: qos: added the function for reading request value

Added the function for reading the value not adjusted, but requested.

Change-Id: Ief4fefe5a867ab1643e75bd4ae927966f24bc588
Signed-off-by: Jongyun Jung <j_y.jung@samsung.com>
6 years ago[COMMON] devfreq: Add pm_qos_max class
Haksu Kim [Thu, 21 Jan 2016 04:33:11 +0000 (13:33 +0900)]
[COMMON] devfreq: Add pm_qos_max class

Devfreq will have new governor using pm_qos_max class on debug mode.

Change-Id: I08d9cd502910802982d473371bcea70e414e1de8
Signed-off-by: Haksu Kim <mail_id@samsung.com>
6 years agoPM: Add debugging information for pm_qos.
Woosung Lee [Wed, 20 Aug 2014 05:53:14 +0000 (14:53 +0900)]
PM: Add debugging information for pm_qos.

During debugging or profiling, pm_qos list like below is useful information.

device_throughput
default value: 0
target value: 468000
requests:
ffffffc0012896f8: 0
ffffffc06f2f0458: 0

But only pm_qos_request declared for global name space could find what it is.
If pm_qos_request declared in local name space, its address doesn't appeared in
System.map file.

So add more information about pm_qos_request's position like below.

device_throughput
default value: 0
target value: 468000
requests:
ffffffc0012896f8(lpass_probe:1027): 0
ffffffc06f2f0458(fimg2d_pm_qos_add_bus:170): 0

Change-Id: Iae92bcc261054a0818a4f349e15e450652b53d1a
Signed-off-by: Woosung Lee <wstar.lee@samsung.com>
6 years agoPM QOS: add PM_QOS_BUS_THROUGHPUT_MAX for MIF
Taikyung yu [Mon, 5 Jan 2015 10:11:59 +0000 (19:11 +0900)]
PM QOS: add PM_QOS_BUS_THROUGHPUT_MAX for MIF

Change-Id: I4f6582e1b89a9ed905059ff05d3f4f07069f4c38
Signed-off-by: Taikyung yu <taikyung.yu@samsung.com>
6 years agoPM Qos: add display class and cam class to control qos
Sangkyu Kim [Thu, 12 Sep 2013 04:49:45 +0000 (13:49 +0900)]
PM Qos: add display class and cam class to control qos

Change-Id: I7467993168c62e3ae215c43800ebf95559b5e8f8
Signed-off-by: Sangkyu Kim <skwith.kim@samsung.com>
6 years agoPM / QoS: Add PM_QOS_FORCE_MAX type
Jongpill Lee [Thu, 4 Oct 2012 07:40:57 +0000 (16:40 +0900)]
PM / QoS: Add PM_QOS_FORCE_MAX type

This patch adds PM_QOS_FORCE_MAX type for pm_qos type.
If use PM_QOS_FORCE_MAX type for each pm_qos_constraints struct,
Will be updated qos unconditionally.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Sungjinn Chung <sungjinn.chung@samsung.com>
Conflicts:

include/linux/pm_qos.h
kernel/power/qos.c

Change-Id: I11a6812d3f67a4b03d561063243661f4302b35f3

6 years agoPM QoS: add a PM_QOS_BUS_THROUGHPUT class
Jongpill Lee [Mon, 17 Sep 2012 04:23:54 +0000 (13:23 +0900)]
PM QoS: add a PM_QOS_BUS_THROUGHPUT class

This patch adds PM_QOS_BUS_THROUGHPUT class.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Conflicts:

kernel/power/qos.c

Change-Id: Ie0dadfe362e9cb05978cb25f153a082e279027d9
Signed-off-by: Sungjinn Chung <sungjinn.chung@samsung.com>
6 years agoPM QoS: add a PM_QOS_DEVICE_THROUGHPUT class
Jongpill Lee [Wed, 11 Jul 2012 07:54:26 +0000 (16:54 +0900)]
PM QoS: add a PM_QOS_DEVICE_THROUGHPUT class

This patch adds PM_QOS_DEVICE_THROUGHPUT class

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Conflicts:

include/linux/pm_qos.h
kernel/power/qos.c

Change-Id: Iad14795bdb3fc2d1f1f1d305756dda5fa33b79d4
Signed-off-by: Sungjinn Chung <sungjinn.chung@samsung.com>
6 years ago[9610][ERD] drv: muic: init path open in kernel
Kim Taejeong [Fri, 18 May 2018 06:30:44 +0000 (15:30 +0900)]
[9610][ERD] drv: muic: init path open in kernel

Change-Id: I84a8756e8d8f7c5bf303f99af90664c65ef590ed
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
6 years ago[COMMON] phy: usb: check NULL for stablitiy
Kisang Lee [Fri, 18 May 2018 06:10:25 +0000 (15:10 +0900)]
[COMMON] phy: usb: check NULL for stablitiy

Change-Id: I5c2b5d66519ce62777b12163efba3063fdfbeefb
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610] arm64: dts: add usb notifier
Kisang Lee [Fri, 18 May 2018 06:09:53 +0000 (15:09 +0900)]
[9610] arm64: dts: add usb notifier

Change-Id: I0a6c68fc2ef449e838add1e9bb6afc6c51f3f26e
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years agoRevert "[HACK] usb: force notification to start gadget"
Kisang Lee [Fri, 18 May 2018 06:08:46 +0000 (15:08 +0900)]
Revert "[HACK] usb: force notification to start gadget"

This reverts commit 40e89a2be029b81cb5c6740ee355826e740e5baa.

Change-Id: Id1bd27297ebb2daea82d8591d502caef98eb7527
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610][ERD] arm64: configs: run savedefconfig
Youngmin Nam [Fri, 18 May 2018 10:26:18 +0000 (19:26 +0900)]
[9610][ERD] arm64: configs: run savedefconfig

Change-Id: I0ebe4cb172d4853155a42c61c2b54d0c1dc9d24d
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[HACK] usb: force notification to start gadget
Kisang Lee [Thu, 17 May 2018 12:17:07 +0000 (21:17 +0900)]
[HACK] usb: force notification to start gadget

Change-Id: I7f9273087d5d956c09a9955822135a531232afb7
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610] arm64: defconfig: add configurations for USB and notify
Kisang Lee [Thu, 17 May 2018 12:01:07 +0000 (21:01 +0900)]
[9610] arm64: defconfig: add configurations for USB and notify

Change-Id: Ic2f2fe2105af2d7b8518f148a78ff5100d694982
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610] arm64: dts: add usb driver
Kisang Lee [Thu, 17 May 2018 12:00:34 +0000 (21:00 +0900)]
[9610] arm64: dts: add usb driver

Change-Id: I5ade443fb7ad286a3cd19a498f1e712bffa0f408
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[COMMON] usb: add USB driver for Exynos
Kisang Lee [Thu, 17 May 2018 11:59:31 +0000 (20:59 +0900)]
[COMMON] usb: add USB driver for Exynos

Change-Id: Ifa547a52a4b88afd8f35c0af064e71c2706fb5f3
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610] phy: usb: add PHY driver for USBDRD3
Kisang Lee [Thu, 17 May 2018 11:55:47 +0000 (20:55 +0900)]
[9610] phy: usb: add PHY driver for USBDRD3

Change-Id: I7d79fa369409f6cb3c51e21a16ec9a385f97d7e7
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[COMMON] usb: notify: add related USB notify driver
Kisang Lee [Thu, 17 May 2018 11:52:26 +0000 (20:52 +0900)]
[COMMON] usb: notify: add related USB notify driver

Change-Id: I0aee0a5f9e2c300a1cb788a6b7fe5be6c01ccad9
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[COMMON] usb: otg/functions: add otg and fucntion driver
Kisang Lee [Thu, 17 May 2018 11:47:04 +0000 (20:47 +0900)]
[COMMON] usb: otg/functions: add otg and fucntion driver

Change-Id: I4f7a54858b8a9ea8483a21bc4953248dcddd543e
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
6 years ago[9610][ERD] driver: sec_sysfs: support muic sysfs
Kim Taejeong [Mon, 14 May 2018 07:48:13 +0000 (16:48 +0900)]
[9610][ERD] driver: sec_sysfs: support muic sysfs

Change-Id: I92721014f83732c5b073f390387d531b320d43ba
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
6 years ago[9610][ERD] config: muic/ifconn: enable drvs
Kim Taejeong [Mon, 14 May 2018 01:25:23 +0000 (10:25 +0900)]
[9610][ERD] config: muic/ifconn: enable drvs

Change-Id: I18da45fb31f00de37c07de1050ccd2bf875fe3a1
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
6 years ago[9610][ERD] driver/dts: muic/ifconn: bring up drvs
Kim Taejeong [Mon, 14 May 2018 00:26:48 +0000 (09:26 +0900)]
[9610][ERD] driver/dts: muic/ifconn: bring up drvs

Change-Id: I8715f6ec40d73456e82ea58aa92afa9012aee3d1
Signed-off-by: Kim Taejeong <tj.kim@samsung.com>
6 years ago[9610] fbdev: dpu20: fixed decon reg update timeout
ChiHun Won [Thu, 17 May 2018 02:20:26 +0000 (11:20 +0900)]
[9610] fbdev: dpu20: fixed decon reg update timeout

Change-Id: I5dbdbb4c6309e75a65af402a5eb888df5ceb619d
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] fbdev: dpu20: cal9610: changed idma enum type
ChiHun Won [Thu, 17 May 2018 02:19:43 +0000 (11:19 +0900)]
[9610] fbdev: dpu20: cal9610: changed idma enum type

Change-Id: Id58f51a14360be0630bd1f804a7aa2f94f2420fd
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] fbdev: dpu20: cal9610: updated dsim cal code
ChiHun Won [Thu, 17 May 2018 02:18:27 +0000 (11:18 +0900)]
[9610] fbdev: dpu20: cal9610: updated dsim cal code

Change-Id: I78fd5229ab055a5233a776414f7f6782dde59fd1
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
6 years ago[9610] fbdev: dpu20: change base address setting function.
Jiun Yu [Thu, 17 May 2018 05:45:05 +0000 (14:45 +0900)]
[9610] fbdev: dpu20: change base address setting function.

Change-Id: I14463e7319d6f8f5bde163ded131b0dc99924cae
Signed-off-by: Jiun Yu <jiun.yu@samsung.com>
6 years ago[HACK] power: Held temp wakelock.
Jang JeongHoon [Thu, 17 May 2018 05:59:52 +0000 (14:59 +0900)]
[HACK] power: Held temp wakelock.

Change-Id: Ia21de3beef3726e4b170fdcbe690af51a50c1cb7
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
6 years ago[9610] arm64: config: erd9610_defconfig: Enable gnss interface drvier
Taejin Kim [Mon, 14 May 2018 11:39:02 +0000 (20:39 +0900)]
[9610] arm64: config: erd9610_defconfig: Enable gnss interface drvier

Change-Id: I083fc268fc322a9de8b420ae7178783dbd64cff6
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] arm64: dts: exynos9610-erd9610.dts: Apply GNSS interface
Taejin Kim [Mon, 14 May 2018 11:35:57 +0000 (20:35 +0900)]
[9610] arm64: dts: exynos9610-erd9610.dts: Apply GNSS interface

Change-Id: Id85c5357ea2bd4338fb80f3e6ffcfde25bac1532
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[COMMON] drivers: misc: gnss_if: Apply GNSS driver files
Taejin Kim [Mon, 14 May 2018 11:31:32 +0000 (20:31 +0900)]
[COMMON] drivers: misc: gnss_if: Apply GNSS driver files

 GNSS drvier filese were came from branch android-exynos-4.9-ww-9610-stable

Change-Id: Ifb9c15ed8dee6051cd5c52312a7325793a7b3c79
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] arm64: config: erd9610_defconfig: Enable modem interface drvier
Taejin Kim [Mon, 14 May 2018 11:22:56 +0000 (20:22 +0900)]
[9610] arm64: config: erd9610_defconfig: Enable modem interface drvier

Change-Id: I97db565b6f79ce9d3cc7cf28e09089e5b2eae953
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] arch: arm64: Apply modem interface DTS
Taejin Kim [Mon, 14 May 2018 11:17:47 +0000 (20:17 +0900)]
[9610] arch: arm64: Apply modem interface DTS

Change-Id: I6a7b9acdcc8d6c3a0b2aa889695461a00b185cec
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] arch: arm64: dts: Apply CP shared memory size to 138MB
Taejin Kim [Mon, 14 May 2018 11:09:09 +0000 (20:09 +0900)]
[9610] arch: arm64: dts: Apply CP shared memory size to 138MB

Change-Id: I89251ef3e1bf2e14a8aa0fd8d288ae48c53ccd03
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[COMMON] drivers: modem_if: Apply modem interface driver files
Taejin Kim [Mon, 14 May 2018 10:35:46 +0000 (19:35 +0900)]
[COMMON] drivers: modem_if: Apply modem interface driver files

 Apply modem interface driver files from modem main branch
 TAG: ModemIF-4.9-20180509

Change-Id: I190896ee5cb9758e06618f4a6f458a89fa241c70
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[COMMON] drivers: misc: mcu_ipc: Apply mcu_ipc & shm_ipc drivers
Taejin Kim [Mon, 14 May 2018 09:56:06 +0000 (18:56 +0900)]
[COMMON] drivers: misc: mcu_ipc: Apply mcu_ipc & shm_ipc drivers

Change-Id: Ibf0effbf91de968eccbda381efa3a66315cb0f3f
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] drivers: soc: Apply CP & GNSS PMUCAL
Taejin Kim [Mon, 14 May 2018 08:40:17 +0000 (17:40 +0900)]
[9610] drivers: soc: Apply CP & GNSS PMUCAL

Change-Id: I9948a3d1102af1fafdac0f0a449d3dab035de7bd
Signed-off-by: Taejin Kim <tj7.kim@samsung.com>
6 years ago[9610] arm64: dtsi: add SHUB pinctrl alias
Youngmin Nam [Thu, 17 May 2018 05:05:56 +0000 (14:05 +0900)]
[9610] arm64: dtsi: add SHUB pinctrl alias

Change-Id: I59866d8bdb364576ba9f25cd93235cf826957de5
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[COMMON] pinctrl: samsung: Fixed pinctrl suspend func
Jaehyoung Choi [Thu, 17 May 2018 05:25:45 +0000 (14:25 +0900)]
[COMMON] pinctrl: samsung: Fixed pinctrl suspend func

1. Removed duplicate condition processing part.
2. Fix return value in suspend function.

Change-Id: I57dbb2286cc3d51a22c36b5f800729935aa8c15b
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[COMMON] pinctrl: samsung: Fix pm function
eunki_kim [Fri, 26 Jun 2015 09:25:26 +0000 (18:25 +0900)]
[COMMON] pinctrl: samsung: Fix pm function

gpz's power is controlled by audio block. This patch does not execute
pm function when its ctrl has no suspend or resume function.

This commit is based on ab55ec9f9b6e0a053052c8c1a40da6a84b8b6600.

Change-Id: I05accfa7610b5f0cce4e742c2c9d977cbbd07e06
Signed-off-by: eunki_kim <eunki_kim@samsung.com>
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
6 years agoRevert "pinctrl: samsung: Replace syscore ops with standard platform device pm_ops"
Jaehyoung Choi [Thu, 17 May 2018 05:03:55 +0000 (14:03 +0900)]
Revert "pinctrl: samsung: Replace syscore ops with standard platform device pm_ops"

This reverts commit 2b24efa8e5c5042b0f126c09622b3e9e3c86a4fa.

Change-Id: Ibf64c5bd8ff7acaa24a4aa39fdcead46eec891cf

6 years agoRevert "pinctrl: samsung: mark PM functions as __maybe_unused"
Jaehyoung Choi [Thu, 17 May 2018 05:03:41 +0000 (14:03 +0900)]
Revert "pinctrl: samsung: mark PM functions as __maybe_unused"

This reverts commit 304c92e8fcf5863a40de60baf0576cab6b046bcf.

Change-Id: I8f8e917417689e7b3d5cccce9b7a764fb223fd2d

6 years ago[COMMON] pinctrl: samsung: Fix duplicated bank structs
Jaehyoung Choi [Thu, 17 May 2018 04:11:06 +0000 (13:11 +0900)]
[COMMON] pinctrl: samsung: Fix duplicated bank structs

Change-Id: Ic19c8d29e6c3d8c090dfccd4dc723bd476ad98b9
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years ago[9610] pinctrl: samsung: fix 9610 pinctrl description
Youngmin Nam [Thu, 17 May 2018 04:00:10 +0000 (13:00 +0900)]
[9610] pinctrl: samsung: fix 9610 pinctrl description

Change-Id: If7c363af038fcb99633f4f3ab81d6ad3d089b9cf
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[COMMON] pinctrl: samsung: clear pinctrl state to disable mux configuration
Youngmin Nam [Thu, 30 Nov 2017 06:49:12 +0000 (15:49 +0900)]
[COMMON] pinctrl: samsung: clear pinctrl state to disable mux configuration

This patch clear pinctrl state before running pinctrl_force_sleep.
By clearing pinctrl state, we can avoid warning log in pinmux_disable_setting().

Change-Id: I08035b77064d8fc7690989ba1f58ef0f71029ec3
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[COMMON] pinctrl: samsung : skip dbg_show in case of power off gpio block
Youngmin Nam [Tue, 14 Nov 2017 07:07:41 +0000 (16:07 +0900)]
[COMMON] pinctrl: samsung : skip dbg_show in case of power off gpio block

If the power control of some gpio block is done by own power block,
we should not register pinctrl suspend / reusme call back.
We also should not access that gpio block through pinctrl debug_fs.

This patch skips access of power off gpio block through pinctrl dbg show function

Change-Id: I0885f332551052de509a0a9cdbd9baf6da820101
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610][ERD] arm64: dts: Fix touchscreen gpio pin
Jaehyoung Choi [Thu, 17 May 2018 03:57:41 +0000 (12:57 +0900)]
[9610][ERD] arm64: dts: Fix touchscreen gpio pin

Change-Id: I6d19bc582f35038e4cbd0afb6c94362ccdd06666
Signed-off-by: Jaehyoung Choi <jkkkkk.choi@samsung.com>
6 years agoandroid: ion: push cma heap to kmemleak_ignore
Cho KyongHo [Thu, 12 Apr 2018 11:18:02 +0000 (20:18 +0900)]
android: ion: push cma heap to kmemleak_ignore

A reserved memory allocated by memblock is traceable by kmemleak. It
also applies to CMA areas. But CMA areas are different from other
reserved memories. They are unreserved after the kmem is initialized.
It means that the pages in CMA areas are not allocated/reserved once
all pages in CMA areas are returned to the kernel page allocator.
Therefore a reserved memory to be a CMA area should be ignored by
kmemleak.

Change-Id: I17c6511bb2b9ad1279821092fe8ba1a0d0a63e6b
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
6 years ago[9610][ERD] arm64: configs: enable lockup detector
Youngmin Nam [Wed, 16 May 2018 11:06:24 +0000 (20:06 +0900)]
[9610][ERD] arm64: configs: enable lockup detector

Change-Id: I29a71149d65bdd6f0b258c6fa06ffcfac64da704
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610][ERD] arm64: configs: enable memory debugging config
Youngmin Nam [Wed, 16 May 2018 10:58:29 +0000 (19:58 +0900)]
[9610][ERD] arm64: configs: enable memory debugging config

Change-Id: I53e3b3189a1593bdb35cf3ab0b9918bc510eadfe
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610][ERD] arm64: config: add missing config
Youngmin Nam [Wed, 16 May 2018 10:46:27 +0000 (19:46 +0900)]
[9610][ERD] arm64: config: add missing config

Change-Id: Ia3e131645eb34f909a02461e5afce71307d92e20
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[COMMON] kernel: watchdog: detect hard lockups without NMIs using secondary cpus
Hyunki Koo [Sun, 25 Feb 2018 05:55:21 +0000 (14:55 +0900)]
[COMMON] kernel: watchdog: detect hard lockups without NMIs using secondary cpus

Emulate NMIs on systems where they are not available by using timer
interrupts on other cpus.  Each cpu will use its softlockup hrtimer
to check that the next cpu is processing hrtimer interrupts by
verifying that a counter is increasing.

This patch is useful on systems where the hardlockup detector is not
available due to a lack of NMIs, for example most ARM SoCs.
Without this patch any cpu stuck with interrupts disabled can
cause a hardware watchdog reset with no debugging information,
but with this patch the kernel can detect the lockup and panic,
which can result in useful debugging info.

Change-Id: I0363ee438625863f466dd07ef4b14d8094822840
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Changki Kim <changki.kim@samsung.com>
6 years ago[9610] arch: defconfig: add mali gpu configuration
Jinku Kang [Tue, 15 May 2018 12:42:14 +0000 (21:42 +0900)]
[9610] arch: defconfig: add mali gpu configuration

Change-Id: I55850586a0907f1fad5e102bdfecab74e3e9b516
Signed-off-by: Jinku Kang <jinku79.kang@samsung.com>
6 years ago[9610] arch: dtsi: add mali-gpu configuration
Jinku Kang [Tue, 15 May 2018 12:39:44 +0000 (21:39 +0900)]
[9610] arch: dtsi: add mali-gpu configuration

Change-Id: I733b8b187666620bcd2f947fcb6aef031348415f
Signed-off-by: Jinku Kang <jinku79.kang@samsung.com>
6 years ago[9610] gpu: add initial codes for mali r10p0, and remove unused codes
Jinku Kang [Tue, 15 May 2018 03:30:26 +0000 (12:30 +0900)]
[9610] gpu: add initial codes for mali r10p0, and remove unused codes

Change-Id: I2ba9eba4d9977c40a7f2da0f7c64357cd4ad1ca4
Signed-off-by: Jinku Kang <jinku79.kang@samsung.com>
6 years ago[COMMON] lib: dss: change variable form enabed log count to total log count
Donghyeok Choe [Wed, 16 May 2018 05:15:56 +0000 (14:15 +0900)]
[COMMON] lib: dss: change variable form enabed log count to total log count

Change-Id: Ife95505db80cac47d7852a511f8c5b71140a4b5e
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[9610][ERD] arm64: config: enable PSTORE_PMSG
Donghyeok Choe [Wed, 16 May 2018 02:11:53 +0000 (11:11 +0900)]
[9610][ERD] arm64: config: enable PSTORE_PMSG

Change-Id: I3c0a84a475f2d127e8c5be5dd0202cff9d1d2e31
Signed-off-by: Donghyeok Choe <d7271.choe@samsung.com>
6 years ago[COMMON] fs: pstore: introduce new method for hooking platform log with DSS
Hosung Kim [Mon, 10 Apr 2017 10:26:21 +0000 (19:26 +0900)]
[COMMON] fs: pstore: introduce new method for hooking platform log with DSS

Since android M version, platform log is not dropped to kernel
space. This commit is needed to support other methods
log_main / log_radio are removed, divided space is combined
into one log called log_platform

This commit adds new method for hooking platform with using pstore.
Recently, pmsg added persistant file system to support userspace log.
Exynos-Snapshot hooks userspace log between them.

This commit adds pstore / pstore-ram / pmsg features support in
exynos-snapshot. It is available to logging kernel, ftrace data
and platform(userspace) log.
To support runtime logging(pstore-ram), platform device driver is
needed it has memory information we need

Change-Id: I45a6f61339660df755676da08cd52656b1fcc8b7
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
6 years ago[COMMON] fs: pstore: add hooking platform functions with DSS
Hosung Kim [Wed, 26 Apr 2017 05:09:24 +0000 (14:09 +0900)]
[COMMON] fs: pstore: add hooking platform functions with DSS

Change-Id: Ib1b0d29001e647b86c644248eafa02e051d069da
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
6 years ago[9610][ERD] arm64: configs: merge android-recommended.cfg
Youngmin Nam [Wed, 16 May 2018 06:21:44 +0000 (15:21 +0900)]
[9610][ERD] arm64: configs: merge android-recommended.cfg

Change-Id: I3b47eef62192711ad99473ceed42732b0261d279
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610][ERD] arm64: configs: merge android-base.cfg and android-base-arm64.cfg
Youngmin Nam [Wed, 16 May 2018 06:03:43 +0000 (15:03 +0900)]
[9610][ERD] arm64: configs: merge android-base.cfg and android-base-arm64.cfg

Change-Id: I99bec9b0314691dd0e4374e7483f73d5271f7f4d
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610][ERD] arm64: config: run savedefconfig
Youngmin Nam [Wed, 16 May 2018 05:35:19 +0000 (14:35 +0900)]
[9610][ERD] arm64: config: run savedefconfig

Change-Id: I6a48e81455ecbb51067e7f3ada539329cb211e3c
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
6 years ago[9610] fbdev: dpu: exynos folder build script is added
hwangjae lee [Tue, 15 May 2018 09:09:34 +0000 (18:09 +0900)]
[9610] fbdev: dpu: exynos folder build script is added

Change-Id: I651a6c3ac696edc33fbe6694efbd97c3dfdccaca
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[HACK] fbdev: dpu: PM_QOS definition is removed for compile
hwangjae lee [Tue, 15 May 2018 08:35:36 +0000 (17:35 +0900)]
[HACK] fbdev: dpu: PM_QOS definition is removed for compile

PM_QOS_BUS_THROUGHPUT,
PM_QOS_DEVICE_THROUGHPUT,
PM_QOS_DISPLAY_THROUGHPUT is not yet defiend.

Change-Id: Ie768c68dcf53fa25f8c893b197f5e550649d0dc9
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] configs: DPU drvier config is enabled
hwangjae lee [Sat, 12 May 2018 08:53:20 +0000 (17:53 +0900)]
[9610] configs: DPU drvier config is enabled

Change-Id: I04f8690d44fe5e2a21b25dac56a254ee5e6a5922
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] arm64: dts: display dts configure is added
hwangjae lee [Sat, 12 May 2018 08:20:40 +0000 (17:20 +0900)]
[9610] arm64: dts: display dts configure is added

Change-Id: I9db9ae2e99200cac1e89233371dd6f2b59c4565e
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] fbdev: dpu: PHY configure is changed by Exynos9610
hwangjae lee [Tue, 15 May 2018 07:48:31 +0000 (16:48 +0900)]
[9610] fbdev: dpu: PHY configure is changed by Exynos9610

1. PHY timing value is changed
2. PHY setting function is changed

Change-Id: Ied96bf2196ec73d687162fd58ac87dfcbaad7e1e
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] fbdev: dpu: DPP configure is modified to Exynos9610 spec
hwangjae lee [Tue, 15 May 2018 07:45:21 +0000 (16:45 +0900)]
[9610] fbdev: dpu: DPP configure is modified to Exynos9610 spec

1. IDMA Number, SFR address, SFR setting value is changed.
2. Base address setting function is changed.
3. DECON sram share size is changed.

Change-Id: I430a908233b880c4d9b057cdd34de51b541db8d8
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] fbdev: dpu: panels: 3fa0 panel file is added
hwangjae lee [Tue, 15 May 2018 08:28:11 +0000 (17:28 +0900)]
[9610] fbdev: dpu: panels: 3fa0 panel file is added

Change-Id: I4f700695031d126220c4e0eea7531e84ba240bdf
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] fbdev: dpu: bts.c code is changed
hwangjae lee [Tue, 15 May 2018 08:34:01 +0000 (17:34 +0900)]
[9610] fbdev: dpu: bts.c code is changed

DPU2, DPP4, DPP5 is removed.

Change-Id: I1daff85abf4b32e36d1cb80c744700b8d5eeb7b8
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] fbdev: dpu: DPU2.0 driver is added
hwangjae lee [Tue, 15 May 2018 07:29:50 +0000 (16:29 +0900)]
[9610] fbdev: dpu: DPU2.0 driver is added

Change-Id: I4e1dbb842bc57f704ef90885af7b4d89307e1062
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] include: video: DSC related definitions is added
hwangjae lee [Sat, 12 May 2018 08:47:04 +0000 (17:47 +0900)]
[9610] include: video: DSC related definitions is added

Change-Id: I7377aa2ddaee35e0fa13334b29fe12f52db17d1f
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
6 years ago[9610] include: linux: videodev2_exynos_media.h file is added
hwangjae lee [Mon, 14 May 2018 02:26:12 +0000 (11:26 +0900)]
[9610] include: linux: videodev2_exynos_media.h file is added

Change-Id: Id4c02c2fcbc5c554d3b2bf44677bee7baf9bc2ca
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>