-
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 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/g…
…it/arm/arm-soc Pull ARM SoC platform updates from Arnd Bergmann: "Newly added support for additional SoCs: - Axis Artpec-6 SoC family - Allwinner A83T SoC - Mediatek MT7623 - NXP i.MX6QP SoC - ST Microelectronics stm32f469 microcontroller New features: - SMP support for Mediatek mt2701 - Big-endian support for NXP i.MX - DaVinci now uses the new DMA engine dma_slave_map - OMAP now uses the new DMA engine dma_slave_map - earlyprintk support for palmchip uart on mach-tango - delay timer support for orion Other: - Exynos PMU driver moved out to drivers/soc/ - Various smaller updates for Renesas, Xilinx, PXA, AT91, OMAP, uniphier" * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (83 commits) ARM: uniphier: rework SMP code to support new System Bus binding ARM: uniphier: add missing of_node_put() ARM: at91: avoid defining CONFIG_* symbols in source code ARM: DRA7: hwmod: Add data for eDMA tpcc, tptc0, tptc1 ARM: imx: Make reset_control_ops const ARM: imx: Do L2 errata only if the L2 cache isn't enabled ARM: imx: select ARM_CPU_SUSPEND only for imx6 dmaengine: pxa_dma: fix the maximum requestor line ARM: alpine: select the Alpine MSI controller driver ARM: pxa: add the number of DMA requestor lines dmaengine: mmp-pdma: add number of requestors dma: mmp_pdma: Add the #dma-requests DT property documentation ARM: OMAP2+: Add rtc hwmod configuration for ti81xx ARM: s3c24xx: Avoid warning for inb/outb ARM: zynq: Move early printk virtual address to vmalloc area ARM: DRA7: hwmod: Add custom reset handler for PCIeSS ARM: SAMSUNG: Remove unused register offset definition ARM: EXYNOS: Cleanup header files inclusion drivers: soc: samsung: Enable COMPILE_TEST MAINTAINERS: Add maintainers entry for drivers/soc/samsung ...
- Loading branch information
Showing
126 changed files
with
2,108 additions
and
1,384 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
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,11 @@ | ||
#include <linux/serial_reg.h> | ||
|
||
#undef UART_TX | ||
#undef UART_LSR | ||
#undef UART_MSR | ||
|
||
#define UART_TX 1 | ||
#define UART_LSR 7 | ||
#define UART_MSR 8 | ||
|
||
#include <debug/8250.S> |
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,20 @@ | ||
menuconfig ARCH_ARTPEC | ||
bool "Axis Communications ARM based ARTPEC SoCs" | ||
depends on ARCH_MULTI_V7 | ||
|
||
if ARCH_ARTPEC | ||
|
||
config MACH_ARTPEC6 | ||
bool "Axis ARTPEC-6 ARM Cortex A9 Platform" | ||
depends on ARCH_MULTI_V7 | ||
select ARM_AMBA | ||
select ARM_GIC | ||
select ARM_GLOBAL_TIMER | ||
select ARM_PSCI | ||
select HAVE_ARM_ARCH_TIMER | ||
select HAVE_ARM_SCU | ||
select HAVE_ARM_TWD if SMP | ||
help | ||
Support for Axis ARTPEC-6 ARM Cortex A9 Platform | ||
|
||
endif |
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 @@ | ||
obj-$(CONFIG_MACH_ARTPEC6) := board-artpec6.o |
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,72 @@ | ||
/* | ||
* ARTPEC-6 device support. | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#include <linux/amba/bus.h> | ||
#include <linux/clocksource.h> | ||
#include <linux/dma-mapping.h> | ||
#include <linux/io.h> | ||
#include <linux/irqchip.h> | ||
#include <linux/irqchip/arm-gic.h> | ||
#include <linux/mfd/syscon.h> | ||
#include <linux/of_platform.h> | ||
#include <linux/of.h> | ||
#include <linux/of_address.h> | ||
#include <linux/clk-provider.h> | ||
#include <linux/regmap.h> | ||
#include <linux/smp.h> | ||
#include <asm/smp_scu.h> | ||
#include <asm/mach/arch.h> | ||
#include <asm/mach/map.h> | ||
#include <asm/psci.h> | ||
#include <linux/arm-smccc.h> | ||
|
||
|
||
#define ARTPEC6_DMACFG_REGNUM 0x10 | ||
#define ARTPEC6_DMACFG_UARTS_BURST 0xff | ||
|
||
#define SECURE_OP_L2C_WRITEREG 0xb4000001 | ||
|
||
static void __init artpec6_init_machine(void) | ||
{ | ||
struct regmap *regmap; | ||
|
||
regmap = syscon_regmap_lookup_by_compatible("axis,artpec6-syscon"); | ||
|
||
if (!IS_ERR(regmap)) { | ||
/* Use PL011 DMA Burst Request signal instead of DMA | ||
* Single Request | ||
*/ | ||
regmap_write(regmap, ARTPEC6_DMACFG_REGNUM, | ||
ARTPEC6_DMACFG_UARTS_BURST); | ||
}; | ||
|
||
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
} | ||
|
||
static void artpec6_l2c310_write_sec(unsigned long val, unsigned reg) | ||
{ | ||
struct arm_smccc_res res; | ||
|
||
arm_smccc_smc(SECURE_OP_L2C_WRITEREG, reg, val, 0, | ||
0, 0, 0, 0, &res); | ||
|
||
WARN_ON(res.a0); | ||
} | ||
|
||
static const char * const artpec6_dt_match[] = { | ||
"axis,artpec6", | ||
NULL | ||
}; | ||
|
||
DT_MACHINE_START(ARTPEC6, "Axis ARTPEC-6 Platform") | ||
.l2c_aux_val = 0x0C000000, | ||
.l2c_aux_mask = 0xF3FFFFFF, | ||
.l2c_write_sec = artpec6_l2c310_write_sec, | ||
.init_machine = artpec6_init_machine, | ||
.dt_compat = artpec6_dt_match, | ||
MACHINE_END |
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.