summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ns9xxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [ARM] 4595/1: ns9xxx: define registers as void __iomem * instead of volatile u32Uwe Kleine-König2007-10-134-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-132-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-131-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>