aboutsummaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAge
* ARM: S5PC100: CPU initializationByungho Min2009-08-16
| | | | | | Signed-off-by: Byungho Min <bhmin@samsung.com> [ben-linux@fluff.org: subject fixup] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: UART and SerialByungho Min2009-08-16
| | | | | | | | | | Serial driver of S5PC100 is the same as S3C6400, so S5PC100 shares the serial driver with S3C6400. Uart driver is copied from plat-s3c64xx to plat-s5pc1xx, as I do not use plat-s3c64xx directory. Signed-off-by: Byungho Min <bhmin@samsung.com> [ben-linux@fluff.org: title fixup] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* ARM: S5PC100: Memory mapByungho Min2009-08-16
| | | | | | | | | | S5PC100's the physical IO space starts at 0xe000"0000. To maximize space for vmalloc, the virtual IO space starts at 0xf400"0000 as same as other samsung CPUs(s3c24xx and s3c64xx) do. Signed-off-by: Byungho Min <bhmin@samsung.com> [ben-linux@fluff.org: subject and description fixup] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* Merge branch 'next-s3c64xx-moves' into next-s3cBen Dooks2009-08-14
|\
| * ARM: S3C: Move S3C64xx audio devices into S3C64xx directoryMark Brown2009-08-13
| | | | | | | | | | | | | | Allowing us to make the Kconfig a little bit saner. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C: move timer/pwm handling from plat-s3c24xx to plat-s3cPeter Korsgaard2009-07-30
| | | | | | | | | | | | | | | | The s3c64xx devices use the same hardware core as s3c24xx, so move the timer/pwm handling to plat-s3c so it can be used by both. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * ARM: S3C: move s3c_device_nand from plat-s3c24xx to plat-s3cPeter Korsgaard2009-07-30
| | | | | | | | | | | | | | | | Move the s3c_device_nand platform device from plat-s3c24xx to plat-s3c, now that the nand driver also support the s3c64xx devices. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | Merge branch 'next-s3c64xx' into next-s3cBen Dooks2009-08-14
|\ \
| * | ARM: S3C64XX: Add address mapping for AC97 controllerMark Brown2009-08-13
| | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C64XX: Add mapping for IISv4 portMark Brown2009-08-13
| | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C64XX: Add UART2,UART3 support for SMDK6410 (resend)Matt Hsu2009-08-13
| | | | | | | | | | | | | | | | | | | | | Add proper uartcfg for UART port 2,3 and tidy it up on SMDK6410. Signed-off-by: Matt Hsu <matt@0xlab.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: NCP: make ncp_iodesc static and move it to initdata sectionMarek Szyprowski2009-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make ncp_iodesc struct static to clean a public namespace a bit and move it to __initdata section to save memory a bit. Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | Merge branch 'next-s3c24xx-cpufreq' into next-s3cBen Dooks2009-08-14
|\ \ \
| * | | ARM: S3C: CPUFREQ: Add debugfs support for cpufreqBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add debugfs support for the cpufreq driver to allow information about the system state to be exported to the user. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2410: Add armclk for cpufreq supportBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add armclk for use with the cpufreq support and anything else that may want it. This clock is just a direct descendant of fclk. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: BAST: CPUFREQ: Add board supportBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add board support for CPUFREQ with the Simtec BAST board registering the necessary information with the core. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2410: Add S3C2410A sysdev.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a sysdev S3C2410A sysdev to allow the differentiation of the S3C2410A from the S3C2410. This is needed for the CPUFREQ code to enable the extra features and update cpu specific information. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C24XX: CPUFREQ: S3C2412/S3C2443 IO timing supportBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IO bank timing support for S3C2412/S3C2443. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2412: Update memory register mapping and definitionsBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the mapping of the memory controler registers and add the missing definitions of the register block for the SSMC. The register contents definitions can be found in the pl093 header. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C: Update CPU register mapping practices.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently map-base.h defines the main virtual address mappings made for all the support S3C SoC series, but does not then define any base for per-cpu mappings to be made from. Add S3C_ADDR_CPU() macro to define an virtual address as an offset from the last of the core mappings. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2412: CPUFREQ: Add core support.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add core support for frequency scaling on the S3C2412 SoC. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: OSIRIS: CPUFREQ: Add CPU frequency scaling supportBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CPU frequency scalling support to the Simtec Osiris. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2440: CPUFREQ: Add crystal frequency Kconfig entries.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add entries to select the crystal to select for each different supported board. This information is then available for anything else requiring this, such as the CPUFreq PLL tables. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2440: CPUFREQ: Add PLL tablesBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add PLL tables for the S3C2440. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2440: CPUFREQ: Add core support.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add core support for frequency scaling on the S3C2440 SoC. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2410: CPUFREQ: Add PLL tableBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add PLL table for the S3C2410 SoC. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2410: CPUFREQ: Add core support.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add core support for frequency scaling on the S3C2410 SoC. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C2410: CPUFREQ: Add io-timing support.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add io-timing support for frequency scaling on the S3C2410 SoC. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: Add S3C24XX to CPUFreq KConfigBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the S3C24XX to the main ARM CPUFreq Kconfig support list. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: Add ARCH_HAS_CPUFREQ for presence of CPUFREQ driverBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ARCH_HAS_CPUFREQ so that each machine config can select it if they have CPUFREQ driver support. This means that the CPUFREQ specific area does not need the if statement updating each time a new machine is added. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C: CPUFREQ: Move struct s3c_cpufreq_config to cpu-freq-core.hBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the structure s3c_cpufreq_config from cpu-freq.h to the less advertised cpu-freq-core.h as it is not needed by anything outside the core drivers. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C: CPUFREQ: Documentation for cpufreq headerBen Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update arch/arm/plat-s3c/include/plat/cpu-freq.h to include kerneldoc style documentation. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C24XX: CPUFREQ: Add core support.Ben Dooks2009-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the core of the support for enabling the CPUFreq driver on all S3C24XX based systems. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C24XX: Add BWSCON per-bank information.Ben Dooks2009-07-30
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Add definitions and an accessor macro to deal with reading bus information from S3C2410_BWSCON for any given numbered bank. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | Merge branch 'next-s3c24xx' into next-s3cBen Dooks2009-08-14
|\ \ \
| * | | ARM: S3C24XX: Add SPI bus 1 on GPD8 through GPD10Ben Dooks2009-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add configuration callback for SPI bus 1 on GPD[8..10] and ensure the correct GPIO configuration register definitions in regs-gpio.h Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C24XX: Add platform device for AC97 controllerMark Brown2009-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the definition of the "generic" IRQ in the process. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | | ARM: S3C24XX: Add FIQ IRQ routing supportBen Dooks2009-08-13
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for routing an IRQ from the normal ARM IRQ mechanism to the FIQ input of the processor. Note, also fix a bug where the init_FIQ() function has not been called when CONFIG_FIQ is enabled. Signed-off-by; Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | Merge branch 'next-s3c-machines' into next-s3cBen Dooks2009-08-14
|\ \ \
| * | | ARM: S3C6410: airgoo hmt board supportPeter Korsgaard2009-07-30
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the Airgoo HMT (home media terminal) device. The HMT is a tablet device with a s3c6410, a 7" LCD and a number of peripheral connections. For more details of the hardware specs, see: http://article.gmane.org/gmane.linux.debian.devel.embedded/4307 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> [ben-linux@fluff.org: subject rewrite] Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | Merge branch 'next-s3c-hwmon' into next-s3cBen Dooks2009-08-14
|\ \ \ | |/ / |/| |
| * | ARM: HWMON: S3C24XX series ADC driverBen Dooks2009-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the ADC controller on the S3C series of processors to drivers/hwmon for use with hardware monitoring systems. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C: Add ADC synchronous read call.Ben Dooks2009-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | To add HWMON support, we need a synchronous read() call that blocks until completion. Add the client that is being service to the select and convert callbacks to make the code easier. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: BAST: Add hwmon device informationBen Dooks2009-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add platform device information for the ADC channels to be exported via HWMON. This exports all the ADCs not being used for the touchscreen interface. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
| * | ARM: S3C: Update hwmon device definition and nameBen Dooks2009-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the hwmon device name to something more generic as this should be functional for both the s3c24xx and s3c64xx archs. Since it has yet to have a driver, it is pretty safe to change as there are no extant users. Also add the necessary entry in devs.h which seems to have been missed out at somepoint. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | S3C64XX: Fix ARMCLK configurationMark Brown2009-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of armclk_mask needs to be inverted for use as a mask on the register value when updating ARM_RATIO. This is critical for cpufreq support, without it attempts to scale the frequency of the core trash pretty much the entire clock tree. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | S3C64XX: Fix get_rate() for ARMCLKMark Brown2009-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the requested clock is faster than the parent clock then the parent clock is the closest we can get to the request so we need to return that instead of the requested clock. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | S3C24XX: GPIO: Fix pin range check in s3c_gpiolib_getchipLars-Peter Clausen2009-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the s3c_gpiolib_getchip implementation for s3c24xx the check whether a pin is in the gpio banks range is reversed. Thus the function returns NULL for valid pins and the gpio chip if its not valid. As a result gpio states are not saved/restored properly during suspend/resume. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
* | | Merge branch 'drm-radeon-kms' of ↵Linus Torvalds2009-07-29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 * 'drm-radeon-kms' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (35 commits) drm/radeon: set fb aperture sizes for framebuffer handoff. drm/ttm: fix highuser vs dma32 confusion. drm/radeon: Fix size used for benchmarking BO copies. drm/radeon: Add radeon.test parameter for running BO GPU copy tests. drm/radeon/kms: allow interruptible waits for objects. drm/ttm: powerpc: Fix Highmem cache flushing. x86: Export kmap_atomic_prot() needed for TTM. drm/ttm: Fix ttm in-kernel copying of pages with non-standard caching attributes. drm/ttm: Fix an oops and sync object leak. drm/radeon/kms: vram sizing on certain r100 chips needs workaround. drm/radeon: Pay more attention to object placement requested by userspace. drm/radeon: Fall back to evicting BOs with memcpy if necessary. drm/radeon: Don't unreserve twice on failure to validate. drm/radeon/kms: fix bandwidth computation on avivo hardware drm/radeon/kms: add initial colortiling support. drm/radeon/kms: fix hotspot handling on pre-avivo chips drm/radeon/kms: enable frac fb divs on rs600/rs690/rs740 drm/radeon/kms: add PLL flag to prefer frequencies <= the target freq drm/radeon/kms: block RN50 from using 3D engine. drm/radeon/kms: fix VRAM sizing like DDX does it. ...
| * | | x86: Export kmap_atomic_prot() needed for TTM.Thomas Hellstrom2009-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This functionality is needed to kmap_atomic() highmem pages that may potentially have or are about to set up other mappings with non-standard caching attributes. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>