AgeCommit message (Collapse)AuthorFilesLines
2014-05-15WORKAROUND: ARM: dts: add clock property on bt device nodedevel/tizenrefs/changes/82/21082/1Beomho Seo2-3/+6
WORKAROUND: Temporary workaround for bluetooth enable. This patch add clock property on rfkill_bt device node. And then, add parse function in rfkill-gpio driver. Change-Id: I8928cf73284c5e56f8b5671cdb8485ac39b7f0e7 Signed-off-by: Beomho Seo <>
2014-05-15mfd: max77687: Add registration of max77686-clkrefs/changes/81/21081/1Olof Johansson1-0/+1
The MAX77686 clock driver has been in-tree for over 6 months, but never actually enabled through the MFD registration before. Add it to the table so the device will probe and configure properly. Change-Id: I3407a2f10245eba8351eb4103916107cbfcc7fcf Signed-off-by: Olof Johansson <> Signed-off-by: Samuel Ortiz <>
2014-05-15WORKAROUND: net: rfkill-gpio: add low power mode for bluetooth chiprefs/changes/80/21080/1Beomho Seo1-0/+110
WORKAROUND: Temporary workaround for bluetooth enable. This patch add LP mode for bluetooth chip. Change-Id: I1badf49085e58cec08704581beb0458ffbeaee64 Signed-off-by: Beomho Seo <> Signed-off-by: Seung-Woo Kim <>
2014-05-15WORKAROUND: Bluetooth: add hci event notificationrefs/changes/79/21079/1Beomho Seo3-0/+20
WORKAROUND: Temporary workaround for bluetooth enable. For specific hci events, operations are needed. So this patch adds event notification and its notifier registration. Change-Id: I6f8fe0b3b90c12d7f4fe35823d25b9fbdcd98d06 Signed-off-by: Beomho Seo <> Signed-off-by: Seung-Woo Kim <>
2014-05-15serial: samsung: fix maximum baudraterefs/changes/78/21078/1Seung-Woo Kim1-1/+1
To support hs uart, maximum baudrate is fixed to 3Mbps. Change-Id: Idc39e09a8089c61518a3525058ae6647a625c8fb Signed-off-by: Seung-Woo Kim <>
2014-05-15WORKAROUND: net: rfkill-gpio: add host wake and wake pinsrefs/changes/77/21077/1Beomho Seo3-0/+106
WORKAROUND: Temporary workaround for bluetooth enable. The wake pin is used for waking up the hw and host wake pin is used for waking up host processor during sleep. Additionally, This patch add reset-gpio property and devm_gpio_request_one function. Change-Id: I3695fce3b5c6162c9bad5fa0721df9bd8df505c7 Signed-off-by: Beomho Seo <> Signed-off-by: Seung-Woo Kim <>
2014-05-15WORKAROUND: net: rfkill-gpio: fix initial state as blockedrefs/changes/76/21076/1Seung-Woo Kim1-0/+4
WORKAROUND: Temporary worgaround for bluetooth enable. Initial state is not set as blocked, so it is always unblocked after booting. This patch fixes initual state of rfkill-gpio as blocked. Change-Id: Ide67763d10e2ef3ea75fe58d917cd725b26e2cab Signed-off-by: Seung-Woo Kim <>
2014-05-15tizen: update tizen_defconfigrefs/changes/75/21075/1Beomho Seo1-2/+1
This patch enable RFKILL_GPIO configuration. And then remove OF_EXTON configuration. Change-Id: Iada47a6237bd09af51e2825a8bf62f94c9fc8e90 Signed-off-by: Beomho Seo <>
2014-05-15WORKAROUND: ARM: dts: add rfkill-bluetooth device noderefs/changes/74/21074/1Beomho Seo3-0/+20
WORKAROUND: Temporary workaround for bluetooth enable. This patch add rfkill-bluetooth device node and pinctrl. And then, add line for parse shutdown-gpio. Change-Id: I1263b020f7c939a65a95c7a5b94e379a7a51210f Signed-off-by: Beomho Seo <>
2014-05-15net: rfkill: gpio: add device tree supportrefs/changes/73/21073/1Chen-Yu Tsai2-1/+50
Change-Id: Ic179fcf929d3555a29addd39024011537ea041fa Signed-off-by: Chen-Yu Tsai <>
2014-05-15net: rfkill: gpio: fix reversed clock enable staterefs/changes/72/21072/1Chen-Yu Tsai1-1/+1
rfkill-gpio has clk_enabled = blocked, which is true when rfkill blocks the device. This results in calling clock enable/disable at the wrong time. Reversing the value fixes this. Change-Id: Id13a2bd8d7314b29753d2cdedca62b27fa9fd1d9 Signed-off-by: Chen-Yu Tsai <>
2014-05-15net: rfkill: gpio: use clk_prepare_enable/clk_disable_unpreparerefs/changes/71/21071/1Chen-Yu Tsai1-2/+2
rfkill-gpio calls clk_enable() without first calling clk_prepare(), resulting in a warning and no effect. Switch to clk_prepare_enable() and clk_disable_unprepare. Change-Id: I4cb7ed7ff551daab034deb300f6def1c44721fe3 Signed-off-by: Chen-Yu Tsai <>
2014-05-08net: rfkill: gpio: prepare for DT and ACPI supportrefs/changes/80/20480/1Heikki Krogerus1-41/+51
This will add the relevant values like the gpios and the type in rfkill_gpio_platform_data to the rfkill_gpio_data structure. It will allow those values to be easily picked from DT and ACPI tables later. Change-Id: I0851561b648c52be17dbe9a7bb01b0b62ff621a6 Signed-off-by: Heikki Krogerus <> Acked-by: Rhyland Klein <> Reviewed-by: Mika Westerberg <> Signed-off-by: Johannes Berg <>
2014-05-08net: rfkill: gpio: spinlock-safe GPIO accessrefs/changes/79/20479/1Heikki Krogerus1-8/+8
This sets the direction of the gpio once when it's requested, and uses the spinlock-safe gpio_set_state() to change the state. Change-Id: I1e9e9035dc9451d7531d230645d5f1572130a77b Signed-off-by: Heikki Krogerus <> Acked-by: Rhyland Klein <> Reviewed-by: Mika Westerberg <> Signed-off-by: Johannes Berg <>
2014-05-08net: rfkill: gpio: clean up clock handlingrefs/changes/78/20478/1Heikki Krogerus2-28/+9
Use a simple flag to see the state of the clock, and make the clock available even without a name. Also, get rid of HAVE_CLK dependency. Change-Id: Ie113c861a296a57ff32f5a3ee95ef0b9d9fff7e4 Signed-off-by: Heikki Krogerus <> Acked-by: Rhyland Klein <> Reviewed-by: Mika Westerberg <> Signed-off-by: Johannes Berg <>
2014-05-07net: rfkill: gpio: convert to resource managed allocationrefs/changes/27/20427/1Heikki Krogerus1-55/+20
And remove now unneeded resource freeing. Change-Id: Ie6baa61361effe095de95c5ac19cd19f6ddf4475 Signed-off-by: Heikki Krogerus <> Acked-by: Rhyland Klein <> Reviewed-by: Mika Westerberg <> Signed-off-by: Johannes Berg <>
2014-04-28misc: modem_if: fix section mismatch from tizen_modem.csubmit/tizen/20140429.051321accepted/tizen/mobile/20140702.072257accepted/tizen/common/20140429.090721refs/changes/00/20100/3MyungJoo Ham1-1/+1
A function, modem_probe, had __init while it was used by a struct that is not __init. Change-Id: Ib1571c89b4bfcebc58b2669b669bd4606d1922fa Signed-off-by: MyungJoo Ham <>
2014-04-28arm: exynos4: Support machine specific reboot/poweroff for TRATSrefs/changes/45/20045/3Jonghwa Lee4-0/+282
Change-Id: I086cf498da1f1fd38410e99cd250b0c4aeda1a09 Signed-off-by: Jonghwa Lee <>
2014-04-28extcon: Move OF helper function to extcon core and change function namerefs/changes/44/20044/2Chanwoo Choi8-97/+56
This patch move simply OF helper function to extcon core and change function name as following: - of_extcon_get_extcon_dev() -> extcon_get_edev_by_phandle() Change-Id: I37fd827f945e3d713cfe15607689eab6792007b1 Signed-off-by: Chanwoo Choi <> Acked-by: Felipe Balbi <>
2014-04-28extcon: of: Remove unnecessary function call by using the name of device_noderefs/changes/43/20043/2Chanwoo Choi1-11/+3
This patch remove unnecessary function call in of_extcon_get_extcon_dev() by using the name of device_node structure. Change-Id: Ifae59614f355d1ad1beef9aab1c497840f22a727 Signed-off-by: Chanwoo Choi <>
2014-04-25tizen: update tizen_defconfigrefs/changes/41/20041/1Chanho Park1-2/+8
Enable SEC_COMP and misc updates Change-Id: I80e8011ded0007f88f7bea367c32d414abd47d52 Signed-off-by: Chanho Park <>
2014-04-25misc: modem_if: regress to old tizen modem driverrefs/changes/40/20040/1Chanho Park38-15222/+861
Tizen modem utility and xmm626x modem uses old style modem I/F. I brought the driver from linux-3.0 kernel[1] because the driver should be matched with telephony and modem-util package. Kamil brought the driver from linux-3.4-exynos, but the driver didn't match the current telephony daemon and modem util. Data communication didn't work with the driver. So, I decided to regress to old driver. Tizen Modem Team doesn't have any plan to update latest version of modem package. To maintain consistency of the interface, I picked the driver from linux-3.0 tree. [1] :;a=summary Change-Id: I6123f4dc149dcc38e1ae339f950f94fdc0c033f9 Signed-off-by: Chanho Park <>
2014-04-24phy: exynos4212-usb: Use refcount to power device PHY for HSIC0refs/changes/19/20019/1Tomasz Figa1-0/+10
HSIC0 requires device PHY to be powered up and the driver handles that already, but there is no reference counting of device PHY power state, so unplugging USB cable powers it down, breaking modem IF operation. This patch fixes the issue by adding handling of reference counting of device PHY to HSIC0 power-down/-up. Signed-off-by: Tomasz Figa <> Change-Id: I14b1825fec3cd9c1b2652b89f275a50c73359ad6
2014-04-24misc: modem_if: Use pinctrl to properly configure pinsrefs/changes/08/20008/1Tomasz Figa2-7/+24
Configuring an interrupt pin as output/input manually using gpio_direction_*() breaks interrupt settings and must not be done. This patch adds necessary code to enable pull-down for interrupt pin using pinctrl API instead of setting the pin to low output to fix issues with missing modem interrupts. Signed-off-by: Tomasz Figa <> Change-Id: Ie56d84ace1941cef3199fea99d7eb907bb9b5c03
2014-04-24mfd: max77686: Add suspend/resume callback function for alarm wake-up.refs/changes/56/19856/2Jonghwa Lee1-0/+38
While system is resuming, Max77686's Alarm IRQ should be handled after resuming of i2c controller. It disables IRQ in suspend callback funtion and enables it in resume callback to postpone handling. Change-Id: I69f5af2f8b63748853d0ba8a67f0cbb661e1ffcd Signed-off-by: Jonghwa Lee <>
2014-04-23media: vb2-dma-contig: add a hack to speed up cache managementrefs/changes/85/19885/2Marek Szyprowski1-2/+27
In most cases video processing is done with coherent (non-cachable) userspace mappings. In such case for USERPTR mode cache management can be skipped. This patch introduces code for such optimisation. It is called a hack, because it is not possible in generic way to detect if the given userspace mapping is coherent on not. Signed-off-by: Marek Szyprowski <> Change-id: I86aa292455371f1b18eb3f6b765234dc04ff937b
2014-04-23arm: dts: trats2: Remove max77686's LDO22 regulator's 'always-on' flag.refs/changes/95/19895/2Jonghwa Lee1-1/+0
In trats2, LDO22 is used to eMMC's source voltage. And it can be controlled by EN22 gpio pin. If LDO22 regulator is set to 'Always On' mode at software reset, device will hang some seconds. Leave it controlled by EN22, then no delay on reboot. Change-Id: I012bb20bffa42e5ba7887863ef29cb2c473430cb Signed-off-by: Jonghwa Lee <>
2014-04-22ASoC: samsung: Remove obsolete GPIO based DT pinmuxingrefs/changes/89/19789/3Mark Brown1-62/+4
Since the Samsung platforms have moved to pinctrl for pin muxing and that is handled in the core the old GPIO based muxing code can just be removed. Something similar had been submitted by Thomas Abraham back in March but a resubmission following review never happened. Change-Id: I5a5813d51eeaefbb7e5c54fda05c1361a0798db2 Signed-off-by: Mark Brown <>
2014-04-22Revert "ASoC: samsung: Add pinctrl support to I2S driver"refs/changes/88/19788/3Sylwester Nawrocki1-5/+1
This reverts commit 2b0c7de1eaf0e25c69ed1e4b21675ab97c6a4bdf, which is not needed since pinctrl is handled by the driver core. Change-Id: I0f204f15a39e07083375067fc828cf46bdb78360 Signed-off-by: Sylwester Nawrocki <>
2014-04-22s5p-mfc: Remove unused variablerefs/changes/87/19787/2Sylwester Nawrocki1-1/+0
This fixes following compilation warning: drivers/media/platform/s5p-mfc/s5p_mfc_dec.c: In function ‘s5p_mfc_buf_prepare’: drivers/media/platform/s5p-mfc/s5p_mfc_dec.c:1045:15: warning: unused variable ‘index’ [-Wunused-variable] Change-Id: Id6c0c264c7169871df116ba6496b2e08e2638844 Signed-off-by: Sylwester Nawrocki <>
2014-04-21misc: modem_if: initialize gpio_link_enable if invalid gpiorefs/changes/23/19823/1Chanho Park1-1/+2
This patch fixes invalid gpio value caused by 47c53475 commit. The gpio_link_enable should be initialized to 0 if not provided Change-Id: Ie22a2a60a2b713a3be9f141a5dc5c71d4adeb667 Signed-off-by: Chanho Park <>
2014-04-18modem_if: Change hardcoded link enable gpio valuerefs/changes/02/19802/1Beomho Seo1-7/+4
Currently, link enable gpio is hardecoded to zero. Zero equal gpa0-0 value. It is value for uart rxd line. If link enable gpio is unused, it is don't have to call gpio request. This patch change to set line enable gpio value optionally, and remove unused variable 'ret'. Change-Id: I4095d57d76362722abd5c5fd92ef529772680d97 Signed-off-by: Beomho Seo <>
2014-04-18ARM: dts: exynos4412: remove duplicated mshc device noderefs/changes/95/19795/1Beomho Seo1-8/+0
MSHC device node are exsited both exynos4412 and exynos4x12 device tree. This patch remove duplicated mshc device node on exynos4412 device tree. Change-Id: Ib247d172006e916bac3489f5d0bf4958814364f5 Signed-off-by: Beomho Seo <>
2014-04-18ARM: dts: exynos4412-trats2: remove incorrect device nodesubmit/tizen/20140418.050855refs/changes/91/19791/1Beomho Seo1-32/+0
After the dts cleanup the gpio-keys device nodes were duplicated for trats2. One of them is incorrect. As a result volume up/down key not working. This patch remove duplicated and incorrect gpio-keys device node. Change-Id: I44c9529b25a28d41ea451861727d7aa84211976e Signed-off-by: Beomho Seo <>
2014-04-17ASoC: Samsung: correct code in order to get op_clkrefs/changes/63/19263/5Chen Zhen1-4/+7
when i2s->op_clk is NULL we should do clk_get() before clk_get_rate() call , rather than calling clk_get_rate() on NULL clk, which will returns 0. Change-Id: Ic82be597d8e4c27dd670d8d56630c3572e8f7d73 Signed-off-by: Chen Zhen <>
2014-04-16arm: config: tizen: add support for libvirtDariusz Michaluk1-10/+15
libvirt is a toolkit to interact with LXC(Linux kernel containers) current libvirt-lxc driver need some additional kernel features: 1. Control groups (cgroups) CONFIG_CGROUP_DEVICE CONFIG_CPUSETS 2. CFS Scheduler CONFIG_CFS_BANDWIDTH 3. Multiple instances of devpts filesystem CONFIG_DEVPTS_MULTIPLE_INSTANCES 4. Kernel bridging CONFIG_BRIDGE_NETFILTER CONFIG_NETFILTER_XT_TARGET_CHECKSUM CONFIG_STP CONFIG_BRIDGE CONFIG_BRIDGE_IGMP_SNOOPING CONFIG_BRIDGE_VLAN_FILTERING CONFIG_LLC 5. VLAN interface CONFIG_VLAN_8021Q CONFIG_MACVLAN CONFIG_VETH CONFIG_TUN Change-Id: I7c09743d1953b8ddbea99afc8e821c2dd9b826a7 Signed-off-by: Dariusz Michaluk <>
2014-04-15cpuidle:AFTR: Enable STANDBY_WFI0 and STANDBY_WFE0 for cpu0 in AFTR moderefs/changes/12/19412/2Lukasz Majewski1-0/+4
Enabling of CORE0 idle state is based on the state of STANDBYWFI/STANDBYWFE internal signal. Change-Id: I43675fa312ce879f3741644057991bdb33f6cd55 Signed-off-by: Lukasz Majewski <>
2014-04-15cpuidle:clk:Exynos4412: Enable support for clock down when WFI cpuidle state ↵refs/changes/11/19411/2Lukasz Majewski2-5/+22
is entered This patch adds support for setting ARM cores' clock frequency down when entering WFI/WFE based cpuidle state. On the Trats2 device: performance governor, 1.4 GHz frequency, no extra load, 4 cores enabled: Without core clock down feature: 395 mA With core clock down feature: 337 mA Power consumption reduction around 15% Change-Id: I7bae29b0332a97c7b18ffb79f4b0a5ff3d70b7ce Signed-off-by: Lukasz Majewski <>
2014-04-15cpuidle:exynos:AFTR: Use secure monitor calls to enable entering AFTRrefs/changes/10/19410/2Lukasz Majewski4-8/+34
Secure monitor calls are necessary to enter the AFTR low power mode on the trats2 device. Without them it is not possible to access certain CP15 registers (e.g. Power Control Register). Change-Id: I8f91acb80acdbd43c86a679d69037be041d76309 Signed-off-by: Lukasz Majewski <>
2014-04-12drm/exynos: add dmabuf sync support for kms frameworkrefs/changes/04/19004/2Inki Dae4-21/+218
Change-Id: I5937869e5fa2ec2a41e864494eac0077ccdbdb51 Signed-off-by: Inki Dae <>
2014-04-11ARM: dts: Add missing aliases entry for i2c-mhl noderefs/changes/38/19338/2Sylwester Nawrocki1-1/+2
This fixes regression introduced in commit 10d282f12d57a467a83a ARM: exynos: dts: cleanup the dts file for trats2 Without an alias the i2c-mhl get dynamically assigned an I2C bus id 0 which is assigned in DT to the I2C0 hardware controller. As a result I2C0 hardware controller fails to initialize which in turn breaks the camera subsystem driver initialization. Change-Id: I92c254cc1d93899b277761b750b0e657c2daad95 Signed-off-by: Sylwester Nawrocki <>
2014-04-09ARM: odroidx2: update defconfig to enable Audiorefs/changes/13/19213/2Chen Zhen1-1/+43
This enables the necessary configuration for audio,such as SND_TIMER,SND_PCM,SND_JACK, I2S and so on. Change-Id: I6cb157e28529ba5a3756f5df5ddf19a2d59fe3ca Signed-off-by: Chen Zhen <>
2014-04-09ARM: dts: odroidx2: add i2s node and sound node for audiorefs/changes/93/18593/8ChenZhen1-0/+12
In order to config a integrated audio path,it's necessary to define the bus type and codec which we used. Change-Id: I4a65d45b5cec4b81ce1a93deaa614020d6a17ae7 Signed-off-by: Chen Zhen <>
2014-04-08media: s5p_mfc: fix doublly free issuerefs/changes/66/18866/3Zhaowei Yuan1-6/+2
When video_register_device() returns failure, vfd will be freed at once and dev->vfl_dec will be freed after label "err_dec_reg", but the two pointers point to the same area, so it was doublly freed here. Since video_device_release() will be called by video_unregister_device() indirectly, we should remove the two other calls after labels err_enc_reg and err_dec_reg. Change-Id: I5ee8f83eeb47443e2f772914127514eab996c347 Signed-off-by: Zhaowei Yuan <>
2014-04-08ASoC: samsung: add machine driver for odroidx2refs/changes/78/18678/16Chen Zhen3-0/+189
This machine driver primary define the audio path,the supported data format and sample frequency. Change-Id: I2cdb5f6f65b67d0039f234930210f75c1be9fe38 Signed-off-by: Chen Zhen <>
2014-04-08ASoC: Samsung: Do not queue cyclic buffers multiple timesrefs/changes/89/19189/1Tomasz Figa2-2/+18
The legacy S3C-DMA API required every period of a cyclic buffer to be queued separately. After conversion of Samsung ASoC to Samsung DMA wrappers somebody made an assumption that the same is needed for DMA engine API, which is not true. In effect, Samsung ASoC DMA code was queuing the whole cyclic buffer multiple times with a shift of one period per iteration, leading to: a) severe memory waste - up to 13x times more DMA transfer descriptors are allocated than needed, b) possible memory corruption, because further cyclic buffers were out of the original buffers, due to the offset. This patch fixes this problem by making the legacy S3C-DMA API use the same semantics as DMA engine (the whole cyclic buffer is enqueued at once) and modifying users of Samsung DMA wrappers in cyclic mode to behave appropriately. Change-Id: Ib9e656c40ef71e2e90af3f008959eeae19ce7d7e Signed-off-by: Tomasz Figa <> Acked-by: Linus Walleij <> Signed-off-by: Mark Brown <>
2014-04-04Enable seccomp in tizen_defconfig arm configurationrefs/changes/51/19051/1Zofia Abramowska1-1/+2
Enabling seccomp and seccomp filters due to future seccomp related work on platform for limiting access to system for unprivileged applications. Change-Id: Ib067d5510e06d89e539537485fecd63e9bd92c40 Signed-off-by: Zofia Abramowska <>
2014-04-03Removing s3c-rtc status override for exynos4412-trats2.submit/tizen/20140407.043043accepted/tizen/mobile/20140407.043814accepted/tizen/ivi/20140410.192110refs/changes/82/18582/3Marcin Niesluchowski1-4/+0
s3c-rtc is not functioning - initializing its value on every boot. As registering rtc devices is non-deterministic, s3c-rtc may be registered under rtc0 and rtc0 is default device for setting and getting hardware time (hwclock). Another working rtc driver is enabled. Change-Id: I651da859db6ad9b35d422288845c0bebbcf540f5 Signed-off-by: Marcin Niesluchowski <>
2014-04-03cpufreq:LAB: Change method of boost state preservingrefs/changes/01/18901/2Lukasz Majewski1-4/+5
It is not necessary to change the boost state when LAB governor is entered, since LAB will change it according to its own politics. Only enter state is preserved. When leaving the LAB, only when required, work is scheduled to restore boost initial state. Change-Id: I6323f3c0011fe54a33d70c9ad0f9da5360b4a735 Signed-off-by: Lukasz Majewski <>
2014-04-03cpufreq:governor: Add serialization to the cpufreq_governor_dbs() functionrefs/changes/00/18900/2Lukasz Majewski1-2/+12
It is necessary to serialize access to cpufreq_governor_dbs() function, since it can be accessed from different, not protected by any mutex paths like sysfs boost attribute or LAB governor internals. Change-Id: Id7b62db6ca0b7c28f5e8c6286aec312d3d0c971e Signed-off-by: Lukasz Majewski <>