diff options
author | Pawel Moll <pawel.moll@arm.com> | 2012-10-09 07:56:36 -0400 |
---|---|---|
committer | Pawel Moll <pawel.moll@arm.com> | 2012-11-05 12:09:51 -0500 |
commit | 38669e045dbf8f62a008898a7fb1e93975b3817c (patch) | |
tree | b989816e1a4625729189c08eb08367bc73b268ff /include | |
parent | 842839a37a9a9ac12d88930b6605c620fc09bc1d (diff) |
ARM: vexpress: Start using new Versatile Express infrastructure
This patch starts using all the configuration infrastructure.
- generic GPIO library is forced now
- sysreg GPIOs are used as MMC CD and WP information sources;
thanks to this MMCI auxiliary data is not longer necessary
- DVI muxer and mode control is removed from non-DT V2P-CA9 code
as this is now handled by the vexpress-dvi driver
- clock generators control is removed as is being handled by the
common clock driver now
- the sysreg and sysctl control is now delegated to the
appropriate drivers and all related code was removed
- NOR Flash set_vpp function has been removed as the control
bit used does _not_ control its VPP line, but the #WP signal
instead (which is de facto unusable in case of Linux MTD
drivers); this also allowed the remove its DT auxiliary
data
The non-DT code defines only minimal required number of
the config devices. Device Trees are updated to make use
of all new features.
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/vexpress.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/vexpress.h b/include/linux/vexpress.h index 09c81d7a22de..c52215ff4245 100644 --- a/include/linux/vexpress.h +++ b/include/linux/vexpress.h | |||
@@ -107,4 +107,15 @@ unsigned __vexpress_get_site(struct device *dev, struct device_node *node); | |||
107 | void vexpress_sysreg_early_init(void __iomem *base); | 107 | void vexpress_sysreg_early_init(void __iomem *base); |
108 | void vexpress_sysreg_of_early_init(void); | 108 | void vexpress_sysreg_of_early_init(void); |
109 | 109 | ||
110 | void vexpress_power_off(void); | ||
111 | void vexpress_restart(char str, const char *cmd); | ||
112 | |||
113 | /* Clocks */ | ||
114 | |||
115 | struct clk *vexpress_osc_setup(struct device *dev); | ||
116 | void vexpress_osc_of_setup(struct device_node *node); | ||
117 | |||
118 | void vexpress_clk_init(void __iomem *sp810_base); | ||
119 | void vexpress_clk_of_init(void); | ||
120 | |||
110 | #endif | 121 | #endif |