platform/kernel/linux-3.10.git
9 years agopower: charger-manager: Rebase charger-manager up-to-date.
Jonghwa Lee [Wed, 1 Oct 2014 06:05:11 +0000 (15:05 +0900)]
power: charger-manager: Rebase charger-manager up-to-date.

Drop all local commits and adjust it to up-to-date version of mainline
to make it easy to maintain.

Change-Id: Id5dc3314afd6498e704bcc1bdebe2c226b8fa07c
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agoalarmtimer: Export symbols of alarmtimer_get_rtcdev
Pramod Gurav [Fri, 13 Jun 2014 06:19:42 +0000 (11:49 +0530)]
alarmtimer: Export symbols of alarmtimer_get_rtcdev

Export symbol of alarmtimer_get_rtcdev so that it is used by
any driver when built as module like,
drivers/staging/android/alarm-dev.c.

Change-Id: I296f98f0139e20082a5dc8c58e6f57f6815b337c
CC: John Stultz <john.stultz@linaro.org>
CC: Marcus Gelderie <redmnic@gmail.com>
Signed-off-by: Pramod Gurav <pramod.gurav.etc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agoalarmtimer: Export symbols of functions declared in linux/alarmtimer.h
Marcus Gelderie [Tue, 4 Jun 2013 07:32:09 +0000 (09:32 +0200)]
alarmtimer: Export symbols of functions declared in linux/alarmtimer.h

Export symbols so they can be used by
drivers/staging/android/alarm-dev.c if it is built as a module.
So far alarm-dev is built-in but module support is planned (see
drivers/staging/android/TODO).

Change-Id: I405ba0bc9846bf379ff0cfbdcf00597d35d36d21
Signed-off-by: Marcus Gelderie <redmnic@gmail.com>
[jstultz: tweaked commit message, also export newly added functions]
Signed-off-by: John Stultz <john.stultz@linaro.org>
9 years agoalarmtimer: Add functions for timerfd support
Todd Poynor [Wed, 15 May 2013 21:38:11 +0000 (14:38 -0700)]
alarmtimer: Add functions for timerfd support

Add functions needed for hooking up alarmtimer to timerfd:

* alarm_restart: Similar to hrtimer_restart, restart an alarmtimer after
  the expires time has already been updated (as with alarm_forward).

* alarm_forward_now: Similar to hrtimer_forward_now, move the expires
  time forward to an interval from the current time of the associated clock.

* alarm_start_relative: Start an alarmtimer with an expires time relative to
  the current time of the associated clock.

* alarm_expires_remaining: Similar to hrtimer_expires_remaining, return the
  amount of time remaining until alarm expiry.

Change-Id: I609e268d53725b2c2b62b618ccc388f4329997f5
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
9 years agoarm: configs: tizen_rinato: Enable sound machine driver
Inha Song [Wed, 8 Oct 2014 04:50:47 +0000 (13:50 +0900)]
arm: configs: tizen_rinato: Enable sound machine driver

This patch enables rinato sound machine driver.

Change-Id: Iced29c98fed8904acae4095c12b15191c3402c8a
Signed-off-by: Inha Song <ideal.song@samsung.com>
9 years agoARM: dts: Fix i2s2 node to support sound in Exynos3250 SoC
Inha Song [Tue, 2 Sep 2014 02:12:39 +0000 (11:12 +0900)]
ARM: dts: Fix i2s2 node to support sound in Exynos3250 SoC

This patch Fix i2s2 node to support sound in Exynos3250 SoC.

Change-Id: I96791f9c13935c4b87e1fc632e59f11dfb498fd7
Signed-off-by: Inha Song <ideal.song@samsung.com>
9 years agoASoC: samsung: Add ASoC machine driver for Rinato board with YMU831 codec
Inha Song [Tue, 2 Sep 2014 02:11:02 +0000 (11:11 +0900)]
ASoC: samsung: Add ASoC machine driver for Rinato board with YMU831 codec

This patch add ASoC machine driver for Rinato board with YMU831 codec.

Change-Id: Ifaf3417aac668f5a6236f9c74f22a1b92208a79d
Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Hyunhee Kim <hyunhee.kim@samsung.com>
9 years agoarm: configs: tizen_rinato: Update rinato kernel configuration.
Jonghwa Lee [Wed, 1 Oct 2014 08:12:11 +0000 (17:12 +0900)]
arm: configs: tizen_rinato: Update rinato kernel configuration.

Enable CONFIG_THERMAL_OF to expose thermistor sensor to thermal framework.
It also disables CONFIG_THERMAL_HWMON not to make duplicated sysfs node of
the thermistor sensor.

Change-Id: I318cc27979b891bc7fcdd9cd2a2892e73ce65675
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agoarm: dts: exynos3250: Add battery thermal zone.
Jonghwa Lee [Wed, 1 Oct 2014 06:47:10 +0000 (15:47 +0900)]
arm: dts: exynos3250: Add battery thermal zone.

Add battery thermal zone using the thermistor close to battery to monitor
exterior battery temperature.

Change-Id: Ie755506b40a2b060b7b0cd028e1fc5463f9f42b1
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agohwmon: ntc_thermistor: Add ntc thermistor to thermal subsystem as a sensor.
Jonghwa Lee [Wed, 20 Aug 2014 00:28:13 +0000 (09:28 +0900)]
hwmon: ntc_thermistor: Add ntc thermistor to thermal subsystem as a sensor.

To get more comprehensive and integrated thermal management, it adds ntc
thermistor to thermal framework as a thermal sensor. It's governed thermal
susbsystem only if it is described in DT node. Otherwise, it just notifies
temperature to userspace via sysfs as it used to be.

Change-Id: Ie5b8948ca0cb567854905e0e9ea903ff7cdc1f4c
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agothermal: Bind cooling devices with the correct arguments
Punit Agrawal [Tue, 3 Jun 2014 09:59:58 +0000 (10:59 +0100)]
thermal: Bind cooling devices with the correct arguments

When binding cooling devices to thermal zones created from the device
tree the minimum and maximum cooling states are in the wrong order
leading to failure to bind.

Fix the order of cooling states in the call to
thermal_zone_bind_cooling_device to fix this.

Change-Id: I63c72736ca26ff5dd1cd9e051721c4c7f3d63af5
Cc:Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
9 years agothermal: Add braces around suspect code
Stephen Boyd [Wed, 18 Jun 2014 23:32:08 +0000 (16:32 -0700)]
thermal: Add braces around suspect code

It looks like this code is missing braces, otherwise the if
statement shouldn't have been indented. Fix it.

Change-Id: Ia5f7b1e784e79d58e0a68851f4ccc1a42565a247
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
9 years agothermal:samsung: fix compilation warning
Naveen Krishna Chatradhi [Fri, 20 Dec 2013 12:12:07 +0000 (17:42 +0530)]
thermal:samsung: fix compilation warning

This patch fixes a compilation warning.

warning: passing argument 5 of 'thermal_zone_device_register' discards 'const'
qualifier from pointer target type [enabled by default]
include/linux/thermal.h:270:29: note: expected 'struct thermal_zone_device_ops *'
but argument is of type 'const struct thermal_zone_device_ops *'

Change-Id: Ide96bc2bb6a2c0c843e84811d9adaae97d8a191d
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
9 years agothermal: introduce device tree parser
Eduardo Valentin [Wed, 3 Jul 2013 19:35:39 +0000 (15:35 -0400)]
thermal: introduce device tree parser

This patch introduces a device tree bindings for
describing the hardware thermal behavior and limits.
Also a parser to read and interpret the data and feed
it in the thermal framework is presented.

This patch introduces a thermal data parser for device
tree. The parsed data is used to build thermal zones
and thermal binding parameters. The output data
can then be used to deploy thermal policies.

This patch adds also documentation regarding this
API and how to define tree nodes to use
this infrastructure.

Note that, in order to be able to have control
on the sensor registration on the DT thermal zone,
it was required to allow changing the thermal zone
.get_temp callback. For this reason, this patch
also removes the 'const' modifier from the .ops
field of thermal zone devices.

Change-Id: Iaecd480e8a5e21f0d3154cc9bf782bbfd051d40a
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
9 years agothermal: allow registering without .get_temp
Eduardo Valentin [Thu, 12 Sep 2013 23:15:44 +0000 (19:15 -0400)]
thermal: allow registering without .get_temp

This patch changes the thermal core driver to allow
registration of thermal zones without the .get_temp callback.

The idea behind this change is to allow lazy registration
of sensor callbacks.

The thermal zone will be disabled whenever the ops
does not contain a .get_temp callback. The sysfs interface
will be returning -EINVAL on any temperature read operation.

Change-Id: Id58d2b558bc5a946dc7d712e28c2ed7cb90cc64b
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
9 years agomfd: max77686: Add registration of max77686-clk for control 32khz clock outputs
Inha Song [Tue, 7 Oct 2014 09:54:58 +0000 (18:54 +0900)]
mfd: max77686: Add registration of max77686-clk for control 32khz clock outputs

This patch add registration of max77686-clk for control 32khz clock outputs.

Through this patch, the MAX77686 clock driver enabled and 32khz clocks can
be controlled.

Change-Id: I6e5edc081ba45c2ac45257084f12a5335a6a4cb2
Signed-off-by: Inha Song <ideal.song@samsung.com>
9 years agoarm: configs: tizen_rinato: Enable MAX14577/77836 regulator
Jonghwa Lee [Thu, 2 Oct 2014 09:06:48 +0000 (18:06 +0900)]
arm: configs: tizen_rinato: Enable MAX14577/77836 regulator

Change-Id: I619e3016eab20eb18ffdaaca38753b7f9b682bd4
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agomfd: max14577: Add compatible string to max77836 charger's mfd cell.
Jonghwa Lee [Wed, 1 Oct 2014 08:58:27 +0000 (17:58 +0900)]
mfd: max14577: Add compatible string to max77836 charger's mfd cell.

This patch add compatible string to max77836 charger's mfd cell to
be acquired its device tree node.

Change-Id: Ibf7e6cb855e4cc9c2735572c6bde939ab853da93
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agoarm: dts: exynos3250: Add phandle to power supply devices.
Jonghwa Lee [Wed, 1 Oct 2014 07:08:43 +0000 (16:08 +0900)]
arm: dts: exynos3250: Add phandle to power supply devices.

To get power supply device by power_supply_get_by_phandle(),
it adds phandle to power supply devices in rinato device tree.

Change-Id: I865c714775a8bd5520f309a0be97f4a78cf2152e
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
9 years agopower_supply: allow power supply devices registered w/o wakeup source
Zhang Rui [Wed, 28 May 2014 07:23:37 +0000 (15:23 +0800)]
power_supply: allow power supply devices registered w/o wakeup source

Currently, all the power supply devices are registered with wakeup source,
this results in that every power_supply_changed() invocation brings
the system out of suspend-to-freeze state.

This is overkill as some device drivers, e.g. ACPI battery driver,
have the ability to check the device status and wake up the system
from sleeping only when necessary.

Thus introduce a new API which allows device to be registered
w/o wakeup source.

Change-Id: If0ea9720c9c2161e3a33db0988bcd464b79f2b91
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
9 years agopower_supply: Add power_supply_get_by_phandle
Sebastian Reichel [Sun, 24 Nov 2013 16:49:29 +0000 (17:49 +0100)]
power_supply: Add power_supply_get_by_phandle

Add method to get power supply by device tree phandle.

Change-Id: I486cb12098d96a0c0b1a930b194dd899fb5a61c8
Signed-off-by: Sebastian Reichel <sre@debian.org>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
9 years agopower_supply: Add power_supply notifier
Pali Rohár [Tue, 19 Nov 2013 10:18:03 +0000 (11:18 +0100)]
power_supply: Add power_supply notifier

This patch adds a notifier chain to the power_supply, this helps drivers
in other subsystem to listen to changes in power supply subsystem.

This would help to take some actions in those drivers on changing the
power supply properties. One such scenario is to increase/decrease system
performance based on the battery capacity/voltage. Another scenario is to
adjust the h/w peak current detection voltage/current thresholds based on
battery voltage/capacity. The notifier helps drivers to listen to changes
in power_suppy susbystem without polling the power_supply properties

Change-Id: I06d5b614d1ad836826f87f24791c94d2fa6c4aa6
Signed-off-by: Jenny TC <jenny.tc@intel.com>
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Jenny TC <jenny.tc@intel.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
9 years agopower_supply: Fix Oops from NULL pointer dereference from wakeup_source_activate
Shuah Khan [Fri, 22 Nov 2013 17:54:28 +0000 (10:54 -0700)]
power_supply: Fix Oops from NULL pointer dereference from wakeup_source_activate

power_supply_register() calls device_init_wakeup() to register a wakeup
source before initializing dev_name. As a result, device_wakeup_enable()
end up registering wakeup source with a null name when
wakeup_source_register() gets called with dev_name(dev) which is null at
the time.

When kernel is booted with wakeup_source_activate enabled, it will panic
when the trace point code tries to dereference ws->name.

Fixed the problem by moving up the kobject_set_name() call prior to
accesses to dev_name(). Replaced kobject_set_name() with dev_set_name()
which is the right interface to be called from drivers. Fixed the call to
device_del() prior to device_add() in for wakeup_init_failed error
handling code.

Trace after the change:

            bash-2143  [003] d...   132.280697: wakeup_source_activate: BAT1 state=0x20001
     kworker/3:2-1169  [003] d...   132.281305: wakeup_source_deactivate: BAT1 state=0x30000

Oops message:

[  819.769934] device: 'BAT1': device_add
[  819.770078] PM: Adding info for No Bus:BAT1
[  819.770235] BUG: unable to handle kernel NULL pointer dereference at           (null)
[  819.770435] IP: [<ffffffff813381c0>] skip_spaces+0x30/0x30
[  819.770572] PGD 3efd90067 PUD 3eff61067 PMD 0
[  819.770716] Oops: 0000 [#1] SMP
[  819.770829] Modules linked in: arc4 iwldvm mac80211 x86_pkg_temp_thermal coretemp kvm_intel joydev i915 kvm uvcvideo ghash_clmulni_intel videobuf2_vmalloc aesni_intel videobuf2_memops videobuf2_core aes_x86_64 ablk_helper cryptd videodev iwlwifi lrw rfcomm gf128mul glue_helper bnep btusb media bluetooth parport_pc hid_generic ppdev snd_hda_codec_hdmi drm_kms_helper snd_hda_codec_realtek cfg80211 drm tpm_infineon samsung_laptop snd_hda_intel usbhid snd_hda_codec hid snd_hwdep snd_pcm microcode snd_page_alloc snd_timer psmouse i2c_algo_bit lpc_ich tpm_tis video wmi mac_hid serio_raw ext2 lp parport r8169 mii
[  819.771802] CPU: 0 PID: 2167 Comm: bash Not tainted 3.12.0+ #25
[  819.771876] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 900X3C/900X3D/900X4C/900X4D/SAMSUNG_NP1234567890, BIOS P03AAC 07/12/2012
[  819.772022] task: ffff88002e6ddcc0 ti: ffff8804015ca000 task.ti: ffff8804015ca000
[  819.772119] RIP: 0010:[<ffffffff813381c0>]  [<ffffffff813381c0>] skip_spaces+0x30/0x30
[  819.772242] RSP: 0018:ffff8804015cbc70  EFLAGS: 00010046
[  819.772310] RAX: 0000000000000003 RBX: ffff88040cfd6d40 RCX: 0000000000000018
[  819.772397] RDX: 0000000000020001 RSI: 0000000000000000 RDI: 0000000000000000
[  819.772484] RBP: ffff8804015cbcc0 R08: 0000000000000000 R09: ffff8803f0768d40
[  819.772570] R10: ffffea001033b800 R11: 0000000000000000 R12: ffffffff81c519c0
[  819.772656] R13: 0000000000020001 R14: 0000000000000000 R15: 0000000000020001
[  819.772744] FS:  00007ff98309b740(0000) GS:ffff88041f200000(0000) knlGS:0000000000000000
[  819.772845] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  819.772917] CR2: 0000000000000000 CR3: 00000003f59dc000 CR4: 00000000001407f0
[  819.773001] Stack:
[  819.773030]  ffffffff81114003 ffff8804015cbcb0 0000000000000000 0000000000000046
[  819.773146]  ffff880409757a18 ffff8803f065a160 0000000000000000 0000000000020001
[  819.773273]  0000000000000000 0000000000000000 ffff8804015cbce8 ffffffff8143e388
[  819.773387] Call Trace:
[  819.773434]  [<ffffffff81114003>] ? ftrace_raw_event_wakeup_source+0x43/0xe0
[  819.773520]  [<ffffffff8143e388>] wakeup_source_report_event+0xb8/0xd0
[  819.773595]  [<ffffffff8143e3cd>] __pm_stay_awake+0x2d/0x50
[  819.773724]  [<ffffffff8153395c>] power_supply_changed+0x3c/0x90
[  819.773795]  [<ffffffff8153407c>] power_supply_register+0x18c/0x250
[  819.773869]  [<ffffffff813d8d18>] sysfs_add_battery+0x61/0x7b
[  819.773935]  [<ffffffff813d8d69>] battery_notify+0x37/0x3f
[  819.774001]  [<ffffffff816ccb7c>] notifier_call_chain+0x4c/0x70
[  819.774071]  [<ffffffff81073ded>] __blocking_notifier_call_chain+0x4d/0x70
[  819.774149]  [<ffffffff81073e26>] blocking_notifier_call_chain+0x16/0x20
[  819.774227]  [<ffffffff8109397a>] pm_notifier_call_chain+0x1a/0x40
[  819.774316]  [<ffffffff81095b66>] hibernate+0x66/0x1c0
[  819.774407]  [<ffffffff81093931>] state_store+0x71/0xa0
[  819.774507]  [<ffffffff81331d8f>] kobj_attr_store+0xf/0x20
[  819.774613]  [<ffffffff811f8618>] sysfs_write_file+0x128/0x1c0
[  819.774735]  [<ffffffff8118579d>] vfs_write+0xbd/0x1e0
[  819.774841]  [<ffffffff811861d9>] SyS_write+0x49/0xa0
[  819.774939]  [<ffffffff816d1052>] system_call_fastpath+0x16/0x1b
[  819.775055] Code: 89 f8 48 89 e5 f6 82 c0 a6 84 81 20 74 15 0f 1f 44 00 00 48 83 c0 01 0f b6 10 f6 82 c0 a6 84 81 20 75 f0 5d c3 66 0f 1f 44 00 00 <80> 3f 00 55 48 89 e5 74 15 48 89 f8 0f 1f 40 00 48 83 c0 01 80
[  819.775760] RIP  [<ffffffff813381c0>] skip_spaces+0x30/0x30
[  819.775881]  RSP <ffff8804015cbc70>
[  819.775949] CR2: 0000000000000000
[  819.794175] ---[ end trace c4ef25127039952e ]---

Change-Id: I69c2ff4750e66344e28b7fed6f4bf3357614d77c
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Acked-by: Anton Vorontsov <anton@enomsg.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable@vger.kernel.org
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
9 years agopower_supply: Prevent suspend until power supply events are processed
Zoran Markovic [Fri, 2 Aug 2013 20:38:02 +0000 (13:38 -0700)]
power_supply: Prevent suspend until power supply events are processed

This patch, originally authored by Arve Hjonnevag and Todd Poynor,
prevents the system from entering suspend mode until the power supply
plug, unplug, or any other change of state event is fully processed. This
guarantees that the screen lights up and displays the battery charging
state. The implementation uses the power supply wakeup_source object.

Change-Id: I541e6a5d0567f2a731f14abc16fda30256ae93fe
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Arve Hjonnevag <arve@android.com>
Cc: Todd Poynor <toddpoynor@google.com>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Zoran Markovic <zoran.markovic@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
9 years agopower_supply: Add of_node_put to fix refcount
Rhyland Klein [Mon, 10 Jun 2013 21:26:39 +0000 (17:26 -0400)]
power_supply: Add of_node_put to fix refcount

of_parse_phandle increments the refcount for a dt node before returning
it. Add of_node_put where needed to properly decrement the refcount when
we are done using a given node.

Change-Id: I49584e6d17ba5cc7f431a8a0b193fcbc2b6a2f34
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
9 years agoARM: dts: exynos3250-rinato: Add sensor position
Jaewon Kim [Thu, 2 Oct 2014 06:46:34 +0000 (15:46 +0900)]
ARM: dts: exynos3250-rinato: Add sensor position

This patch adds accel and magnetic sensor position property
for rinato board. Sensor position related sensor axis.

Change-Id: I77cf7b2401b5c286d7bdc1327de4fea0c8247559
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
9 years agosensorhub: Add sensor position check
Jaewon Kim [Thu, 2 Oct 2014 06:44:10 +0000 (15:44 +0900)]
sensorhub: Add sensor position check

This patch adds sensor position check. MCU change axis
accoring to position value.

Change-Id: Iebcba7ed79a20990439b1940c9835c6b3869aa3f
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
9 years agoARM: configs: tizen_rinato_defconfig: Enable HRM sensor
Jaewon Kim [Thu, 2 Oct 2014 06:27:41 +0000 (15:27 +0900)]
ARM: configs: tizen_rinato_defconfig: Enable HRM sensor

This patch enables HRM sensor(ADPD142) in sensorhub.

Change-Id: Icdc97fa0f9fc0ec6c7b2badc325f21e93920ecd1
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
9 years agoARM: dts: exynos3250-rinato: Fix USB vbus regulator state
Jaewon Kim [Thu, 2 Oct 2014 06:02:33 +0000 (15:02 +0900)]
ARM: dts: exynos3250-rinato: Fix USB vbus regulator state

This patch fixes USB vbus regulator state. USB vbus supplied
from USB host. but rinato board supplied from SUB PMIC(MAX77836).
USB hsotg driver do not have to control USB vbus regulator.
So, this patch changes regulator state to always-on.

Change-Id: I1bb94bfc4f5d62d8fe398e4ed8a5b6f87bca69bb
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
9 years agopackaging: fix source name to match repo name
Philippe Coval [Thu, 2 Oct 2014 12:36:08 +0000 (14:36 +0200)]
packaging: fix source name to match repo name

Change-Id: I33d643c3073ba6a55af442d47e5a1878ce181792
Bug-Tizen: TC-1495
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agoARM: dts: enable g2d for odroid x2/u3
Joonyoung Shim [Wed, 1 Oct 2014 08:04:11 +0000 (17:04 +0900)]
ARM: dts: enable g2d for odroid x2/u3

Update DTS and defconfig for g2d.

Change-Id: I1bf301630e6bf543b56d0df8717c7b592c786b81
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
9 years agodrm/exynos: fimd: fix screen shaking issue
Inki Dae [Tue, 23 Sep 2014 15:33:11 +0000 (00:33 +0900)]
drm/exynos: fimd: fix screen shaking issue

This patch fixes the issue that the screen is shared once resume.

The issue could be incurred when overlay registers are updated by
win_commit while transmitting video data.

So this patch makes win_commit function wait for vsync signal
if fimd is still transmitting video data before updating overlay
registers.

Change-Id: Ia5efff85ccad91cd6e8ff7a5e167a883c8e8d4aa
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agoARM: dts: Add TMU dt node for exynos3250-rinato
Chanwoo Choi [Mon, 29 Sep 2014 12:21:00 +0000 (21:21 +0900)]
ARM: dts: Add TMU dt node for exynos3250-rinato

This patch add TMU dt node to enable Thermal Management Unit which monitors
the temperature of Exynos3250 SoC.

Change-Id: I2d8b2bb3c590d4247c3f6a6fdcc30b5724bae158
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agothermal: samsung: Change calculation type from TWO_POINT_TRIMMING to ONE_POINT_TRIMMING
Chanwoo Choi [Mon, 29 Sep 2014 12:15:14 +0000 (21:15 +0900)]
thermal: samsung: Change calculation type from TWO_POINT_TRIMMING to ONE_POINT_TRIMMING

This patch changes the calculation type from TWO_POINT_TRIMMING to ONE_POINT_TRIMMING
because some Exynos3250 don't support TWO_POINT_TRIMMING method.

Change-Id: I04f76e6ca538b31687a1343535f40392a3a8b773
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agoARM: configs: Add tizen_rinato_defconfig for Rinato board
Chanwoo Choi [Mon, 29 Sep 2014 11:26:57 +0000 (20:26 +0900)]
ARM: configs: Add tizen_rinato_defconfig for Rinato board

This patch add tizen_rinato_defconfig for Rinato board which is based on Exynos3250 SoC.

Change-Id: I4007fecc45c5422412701d48ed8d216d3a7dc395
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agoARM: dts: Add board dts file for Exynos3250-based Rinato board
Chanwoo Choi [Mon, 29 Sep 2014 11:24:20 +0000 (20:24 +0900)]
ARM: dts: Add board dts file for Exynos3250-based Rinato board

This patch add support for device tree sources for Samsung Rinato baord
(Samsung Gear 2) based on Exynos3250 SoC.

Change-Id: I191290a96c79bf539117da6f44724ba774f57c16
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agoARM: dts: Add missing pinctrl for uart0/1 for exynos3250
Chanwoo Choi [Mon, 29 Sep 2014 11:23:33 +0000 (20:23 +0900)]
ARM: dts: Add missing pinctrl for uart0/1 for exynos3250

This patch add missing pinctrl for uart0/1 for Exynos3250. The gpio pin (
uart0_data, uart0_fctl, uart1_data) is only used for UART IP.

Change-Id: I18ec65425c5fcbf20efbfe69469fb8e2e81925e5
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agoarm: tizen_odroid_defconfig: add support for containers
Piotr Bartosiewicz [Wed, 24 Sep 2014 08:13:53 +0000 (10:13 +0200)]
arm: tizen_odroid_defconfig: add support for containers

Add support for linux containers (lxc, libvirt-lxc) in odroid SoC.
This patch turns on user namespace, cgroups, bridging, vlan and
multiple devpts stuff.

Change-Id: I78b79a20f06154d96517ecb714174a252f87466a
Signed-off-by: Piotr Bartosiewicz <p.bartosiewi@partner.samsung.com>
9 years agodrm/exynos/ipp: add file checks for ioctls
Andrzej Hajda [Tue, 2 Sep 2014 12:56:21 +0000 (14:56 +0200)]
drm/exynos/ipp: add file checks for ioctls

Process should not have access to ipp nodes created by another
process. The patch adds necessary checks.
It also simplifies lookup for command node.

Change-Id: If30f01d497a61792d0407821dfd7943075e49e48
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: remove file argument from node related functions
Andrzej Hajda [Tue, 2 Sep 2014 12:55:06 +0000 (14:55 +0200)]
drm/exynos/ipp: remove file argument from node related functions

Since file pointer is preserved in c_node passing it
as argument in node functions is redundant.

Change-Id: I7a302822ab441a4a572962698c41be31bc360b03
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/fimc: fix source buffer registers
Andrzej Hajda [Thu, 28 Aug 2014 09:07:39 +0000 (11:07 +0200)]
drm/exynos/fimc: fix source buffer registers

FIMC in default mode of operation uses only one input buffer,
but the driver used also second buffer, as a result only the
first frame was processed correctly. The patch fixes it.

Change-Id: I359cfbc5c80221904659848d09d3778094c6393f
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/fimc: simplify buffer queuing
Andrzej Hajda [Thu, 28 Aug 2014 09:07:38 +0000 (11:07 +0200)]
drm/exynos/fimc: simplify buffer queuing

The patch removes redundant checks, redundant HW reads
and simplifies code.

Change-Id: Ieb4020ea24b3d648c0cab0b22f0b97d3dd956fa6
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/fimc: do not enable fimc twice
Andrzej Hajda [Thu, 28 Aug 2014 09:07:37 +0000 (11:07 +0200)]
drm/exynos/fimc: do not enable fimc twice

The patch removes redundant H/W activation.

Change-Id: Ia8a465f8a31e735b403616f21f7594b29604a02e
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/fimc: avoid clearing overflow bits
Andrzej Hajda [Thu, 28 Aug 2014 09:07:36 +0000 (11:07 +0200)]
drm/exynos/fimc: avoid clearing overflow bits

Overflow bits shall be cleared by H/W.

Change-Id: Ia8dfd96c9e78d24565a959a2e9c7ee770039ff91
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: remove events during command cleaning
Andrzej Hajda [Thu, 28 Aug 2014 09:07:35 +0000 (11:07 +0200)]
drm/exynos/ipp: remove events during command cleaning

Events were removed only during stop command, as a result
there were memory leaks if program prematurely exited.
This patch fixes it.

Change-Id: I763b05753eb6bebe7ac3dc74da76dd08b5972142
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: stop hardware before freeing memory
Andrzej Hajda [Thu, 28 Aug 2014 09:07:34 +0000 (11:07 +0200)]
drm/exynos/ipp: stop hardware before freeing memory

Memory shouldn't be freed when hardware is still running.

Change-Id: I2ac15beee14bf3d952a15367bf2f4d1366445eac
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: replace work_struct casting with better constructs
Andrzej Hajda [Thu, 28 Aug 2014 09:07:33 +0000 (11:07 +0200)]
drm/exynos/ipp: replace work_struct casting with better constructs

Type casting should be avoided if possible. In case of
work_struct it can be simply replaced by reference to member field.

Change-Id: I0bc76f41e3cf97ad5bd70ae89f01f092513feacf
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: clean memory nodes on command node cleaning
Andrzej Hajda [Thu, 28 Aug 2014 09:07:32 +0000 (11:07 +0200)]
drm/exynos/ipp: clean memory nodes on command node cleaning

The nodes should be removed before removing command node.

Change-Id: Ib97b737c9578c912737827b666ab0d94395a5334
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: move nodes cleaning to separate function
Andrzej Hajda [Thu, 28 Aug 2014 09:07:31 +0000 (11:07 +0200)]
drm/exynos/ipp: move nodes cleaning to separate function

The patch introduces ipp_clean_mem_nodes function which replaces
redundant code. Additionally memory node function definitions
are moved up to increase its visibility.

Change-Id: I3143c773be9646f28f8f3c55b711e17e21f67a8a
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: free partially allocated resources on error
Andrzej Hajda [Thu, 28 Aug 2014 09:07:30 +0000 (11:07 +0200)]
drm/exynos/ipp: free partially allocated resources on error

In case of allocation errors some already allocated buffers
were not freed. The patch fixes it.

Change-Id: I23447928fb497ad33324fc2affa430bd2de98122
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: remove unused field in command node
Andrzej Hajda [Thu, 28 Aug 2014 09:07:29 +0000 (11:07 +0200)]
drm/exynos/ipp: remove unused field in command node

Since command node have file pointer dev field became useless.

Change-Id: I3ee97a701b9b032e329a59fcc0ed7c122440c9b7
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: remove only related commands on file close
Andrzej Hajda [Thu, 28 Aug 2014 09:07:28 +0000 (11:07 +0200)]
drm/exynos/ipp: remove only related commands on file close

On file close driver should remove only command nodes created
via this file.

Change-Id: I1063955f02af7f1cd456b5e31165fe64ed136788
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: move file reference from memory to command node
Andrzej Hajda [Thu, 28 Aug 2014 09:07:27 +0000 (11:07 +0200)]
drm/exynos/ipp: move file reference from memory to command node

Command node should contain file reference to distinguish commands
created by different processes.

Change-Id: I98938d16d323a5f83614ae87c84485f8fa4efc69
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: cancel works before command node clean
Andrzej Hajda [Thu, 28 Aug 2014 09:07:26 +0000 (11:07 +0200)]
drm/exynos/ipp: cancel works before command node clean

All pending works should be canceled prior to its removal.

Change-Id: I6adaf0fcc447f3fdbed4dd8cfb873e1b5d1fdb84
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodrm/exynos/ipp: remove fake pm callbacks
Andrzej Hajda [Thu, 28 Aug 2014 09:07:25 +0000 (11:07 +0200)]
drm/exynos/ipp: remove fake pm callbacks

PM callbacks in ipp core do nothing, so the patch removes it.

Change-Id: I3fd9eb622b7c29b956dcfeff390004e66ced7e9f
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
9 years agodts: exynos3250: add Exynos DRM SC device node
Hyungwon Hwang [Thu, 28 Aug 2014 06:45:33 +0000 (15:45 +0900)]
dts: exynos3250: add Exynos DRM SC device node

This patch adds Exynos DRM SC device nodes and the corresponding IOMMU
device nodes for the boards which uses Exynos 3250 processor.

Change-Id: I3b91ccbd19ceddd4aeaa3bd685aeee6778fd7ee9
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agoASoC: odroidx2_max98090: Modify documentation for audio routing
Huang Chao [Tue, 26 Aug 2014 05:29:14 +0000 (13:29 +0800)]
ASoC: odroidx2_max98090: Modify documentation for audio routing

The Headset audio path has been modified for Odroid U3, which can
support Stereophone and Mic.

Change-Id: Id610afe0f656183098b981f9dda4b2d1b2a6a6f2
Signed-off-by: Huang Chao <chao7.huang@samsung.com>
9 years agoupstream media: fix: au0828 call dvb core suspend
Mauro Carvalho Chehab [Wed, 13 Aug 2014 18:52:39 +0000 (15:52 -0300)]
upstream media: fix: au0828 call dvb core suspend

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=66cae53024c4
Upstream Author: Shuah Khan <shuah.kh@samsung.com>
Original subject: [media] media: fix au0828 dvb suspend/resume to call dvb_frontend_suspend/resume

au0828 doesn't resume correctly and TV tuning fails with
xc_set_signal_source(0) failed message. Change au0828 dvb
suspend and resume interfaces to suspend and resume frontend
during suspend and resume respectively. dvb_frontend_suspend()
suspends tuner and fe using tuner and fe ops. dvb_frontend_resume()
resumes fe and tuner using fe and tuner ops ini before waking up
the frontend. With this change HVR950Q suspend and resume work
when system gets suspended when digital function is tuned to a
channel and with active TV stream, and after resume it went right
back to active TV stream.

Change-Id: I84820422af70bea19cefe6d24f0f9bff5756637d
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
9 years agos5p-mfc: Fix debug/error messages in s5p_mfc_init_hw
Kamil Debski [Mon, 4 Aug 2014 12:56:58 +0000 (14:56 +0200)]
s5p-mfc: Fix debug/error messages in s5p_mfc_init_hw

Fix debug and error messages in the initialization sequence of the MFC
firmware.

Change-Id: Ie77f24ba07823bd9d80921d07f9e703855f8e8c1
Reported-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
9 years agodma: of: Remove restriction that #dma-cells can't be 0
Lars-Peter Clausen [Mon, 22 Apr 2013 08:33:32 +0000 (10:33 +0200)]
dma: of: Remove restriction that #dma-cells can't be 0

There is no sensible reason why #dma-cells shouldn't be allowed to be 0. It is
completely up to the DMA controller how many additional parameters, besides the
phandle, it needs to identify a channel. E.g. for DMA controller with only one
channel or for DMA controllers which don't have a restriction on which channel
can be used for which peripheral it completely legitimate to not require any
additional parameters.

Also fixes the following warning:
drivers/dma/of-dma.c: In function 'of_dma_controller_register':
drivers/dma/of-dma.c:67:7: warning: 'nbcells' may be used uninitialized in this function

Change-Id: Ibf9738af3bac1d40a630d49b35f9e6450ea100b8
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
9 years agoASoC: Samsung: i2s: make sure the i2s bus clock is enabled before starting operation
Inha Song [Wed, 20 Aug 2014 04:45:38 +0000 (13:45 +0900)]
ASoC: Samsung: i2s: make sure the i2s bus clock is enabled before starting operation

This patch add i2s bus clock enable/disable function. If boards does not have
Audio Sub System, seperate clock is necessary for i2s bus control. This patch
should not effect Exynos4 SoC boards.

Change-Id: Ibcc696767526b3bafaa02b08eec2150410e296c8
Signed-off-by: Inha Song <ideal.song@samsung.com>
9 years agosound: soc/samsung: i2s: Handle bus clock gating
Tomasz Figa [Thu, 9 Jan 2014 16:24:23 +0000 (17:24 +0100)]
sound: soc/samsung: i2s: Handle bus clock gating

This patch adds handling of controller bus clock gating to make sure
that the clock is enabled before starting operation.

Change-Id: Ib7069487e3d4477fc6b7d09e411b06bfc3f8f263
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
9 years agodrm/exynos: scaler: add exynos drm sc driver
Hyungwon Hwang [Thu, 4 Sep 2014 05:41:12 +0000 (14:41 +0900)]
drm/exynos: scaler: add exynos drm sc driver

This patch adds exynos drm sc driver for Exynos 3250.

Change-Id: Ia71c5354390e67494fd4887c8861a624d21e3839
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agomedia: check status of dmxdev->exit in poll functions of demux&dvr
Changbing Xiong [Thu, 21 Aug 2014 02:05:40 +0000 (23:05 -0300)]
media: check status of dmxdev->exit in poll functions of demux&dvr

when usb-type tuner is pulled out, user applications did not close device's FD,
and go on polling the device, we should return POLLERR directly.

Change-Id: Id685db6f37c7a3f454e4a93234a38bb65dfc43d9
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
9 years agomedia: correct return value in dvb_demux_poll
Changbing Xiong [Thu, 21 Aug 2014 02:05:07 +0000 (23:05 -0300)]
media: correct return value in dvb_demux_poll

Data type of return value is unsigned int, but in function of dvb_demux_poll,
when the pointer of dmxdevfilter equals NULL, it will return -EINVAL, which
is invalid.

Change-Id: I5b0f3b6e973b2b5ea041e9ff0ea1709d109a9945
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
9 years agomedia: fix kernel deadlock due to tuner pull-out while playing
Changbing Xiong [Thu, 21 Aug 2014 02:04:25 +0000 (23:04 -0300)]
media: fix kernel deadlock due to tuner pull-out while playing

Normally, ADAP_STREAMING bit is set in dvb_usb_start_feed and cleared in
dvb_usb_stop_feed.

But in exceptional cases, for example, when the tv is playing programs
and the tuner is pulled out, then dvb_usbv2_disconnect is called.

In such case, it will first call dvb_usbv2_adapter_frontend_exit to stop
dvb_frontend_thread, and then call dvb_usbv2_adapter_dvb_exit to clear
ADAP_STREAMING bit.

At this point, if dvb_frontend_thread is sleeping and waiting for
ADAP_STREAMING to be cleared to get out of sleep. then
dvb_frontend_thread can never be stoped, because clearing ADAP_STREAMING
bit is performed after dvb_frontend_thread is stopped (i.e. performed in
dvb_usbv2_adapter_dvb_exit).

So, deadlock:

[  240.822037] INFO: task khubd:497 blocked for more than 120 seconds.
[  240.822655] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  240.830493] khubd           D c0013b3c     0   497      2 0x00000000
[  240.836996] [<c0013b3c>] (__schedule+0x200/0x54c) from [<c00110f4>] (schedule_timeout+0x14c/0x19c)
[  240.845940] [<c00110f4>] (schedule_timeout+0x14c/0x19c) from [<c00137f4>] (wait_for_common+0xac/0x150)
[  240.855234] [<c00137f4>] (wait_for_common+0xac/0x150) from [<c004989c>] (kthread_stop+0x58/0x90)
[  240.864004] [<c004989c>] (kthread_stop+0x58/0x90) from [<c03b2ebc>] (dvb_frontend_stop+0x3c/0x9c)
[  240.872849] [<c03b2ebc>] (dvb_frontend_stop+0x3c/0x9c) from [<c03b2f3c>] (dvb_unregister_frontend+0x20/0xd8)
[  240.882666] [<c03b2f3c>] (dvb_unregister_frontend+0x20/0xd8) from [<c03ed938>] (dvb_usbv2_exit+0x68/0xfc)
[  240.892204] [<c03ed938>] (dvb_usbv2_exit+0x68/0xfc) from [<c03eda18>] (dvb_usbv2_disconnect+0x4c/0x70)
[  240.901499] [<c03eda18>] (dvb_usbv2_disconnect+0x4c/0x70) from [<c031c050>] (usb_unbind_interface+0x58/0x188)
[  240.911395] [<c031c050>] (usb_unbind_interface+0x58/0x188) from [<c02c3e78>] (__device_release_driver+0x74/0xd0)
[  240.921544] [<c02c3e78>] (__device_release_driver+0x74/0xd0) from [<c02c3ef0>] (device_release_driver+0x1c/0x28)
[  240.931697] [<c02c3ef0>] (device_release_driver+0x1c/0x28) from [<c02c39b8>] (bus_remove_device+0xc4/0xe4)
[  240.941332] [<c02c39b8>] (bus_remove_device+0xc4/0xe4) from [<c02c1344>] (device_del+0xf4/0x178)
[  240.950106] [<c02c1344>] (device_del+0xf4/0x178) from [<c0319eb0>] (usb_disable_device+0xa0/0x1c8)
[  240.959040] [<c0319eb0>] (usb_disable_device+0xa0/0x1c8) from [<c03128b4>] (usb_disconnect+0x88/0x188)
[  240.968326] [<c03128b4>] (usb_disconnect+0x88/0x188) from [<c0313edc>] (hub_thread+0x4d0/0x1200)
[  240.977100] [<c0313edc>] (hub_thread+0x4d0/0x1200) from [<c0049690>] (kthread+0xa4/0xb0)
[  240.985174] [<c0049690>] (kthread+0xa4/0xb0) from [<c0009118>] (ret_from_fork+0x14/0x3c)
[  240.993259] INFO: task kdvb-ad-0-fe-0:3256 blocked for more than 120 seconds.
[  241.000349] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  241.008162] kdvb-ad-0-fe-0  D c0013b3c     0  3256      2 0x00000000
[  241.014507] [<c0013b3c>] (__schedule+0x200/0x54c) from [<c03eda44>] (wait_schedule+0x8/0x10)
[  241.022924] [<c03eda44>] (wait_schedule+0x8/0x10) from [<c001120c>] (__wait_on_bit+0x74/0xb8)
[  241.031434] [<c001120c>] (__wait_on_bit+0x74/0xb8) from [<c00112b8>] (out_of_line_wait_on_bit+0x68/0x70)
[  241.040902] [<c00112b8>] (out_of_line_wait_on_bit+0x68/0x70) from [<c03e5e88>] (dvb_usb_fe_sleep+0xf4/0xfc)
[  241.050618] [<c03e5e88>] (dvb_usb_fe_sleep+0xf4/0xfc) from [<c03b4b74>] (dvb_frontend_thread+0x124/0x4e8)
[  241.060164] [<c03b4b74>] (dvb_frontend_thread+0x124/0x4e8) from [<c0049690>] (kthread+0xa4/0xb0)
[  241.068929] [<c0049690>] (kthread+0xa4/0xb0) from [<c0009118>] (ret_from_fork+0x14/0x3c)

Fix it by calling dvb_usbv2_adapter_frontend_exit() latter.

Test enviroment: odroidx2 + Hauppauge(WinTV-Aero-M)

Change-Id: Ia7ccc816a36f3aaa398fee928d17609fc778a4ee
Signed-off-by: Changbing Xiong <cb.xiong@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
9 years agoARM: use get machine revision function for get sys_revision property
Beomho Seo [Fri, 22 Aug 2014 06:18:43 +0000 (15:18 +0900)]
ARM: use get machine revision function for get sys_revision property

'system_rev' is revision information of board/machine.
Arm architecture defines variable 'system_rev' but not assigned.
So This patch use of_flat_dt_get_machine_rev() for get 'sys_revision'
from device tree.

Change-Id: Ifa6cc0704c109457e779d4e68f33ab67740282f9
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
9 years agoof: Add common FDT machine revision related function
Beomho Seo [Fri, 22 Aug 2014 06:12:31 +0000 (15:12 +0900)]
of: Add common FDT machine revision related function

Some device depentent mchine revision. So this patch add get machine revision
function. Machine revision get from device tree. If device tree haven't
'revision' property, function return zero.

Change-Id: Ide2bdd314db334643e5acaabf31d8abc133a51dc
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
9 years agoarm: tizen_odroid_defconfig: enable options for RTL8188CUS usb wifi
Joonyoung Shim [Mon, 25 Aug 2014 06:54:36 +0000 (15:54 +0900)]
arm: tizen_odroid_defconfig: enable options for RTL8188CUS usb wifi

Hardkernel provides RTL8188CUS usb wifi module with Odroid U3 board.
This patch is to enable wireless options for RTL8188CUS usb wifi.

Change-Id: I55f9cd346f31aa85b1f7a1d29835c425a31380cb
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
9 years agomedia: s5p_mfc: unify variable naming style
Zhaowei Yuan [Wed, 20 Aug 2014 07:24:19 +0000 (15:24 +0800)]
media: s5p_mfc: unify variable naming style

Variable frame_size represents the size of plane luminance
here, not just frame size, its naming style should be unified
as frame_size_ch and frame_size_mv.

Change-Id: I1aaec3f859f99fb2acba4f5356d7f24c62dc21d3
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
9 years agomedia: s5p_mfc: correct the loop condition
Zhaowei Yuan [Wed, 20 Aug 2014 07:04:12 +0000 (15:04 +0800)]
media: s5p_mfc: correct the loop condition

It should take ctx->dst_fmt->num_planes as the loop
condition for CAPTURE.

Change-Id: Icc3bf357afefb263f76e37b7ffec23edb788560e
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
9 years agomedia: s5p_mfc: Mark buffer as requested after it is indeed allocated
Zhaowei Yuan [Tue, 12 Aug 2014 09:08:18 +0000 (17:08 +0800)]
media: s5p_mfc: Mark buffer as requested after it is indeed allocated

Ctx->capture_state should be set as QUEUE_BUFS_REQUESTED after the buffer is
indeed allocated successfully.

Change-Id: I6498733e49adc1186a6007e9f6b4d8953af1dcbe
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
9 years agomedia: s5p_mfc: Correct improper log and revert file permission
Zhaowei Yuan [Tue, 12 Aug 2014 06:41:42 +0000 (14:41 +0800)]
media: s5p_mfc: Correct improper log and revert file permission

This patch corrects an improper log and revert the permission
of 2 files to original state, which were modified by the
previous patches by mistake.

Change-Id: I388260dc3329faab2efdd260bf28149ebfc3685f
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
9 years agomedia: s5p_mfc: Remove unnecessary checking for fmt->type
Zhaowei Yuan [Tue, 12 Aug 2014 05:49:10 +0000 (13:49 +0800)]
media: s5p_mfc: Remove unnecessary checking for fmt->type

If find_format(f, MFC_FMT_DEC) didn't return a NULL pointer,
then the value of fmt->type must be MFC_FMT_DEC. It's
unnecessary to check it here.

Change-Id: I6c1146d33e014465fbdf8b085f0264fd60788260
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
9 years agovb2: fix plane index sanity check in vb2_plane_cookie()
Zhaowei Yuan [Wed, 20 Aug 2014 07:39:30 +0000 (15:39 +0800)]
vb2: fix plane index sanity check in vb2_plane_cookie()

It's also invalid that plane_no equals to vb->num_planes

Change-Id: Icb11d9d5712f79d67ba2132e78fd4e90f91fef6a
Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
9 years agoexynos/drm: gsc: fix build error related with write back
Hyungwon Hwang [Fri, 22 Aug 2014 05:44:44 +0000 (14:44 +0900)]
exynos/drm: gsc: fix build error related with write back

Fix the variable type and the macro name to make this driver buildable.

Change-Id: I14f95c66db7bcfc8170e330e065f3de80c34ada8
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agoexynos/drm: ipp: fix to get null when the list is empty
Hyungwon Hwang [Fri, 22 Aug 2014 05:35:03 +0000 (14:35 +0900)]
exynos/drm: ipp: fix to get null when the list is empty

list_first_entry does not return null, when the list is empty.

Change-Id: I014e2ef5ba035db3b6fc97e6821bc9869143f867
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agoinput: touchscreen: mms128: change calling mms config set function
Beomho Seo [Thu, 21 Aug 2014 02:09:23 +0000 (11:09 +0900)]
input: touchscreen: mms128: change calling mms config set function

mms128 touchscreen driver is call mms_config_set function repeatedly.
This patch remove unnecessary calling mms_config_set function.
And then, change calling mms_config_get function.

Change-Id: Id4edd63df9061a6145cd715b78c784ba57fdf229
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
9 years agoinput: touchscreen: mms128: remove global variable "enable"
Beomho Seo [Thu, 21 Aug 2014 01:34:11 +0000 (10:34 +0900)]
input: touchscreen: mms128: remove global variable "enable"

If disable CONFIG_TIZEN_WIP, This driver not work after supend/resume.
Because this driver use variable "enable" and "info->enable" sepearately.
So this patch remove variable "enable" and then, use "info->enable".
Also this patch revise that state is changed at mms_ts_power() only.

Change-Id: I9b0d0c46430876779b89d76201deeeaba048cc46
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
9 years agoARM: dts: fix audio routing of Odroid U3
Joonyoung Shim [Wed, 20 Aug 2014 08:26:57 +0000 (17:26 +0900)]
ARM: dts: fix audio routing of Odroid U3

This will route right Headset audio path for Odroid U3.

Change-Id: I8d52b8a9b388bd4f19168e22b7f6fcecf6bd347a
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
9 years agoASoC: samsung: add Headset dapm widgets for Odroid U3
Joonyoung Shim [Wed, 20 Aug 2014 08:26:01 +0000 (17:26 +0900)]
ASoC: samsung: add Headset dapm widgets for Odroid U3

Odroid U3 can support Headset Stereophone and Headset Mic.

Change-Id: Ia682256a21cef262d4539ce0b5f1b9bc54ddffb1
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
9 years agoASoC: samsung: remove unnecessary controls of odroidx2_max98090
Joonyoung Shim [Wed, 20 Aug 2014 08:07:13 +0000 (17:07 +0900)]
ASoC: samsung: remove unnecessary controls of odroidx2_max98090

The control by user about external connectors is unnecesary.

Change-Id: Ib86f8ccccbb462c2ae17853dcc29313220eb407f
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
9 years agoarm: tizen_odroid_defconfig: enable options for usb modem
Joonyoung Shim [Wed, 20 Aug 2014 06:34:47 +0000 (15:34 +0900)]
arm: tizen_odroid_defconfig: enable options for usb modem

Below options are requested from telephone part to support usb modem.

CONFIG_USB_SERIAL
CONFIG_USB_SERIAL_OPTION
CONFIG_PPP
CONFIG_PPP_BSDCOMP
CONFIG_PPP_DEFLATE
CONFIG_PPP_FILTER
CONFIG_PPP_MULTILINK
CONFIG_PPP_ASYNC
CONFIG_PPP_SYNC_TTY

Change-Id: Id3de714f5ffc2885c22e33850faed0421d9d936d
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
9 years agothermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250
Chanwoo Choi [Tue, 19 Aug 2014 11:30:40 +0000 (20:30 +0900)]
thermal: exynos: Add support for TRIM_RELOAD feature at Exynos3250

This patch add support for TRIM_RELOAD feature at Exynos3250. The TMU of
Exynos3250 has two TRIMINFO_CON register.

Change-Id: I129797121b6c5f619390c350a7783cf1d08f5697
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agodrm: fimc: support ipp dynamic color range
Donghwa Lee [Wed, 20 Aug 2014 01:03:51 +0000 (10:03 +0900)]
drm: fimc: support ipp dynamic color range

This patch support dynamic range for color space conversion.
COLOR_RANGE_LIMITED: selects narrow -> Y(16 to 235), Cb/Cr(16 to 240)
COLOR_RANGE_FULL: selects wide -> Y/Cb/Cr(0 to 255), Wide default

Change-Id: I7bb62883b497b5b6869108247cc33b09c07f470e
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>
9 years agodts: exynos3250: Add Exynos DRM GSC device node
Hyungwon Hwang [Tue, 19 Aug 2014 12:29:23 +0000 (21:29 +0900)]
dts: exynos3250: Add Exynos DRM GSC device node

This patch adds Exynos DRM GSC device nodes and the corresponding IOMMU
device nodes for the boards which uses Exynos 3250 processor.

Change-Id: I846494b03922896db45f5faec8265e15be46273f
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agodrm/exynos: gsc: add device tree support
Hyungwon Hwang [Tue, 19 Aug 2014 12:18:31 +0000 (21:18 +0900)]
drm/exynos: gsc: add device tree support

This patch makes Exynos DRM GSC driver compatible with device tree.

Change-Id: I0e1abed40778c97c15ed5d52fc4568f0ee105c57
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agodrm/exynos: gsc: enable DRM_EXYNOS_GSC for Exynos 3 series
Hyungwon Hwang [Tue, 19 Aug 2014 12:11:59 +0000 (21:11 +0900)]
drm/exynos: gsc: enable DRM_EXYNOS_GSC for Exynos 3 series

This patch makes Exynos DRM GSC driver buildable with Exynos 3 series,
not only with Exynos 5 series.

Change-Id: Ib8cda001f7aee34c1584923c4be43a3ed77c6e6d
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
9 years agothermal: Use THERMAL_TREND_{RISING|FALLING} to indicate thermal trends
Lukasz Majewski [Fri, 25 Jul 2014 15:40:38 +0000 (17:40 +0200)]
thermal: Use THERMAL_TREND_{RISING|FALLING} to indicate thermal trends

Values used previously - THERMAL_TREND_{RAISE|DROP}_FULL caused thermal
governor to use the maximal cooling state just after crossing
the first trip point. Such behavior is not acceptable since it causes
the full speed of FAN which is noisy and not really necessary.

With proposed values the fan speed limit is adjusted accordingly.

Change-Id: I9b2fd96dd74040a3a0ddf8465b316b167d5c834e
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
9 years agoconfig: odroid: Enable thermal subsystem for Odroid
Lukasz Majewski [Fri, 25 Jul 2014 15:33:23 +0000 (17:33 +0200)]
config: odroid: Enable thermal subsystem for Odroid

This commit adds support for thermal subsystem for the Odroid family
of development boards.

Change-Id: Ib187fcc051d97b4ff5fdb24702804cbdf75af954
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
9 years agodts: Odroid: Add tmu node to the Odroid DTS
Lukasz Majewski [Fri, 25 Jul 2014 15:35:38 +0000 (17:35 +0200)]
dts: Odroid: Add tmu node to the Odroid DTS

This change allows proper support for Thermal subsystem on the Exynos4412
based Odroid board.

Change-Id: I1a79180aa0159dbd3ba6446bc1d4b4a976a71a05
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
9 years agoARM: dts: Add cpufreq dt node for Exynos3250
Chanwoo Choi [Tue, 19 Aug 2014 10:16:09 +0000 (19:16 +0900)]
ARM: dts: Add cpufreq dt node for Exynos3250

This patch add cpufreq dt node for Exynos3250 and remove un-used cpufreq
information.

Change-Id: Ia70bf3c83b032a3e58537aa5850a284bc4a91197
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agocpufreq: exynos3250: Initialize frequency table statically
Chanwoo Choi [Tue, 19 Aug 2014 10:14:44 +0000 (19:14 +0900)]
cpufreq: exynos3250: Initialize frequency table statically

This patch initializes frequency table for CPUFREQ statically.

Change-Id: If64cd6665f22c57da49764e19cb9847f0a7a5aed
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agoDocumentation: cpufreq: load_table: Update load_table debugfs file documentation
Chanwoo Choi [Tue, 19 Aug 2014 06:45:05 +0000 (15:45 +0900)]
Documentation: cpufreq: load_table: Update load_table debugfs file documentation

This patch add the detailed description of 'load_table' debugfs file to show
collected CPUs load and the change of CPU frequency.

Changes since v6:
- No change

Changes since v5:
- Add description of test case

Change-Id: Ieb4dbb5f76c4d704a7bf94479bfa91cb1b8cdfad
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
9 years agocpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs
Chanwoo Choi [Tue, 19 Aug 2014 06:44:33 +0000 (15:44 +0900)]
cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

This patch add new 'load_table' debugfs file to show previous accumulated data
of CPUs load as following path and add CPUFREQ_LOADCHECK notification to
CPUFREQ_TRANSITION_NOTIFIER notifier chain.
- /sys/kernel/debug/cpufreq/cpuX/load_table

When governor calculates CPUs load on dbs_check_cpu(), governor send
CPUFREQ_LOADCHECK notification with CPUs load, so that cpufreq_stats
accumulates calculated CPUs load on 'load_table' storage.

This debugfs file is used to judge the correct system state or determine
suitable system resource according to current CPUs load on user-space.

This debugfs file include following data:
- Measurement point of time
- CPU frequency
- Per-CPU load

Changes since v6:
- Remove unnecessary memory free/allocation operation on
  cpufreq_stats_reset_debugfs()
- Get correct index of cpu_debugfs[] array according to cpu number
- Reset 'load_table' data when cpufreq governor is changed or updated because
  specific governor(e.g., performance/powersave) haven't used 'load_table;
  debugfs file.

Changes since v5:
- Determine index value of policy->cpu_debugfs[] according to
  cpumask_weight(policy->cpus) value
- Bug fix, store 'policy->cpu' to 'freq->cpu' before notify
  CPUFREQ_LOADCHECK notification

Changes since v4:
- Reset the data of CPUs load when cpufreq governor is changed
- Move code about creating debugfs directory to below first patch
: [PATCH 1/2] cpufreq: Add debugfs directory for cpufreq

Changes since v3:
- Extend a range of accumulated data (10 ~ 1000)
- Add unit information of time/freq and align 'Time' field as left for readability
- Use CONFIG_CPU_FREQ_STAT depdendency instead of CONFIG_CPU_FREQ_STAT_DETATILS
- Initialize load of offline CPUx as zero(0)
- Create/remove debugfs root directory on cpufreq_stats_init/exit() because
  debugfs root is used on all CPUs.

Changes since v2:
- Code clean according to Viresh Kumar's comment
- Show both old frequency and new frequency on 'load_table' debugfs file
- Change debufs file patch as below
  old: /sys/kernel/debugfs/cpufreq/load_table
  new: /sys/kernel/debugfs/cpufreq/cpuX/load_table

Changes since v1:
- Set maximum storage size to save CPUs load on Kconfig
- Use spinlock to synchronize read/write operation for CPUs load
- Use local variable instead of global variable(struct cpufreq_freqs *freqs)
- Use pointer of data structure to get correct size of data structure
  in sizeof() macro instead of structure name
  : sizeof(struct cpufreq_freqs) -> sizeof(*stat->load_table)
- Change time unit from nanosecond to microsecond
- Remove unnecessary memory copy

Change-Id: I14e68196360a3ec00a36e7357b8c73c887abddce
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
9 years agocpufreq: Add debugfs directory for cpufreq
Chanwoo Choi [Tue, 19 Aug 2014 06:43:52 +0000 (15:43 +0900)]
cpufreq: Add debugfs directory for cpufreq

This patch create debugfs root directory and child directory according to
the number of CPUs for CPUFreq as below debugfs directory path:
- /sys/kernel/debug/cpufreq/cpuX

If many CPUs share only one cpufreq policy, other CPUs(except for first CPU)
create a symbolic link for debugfs directory of CPU0.
- link: /sys/kernel/debug/cpufreq/cpu[1-(N-1)] -> /sys/kernel/debug/cpufreq/cpu0

And then cpufreq may need to create debugfs specific file below of debugfs
directory of cpufreq. (e.g., /sys/kernel/debug/cpufreq/cpu0/load_table)

Changes since v6:
- Use 'policy->related_cpus' instead of 'policy->cpus' when getting the number
  of CPUs included in the same package
- Get correct index of cpu_debugfs[] array according to cpu number
- Refactoring cpufreq_move_debugfs_dir() / cpufreq_create_debugfs_symlink()
- Use for_each_cpu() to support multi cluster instead of for_each_present_cpu()

Changes since v5:
- Refactoring patch v4
- Create again symbolic link of debugfs directory when first CPU dev is removed
  (In this case, many CPUs share only one cpufreq policy)

Change-Id: Ibd84118e6dd3b1e3bc624e1871d39425c99b1673
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
9 years agoARM: dts: exynos3250: Add busfreq's dt data to support DVFS of memory interface and bus
Chanwoo Choi [Tue, 19 Aug 2014 05:17:22 +0000 (14:17 +0900)]
ARM: dts: exynos3250: Add busfreq's dt data to support DVFS of memory interface and bus

This patch add Exynos3250 busfreq's dt data to support DVFS(Dynamic Voltage
Frequency Scaling) of memory interface and bus. Exynos3250'busfreq driver would
use following PPMU list:
- PPMU_DMC0
- PPMU_DMC1
- PPMU_LEFT
- PPMU_RIGHT

Change-Id: Id22b34c1631e548af938a111310da5542322fd12
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agodevfreq: exynos4: Move definition to remove build break
Chanwoo Choi [Tue, 19 Aug 2014 05:13:38 +0000 (14:13 +0900)]
devfreq: exynos4: Move definition to remove build break

This patch simply move the definition about PPMU remove build break
when building both exynos3_bus and exynos4_bus driver.

Change-Id: I4cb6e42644eb7ce2ef17d3de923eba87af0f7923
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
9 years agodevfreq: exynos: Add Exynos3250 busfreq support
Chanwoo Choi [Tue, 19 Aug 2014 05:11:38 +0000 (14:11 +0900)]
devfreq: exynos: Add Exynos3250 busfreq support

This patch add Exynos3250 busfreq driver to support DVFS(Dynamic Voltage
Frequency Scaling) about Exynos3250's Memory interface and bus. Exynos3250
busfreq driver will optimize power-consumption/performance of memory according
to PPMU(Profiling Performance Monitoring Unit) Read/Write count of Exynos3250
SoC.

- Exynos3250 MIF (DMC block) use following PPMU to check utilization
of MIF block.
: PPMU_DMC0
: PPMU_DMC1

- Exynos3250 INT (Internal block except for ARM/DMC/G3D) use following PPMU
to check utilization of INT block.
: PPMU_LEFT
: PPMU_RIGHT

Change-Id: If35c1fa0228f16547015931c64b0d6e896599d46
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
9 years agodrm: fimd: support display writeback mode
Donghwa Lee [Tue, 19 Aug 2014 02:48:51 +0000 (11:48 +0900)]
drm: fimd: support display writeback mode

This patch supports exynos drm display writeback mode that clone
the screen with fimd like below.

FIMD----->FIMC H/W---->MEMORY

Change-Id: I8172ec6ee157e2e48a23b9776e11543c33716dc5
Signed-off-by: Donghwa Lee <dh09.lee@samsung.com>