Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
72aa1a62
Commit
72aa1a62
authored
Feb 06, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
b4232896
361be611
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
39 deletions
+33
-39
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/lubbock.c
+2
-1
include/asm-arm/arch-pxa/pxa-regs.h
include/asm-arm/arch-pxa/pxa-regs.h
+31
-38
No files found.
arch/arm/mach-pxa/lubbock.c
View file @
72aa1a62
...
@@ -29,12 +29,13 @@
...
@@ -29,12 +29,13 @@
#include <asm/mach/map.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <asm/hardware/sa1111.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/lubbock.h>
#include <asm/arch/udc.h>
#include <asm/arch/udc.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/pxafb.h>
#include <asm/arch/mmc.h>
#include <asm/arch/mmc.h>
#include <asm/hardware/sa1111.h>
#include "generic.h"
#include "generic.h"
...
...
include/asm-arm/arch-pxa/pxa-regs.h
View file @
72aa1a62
...
@@ -444,7 +444,8 @@
...
@@ -444,7 +444,8 @@
*/
*/
/* FIXME: This clash with SA1111 defines */
/* FIXME: This clash with SA1111 defines */
#ifndef CONFIG_SA1111
#ifndef _ASM_ARCH_SA1111
#define SACR0 __REG(0x40400000)
/* Global Control Register */
#define SACR0 __REG(0x40400000)
/* Global Control Register */
#define SACR1 __REG(0x40400004)
/* Serial Audio I 2 S/MSB-Justified Control Register */
#define SACR1 __REG(0x40400004)
/* Serial Audio I 2 S/MSB-Justified Control Register */
#define SASR0 __REG(0x4040000C)
/* Serial Audio I 2 S/MSB-Justified Interface and FIFO Status Register */
#define SASR0 __REG(0x4040000C)
/* Serial Audio I 2 S/MSB-Justified Interface and FIFO Status Register */
...
@@ -452,45 +453,37 @@
...
@@ -452,45 +453,37 @@
#define SAICR __REG(0x40400018)
/* Serial Audio Interrupt Clear Register */
#define SAICR __REG(0x40400018)
/* Serial Audio Interrupt Clear Register */
#define SADIV __REG(0x40400060)
/* Audio Clock Divider Register. */
#define SADIV __REG(0x40400060)
/* Audio Clock Divider Register. */
#define SADR __REG(0x40400080)
/* Serial Audio Data Register (TX and RX FIFO access Register). */
#define SADR __REG(0x40400080)
/* Serial Audio Data Register (TX and RX FIFO access Register). */
#endif
#define SACR0_RFTH(x) (x << 12)
/* Rx FIFO Interrupt or DMA Trigger Threshold */
#define SACR0_RFTH(x) (x << 12)
/* Rx FIFO Interrupt or DMA Trigger Threshold */
#define SACR0_TFTH(x) (x << 8)
/* Tx FIFO Interrupt or DMA Trigger Threshold */
#define SACR0_TFTH(x) (x << 8)
/* Tx FIFO Interrupt or DMA Trigger Threshold */
#define SACR0_STRF (1 << 5)
/* FIFO Select for EFWR Special Function */
#define SACR0_STRF (1 << 5)
/* FIFO Select for EFWR Special Function */
#define SACR0_EFWR (1 << 4)
/* Enable EFWR Function */
#define SACR0_EFWR (1 << 4)
/* Enable EFWR Function */
#define SACR0_RST (1 << 3)
/* FIFO, i2s Register Reset */
#define SACR0_RST (1 << 3)
/* FIFO, i2s Register Reset */
#define SACR0_BCKD (1 << 2)
/* Bit Clock Direction */
#define SACR0_BCKD (1 << 2)
/* Bit Clock Direction */
#define SACR0_ENB (1 << 0)
/* Enable I2S Link */
#define SACR0_ENB (1 << 0)
/* Enable I2S Link */
#define SACR1_ENLBF (1 << 5)
/* Enable Loopback */
#define SACR1_ENLBF (1 << 5)
/* Enable Loopback */
#define SACR1_DRPL (1 << 4)
/* Disable Replaying Function */
#define SACR1_DRPL (1 << 4)
/* Disable Replaying Function */
#define SACR1_DREC (1 << 3)
/* Disable Recording Function */
#define SACR1_DREC (1 << 3)
/* Disable Recording Function */
#define SACR1_AMSL (1 << 1)
/* Specify Alternate Mode */
#define SACR1_AMSL (1 << 1)
/* Specify Alternate Mode */
#define SASR0_I2SOFF (1 << 7)
/* Controller Status */
#define SASR0_I2SOFF (1 << 7)
/* Controller Status */
#define SASR0_ROR (1 << 6)
/* Rx FIFO Overrun */
#define SASR0_ROR (1 << 6)
/* Rx FIFO Overrun */
#define SASR0_TUR (1 << 5)
/* Tx FIFO Underrun */
#define SASR0_TUR (1 << 5)
/* Tx FIFO Underrun */
#define SASR0_RFS (1 << 4)
/* Rx FIFO Service Request */
#define SASR0_RFS (1 << 4)
/* Rx FIFO Service Request */
#define SASR0_TFS (1 << 3)
/* Tx FIFO Service Request */
#define SASR0_TFS (1 << 3)
/* Tx FIFO Service Request */
#define SASR0_BSY (1 << 2)
/* I2S Busy */
#define SASR0_BSY (1 << 2)
/* I2S Busy */
#define SASR0_RNE (1 << 1)
/* Rx FIFO Not Empty */
#define SASR0_RNE (1 << 1)
/* Rx FIFO Not Empty */
#define SASR0_TNF (1 << 0)
/* Tx FIFO Not Empty */
#define SASR0_TNF (1 << 0)
/* Tx FIFO Not Empty */
#define SAICR_ROR (1 << 6)
/* Clear Rx FIFO Overrun Interrupt */
#define SADIV_3_058M 0x0c
/* Serial Clock Divider 3.058MHz */
#define SAICR_TUR (1 << 5)
/* Clear Tx FIFO Underrun Interrupt */
#define SADIV_2_836M 0x0d
/* 2.836 MHz */
#define SADIV_1_405M 0x1a
/* 1.405 MHz */
#define SAIMR_ROR (1 << 6)
/* Enable Rx FIFO Overrun Condition Interrupt */
#define SADIV_1_026M 0x24
/* 1.026 MHz */
#define SAIMR_TUR (1 << 5)
/* Enable Tx FIFO Underrun Condition Interrupt */
#define SADIV_702K 0x34
/* 702 kHz */
#define SAIMR_RFS (1 << 4)
/* Enable Rx FIFO Service Interrupt */
#define SADIV_513K 0x48
/* 513 kHz */
#define SAIMR_TFS (1 << 3)
/* Enable Tx FIFO Service Interrupt */
#define SAICR_ROR (1 << 6)
/* Clear Rx FIFO Overrun Interrupt */
#define SAICR_TUR (1 << 5)
/* Clear Tx FIFO Underrun Interrupt */
#define SAIMR_ROR (1 << 6)
/* Enable Rx FIFO Overrun Condition Interrupt */
#define SAIMR_TUR (1 << 5)
/* Enable Tx FIFO Underrun Condition Interrupt */
#define SAIMR_RFS (1 << 4)
/* Enable Rx FIFO Service Interrupt */
#define SAIMR_TFS (1 << 3)
/* Enable Tx FIFO Service Interrupt */
#endif
/*
/*
* AC97 Controller registers
* AC97 Controller registers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment