summaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)AuthorFilesLines
2014-04-18ARM: dts: exynos4412-trats2: remove incorrect device nodesubmit/tizen/20140418.050855Beomho 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 <beomho.seo@samsung.com>
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 <d.michaluk@samsung.com>
2014-04-15cpuidle:AFTR: Enable STANDBY_WFI0 and STANDBY_WFE0 for cpu0 in AFTR modeLukasz 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 <l.majewski@samsung.com>
2014-04-15cpuidle:clk:Exynos4412: Enable support for clock down when WFI cpuidle state ↵Lukasz 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 <l.majewski@samsung.com>
2014-04-15cpuidle:exynos:AFTR: Use secure monitor calls to enable entering AFTRLukasz 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 <l.majewski@samsung.com>
2014-04-11ARM: dts: Add missing aliases entry for i2c-mhl nodeSylwester 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 <s.nawrocki@samsung.com>
2014-04-09ARM: odroidx2: update defconfig to enable AudioChen 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 <zhen1.chen@samsung.com>
2014-04-09ARM: dts: odroidx2: add i2s node and sound node for audioChenZhen1-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 <zhen1.chen@samsung.com>
2014-04-08ASoC: Samsung: Do not queue cyclic buffers multiple timesTomasz Figa1-2/+11
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 <tomasz.figa@gmail.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
2014-04-04Enable seccomp in tizen_defconfig arm configurationZofia 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 <z.abramowska@samsung.com>
2014-04-03Removing s3c-rtc status override for exynos4412-trats2.submit/tizen/20140407.043043accepted/tizen/mobile/20140407.043814accepted/tizen/ivi/20140410.192110Marcin 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 <m.niesluchow@samsung.com>
2014-04-02ARM: dts: set mmc clock-frequency for odroidx2submit/tizen/20140402.053924Donghwa Lee1-0/+1
from: Jaehoon Chung <jh80.chung@samsung.com> set mmc clock-frequency to 400MHZ for odroidx2 Change-Id: I94b9dccbdd8091e333debbe8b06a881bf3ea7ee9 Signed-off-by: Donghwa Lee <dh09.lee@samsung.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2014-03-24ARM: dts: odroidx2: add i2c1 node for max98090ChenZhen1-0/+12
Add i2c1 node for the codec driver max98090. Change-Id: Ib6afaf7574827540281959a1f8338d50e221df39 Signed-off-by: ChenZhen <zhen1.chen@samsung.com>
2014-03-21tizen: enable zswap/zsmalloc/zbud to compress swap memoryChanho Park1-5/+9
Change-Id: Iccf427f0acecad261b7cd8baa7114ecf9a421914 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-03-20ARM: dts: odroidx2: remove fimd nodeJoonyoung Shim1-27/+0
Our odroidx2 board doesn't have any LCD panel, so it is unnecessary to use fimd. Change-Id: I1924ee52cd34d5763aab989035c51b387de98311 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: EXYNOS: register master power domain for genpd from DTJoonyoung Shim2-0/+15
There is one case for EXYNOS4412 that mixer needs LCD0 power domain as well as TV power domain. If disable LCD0 power domain, mixer occurs underflow of mixer graphic layer0 line buffer and we can't output normal data from hdmi. I don't know why mixer has dependency of LCD0 power domain. We can control the dependency as LCD0 power domain register to master of TV power domain on genpd framework. Change-Id: I71ef5bba37393d2e00c4dd7ea3f7da09d72e8db7 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: odroidx2: update defconfig to enable DRM_EXYNOS_FIMCJoonyoung Shim1-1/+3
DRM_EXYNOS_FIMC needs to use FIMC from DRM. Change-Id: I854807ae13d356761b68a19860a0d618eb4f14fc Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: odroidx2: update defconfig to enable ANDROID_LOGGERJoonyoung Shim1-1/+38
ANDROID_LOGGER needs to use dlogutil at tizen. Change-Id: Ibcad389c6edf8216441948931e9733aa45b04aa1 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: dts: fix base address of sysmmu_tv for exynos4Joonyoung Shim1-2/+2
The base address of sysmmu_tv is 0x12E20000, not 0x13E20000. Wrong base address problem causes below error when kernel boots. [ 2.450988] Unhandled fault: imprecise external abort (0xc06) at 0xb6fd2068 Change-Id: Icc896d02e25800b18659c66cad853fdbf54cae9c Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20dts: exynos4412-trats2: Remove unused device node on trats2 boardBeomho Seo1-18/+0
GP2AP002A00F ligth/proximity sensor is unused on trats2 board. Change-Id: I4ef414eea4aaf336200ec0b97485fcfde2645c2f Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
2014-03-20ARM: odroidx2: update defconfig to fix the number of coresHyungwon Hwang1-1/+1
The processor on Odroid X2 is Exynos4412 which has 4 processing cores. The number of cores on the config file was 2, not 4. Change-Id: Ia153c28e5c00a7a8cec2cda9ee0d24caa0d0c1ba Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
2014-03-20dts: arm: odroidx2: add support for external buttonsHyungwon Hwang1-0/+37
Add support for two external buttons (power & home buttons) Change-Id: I90544bf89c804329dfc78709d48d9eedc2c4a181 Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
2014-03-20ARM: odroidx2: update defconfigMarek Szyprowski1-6/+39
Added drivers for MALI GPU, DMAbuf, DMAbuf-sync, exynos drm iommu and cpufreq. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I427332db24aa52daf4d4addbf9fbad8bc116b62e
2014-03-20ARM: dts: odroidx2: add mali gpu and cpu freqMarek Szyprowski1-0/+14
Add nodes to enable MALI gpu and CPU freq drivers. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Id1cc80e7b4278698603422da8e8a7a07fca38904
2014-03-20ARM: dts: odroidx2: remove obsoleted register debug nodeMarek Szyprowski1-5/+0
Register-debug node was used for some internal debug, it is not needed at in release code. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I3cefb94755850a9c3caa609ed0fb5c5e56d1fc94
2014-03-20cpufreq:LAB:dts:trats2: Add attributes necessary for correct LAB operationLukasz Majewski1-0/+7
Two extra attributes have been added. The "lab-num-of-states" describes how many ranges will be used during LAB operation. Now the span of it equals to 20 (100 / 5). The lab-ctrl-freq attribute maps number of idle CPUs and workload (from scheduler) to LAB operations. It is possible to specify exact freq (e.g. 1300000), enable boost (e.g. 0xFFFFFFFF), set frequency to minimum (0xFFFFFFFE) or rely on ONDEMAND governor to find suitable frequency. Change-Id: I0ea6ffd8626aded5bed34166c59b9d34278feef2 Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-03-20ARM: dts: exynos4412: fix usb3503 swapped gpio propertiesMarek Szyprowski1-2/+2
GPIO properties were swapped in the USB3503 driver. This has been fixed by mainline commit 42416cc81f4990ad8d425b41a0fc8cd985eb5fa5, so now also fix the DTS using this driver. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I42416cc81f4990ad8d425b41a0fc8cd985eb5fa6
2014-03-20ARM: odroidx2: update defconfig for DViCO FusionHDTV USBJoonyoung Shim1-6/+202
This enables au0828 bridge, au8522 dvb frontend and xc5000 tuner for DViCO FusionHDTV USB. Change-Id: I2dcac4f9d543da95de6fe07e80088684b5ae8ad9 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: odroidx2: update defconfigJoonyoung Shim1-23/+45
Enable cgroup, ipv6, nfs and disable serial8250. This will enable to boot until console login prompt on tizen platform. Change-Id: Ie29ee730c4a1f30d1fe201b16aab689f03453d5b Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: odroidx2: enable P3V3 fixed regulator to always onJoonyoung Shim1-1/+1
This fixed regulator is used at usb module mainly, not mmc. Just use to always on it. Change-Id: Ib43ea87aa85cd21aca9f44937c7c7a70c0e916f4 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2014-03-20ARM: defconfig: update tizen_odroidx2_defconfigMarek Szyprowski1-2/+2
Add missing USB3503 HSIC chip driver (enables host usb support) and disable UART debug. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-id: I5ba5ef112a0fb02c8a38673a3bf3dfcefa28f696
2014-03-20Enable FHANDLE, needed by systemd >= 209Maciej Wereski1-1/+1
Change-Id: Ic01e9ad45ff6241ba451742857f5808f56deb970 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
2014-03-20ARM: defconfig: Add tizen_odroidx2_defconfigMarek Szyprowski1-0/+2662
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ic1fb103c9620aedc1bfee0de5906f58d437db19c
2014-03-20arm: dts: exynos4412-odroidx2: add HDMI devicesTomasz Stanislawski1-0/+60
This patch adds configuration of HDMI devices on OdroidX2 board. Moreover, FIMD is enabled as workaround for ia bug caused by unintialized size of framebuffer. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: I8fa76980f35644f886ffc971a4ced1ae03300d12
2014-03-20dts: odroid x2: add support for multimedia blocksMarek Szyprowski1-2/+52
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-id: I7332d504ad79e866ee5e12cca09f8da3416101d5
2014-03-20boost: dts: trats2: Define boost_freq attribute for cpufreq nodeLukasz Majewski1-0/+1
This commit explicitly enables the boost frequency support for Exynos4412 based Trats2 board. Change-Id: Ie51ad5c5d983578c33ede442d3f9d67ee9dfb4f7 Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-03-20cpufreq: dts: trats2: Remove redundant definitions of cpufreq nodeLukasz Majewski1-7/+1
After the dts cleanup the cpufreq nodes were duplicated for trats2. As a result the trats2 had freq_table definition corresponding to SLP_PQ (Proxima PQ) target. Change-Id: I63a7f627c448caa163df5e915b91cd0979da468e Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-03-20ARM: exynos: dts: cleanup the dts file for trats2Jaehoon Chung6-1522/+1602
Unused dts file is removed, and trats2.dts file is created. It's maintained more better than before. Change-Id: Ie51a02044a988fd0e2c8deac2c5fd407f5e374da Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2014-03-20arm: dts: cleanup entries for usb phy for Exynos4Marek Szyprowski10-68/+26
Remove old, obsoleted entries for usb phy and move new common nodes to exynos4x12/exynos4.dtsi files. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: Ie73f5d365dd72ee4cf4f39c7b07706ec286356fe
2014-03-20arm: config: tizen: enable HDMI driversTomasz Stanislawski1-2/+4
This patch enables HDMI drivers including: - DRM HDMI - SII9234 HDMI-to-MHL bridge - Exynos PHY Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: I8d9d6d6163bdda2c8d299bcd8048b10fa7bb2f35
2014-03-20arm: dts: exynos4412-slp-pq: add HDMI devicesTomasz Stanislawski1-0/+73
This patch adds configuration of HDMI devices on SLP-PQ board. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: Ib2992887d3e0054d14dfba1872a575a707249849
2014-03-20arm: dts: universal_c210: add HDMI devicesTomasz Stanislawski1-0/+53
This patch adds configuration of HDMI devices on Universal C210 board. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: Ic391e351309d99dc5f7fef48f78ec08a89819cc9
2014-03-20arm: dts: exynos4: add HDMI devicesTomasz Stanislawski3-0/+43
This patch adds DT nodes for HDMI related devices on SoCs from Exynos4 family. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: I92462470abd05ce14635b33a37b3f1e50e463085
2014-03-20arm: dts: exynos4: add i2c controller for HDMIPHYTomasz Stanislawski1-0/+16
This patch adds DT nodes for I2C controller dedicated for HDMIPHY. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Change-Id: Ia45c9fc0594b534036175deaee5562ca66dcbcc0
2014-03-20cpufreq: boost: trats2: Define boost_freq attribute for cpufreq node.Lukasz Majewski1-0/+1
The Trats2 board (Exynos 4412 rev.1) is now able to work with 1.5 GHz BOOST frequency. Change-Id: Ic7da854dda7b99c9381708c54ff2528bd45a0cd9 Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-03-20pm: exynos: Skip re-enabling L2 cache for early waking-up.Jonghwa Lee1-4/+8
If L2 cache is powered on, accessing L2 cache's control register is forbidden. Ohterwise system will hang up. So, when system fails to go to sleep, we have to avoid reset L2 cache because it still be powered on. Change-Id: Ie0271619116012627477e332b0cd5e60a27882ff Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20Revert "WORKAROUND: Temporary workaround for Suspend-To-Ram."Jonghwa Lee1-1/+1
This reverts commit 682061cb597d5174de6fee211a2ad565c33680f7. Change-Id: I4ac3f3b86ecd6a8b15ea2d266ab84b16aeb69dda Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20dts: exynos4x12: fix clock properties.Beomho Seo2-2/+2
This patch fix incorrect clock properties. And then, move fixed clock properties to exynos4x12.dtsi to avoid further duplication of broken properties. Change-Id: Ib980422ad67af8dc2493f1886f6e26f23b451d12 Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
2014-03-20Enable RTC chips on M0 devicesŁukasz Stelmach2-1/+5
Change-Id: Ide6d17af6d026230c48bededf32e8f15ca41b8e4 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
2014-03-20Include kernel configuration in kernel imageŁukasz Stelmach1-1/+2
Enable IKCONFIG and IKCONFIG_PROC to include the configuration of the kernel in the image and export it via /proc/config.gz. Change-Id: I868ba4cabd4a1517b625e81037d7758651dfa4b4 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>