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
Kirill Smelkov
linux
Commits
738384aa
Commit
738384aa
authored
Dec 13, 2011
by
Arnd Bergmann
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'imx-fixes-for-arnd' of
git://git.pengutronix.de/git/imx/linux-2.6
into fixes
parents
dc47ce90
847a2ee7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
5 deletions
+11
-5
arch/arm/mach-mx5/board-mx51_babbage.c
arch/arm/mach-mx5/board-mx51_babbage.c
+1
-1
arch/arm/mach-mx5/board-mx53_evk.c
arch/arm/mach-mx5/board-mx53_evk.c
+1
-1
arch/arm/mach-mx5/board-mx53_loco.c
arch/arm/mach-mx5/board-mx53_loco.c
+1
-1
arch/arm/mach-mx5/board-mx53_smd.c
arch/arm/mach-mx5/board-mx53_smd.c
+1
-1
arch/arm/plat-mxc/cpufreq.c
arch/arm/plat-mxc/cpufreq.c
+1
-0
arch/arm/plat-mxc/pwm.c
arch/arm/plat-mxc/pwm.c
+6
-1
No files found.
arch/arm/mach-mx5/board-mx51_babbage.c
View file @
738384aa
...
...
@@ -362,7 +362,7 @@ static void __init mx51_babbage_init(void)
{
iomux_v3_cfg_t
usbh1stp
=
MX51_PAD_USBH1_STP__USBH1_STP
;
iomux_v3_cfg_t
power_key
=
NEW_PAD_CTRL
(
MX51_PAD_EIM_A27__GPIO2_21
,
PAD_CTL_SRE_FAST
|
PAD_CTL_DSE_HIGH
|
PAD_CTL_PUS_100K_UP
);
PAD_CTL_SRE_FAST
|
PAD_CTL_DSE_HIGH
);
imx51_soc_init
();
...
...
arch/arm/mach-mx5/board-mx53_evk.c
View file @
738384aa
...
...
@@ -106,7 +106,7 @@ static inline void mx53_evk_fec_reset(void)
gpio_set_value
(
MX53_EVK_FEC_PHY_RST
,
1
);
}
static
struct
fec_platform_data
mx53_evk_fec_pdata
=
{
static
const
struct
fec_platform_data
mx53_evk_fec_pdata
__initconst
=
{
.
phy
=
PHY_INTERFACE_MODE_RMII
,
};
...
...
arch/arm/mach-mx5/board-mx53_loco.c
View file @
738384aa
...
...
@@ -242,7 +242,7 @@ static inline void mx53_loco_fec_reset(void)
gpio_set_value
(
LOCO_FEC_PHY_RST
,
1
);
}
static
struct
fec_platform_data
mx53_loco_fec_data
=
{
static
const
struct
fec_platform_data
mx53_loco_fec_data
__initconst
=
{
.
phy
=
PHY_INTERFACE_MODE_RMII
,
};
...
...
arch/arm/mach-mx5/board-mx53_smd.c
View file @
738384aa
...
...
@@ -104,7 +104,7 @@ static inline void mx53_smd_fec_reset(void)
gpio_set_value
(
SMD_FEC_PHY_RST
,
1
);
}
static
struct
fec_platform_data
mx53_smd_fec_data
=
{
static
const
struct
fec_platform_data
mx53_smd_fec_data
__initconst
=
{
.
phy
=
PHY_INTERFACE_MODE_RMII
,
};
...
...
arch/arm/plat-mxc/cpufreq.c
View file @
738384aa
...
...
@@ -17,6 +17,7 @@
* the CPU clock speed on the fly.
*/
#include <linux/module.h>
#include <linux/cpufreq.h>
#include <linux/clk.h>
#include <linux/err.h>
...
...
arch/arm/plat-mxc/pwm.c
View file @
738384aa
...
...
@@ -32,6 +32,9 @@
#define MX3_PWMSAR 0x0C
/* PWM Sample Register */
#define MX3_PWMPR 0x10
/* PWM Period Register */
#define MX3_PWMCR_PRESCALER(x) (((x - 1) & 0xFFF) << 4)
#define MX3_PWMCR_DOZEEN (1 << 24)
#define MX3_PWMCR_WAITEN (1 << 23)
#define MX3_PWMCR_DBGEN (1 << 22)
#define MX3_PWMCR_CLKSRC_IPG_HIGH (2 << 16)
#define MX3_PWMCR_CLKSRC_IPG (1 << 16)
#define MX3_PWMCR_EN (1 << 0)
...
...
@@ -77,7 +80,9 @@ int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
writel
(
duty_cycles
,
pwm
->
mmio_base
+
MX3_PWMSAR
);
writel
(
period_cycles
,
pwm
->
mmio_base
+
MX3_PWMPR
);
cr
=
MX3_PWMCR_PRESCALER
(
prescale
)
|
MX3_PWMCR_EN
;
cr
=
MX3_PWMCR_PRESCALER
(
prescale
)
|
MX3_PWMCR_DOZEEN
|
MX3_PWMCR_WAITEN
|
MX3_PWMCR_DBGEN
|
MX3_PWMCR_EN
;
if
(
cpu_is_mx25
())
cr
|=
MX3_PWMCR_CLKSRC_IPG
;
...
...
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