Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
915166d9
Commit
915166d9
authored
Jun 22, 2009
by
Russell King
Committed by
Russell King
Jun 22, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'next-s3c' of
git://aeryn.fluff.org.uk/bjdooks/linux
into devel
parents
3eadd3b2
49fb88af
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
arch/arm/plat-s3c/gpio-config.c
arch/arm/plat-s3c/gpio-config.c
+1
-1
arch/arm/plat-s3c64xx/clock.c
arch/arm/plat-s3c64xx/clock.c
+1
-1
arch/arm/plat-s3c64xx/gpiolib.c
arch/arm/plat-s3c64xx/gpiolib.c
+6
-0
arch/arm/plat-s3c64xx/include/plat/regs-clock.h
arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+5
-5
No files found.
arch/arm/plat-s3c/gpio-config.c
View file @
915166d9
...
...
@@ -119,7 +119,7 @@ int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip,
unsigned
int
shift
=
(
off
&
7
)
*
4
;
u32
con
;
if
(
off
<
8
&&
chip
->
chip
.
ngpio
>
=
8
)
if
(
off
<
8
&&
chip
->
chip
.
ngpio
>
8
)
reg
-=
4
;
if
(
s3c_gpio_is_cfg_special
(
cfg
))
{
...
...
arch/arm/plat-s3c64xx/clock.c
View file @
915166d9
...
...
@@ -191,7 +191,7 @@ static struct clk init_clocks[] = {
.
id
=
-
1
,
.
parent
=
&
clk_h
,
.
enable
=
s3c64xx_hclk_ctrl
,
.
ctrlbit
=
S3C_CLKCON_
S
CLK_UHOST
,
.
ctrlbit
=
S3C_CLKCON_
H
CLK_UHOST
,
},
{
.
name
=
"hsmmc"
,
.
id
=
0
,
...
...
arch/arm/plat-s3c64xx/gpiolib.c
View file @
915166d9
...
...
@@ -321,6 +321,11 @@ static struct s3c_gpio_cfg gpio_2bit_cfg_eint11 = {
.
get_pull
=
s3c_gpio_getpull_updown
,
};
int
s3c64xx_gpio2int_gpn
(
struct
gpio_chip
*
chip
,
unsigned
pin
)
{
return
IRQ_EINT
(
0
)
+
pin
;
}
static
struct
s3c_gpio_chip
gpio_2bit
[]
=
{
{
.
base
=
S3C64XX_GPF_BASE
,
...
...
@@ -353,6 +358,7 @@ static struct s3c_gpio_chip gpio_2bit[] = {
.
base
=
S3C64XX_GPN
(
0
),
.
ngpio
=
S3C64XX_GPIO_N_NR
,
.
label
=
"GPN"
,
.
to_irq
=
s3c64xx_gpio2int_gpn
,
},
},
{
.
base
=
S3C64XX_GPO_BASE
,
...
...
arch/arm/plat-s3c64xx/include/plat/regs-clock.h
View file @
915166d9
...
...
@@ -88,11 +88,11 @@
#define S3C6400_CLKDIV2_SPI0_SHIFT (0)
/* HCLK GATE Registers */
#define S3C_CLKCON_HCLK_
BUS (1<<30
)
#define S3C_CLKCON_HCLK_
SECUR
(1<<29)
#define S3C_CLKCON_HCLK_S
DMA1
(1<<28)
#define S3C_CLKCON_HCLK_SDMA
2
(1<<27)
#define S3C_CLKCON_HCLK_
UHOST
(1<<26)
#define S3C_CLKCON_HCLK_
3DSE (1<<31
)
#define S3C_CLKCON_HCLK_
UHOST
(1<<29)
#define S3C_CLKCON_HCLK_S
ECUR
(1<<28)
#define S3C_CLKCON_HCLK_SDMA
1
(1<<27)
#define S3C_CLKCON_HCLK_
SDMA0
(1<<26)
#define S3C_CLKCON_HCLK_IROM (1<<25)
#define S3C_CLKCON_HCLK_DDR1 (1<<24)
#define S3C_CLKCON_HCLK_DDR0 (1<<23)
...
...
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