summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
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>
2014-03-20arch: ARM: dts: add support for exynos4210-usbphy driver to tratsAndrzej Hajda1-4/+21
Change-Id: I9758e15225e86050b62068b1156709a71799e4f1 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
2014-03-20tizen: update default config to use slp gadgetChanho Park1-12/+21
The Tizen uses slp composite gadget which is based on android gadget. Until we migrate to configfs based gadget configuration, we should use the slp gadget. It only support sdb and rndis gadget. Change-Id: I9e7afd3ef9865d43d43d2221b30b7b10ef039399 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-03-20cpufreq: exysnos: Fix the way of enabling boost in exynos cpufreq driver.Jonghwa Lee1-1/+0
Follow the codes from ML. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20cpufreq : M0: Allow sailable frequency up to 1.4Ghz @ M0Jonghwa Lee1-0/+6
Signed-off-by : Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20config: tizen: Enable CONFIG_BRCMFMAC for supporting WIFI on M0Jonghwa Lee1-1/+6
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20arm: Thumb=>ARM signal handling setup skips the a few instructions on ↵T.J. Purtell1-4/+8
Snapdragon S4/Krait The Thumb instruction set include an If-Then instruction. If an ARM function is registered as a signal handler, and that signal is delivered inside the block of instructions follow the IT instruction, some of the instructions at the beginning of the signal handler are skipped. This occurs because the IT state bits of the Program Status Register are not cleared by the kernel. The ARM architecture reference specifies that the IT state bits in the PSR must be all zeros in ARM mode or behavior is unspecified. On the Qualcomm Snapdragon S4/Krait architecture CPUs the processor continues to consider the IT state bits while in ARM mode. This makes it so that some instructions are skipped by the CPU. The relevant clipping of the ARM architecture document is available here: https://www.dropbox.com/s/6hpwey3kklw20c1/ITState-ARM-Architecture.pdf This manifests itself in code that uses a lot of signal handling concurrently with complicated logic code compiled for thumb when the signal handler compiled as ARM code. One example is the mono runtime. It uses a signal based mechanism to perform stop the world operation needed by its garbage collector. It is compiled for ARM and generates ARM code, however, bionic (libc for android) is compiled for thumb. During a test case involving native allocation in parallel with garbage collection (signal handling), we found that the test case would crash only when running on a Krait architecture CPU. We found the preceding instructions before the signal to always point to something inside an IT sequence, in this case the logic in the dlfree merging of free heap blocks. After adding a sequence of NOPs to the beginning of the signal handlers, the problem disappeared. We applied the attached patch to the kernel on one of the Krait devices and found that it also alleviated the crashes. The patch simply clears the IT State bits regardless of if the signal handler is an ARM/Thumb function. It also includes the same fix applied to the arm64 compat handler. Signed-off-by: T.J. Purtell <tj@mobisocial.us>
2014-03-20ARM: dts: add clocks and enable pwm for exynos4Sangjung Woo1-1/+4
This patch adds clocks for PWM(Pulse width modulation) timer and enable it. Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2014-03-20Introduce CONFIG_ARCH_HAS_BANDGAP and ARCH_EXYNOS4/5 selects it.Jonghwa Lee2-0/+5
CONFIG_ARCH_HAS_BANDGAP is used for tmu driver in thermal fw. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20dts: Fix exynos4x12 dts file to get thermal sensor regualtor properly.Jonghwa Lee4-11/+6
Fixes regulator consumer name from DT from 'vdd_ts' to 'vtmu' which is used in Exynos tmu driver. And also enable tmu in all exynos4412 boards. Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
2014-03-20tizen:config: Enable THERMAL and BOOSTLukasz Majewski1-2/+120
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
2014-03-20ARM:exynos: Enable boost mode for exynos4412 redwood targetLukasz Majewski1-0/+1
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>