Hyeonseong Gil [Fri, 22 Jul 2016 08:56:51 +0000 (17:56 +0900)]
[COMMON] thermal: samsung: logging exynos_ss_thermal
Logging temperature and cpu max frequency on exynos_ss
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename cpufreq_device -> cpufreq_cdev
- rename cool_dev -> cdev
Change-Id: If30e0780800f5ec3a56684750ab6c3c88dabae91
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 18 Jul 2016 06:08:39 +0000 (15:08 +0900)]
[COMMON] thermal: samsung: Remove unnecessary kboject_uevent
Change-Id: I5cee3139d72457a77c40cf014feda118b90c40d7
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 18 Jul 2016 06:05:38 +0000 (15:05 +0900)]
[COMMON] thermal: core: Check thermal_zone mode.
If mode is THERMAL_DEVICE_DISABLED,
skip reading temperature and throttling.
Change-Id: I708c9f29ee417c8f6fc941162d9aa403a88dc084
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 18 Jul 2016 06:02:46 +0000 (15:02 +0900)]
[COMMON] thermal: samsung: Fix cooling_deivce regstier fail.
If cooling_device register is failed,
we do not want to enable thermal zone.
Change-Id: Id7b1b0380db0d3b924cbaa02c42977d7face4612
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 13 Jul 2016 08:45:29 +0000 (17:45 +0900)]
[COMMON] thermal: samsung: Parse power coeff from ECT
Change-Id: I08b54b3392b220a4ef1cc6de8d7b97ecbed5581e
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 11 Jul 2016 07:27:30 +0000 (16:27 +0900)]
[COMMON] thermal: of-thermal: parse integral_cutoff from dt
Change-Id: I34fae59be8f682ccf66bd2f077a24c9b0f1ae0c0
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 2 Jun 2016 00:54:08 +0000 (09:54 +0900)]
[COMMON] theraml: gpu_cooling: Skip util normalize power
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename gpufreq_device -> gpufreq_cdev
Change-Id: If0debb54d070a3c5797aa8fc4a7a46b0eaa51004
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 16 May 2016 11:37:01 +0000 (20:37 +0900)]
[COMMON] theraml: cpu_cooling: Skip util normalize power
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename cpufreq_device -> cpufreq_cdev
- allowed_cpus -> policy->related_cpus
Change-Id: I4dcd4a7d61ec6d7d33b4032dac2e4aaf26e48cf7
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 4 May 2016 05:44:32 +0000 (14:44 +0900)]
[COMMON] thermal: gpu_cooling: add static power table
If gpu_cooling is registered for power_allocator governor,
build static power table with coefficient from ECT
and look up it in accordance with temperature and voltage.
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename gpufreq_device -> gpufreq_cdev
Change-Id: I97ddb8b3ee3841eff98941059f4b5834213bf946
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 11 Jul 2016 06:54:19 +0000 (15:54 +0900)]
[COMMON] thermal: cpu_cooling: add static power table
If cpu_cooling is registered for power_allocator governor,
build static power table with coefficient from ECT
and look up it in accordance with temperature and voltage.
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename cpufreq_device -> cpufreq_cdev
- allowed_cpus -> policy->related_cpus
Change-Id: I516c9f5796cda6b4e64c9448a6565086443369a8
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 4 May 2016 07:43:48 +0000 (16:43 +0900)]
[COMMON] thermal: power_allocator: anti-windup for integral term
Change-Id: Id62b77cc74dc69c9d54a43574d732c5bb16b1535
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Fri, 1 Apr 2016 00:39:23 +0000 (09:39 +0900)]
[COMMON] thermal: gpu_cooling: introduce power_allocator API
Resolved migration conflicts from kernel 4.9 to 4.14.
- rename gpufreq_device -> gpufreq_cdev
- but keep up idr, power_table and build_dyn_power_table
Change-Id: I9e18fb576053a2d2371a79c11757be0364982fb6
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Mon, 28 Mar 2016 07:04:09 +0000 (16:04 +0900)]
[COMMON] thermal: of-thermal: parse power allocator param from dt
Change-Id: If2870d343f51db146fa5498c875e064510b5c8d6
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Thu, 24 Mar 2016 02:12:19 +0000 (11:12 +0900)]
[COMMON] thermal: power_allocator: avoid req_power is 0
In case only one actor belong to power_allocator,
target frequency will be limited minium frequency
when req_power(load) is 0.
Change-Id: Iab369eb49c24daab9f4e64ba6adb4c129b3c37b7
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Hyeonseong Gil [Wed, 23 Mar 2016 00:56:37 +0000 (09:56 +0900)]
[COMMON] theraml: exynos: added parse dynamic coeff
Change-Id: Iab544abd62415623f98cce49b8eee7c67ba0079e
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
Soomin Kim [Wed, 13 Jul 2016 01:05:35 +0000 (10:05 +0900)]
[COMMON] thermal: samsung: Print mask value
When cooling device register is failed, print
mask_val for debugging.
Change-Id: I07558f7d0e9d0d84e02dd4b18f9da7a5910b101f
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Tue, 12 Jul 2016 08:35:25 +0000 (17:35 +0900)]
[COMMON] thermal: samsung: Use the id property
Currently, thermal node number is defined as alias
and the number is generated sequentially. If some
node aren't used the number is not machted with driver.
So, id is defined explicitly.
Change-Id: I7852bef35b359feb40223394d028237b40ac0349
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Tue, 12 Jul 2016 08:25:19 +0000 (17:25 +0900)]
[COMMON] thermal: samsung: Print error code
Print error code when cooling device registration
is failed.
Change-Id: Iedc2d4b16188fa199ef42d24da07c53a25a6643b
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Tue, 12 Jul 2016 08:18:25 +0000 (17:18 +0900)]
[8895] thermal: samsung: Disable TMU core EN
Before set the TMU control register, disable
enable bit to abnormal operation.
Change-Id: Ic2979d3149581a5020c21c593e207ed9ef1fe972
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Tue, 12 Jul 2016 08:12:46 +0000 (17:12 +0900)]
[COMMON] thermal: samsung: Search child node using node pointer
To find child node of thermal-zones node, use thermal sensor node
pointer. The node pointer is save at probe time.
Change-Id: I009ada441325583465a573dd28fd00cfed94a9ad
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>