- May 22, 2015
-
-
Krzysztof Kozlowski authored
Enable the USB OHCI driver for Exynos SoCs: S5PV210, Exynos4 family, Exynos5250, Exynos5440 and Exynos542x/5800 family. Signed-off-by:
Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Reviewed-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Krzysztof Kozlowski authored
Enable support for Thermal Monitoring Unit present on Exynos SoCs. This allows detection of overheat and handling this gracefully. Signed-off-by:
Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Reviewed-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Krzysztof Kozlowski authored
Enable drivers for PMICs and MUICs present on Exynos-based devices: - max14577: charger, fuel gauge (max17040), regulator, used on: Gear 1, Gear 2, - max77693: charger, fuel gauge (max17042), used on: Trats2, - s5m/s2mps: RTC, clock, used on: Arndale, Arndale Octa, Gear 1, Gear 2 This allows full usage of charging stack on these devices along with RTC and 32 kHz clocks. Signed-off-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> [kgene@kernel.org: savedefconfig] Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Krzysztof Kozlowski authored
Current Exynos CPU idle driver supports entering AFTR (Arm Off, Top Running) mode on Exynos3250, Exynos4210 (coupled), Exynos4x12 and Exynos5250. Enable it in default configuration to reduce energy consumption. Signed-off-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
The Cypress All Points Addressable (APA) I2C Trackpad is used in the Samsung Exynos 5250 Snow Chromebook. Build the driver as a module so the device is supported. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
The I2C GPIO arbitration driver is used on the Exynos5250 Snow Chromebook to arbitrate the access to a I2C bus by the Application Processor or a EC. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
Many Exynos devices have devices attached to their display ports. This patch enables the needed Kconfig options to support different configuration such as simple panel, embedded DisplayPort (eDP) to LVDS bridges and HDMI displays. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> [kgene@kernel.org: savedefconfig] Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
The rtc-s3c driver supports a range of S3C series Real-Time-Clocks found on many Samsung SoCs. Build the driver as a module to support these RTC. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
Build the Generic PWM Samsung driver as a module to support PWM devices used in platforms with a Samsung SoC. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
Enable the needed Kconfig options to have support for the ChromeOS EC I2C transport, I2C tunnel and chardev user-space interface. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
Enable the needed kconfig options to have support for Samsung USB 2.0 and USB 3.0 PHY drivers to support the USB PHYs found on Exynos SoCs. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> [kgene@kernel.org: savedefconfig] Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
The Maxim max77802 Power Management IC is used on many Exynos machines. Besides a bunch of regulators, this chip has a Real-Time-Clock (RTC) and 2-channel 32kHz clock outputs. Enable the kernel config options to have the drivers for these devices built as a module. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> [kgene@kernel.org: removing useless REGULATOR_MAX77802 config] Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Javier Martinez Canillas authored
Build the spi-s3c64xx driver as a module to have support for the SPI controller in several Samsung SoCs. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Stefan Agner authored
Select ARM_SINGLE_ARMV7M in defconfigs of the converted ARMv7-M platforms. [arnd: moved the efm32_defconfig change to the patch that originally introduces the symbol, to avoid intermittent regression] Signed-off-by:
Stefan Agner <stefan@agner.ch> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 20, 2015
-
-
Stefan Agner authored
Add defconfig for Linux on Vybrid (vf610) on the secondary Cortex- M4 CPU. The use of a XIP image has been tested which needs to be loaded (e.g. using the custom m4boot loader) to the end of the available RAM at address 0x8f000000. The Cortex-M4 has a code-alias which makes sure that the instructions get fetched through the code bus (alias starts at 0x00800000 => 0x80800000 in system address). Hence, to get optimal performance, use 0x0f000000 as XIP_PHYS_ADDR. This address is additionally shifted by the length of the minimal loader which is inserted by m4boot. Currently, this offset is 0x80. The standard DRAM base address is configured to 0x8C000000, which gives the Cortex-M4 48MiB of RAM. Signed-off-by:
Stefan Agner <stefan@agner.ch> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Arnd Bergmann authored
The original stm32 defconfig file looks for a ./rootfs.cpio file, but that breaks with ../scripts/gen_initramfs_list.sh: Cannot open './rootfs.cpio' when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Maxime Coquelin <mcoquelin.stm32@gmail.com>
-
Arnd Bergmann authored
The original zx defconfig file looks for a ./rootfs.cpio file, but that breaks with scripts/gen_initramfs_list.sh: Cannot open 'initramfs.cpio.gz' when trying to build this kernel. Anybody who relies on the current behavior should change their build scripts to append the initramfs manually, as this patch removes that default in order to help autmatic testing. Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Jun Nie <jun.nie@linaro.org>
-
- May 19, 2015
-
-
Alexandre Belloni authored
Add the Atmel sama5d3 and sama5d4 and their peripherals to multi_v7_defconfig. Note that the console will be ttyAT0 instead of the usual ttyS0. Signed-off-by:
Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by:
Nicolas Ferre <nicolas.ferre@atmel.com>
-
Nicolas Ferre authored
As an update of the sd/mmc DT definition needs the fixed voltage regulator, add it to the at91 defconfigs. Signed-off-by:
Nicolas Ferre <nicolas.ferre@atmel.com>
-
- May 15, 2015
-
-
Maxime Coquelin authored
This patch adds a new config for STM32 MCUs. STM32F429 Discovery board boots successfully with this config applied. Tested-by:
Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by:
Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Jun Nie authored
Add basic defconfig support to zx SOC, including uart, mmc and other common config Signed-off-by:
Jun Nie <jun.nie@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Joachim Eastwood authored
Kernel configuration for NXP LPC18xx and LPC43xx devices. Signed-off-by:
Joachim Eastwood <manabian@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 13, 2015
-
-
Linus Walleij authored
This enables the CoreSight blocks found on the Ux500 SoC into the Ux500 defconfig. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Linus Walleij authored
The Ux500 has a perfectly working PMU so let's put the perf events into the defconfig. This will activate HW_PERF_EVENTS by default. Signed-off-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 12, 2015
-
-
Ard Biesheuvel authored
Enable all drivers under CONFIG_ARM_CRYPTO as modules. Enable CONFIG_KERNEL_MODE_NEON as well so that the modules that either contain a NEON alternative or consist solely of a NEON (or ARMv8 crypto extensions) accelerated implementation are enabled fully as well. Note that the ARMv8 modules will only be built if the detected toolchain version is recent enough (binutils 2.23 or higher). Signed-off-by:
Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Geert Uytterhoeven authored
The legacy-only USB_RCAR_GEN2_PHY driver was replaced by the DT-only PHY_RCAR_GEN2 driver. Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Masahiro Yamada authored
Add UniPhier, a new citizen in the ARM multi platform. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
Baruch Siach authored
This enables the digicolor drivers that are already merged as part of the multi_v7_defconfig file. [arnd: change rtc and i2c to loadable modules] Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 09, 2015
-
-
Rusty Russell authored
We cast away the volatile, but really, why make it volatile at all? We already do a mb() inside the cpumask_empty() loop. Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- May 08, 2015
-
-
Fathi Boudra authored
Signed-off-by:
Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Zhou Wang authored
The GPIO controller of Hisilicon hip04 Soc uses the IP from Sysnopsis, gpio-dwapb.c can be reused to support this GPIO controller. This patch adds related configure item in hisi_defconfig. Acked-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by:
Wei Xu <xuwei5@hisilicon.com>
-
Javier Martinez Canillas authored
The Marvell mwifiex driver prevents the system to enter into a suspend state if the card power is not preserved during a suspend/resume cycle. So Suspend-to-RAM and Suspend-to-idle are failing on Exynos5250 Snow. Add the keep-power-in-suspend Power Management property to the SDIO/MMC node so the mwifiex suspend handler doesn't fail and the system is able to enter into a suspend state. Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Reviewed-by:
Doug Anderson <dianders@chromium.org> Signed-off-by:
Kukjin Kim <kgene@kernel.org>
-
Abhilash Kesavan authored
Remove the extra zero in the "cpu-crit-0" trip point for exynos5420 and exynos5440. Signed-off-by:
Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org>
-
Markus Reichl authored
The Exynos4412 SoC has a s3c6410 RTC where the source clock is now a mandatory property. This patch fixes probe failure of s3c-rtc on Odroid-X2/U2/U3 boards. Signed-off-by:
Markus Reichl <m.reichl@fivetechno.de> Tested-by:
Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by:
Chanwoo Choi <cw00.choi@samsung.com> Reviewed-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Tested-by:
Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by:
Kukjin Kim <kgene@kernel.org>
-
Javier Martinez Canillas authored
Commit ea08de16 ("ARM: dts: Add DISP1 power domain for exynos5420") added a device node for the Exynos5420 DISP1 power domain but dit not make the DP controller a consumer of that power domain. This causes an "Unhandled fault: imprecise external abort" error if the exynos-dp driver tries to access the DP controller registers and the PD was turned off. This lead to a kernel panic and a complete system hang. Make the DP controller device node a consumer of the DISP1 power domain to ensure that the PD is turned on when the exynos-dp driver is probed. Fixes: ea08de16 ("ARM: dts: Add DISP1 power domain for exynos5420") Signed-off-by:
Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by:
Kukjin Kim <kgene@kernel.org>
-
- May 07, 2015
-
-
Fabio Estevam authored
Select IMX50, IMX6SX and LS1021A SoC support. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 06, 2015
-
-
Stefano Stabellini authored
Make sure that xen_swiotlb_init allocates buffers that are DMA capable when at least one memblock is available below 4G. Otherwise we assume that all devices on the SoC can cope with >4G addresses. We do this on ARM and ARM64, where dom0 is mapped 1:1, so pfn == mfn in this case. No functional changes on x86. From: Chen Baozi <baozich@gmail.com> Signed-off-by:
Chen Baozi <baozich@gmail.com> Signed-off-by:
Stefano Stabellini <stefano.stabellini@eu.citrix.com> Tested-by:
Chen Baozi <baozich@gmail.com> Acked-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by:
David Vrabel <david.vrabel@citrix.com>
-
Bobby Powers authored
The following commit: f893959b ("x86/fpu: Don't abuse drop_init_fpu() in flush_thread()") removed drop_init_fpu() usage from flush_thread(). This seems to break things for me - the Go 1.4 test suite fails all over the place with floating point comparision errors (offending commit found through bisection). The functional change was that flush_thread() after this commit only calls restore_init_xstate() when both use_eager_fpu() and !used_math() are true. drop_init_fpu() (now fpu_reset_state()) calls restore_init_xstate() regardless of whether current used_math() - apply the same logic here. Switch used_math() -> tsk_used_math(tsk) to consistently use the grabbed tsk instead of current, like in the rest of flush_thread(). Tested-by:
Dave Hansen <dave.hansen@intel.com> Signed-off-by:
Bobby Powers <bobbypowers@gmail.com> Signed-off-by:
Borislav Petkov <bp@suse.de> Acked-by:
Oleg Nesterov <oleg@redhat.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Pekka Riikonen <priikone@iki.fi> Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com> Cc: Rik van Riel <riel@redhat.com> Cc: Suresh Siddha <sbsiddha@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Fixes: f893959b ("x86/fpu: Don't abuse drop_init_fpu() in flush_thread()") Link: http://lkml.kernel.org/r/1430147441-9820-1-git-send-email-bobbypowers@gmail.com Signed-off-by:
Ingo Molnar <mingo@kernel.org>
-
- May 05, 2015
-
-
Marc Dionne authored
Commit 75182b16 ("x86/asm/entry: Switch all C consumers of kernel_stack to this_cpu_sp0()") changed current_thread_info to use this_cpu_sp0, and indirectly made it rely on init_tss which was exported with EXPORT_PER_CPU_SYMBOL_GPL. As a result some macros and inline functions such as set/get_fs, test_thread_flag and variants have been made unusable for external modules. Make cpu_tss exported with EXPORT_PER_CPU_SYMBOL so that these functions are accessible again, as they were previously. Signed-off-by:
Marc Dionne <marc.dionne@your-file-system.com> Acked-by:
Andy Lutomirski <luto@amacapital.net> Link: http://lkml.kernel.org/r/1430763404-21221-1-git-send-email-marc.dionne@your-file-system.com Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Boris Ostrovsky authored
Commit 61f01dd9 ("x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue") makes AMD processors set SS to __KERNEL_DS in __switch_to() to deal with cases when SS is NULL. This breaks Xen PV guests who do not want to load SS with__KERNEL_DS. Since the problem that the commit is trying to address would have to be fixed in the hypervisor (if it in fact exists under Xen) there is no reason to set X86_BUG_SYSRET_SS_ATTRS flag for PV VPCUs here. This can be easily achieved by adding x86_hyper_xen_hvm.set_cpu_features op which will clear this flag. (And since this structure is no longer HVM-specific we should do some renaming). Signed-off-by:
Boris Ostrovsky <boris.ostrovsky@oracle.com> Reported-by:
Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by:
David Vrabel <david.vrabel@citrix.com>
-