Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
5e2cbb36
Commit
5e2cbb36
authored
Aug 01, 2017
by
davidcunado-arm
Committed by
GitHub
Aug 01, 2017
Browse files
Merge pull request #1038 from Leo-Yan/fix_vbus_det_irq
hikey: Disable VBUS_DET interrupt for PMIC
parents
235581cf
c9e8774c
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/hisilicon/hikey/hikey_bl1_setup.c
View file @
5e2cbb36
...
...
@@ -288,6 +288,11 @@ static void hikey_hi6553_init(void)
/* select 32.764KHz */
mmio_write_8
(
HI6553_CLK19M2_600_586_EN
,
0x01
);
/* Disable vbus_det interrupts */
data
=
mmio_read_8
(
HI6553_IRQ2_MASK
);
data
=
data
|
0x3
;
mmio_write_8
(
HI6553_IRQ2_MASK
,
data
);
}
static
void
init_mmc0_pll
(
void
)
...
...
plat/hisilicon/hikey/include/hi6553.h
View file @
5e2cbb36
...
...
@@ -19,6 +19,7 @@
#define DISABLE6_XO_CLK_RF2 (1 << 4)
#define HI6553_VERSION_REG (PMUSSI_BASE + (0x000 << 2))
#define HI6553_IRQ2_MASK (PMUSSI_BASE + (0x008 << 2))
#define HI6553_ENABLE2_LDO1_8 (PMUSSI_BASE + (0x029 << 2))
#define HI6553_DISABLE2_LDO1_8 (PMUSSI_BASE + (0x02a << 2))
#define HI6553_ONOFF_STATUS2_LDO1_8 (PMUSSI_BASE + (0x02b << 2))
...
...
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