pxa25x.c (85e9ca333d03fbd56b9e123c8456f0d98e20faad) pxa25x.c (04fef228fb00dd79475a2313f4ba73b4fbfe2faa)
1/*
2 * linux/arch/arm/mach-pxa/pxa25x.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code specific to PXA21x/25x/26x variants.

--- 14 unchanged lines hidden (view full) ---

23#include <linux/suspend.h>
24#include <linux/sysdev.h>
25
26#include <asm/hardware.h>
27#include <asm/arch/irqs.h>
28#include <asm/arch/pxa-regs.h>
29#include <asm/arch/pxa2xx-regs.h>
30#include <asm/arch/mfp-pxa25x.h>
1/*
2 * linux/arch/arm/mach-pxa/pxa25x.c
3 *
4 * Author: Nicolas Pitre
5 * Created: Jun 15, 2001
6 * Copyright: MontaVista Software Inc.
7 *
8 * Code specific to PXA21x/25x/26x variants.

--- 14 unchanged lines hidden (view full) ---

23#include <linux/suspend.h>
24#include <linux/sysdev.h>
25
26#include <asm/hardware.h>
27#include <asm/arch/irqs.h>
28#include <asm/arch/pxa-regs.h>
29#include <asm/arch/pxa2xx-regs.h>
30#include <asm/arch/mfp-pxa25x.h>
31#include <asm/arch/reset.h>
31#include <asm/arch/pm.h>
32#include <asm/arch/dma.h>
33
34#include "generic.h"
35#include "devices.h"
36#include "clock.h"
37
38/*

--- 304 unchanged lines hidden (view full) ---

343{
344 int i, ret = 0;
345
346 /* Only add HWUART for PXA255/26x; PXA210/250/27x do not have it. */
347 if (cpu_is_pxa255())
348 clks_register(&pxa25x_hwuart_clk, 1);
349
350 if (cpu_is_pxa21x() || cpu_is_pxa25x()) {
32#include <asm/arch/pm.h>
33#include <asm/arch/dma.h>
34
35#include "generic.h"
36#include "devices.h"
37#include "clock.h"
38
39/*

--- 304 unchanged lines hidden (view full) ---

344{
345 int i, ret = 0;
346
347 /* Only add HWUART for PXA255/26x; PXA210/250/27x do not have it. */
348 if (cpu_is_pxa255())
349 clks_register(&pxa25x_hwuart_clk, 1);
350
351 if (cpu_is_pxa21x() || cpu_is_pxa25x()) {
352
353 reset_status = RCSR;
354
351 clks_register(pxa25x_clks, ARRAY_SIZE(pxa25x_clks));
352
353 if ((ret = pxa_init_dma(16)))
354 return ret;
355
356 pxa25x_init_pm();
357
358 for (i = 0; i < ARRAY_SIZE(pxa25x_sysdev); i++) {

--- 21 unchanged lines hidden ---
355 clks_register(pxa25x_clks, ARRAY_SIZE(pxa25x_clks));
356
357 if ((ret = pxa_init_dma(16)))
358 return ret;
359
360 pxa25x_init_pm();
361
362 for (i = 0; i < ARRAY_SIZE(pxa25x_sysdev); i++) {

--- 21 unchanged lines hidden ---