aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-07-04 17:34:51 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-04 17:34:51 -0400
commit8ca302e9c61a1b8852f4bd4def8e7ff59f4c729a (patch)
tree0fe462aa3d2ccb0abaf171a3e5d495518c176276 /include/linux/platform_data
parent612341bda6ada2bfb2f606e0ce894fca5b6468d9 (diff)
parent18cfd9429d8a82c49add8f3ca9d366599bfcac45 (diff)
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC platform updates from Arnd Bergmann: "SoC platform changes (arch/arm/mach-*). This merge window, the bulk is for a few platforms: - Andres Färber adds initial support for the Actions Semi S500 (aka 'owl') platform, a close relative of the S900 platform he adds for arm64. - in mach-omap2, we remove more legacy code - Rockchips gains support for the RV1108 SoC designed for camera applications. - For Atmel, we gain support for MMU-less SoCs (SAME70/V71/S70/V70) - Minor updates for other platforms, including davinci, s3c64xx, prima2, stm32, broadcom nsp, amlogic, pxa, imx and renesas" * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (74 commits) ARM: owl: smp: Drop bogus holding pen ARM: owl: Drop custom machine ARM: owl: smp: Implement SPS power-gating for CPU2 and CPU3 soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating soc: actions: Add Owl SPS dt-bindings: power: Add Owl SPS power domains MAINTAINERS: Update Actions Semi section with SPS ARM: owl: Implement CPU enable-method for S500 MAINTAINERS: Add Actions Semi Owl section ARM: Prepare Actions Semi S500 ARM: socfpga: Increase max number of GPIOs ARM: stm32: Introduce MACH_STM32F469 flag ARM: prima2: remove redundant select CPU_V7 ARM: davinci: fix const warnings ARM: shmobile: pm-rmobile: Use GENPD_FLAG_ALWAYS_ON ARM: OMAP4: hwmod_data: add SHAM crypto accelerator ARM: OMAP4: hwmod data: add des ARM: OMAP4: hwmod data: add aes2 ARM: OMAP4: hwmod data: add aes1 ARM: pxa: Delete an error message for a failed memory allocation in pxa3xx_u2d_probe() ...
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/atmel.h29
1 files changed, 7 insertions, 22 deletions
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h
index d36bc8d17e97..cdceb4d4ef9d 100644
--- a/include/linux/platform_data/atmel.h
+++ b/include/linux/platform_data/atmel.h
@@ -7,9 +7,6 @@
7#ifndef __ATMEL_H__ 7#ifndef __ATMEL_H__
8#define __ATMEL_H__ 8#define __ATMEL_H__
9 9
10#include <linux/mtd/nand.h>
11#include <linux/mtd/partitions.h>
12
13 /* Compact Flash */ 10 /* Compact Flash */
14struct at91_cf_data { 11struct at91_cf_data {
15 int irq_pin; /* I/O IRQ */ 12 int irq_pin; /* I/O IRQ */
@@ -22,26 +19,14 @@ struct at91_cf_data {
22#define AT91_IDE_SWAP_A0_A2 0x02 19#define AT91_IDE_SWAP_A0_A2 0x02
23}; 20};
24 21
25 /* NAND / SmartMedia */
26struct atmel_nand_data {
27 int enable_pin; /* chip enable */
28 int det_pin; /* card detect */
29 int rdy_pin; /* ready/busy */
30 u8 rdy_pin_active_low; /* rdy_pin value is inverted */
31 u8 ale; /* address line number connected to ALE */
32 u8 cle; /* address line number connected to CLE */
33 u8 bus_width_16; /* buswidth is 16 bit */
34 u8 ecc_mode; /* ecc mode */
35 u8 on_flash_bbt; /* bbt on flash */
36 struct mtd_partition *parts;
37 unsigned int num_parts;
38 bool has_dma; /* support dma transfer */
39
40 /* default is false, only for at32ap7000 chip is true */
41 bool need_reset_workaround;
42};
43
44/* FIXME: this needs a better location, but gets stuff building again */ 22/* FIXME: this needs a better location, but gets stuff building again */
23#ifdef CONFIG_ATMEL_PM
45extern int at91_suspend_entering_slow_clock(void); 24extern int at91_suspend_entering_slow_clock(void);
25#else
26static inline int at91_suspend_entering_slow_clock(void)
27{
28 return 0;
29}
30#endif
46 31
47#endif /* __ATMEL_H__ */ 32#endif /* __ATMEL_H__ */