summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ns9xxx
Commit message (Collapse)AuthorAgeFilesLines
* ns9xxx: fix assembler version of __REG2 to be consistent with the C versionUwe Kleine-König2008-05-301-2/+2
| | | | | | | | | It's not very critical because __REG2 isn't used in assembler code currently. Additionally some white space noise is fixed. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
* ns9xxx: let putc autodetect where to writeUwe Kleine-König2008-03-311-7/+136
| | | | | | | | Now putc writes to the first enabled internal UART. If there is none the external UART on the a9m9750dev board is used (if enabled). Otherwise there is no output. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
* ns9xxx: prepare for adding support for Digi ns921x processorsUwe Kleine-König2008-03-317-134/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | The hardware team changed some things that were taken as being common to all ns9xxx processors up to now. This patch addresses: - irqs: s/IRQ_/IRQ_NS9360_/ - system module registers: some registers are still general, their definition lives now in include/asm-arm/arch-ns9xxx/regs-sys-common.h. The ns9360 specific ones are in .../regs-sys-ns9360.h As a result ns9360_systemclock cannot be static inline any more as its definition needs regs-sys-ns9360.h. This becomes a real problem when adding support for ns9215 as this will need regs-sys-ns9215.h and including both files will not work. For the same reason ns9360_reset() is now non-inline and gpio functions live in their own file. - register mapping: s/ns9xxx_map_io/ns9360_map_io/ - timer registers: move time.c to time-ns9360.c; s/ns9xxx_timer/ns9360_timer/ Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
* ns9xxx: add module_is_..., processor_is_... and board_is_... for many machsUwe Kleine-König2008-03-313-7/+112
| | | | | | Most of the machines are not yet supported, but I have to start somewhere. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
* ns9xxx: Use get_irqnr_preamble to initialize base registerUwe Kleine-König2008-03-311-1/+1
| | | | | | | This patch optimizes the irq handling a bit. Now the base register is only computed once if more than one irq is pending. Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
* [ARM] 4595/1: ns9xxx: define registers as void __iomem * instead of volatile u32Uwe Kleine-König2007-10-124-13/+7
| | | | | | | As a consequence registers are now accessed with __raw_{read,write}[bl]. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4591/1: ns9xxx: simplify REGSET, REGGET and introduce ..._IDX variantsUwe Kleine-König2007-10-122-13/+30
| | | | | | | | | | | | | | The semantic of the REGSET macros didn't change, but hopefully it's more obvious as it's now. REGGET is changed to return the unshifted value, analogous to REGSET. REGGETIM behaves as REGGET before. All callers changed. ..._IDX is used to work with registers that need a parameter like BBU_GCONFb1. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4590/1: ns9xxx: add gpio handling functionsUwe Kleine-König2007-10-121-0/+47
| | | | | | | | | | | This implementation conforms to the general GPIO API introduced in 2.6.21. This patch was signed-of by David Brownell before I exported the functions using EXPORT_SYMBOL. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4487/1: ns9xxx: complete definition of GPIO related registersUwe Kleine-König2007-07-201-2/+26
| | | | | | | | | | | | | I changed the naming to be more obvious---unfortunately the HRM doesn't specify these. Moreover the numbering is changed to be zero indexed as this is more natural. Adjust all callers. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4486/1: ns9xxx: fix a typo in the register definitions.Uwe Kleine-König2007-07-201-3/+3
| | | | | | | Fixed all users. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4484/1: ns9xxx: fix definition of SYS_TCx_TEN_DISUwe Kleine-König2007-07-201-1/+1
| | | | | Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4301/1: add mach type cc9p9360jsUwe Kleine-König2007-04-212-1/+4
| | | | | | | | | | | The support for that machine is not yet complete, but it's enough to be useful as a test platform for the serial and ethernet driver. Moreover a typo in the product name is fixed that I missed in the last patch. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4294/1: ns9xxx: Determine system clock from PLL register settingsUwe Kleine-König2007-04-211-2/+32
| | | | | | | | | | The function attribute const is abused here as the PLL register is read. But I think this is all right because the PLL register cannot change without a reset. Note: This patch depends on 4293/1 Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4293/1: ns9xxx: Add bit fields FS and ND to the definition ofUwe Kleine-König2007-04-211-0/+6
| | | | | | | SYS_PLL register Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4292/1: ns9xxx: Make REGGET consistant with REGSETUwe Kleine-König2007-04-211-2/+3
| | | | | | | | | | | This implies that REGGET gets a new parameter "var" to allow to hold the actual register value in a variable. Moreover REGGET was broken because it used "field" instead of "reg ## _ ## field" which proves that there are no callers to fix :-) Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4235/1: ns9xxx: declare the clock functions as "const"Uwe Kleine-König2007-03-201-3/+7
| | | | | | | | This patch removes some "const"s that I introduced thinking they mean the same thing as the "const"s introduced here. So it fixes three warnings. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4234/1: Introduce get_irqnr_preamble and arch_ret_to_user for ns9xxx.Uwe Kleine-König2007-02-251-0/+6
| | | | | | | | This is a follow up for f80dff9da07d81da16e3b842118d47b9febf9c01 which didn't include adaption for the new ns9xxx machine support. Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] 4210/1: base for new machine type "NetSilicon NS9360"Uwe Kleine-König2007-02-1718-0/+772
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
OpenPOWER on IntegriCloud