Skip to content

Commit 09cab48

Browse files
committed
Merge tag 'soc-arm-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull SoC ARM code updates from Arnd Bergmann: "These are very minimal changes for 32-bit Arm platform code, enabling SMP bringup for one more SoC variant (mt6582) among spelling changes and a build warning fix" * tag 'soc-arm-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: ARM: omap1: avoid symbol clashes in fiq handler ARM: gemini: fix typos in comments ARM: versatile: Fix typo in versatile.c ARM: OMAP2+: Fix falg->flag typo in omap_smc2() ARM: mediatek: add MT6582 smp bring up code ARM: mediatek: add board_dt_compat entry for the MT6582 SoC
2 parents b4c6c76 + 3ce8f4a commit 09cab48

8 files changed

Lines changed: 29 additions & 23 deletions

File tree

arch/arm/mach-gemini/board-dt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void gemini_idle(void)
3434
{
3535
/*
3636
* Because of broken hardware we have to enable interrupts or the CPU
37-
* will never wakeup... Acctualy it is not very good to enable
37+
* will never wakeup... Actually it is not very good to enable
3838
* interrupts first since scheduler can miss a tick, but there is
3939
* no other way around this. Platforms that needs it for power saving
4040
* should enable it in init code, since by default it is

arch/arm/mach-mediatek/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ config MACH_MT6572
1919
bool "MediaTek MT6572 SoCs support"
2020
default ARCH_MEDIATEK
2121

22+
config MACH_MT6582
23+
bool "MediaTek MT6582 SoCs support"
24+
default ARCH_MEDIATEK
25+
2226
config MACH_MT6589
2327
bool "MediaTek MT6589 SoCs support"
2428
default ARCH_MEDIATEK

arch/arm/mach-mediatek/mediatek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ static void __init mediatek_timer_init(void)
3939
static const char * const mediatek_board_dt_compat[] = {
4040
"mediatek,mt2701",
4141
"mediatek,mt6572",
42+
"mediatek,mt6582",
4243
"mediatek,mt6589",
4344
"mediatek,mt6592",
4445
"mediatek,mt7623",

arch/arm/mach-mediatek/platsmp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
5656

5757
static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
5858
{ .compatible = "mediatek,mt6572", .data = &mtk_mt6572_boot },
59+
{ .compatible = "mediatek,mt6582", .data = &mtk_mt7623_boot },
5960
{ .compatible = "mediatek,mt6589", .data = &mtk_mt6589_boot },
6061
{ .compatible = "mediatek,mt7623", .data = &mtk_mt7623_boot },
6162
{ .compatible = "mediatek,mt7629", .data = &mtk_mt7623_boot },

arch/arm/mach-omap1/ams-delta-fiq-handler.S

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,41 +97,41 @@ ENTRY(qwerty_fiqin_start)
9797

9898
ldr r13, [r12, #IRQ_ITR_REG_OFFSET] @ fetch interrupts status
9999
bics r13, r13, r11 @ clear masked - any left?
100-
beq exit @ none - spurious FIQ? exit
100+
beq .Lexit @ none - spurious FIQ? exit
101101

102102
ldr r10, [r12, #IRQ_SIR_FIQ_REG_OFFSET] @ get requested interrupt number
103103

104104
mov r8, #2 @ reset FIQ agreement
105105
str r8, [r12, #IRQ_CONTROL_REG_OFFSET]
106106

107107
cmp r10, #(INT_GPIO_BANK1 - NR_IRQS_LEGACY) @ is it GPIO interrupt?
108-
beq gpio @ yes - process it
108+
beq .Lgpio @ yes - process it
109109

110110
mov r8, #1
111111
orr r8, r11, r8, lsl r10 @ mask spurious interrupt
112112
str r8, [r12, #IRQ_MIR_REG_OFFSET]
113-
exit:
113+
.Lexit:
114114
subs pc, lr, #4 @ return from FIQ
115115
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
116116

117117

118118
@@@@@@@@@@@@@@@@@@@@@@@@@@@
119-
gpio: @ GPIO bank interrupt handler
119+
.Lgpio: @ GPIO bank interrupt handler
120120
ldr r12, omap1510_gpio_base @ set base pointer to GPIO bank
121121

122122
ldr r11, [r12, #OMAP1510_GPIO_INT_MASK] @ fetch GPIO interrupts mask
123-
restart:
123+
.Lrestart:
124124
ldr r13, [r12, #OMAP1510_GPIO_INT_STATUS] @ fetch status bits
125125
bics r13, r13, r11 @ clear masked - any left?
126-
beq exit @ no - spurious interrupt? exit
126+
beq .Lexit @ no - spurious interrupt? exit
127127

128128
orr r11, r11, r13 @ mask all requested interrupts
129129
str r11, [r12, #OMAP1510_GPIO_INT_MASK]
130130

131131
str r13, [r12, #OMAP1510_GPIO_INT_STATUS] @ ack all requested interrupts
132132

133133
ands r10, r13, #KEYBRD_CLK_MASK @ extract keyboard status - set?
134-
beq hksw @ no - try next source
134+
beq .Lhksw @ no - try next source
135135

136136

137137
@@@@@@@@@@@@@@@@@@@@@@
@@ -145,10 +145,10 @@ restart:
145145

146146
ldr r10, [r9, #BUF_STATE] @ fetch kbd interface state
147147
cmp r10, #0 @ are we expecting start bit?
148-
bne data @ no - go to data processing
148+
bne .Ldata @ no - go to data processing
149149

150150
ands r8, r8, #KEYBRD_DATA_MASK @ check start bit - detected?
151-
beq hksw @ no - try next source
151+
beq .Lhksw @ no - try next source
152152

153153
@ r8 contains KEYBRD_DATA_MASK, use it
154154
str r8, [r9, #BUF_STATE] @ enter data processing state
@@ -162,9 +162,9 @@ restart:
162162
mvn r11, #KEYBRD_CLK_MASK @ prepare all except kbd mask
163163
str r11, [r12, #OMAP1510_GPIO_INT_MASK] @ store into the mask register
164164

165-
b restart @ restart
165+
b .Lrestart @ restart
166166

167-
data: ldr r10, [r9, #BUF_MASK] @ fetch current input bit mask
167+
.Ldata: ldr r10, [r9, #BUF_MASK] @ fetch current input bit mask
168168

169169
@ r8 still contains GPIO input bits
170170
ands r8, r8, #KEYBRD_DATA_MASK @ is keyboard data line low?
@@ -175,7 +175,7 @@ data: ldr r10, [r9, #BUF_MASK] @ fetch current input bit mask
175175
mov r10, r10, lsl #1 @ shift mask left
176176
bics r10, r10, #0x800 @ have we got all the bits?
177177
strne r10, [r9, #BUF_MASK] @ not yet - store the mask
178-
bne restart @ and restart
178+
bne .Lrestart @ and restart
179179

180180
@ r10 already contains 0, reuse it
181181
str r10, [r9, #BUF_STATE] @ reset state to start
@@ -189,7 +189,7 @@ data: ldr r10, [r9, #BUF_MASK] @ fetch current input bit mask
189189
ldr r10, [r9, #BUF_KEYS_CNT] @ get saved keystrokes count
190190
ldr r8, [r9, #BUF_BUF_LEN] @ get buffer size
191191
cmp r10, r8 @ is buffer full?
192-
beq hksw @ yes - key lost, next source
192+
beq .Lhksw @ yes - key lost, next source
193193

194194
add r10, r10, #1 @ incremet keystrokes counter
195195
str r10, [r9, #BUF_KEYS_CNT]
@@ -213,9 +213,9 @@ data: ldr r10, [r9, #BUF_MASK] @ fetch current input bit mask
213213
@@@@@@@@@@@@@@@@@@@@@@@@
214214

215215

216-
hksw: @Is hook switch interrupt requested?
216+
.Lhksw: @Is hook switch interrupt requested?
217217
tst r13, #HOOK_SWITCH_MASK @ is hook switch status bit set?
218-
beq mdm @ no - try next source
218+
beq .Lmdm @ no - try next source
219219

220220

221221
@@@@@@@@@@@@@@@@@@@@@@@@
@@ -230,9 +230,9 @@ hksw: @Is hook switch interrupt requested?
230230
@@@@@@@@@@@@@@@@@@@@@@@@
231231

232232

233-
mdm: @Is it a modem interrupt?
233+
.Lmdm: @Is it a modem interrupt?
234234
tst r13, #MODEM_IRQ_MASK @ is modem status bit set?
235-
beq irq @ no - check for next interrupt
235+
beq .Lirq @ no - check for next interrupt
236236

237237

238238
@@@@@@@@@@@@@@@@@@@@@@@@
@@ -245,13 +245,13 @@ mdm: @Is it a modem interrupt?
245245
@@@@@@@@@@@@@@@@@@@@@@@@
246246

247247

248-
irq: @ Place deferred_fiq interrupt request
248+
.Lirq: @ Place deferred_fiq interrupt request
249249
ldr r12, deferred_fiq_ih_base @ set pointer to IRQ handler
250250
mov r10, #DEFERRED_FIQ_MASK @ set deferred_fiq bit
251251
str r10, [r12, #IRQ_ISR_REG_OFFSET] @ place it in the ISR register
252252

253253
ldr r12, omap1510_gpio_base @ set pointer back to GPIO bank
254-
b restart @ check for next GPIO interrupt
254+
b .Lrestart @ check for next GPIO interrupt
255255
@@@@@@@@@@@@@@@@@@@@@@@@@@@
256256

257257

arch/arm/mach-omap2/omap-secure.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ extern u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs,
6868
u32 arg1, u32 arg2, u32 arg3, u32 arg4);
6969
extern void omap_smccc_smc(u32 fn, u32 arg);
7070
extern void omap_smc1(u32 fn, u32 arg);
71-
extern u32 omap_smc2(u32 id, u32 falg, u32 pargs);
71+
extern u32 omap_smc2(u32 id, u32 flag, u32 pargs);
7272
extern u32 omap_smc3(u32 id, u32 process, u32 flag, u32 pargs);
7373
extern int omap_secure_ram_reserve_memblock(void);
7474
extern u32 save_secure_ram_context(u32 args_pa);

arch/arm/mach-omap2/omap-smc.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ENTRY(_omap_smc1)
3232
ENDPROC(_omap_smc1)
3333

3434
/**
35-
* u32 omap_smc2(u32 id, u32 falg, u32 pargs)
35+
* u32 omap_smc2(u32 id, u32 flag, u32 pargs)
3636
* Low level common routine for secure HAL and PPA APIs.
3737
* @id: Application ID of HAL APIs
3838
* @flag: Flag to indicate the criticality of operation

arch/arm/mach-versatile/versatile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static void __init versatile_dt_pci_init(void)
134134
val = readl(versatile_sys_base + VERSATILE_SYS_PCICTL_OFFSET);
135135
if (val & 1) {
136136
/*
137-
* Enable PCI accesses. Note that the documentaton is
137+
* Enable PCI accesses. Note that the documentation is
138138
* inconsistent whether or not this is needed, but the old
139139
* driver had it so we will keep it.
140140
*/

0 commit comments

Comments
 (0)