-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker…
…nel/git/arm/arm-soc Pull ARM SoC fixes from Olof Johansson: "A first set of batches of fixes for 3.13. The diffstat is large mostly because we're adding a defconfig for a family that's been lacking it, and there's some missing clock information added for i.MX and OMAP. The at91 new code is around dealing with RTC/RTT reset at boot to fix possible hangs due to pending wakeup interrupts coming in during early boot" * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (29 commits) ARM: OMAP2+: Fix build for dra7xx without omap4 and 5 ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume doc: devicetree: Add bindings documentation for omap-des driver ARM: dts: doc: Document missing compatible property for omap-sham driver ARM: OMAP3: Beagle: fix return value check in beagle_opp_init() ARM: at91: fix hanged boot due to early rtt-interrupt ARM: at91: fix hanged boot due to early rtc-interrupt video: exynos_mipi_dsim: Remove unused variable ARM: highbank: only select errata 764369 if SMP ARM: sti: only select errata 764369 if SMP ARM: tegra: init fuse before setting reset handler ARM: vt8500: add defconfig for v6/v7 chips ARM: integrator_cp: Set LCD{0,1} enable lines when turning on CLCD ARM: OMAP: devicetree: fix SPI node compatible property syntax items pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init() MAINTAINERS: drop discontinued mailing list ARM: dts: i.MX51: Fix OTG PHY clock ARM: imx: set up pllv3 POWER and BYPASS sequentially ARM: imx: pllv3 needs relock in .set_rate() call ...
- Loading branch information
Showing
39 changed files
with
367 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
OMAP SoC DES crypto Module | ||
|
||
Required properties: | ||
|
||
- compatible : Should contain "ti,omap4-des" | ||
- ti,hwmods: Name of the hwmod associated with the DES module | ||
- reg : Offset and length of the register set for the module | ||
- interrupts : the interrupt-specifier for the DES module | ||
- clocks : A phandle to the functional clock node of the DES module | ||
corresponding to each entry in clock-names | ||
- clock-names : Name of the functional clock, should be "fck" | ||
|
||
Optional properties: | ||
- dmas: DMA specifiers for tx and rx dma. See the DMA client binding, | ||
Documentation/devicetree/bindings/dma/dma.txt | ||
Each entry corresponds to an entry in dma-names | ||
- dma-names: DMA request names should include "tx" and "rx" if present | ||
|
||
Example: | ||
/* DRA7xx SoC */ | ||
des: des@480a5000 { | ||
compatible = "ti,omap4-des"; | ||
ti,hwmods = "des"; | ||
reg = <0x480a5000 0xa0>; | ||
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; | ||
dmas = <&sdma 117>, <&sdma 116>; | ||
dma-names = "tx", "rx"; | ||
clocks = <&l3_iclk_div>; | ||
clock-names = "fck"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
CONFIG_IRQ_DOMAIN_DEBUG=y | ||
CONFIG_NO_HZ=y | ||
CONFIG_HIGH_RES_TIMERS=y | ||
CONFIG_BLK_DEV_INITRD=y | ||
CONFIG_ARCH_MULTI_V6=y | ||
CONFIG_ARCH_WM8750=y | ||
CONFIG_ARCH_WM8850=y | ||
CONFIG_ARM_ERRATA_720789=y | ||
CONFIG_ARM_ERRATA_754322=y | ||
CONFIG_ARM_ERRATA_775420=y | ||
CONFIG_HAVE_ARM_ARCH_TIMER=y | ||
CONFIG_AEABI=y | ||
CONFIG_HIGHMEM=y | ||
CONFIG_HIGHPTE=y | ||
CONFIG_ARM_APPENDED_DTB=y | ||
CONFIG_ARM_ATAG_DTB_COMPAT=y | ||
CONFIG_VFP=y | ||
CONFIG_NEON=y | ||
CONFIG_PM_RUNTIME=y | ||
CONFIG_NET=y | ||
CONFIG_UNIX=y | ||
CONFIG_INET=y | ||
CONFIG_IP_PNP=y | ||
CONFIG_IP_PNP_DHCP=y | ||
CONFIG_DEVTMPFS=y | ||
CONFIG_DEVTMPFS_MOUNT=y | ||
CONFIG_PROC_DEVICETREE=y | ||
CONFIG_EEPROM_93CX6=y | ||
CONFIG_SCSI=y | ||
CONFIG_BLK_DEV_SD=y | ||
CONFIG_NETDEVICES=y | ||
# CONFIG_NET_CADENCE is not set | ||
# CONFIG_NET_VENDOR_BROADCOM is not set | ||
# CONFIG_NET_VENDOR_CIRRUS is not set | ||
# CONFIG_NET_VENDOR_FARADAY is not set | ||
# CONFIG_NET_VENDOR_INTEL is not set | ||
# CONFIG_NET_VENDOR_MARVELL is not set | ||
# CONFIG_NET_VENDOR_MICREL is not set | ||
# CONFIG_NET_VENDOR_NATSEMI is not set | ||
# CONFIG_NET_VENDOR_SEEQ is not set | ||
# CONFIG_NET_VENDOR_SMSC is not set | ||
# CONFIG_NET_VENDOR_STMICRO is not set | ||
CONFIG_VIA_VELOCITY=y | ||
# CONFIG_NET_VENDOR_WIZNET is not set | ||
CONFIG_PHYLIB=y | ||
CONFIG_INPUT_MATRIXKMAP=y | ||
CONFIG_SERIAL_VT8500=y | ||
CONFIG_SERIAL_VT8500_CONSOLE=y | ||
CONFIG_I2C=y | ||
CONFIG_I2C_WMT=y | ||
CONFIG_PINCTRL_SINGLE=y | ||
CONFIG_PINCTRL_WM8750=y | ||
CONFIG_GPIO_GENERIC_PLATFORM=y | ||
CONFIG_POWER_SUPPLY=y | ||
CONFIG_POWER_RESET=y | ||
CONFIG_MFD_SYSCON=y | ||
CONFIG_REGULATOR=y | ||
CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
CONFIG_REGULATOR_GPIO=y | ||
CONFIG_USB=y | ||
CONFIG_USB_EHCI_HCD=y | ||
CONFIG_USB_EHCI_HCD_PLATFORM=y | ||
CONFIG_USB_UHCI_HCD=y | ||
CONFIG_USB_STORAGE=y | ||
CONFIG_NOP_USB_XCEIV=y | ||
CONFIG_USB_GPIO_VBUS=y | ||
CONFIG_USB_ULPI=y | ||
CONFIG_MMC=y | ||
CONFIG_MMC_DEBUG=y | ||
CONFIG_NEW_LEDS=y | ||
CONFIG_LEDS_CLASS=y | ||
CONFIG_LEDS_TRIGGERS=y | ||
CONFIG_RTC_CLASS=y | ||
CONFIG_RTC_DRV_VT8500=y | ||
CONFIG_DMADEVICES=y | ||
CONFIG_COMMON_CLK_DEBUG=y | ||
# CONFIG_IOMMU_SUPPORT is not set | ||
CONFIG_PWM=y | ||
CONFIG_PWM_VT8500=y | ||
CONFIG_RESET_CONTROLLER=y | ||
CONFIG_GENERIC_PHY=y | ||
CONFIG_EXT4_FS=y | ||
CONFIG_TMPFS=y | ||
CONFIG_NFS_FS=y | ||
CONFIG_NFS_V3_ACL=y | ||
CONFIG_NFS_V4=y | ||
CONFIG_ROOT_NFS=y | ||
CONFIG_PRINTK_TIME=y | ||
CONFIG_DEBUG_KERNEL=y | ||
CONFIG_LOCKUP_DETECTOR=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* | ||
* sysirq_mask.c - System-interrupt masking | ||
* | ||
* Copyright (C) 2013 Johan Hovold <jhovold@gmail.com> | ||
* | ||
* Functions to disable system interrupts from backup-powered peripherals. | ||
* | ||
* The RTC and RTT-peripherals are generally powered by backup power (VDDBU) | ||
* and are not reset on wake-up, user, watchdog or software reset. This means | ||
* that their interrupts may be enabled during early boot (e.g. after a user | ||
* reset). | ||
* | ||
* As the RTC and RTT share the system-interrupt line with the PIT, an | ||
* interrupt occurring before a handler has been installed would lead to the | ||
* system interrupt being disabled and prevent the system from booting. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
#include <linux/io.h> | ||
#include <mach/at91_rtt.h> | ||
|
||
#include "generic.h" | ||
|
||
#define AT91_RTC_IDR 0x24 /* Interrupt Disable Register */ | ||
#define AT91_RTC_IMR 0x28 /* Interrupt Mask Register */ | ||
|
||
void __init at91_sysirq_mask_rtc(u32 rtc_base) | ||
{ | ||
void __iomem *base; | ||
u32 mask; | ||
|
||
base = ioremap(rtc_base, 64); | ||
if (!base) | ||
return; | ||
|
||
mask = readl_relaxed(base + AT91_RTC_IMR); | ||
if (mask) { | ||
pr_info("AT91: Disabling rtc irq\n"); | ||
writel_relaxed(mask, base + AT91_RTC_IDR); | ||
(void)readl_relaxed(base + AT91_RTC_IMR); /* flush */ | ||
} | ||
|
||
iounmap(base); | ||
} | ||
|
||
void __init at91_sysirq_mask_rtt(u32 rtt_base) | ||
{ | ||
void __iomem *base; | ||
void __iomem *reg; | ||
u32 mode; | ||
|
||
base = ioremap(rtt_base, 16); | ||
if (!base) | ||
return; | ||
|
||
reg = base + AT91_RTT_MR; | ||
|
||
mode = readl_relaxed(reg); | ||
if (mode & (AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN)) { | ||
pr_info("AT91: Disabling rtt irq\n"); | ||
mode &= ~(AT91_RTT_ALMIEN | AT91_RTT_RTTINCIEN); | ||
writel_relaxed(mode, reg); | ||
(void)readl_relaxed(reg); /* flush */ | ||
} | ||
|
||
iounmap(base); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.