Skip to content

Commit 52b9aca

Browse files
committed
Merge branch 'master' of ../netdev/
2 parents 7756332 + e2faeec commit 52b9aca

File tree

241 files changed

+1881
-1133
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+1881
-1133
lines changed

Documentation/power/runtime_pm.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,7 @@ drivers/base/power/runtime.c and include/linux/pm_runtime.h:
431431

432432
void pm_runtime_irq_safe(struct device *dev);
433433
- set the power.irq_safe flag for the device, causing the runtime-PM
434-
suspend and resume callbacks (but not the idle callback) to be invoked
435-
with interrupts disabled
434+
callbacks to be invoked with interrupts off
436435

437436
void pm_runtime_mark_last_busy(struct device *dev);
438437
- set the power.last_busy field to the current time

MAINTAINERS

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,6 @@ F: drivers/input/misc/ati_remote2.c
12781278
ATLX ETHERNET DRIVERS
12791279
M: Jay Cliburn <jcliburn@gmail.com>
12801280
M: Chris Snook <chris.snook@gmail.com>
1281-
M: Jie Yang <jie.yang@atheros.com>
12821281
L: netdev@vger.kernel.org
12831282
W: http://sourceforge.net/projects/atl1
12841283
W: http://atl1.sourceforge.net
@@ -1574,7 +1573,6 @@ F: drivers/scsi/bfa/
15741573

15751574
BROCADE BNA 10 GIGABIT ETHERNET DRIVER
15761575
M: Rasesh Mody <rmody@brocade.com>
1577-
M: Debashis Dutt <ddutt@brocade.com>
15781576
L: netdev@vger.kernel.org
15791577
S: Supported
15801578
F: drivers/net/bna/
@@ -1758,7 +1756,6 @@ F: Documentation/zh_CN/
17581756

17591757
CISCO VIC ETHERNET NIC DRIVER
17601758
M: Christian Benvenuti <benve@cisco.com>
1761-
M: Vasanthy Kolluri <vkolluri@cisco.com>
17621759
M: Roopa Prabhu <roprabhu@cisco.com>
17631760
M: David Wang <dwang2@cisco.com>
17641761
S: Supported
@@ -1883,7 +1880,7 @@ S: Maintained
18831880
F: drivers/connector/
18841881

18851882
CONTROL GROUPS (CGROUPS)
1886-
M: Paul Menage <menage@google.com>
1883+
M: Paul Menage <paul@paulmenage.org>
18871884
M: Li Zefan <lizf@cn.fujitsu.com>
18881885
L: containers@lists.linux-foundation.org
18891886
S: Maintained
@@ -1932,7 +1929,7 @@ S: Maintained
19321929
F: tools/power/cpupower
19331930

19341931
CPUSETS
1935-
M: Paul Menage <menage@google.com>
1932+
M: Paul Menage <paul@paulmenage.org>
19361933
W: http://www.bullopensource.org/cpuset/
19371934
W: http://oss.sgi.com/projects/cpusets/
19381935
S: Supported
@@ -2649,11 +2646,11 @@ F: drivers/net/wan/dlci.c
26492646
F: drivers/net/wan/sdla.c
26502647

26512648
FRAMEBUFFER LAYER
2652-
M: Paul Mundt <lethal@linux-sh.org>
2649+
M: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
26532650
L: linux-fbdev@vger.kernel.org
26542651
W: http://linux-fbdev.sourceforge.net/
26552652
Q: http://patchwork.kernel.org/project/linux-fbdev/list/
2656-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6.git
2653+
T: git git://github.com/schandinat/linux-2.6.git fbdev-next
26572654
S: Maintained
26582655
F: Documentation/fb/
26592656
F: Documentation/devicetree/bindings/fb/
@@ -4404,7 +4401,8 @@ L: netfilter@vger.kernel.org
44044401
L: coreteam@netfilter.org
44054402
W: http://www.netfilter.org/
44064403
W: http://www.iptables.org/
4407-
T: git git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6.git
4404+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-2.6.git
4405+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next-2.6.git
44084406
S: Supported
44094407
F: include/linux/netfilter*
44104408
F: include/linux/netfilter/
@@ -5532,6 +5530,7 @@ F: include/media/*7146*
55325530

55335531
SAMSUNG AUDIO (ASoC) DRIVERS
55345532
M: Jassi Brar <jassisinghbrar@gmail.com>
5533+
M: Sangbeom Kim <sbkim73@samsung.com>
55355534
L: alsa-devel@alsa-project.org (moderated for non-subscribers)
55365535
S: Supported
55375536
F: sound/soc/samsung
@@ -7087,7 +7086,7 @@ S: Supported
70877086
F: drivers/mmc/host/vub300.c
70887087

70897088
W1 DALLAS'S 1-WIRE BUS
7090-
M: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
7089+
M: Evgeniy Polyakov <zbr@ioremap.net>
70917090
S: Maintained
70927091
F: Documentation/w1/
70937092
F: drivers/w1/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 1
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc3
4+
EXTRAVERSION = -rc4
55
NAME = "Divemaster Edition"
66

77
# *DOCUMENTATION*

arch/alpha/include/asm/sysinfo.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,4 @@
2727
#define UAC_NOFIX 2
2828
#define UAC_SIGBUS 4
2929

30-
31-
#ifdef __KERNEL__
32-
33-
/* This is the shift that is applied to the UAC bits as stored in the
34-
per-thread flags. See thread_info.h. */
35-
#define UAC_SHIFT 6
36-
37-
#endif
38-
3930
#endif /* __ASM_ALPHA_SYSINFO_H */

arch/alpha/include/asm/thread_info.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ register struct thread_info *__current_thread_info __asm__("$8");
7474
#define TIF_NEED_RESCHED 3 /* rescheduling necessary */
7575
#define TIF_POLLING_NRFLAG 8 /* poll_idle is polling NEED_RESCHED */
7676
#define TIF_DIE_IF_KERNEL 9 /* dik recursion lock */
77-
#define TIF_UAC_NOPRINT 10 /* see sysinfo.h */
78-
#define TIF_UAC_NOFIX 11
79-
#define TIF_UAC_SIGBUS 12
77+
#define TIF_UAC_NOPRINT 10 /* ! Preserve sequence of following */
78+
#define TIF_UAC_NOFIX 11 /* ! flags as they match */
79+
#define TIF_UAC_SIGBUS 12 /* ! userspace part of 'osf_sysinfo' */
8080
#define TIF_MEMDIE 13 /* is terminating due to OOM killer */
8181
#define TIF_RESTORE_SIGMASK 14 /* restore signal mask in do_signal */
8282
#define TIF_FREEZE 16 /* is freezing for suspend */
@@ -97,7 +97,7 @@ register struct thread_info *__current_thread_info __asm__("$8");
9797
#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK \
9898
| _TIF_SYSCALL_TRACE)
9999

100-
#define ALPHA_UAC_SHIFT 10
100+
#define ALPHA_UAC_SHIFT TIF_UAC_NOPRINT
101101
#define ALPHA_UAC_MASK (1 << TIF_UAC_NOPRINT | 1 << TIF_UAC_NOFIX | \
102102
1 << TIF_UAC_SIGBUS)
103103

arch/alpha/kernel/osf_sys.c

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
#include <asm/uaccess.h>
4343
#include <asm/system.h>
4444
#include <asm/sysinfo.h>
45+
#include <asm/thread_info.h>
4546
#include <asm/hwrpb.h>
4647
#include <asm/processor.h>
4748

@@ -633,9 +634,10 @@ SYSCALL_DEFINE5(osf_getsysinfo, unsigned long, op, void __user *, buffer,
633634
case GSI_UACPROC:
634635
if (nbytes < sizeof(unsigned int))
635636
return -EINVAL;
636-
w = (current_thread_info()->flags >> UAC_SHIFT) & UAC_BITMASK;
637-
if (put_user(w, (unsigned int __user *)buffer))
638-
return -EFAULT;
637+
w = (current_thread_info()->flags >> ALPHA_UAC_SHIFT) &
638+
UAC_BITMASK;
639+
if (put_user(w, (unsigned int __user *)buffer))
640+
return -EFAULT;
639641
return 1;
640642

641643
case GSI_PROC_TYPE:
@@ -756,8 +758,8 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
756758
case SSIN_UACPROC:
757759
again:
758760
old = current_thread_info()->flags;
759-
new = old & ~(UAC_BITMASK << UAC_SHIFT);
760-
new = new | (w & UAC_BITMASK) << UAC_SHIFT;
761+
new = old & ~(UAC_BITMASK << ALPHA_UAC_SHIFT);
762+
new = new | (w & UAC_BITMASK) << ALPHA_UAC_SHIFT;
761763
if (cmpxchg(&current_thread_info()->flags,
762764
old, new) != old)
763765
goto again;

arch/alpha/kernel/systbls.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ sys_call_table:
360360
.quad sys_newuname
361361
.quad sys_nanosleep /* 340 */
362362
.quad sys_mremap
363-
.quad sys_nfsservctl
363+
.quad sys_ni_syscall /* old nfsservctl */
364364
.quad sys_setresuid
365365
.quad sys_getresuid
366366
.quad sys_pciconfig_read /* 345 */

arch/arm/boot/compressed/mmcif-sh7372.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ asmlinkage void mmc_loader(unsigned char *buf, unsigned long len)
8282

8383

8484
/* Disable clock to MMC hardware block */
85-
__raw_writel(__raw_readl(SMSTPCR3) & (1 << 12), SMSTPCR3);
85+
__raw_writel(__raw_readl(SMSTPCR3) | (1 << 12), SMSTPCR3);
8686

8787
mmc_update_progress(MMC_PROGRESS_DONE);
8888
}

arch/arm/boot/compressed/sdhi-sh7372.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ asmlinkage void mmc_loader(unsigned short *buf, unsigned long len)
8585
goto err;
8686

8787
/* Disable clock to SDHI1 hardware block */
88-
__raw_writel(__raw_readl(SMSTPCR3) & (1 << 13), SMSTPCR3);
88+
__raw_writel(__raw_readl(SMSTPCR3) | (1 << 13), SMSTPCR3);
8989

9090
mmc_update_progress(MMC_PROGRESS_DONE);
9191

arch/arm/kernel/calls.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
CALL(sys_ni_syscall) /* vm86 */
179179
CALL(sys_ni_syscall) /* was sys_query_module */
180180
CALL(sys_poll)
181-
CALL(sys_nfsservctl)
181+
CALL(sys_ni_syscall) /* was nfsservctl */
182182
/* 170 */ CALL(sys_setresgid16)
183183
CALL(sys_getresgid16)
184184
CALL(sys_prctl)

arch/arm/mach-shmobile/board-ag5evm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ static struct platform_device mipidsi0_device = {
341341
static struct sh_mobile_sdhi_info sdhi0_info = {
342342
.dma_slave_tx = SHDMA_SLAVE_SDHI0_TX,
343343
.dma_slave_rx = SHDMA_SLAVE_SDHI0_RX,
344+
.tmio_flags = TMIO_MMC_HAS_IDLE_WAIT,
344345
.tmio_caps = MMC_CAP_SD_HIGHSPEED,
345346
.tmio_ocr_mask = MMC_VDD_27_28 | MMC_VDD_28_29,
346347
};
@@ -382,7 +383,7 @@ void ag5evm_sdhi1_set_pwr(struct platform_device *pdev, int state)
382383
}
383384

384385
static struct sh_mobile_sdhi_info sh_sdhi1_info = {
385-
.tmio_flags = TMIO_MMC_WRPROTECT_DISABLE,
386+
.tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_HAS_IDLE_WAIT,
386387
.tmio_caps = MMC_CAP_NONREMOVABLE | MMC_CAP_SDIO_IRQ,
387388
.tmio_ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34,
388389
.set_pwr = ag5evm_sdhi1_set_pwr,

arch/arm/mach-shmobile/board-ap4evb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,6 +1412,7 @@ static void __init ap4evb_init(void)
14121412
fsi_init_pm_clock();
14131413
sh7372_pm_init();
14141414
pm_clk_add(&fsi_device.dev, "spu2");
1415+
pm_clk_add(&lcdc1_device.dev, "hdmi");
14151416
}
14161417

14171418
static void __init ap4evb_timer_init(void)

arch/arm/mach-shmobile/board-mackerel.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,8 @@ static struct usbhs_private usbhs0_private = {
641641
},
642642
.driver_param = {
643643
.buswait_bwait = 4,
644+
.d0_tx_id = SHDMA_SLAVE_USB0_TX,
645+
.d1_rx_id = SHDMA_SLAVE_USB0_RX,
644646
},
645647
},
646648
};
@@ -810,6 +812,8 @@ static struct usbhs_private usbhs1_private = {
810812
.buswait_bwait = 4,
811813
.pipe_type = usbhs1_pipe_cfg,
812814
.pipe_size = ARRAY_SIZE(usbhs1_pipe_cfg),
815+
.d0_tx_id = SHDMA_SLAVE_USB1_TX,
816+
.d1_rx_id = SHDMA_SLAVE_USB1_RX,
813817
},
814818
},
815819
};
@@ -1588,6 +1592,7 @@ static void __init mackerel_init(void)
15881592
hdmi_init_pm_clock();
15891593
sh7372_pm_init();
15901594
pm_clk_add(&fsi_device.dev, "spu2");
1595+
pm_clk_add(&hdmi_lcdc_device.dev, "hdmi");
15911596
}
15921597

15931598
static void __init mackerel_timer_init(void)

arch/arm/mach-shmobile/clock-sh7372.c

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -503,23 +503,25 @@ static struct clk *late_main_clks[] = {
503503
&sh7372_fsidivb_clk,
504504
};
505505

506-
enum { MSTP001,
506+
enum { MSTP001, MSTP000,
507507
MSTP131, MSTP130,
508508
MSTP129, MSTP128, MSTP127, MSTP126, MSTP125,
509509
MSTP118, MSTP117, MSTP116, MSTP113,
510510
MSTP106, MSTP101, MSTP100,
511511
MSTP223,
512-
MSTP218, MSTP217, MSTP216,
513-
MSTP207, MSTP206, MSTP204, MSTP203, MSTP202, MSTP201, MSTP200,
514-
MSTP329, MSTP328, MSTP323, MSTP322, MSTP314, MSTP313, MSTP312,
515-
MSTP423, MSTP415, MSTP413, MSTP411, MSTP410, MSTP406, MSTP403,
512+
MSTP218, MSTP217, MSTP216, MSTP214, MSTP208, MSTP207,
513+
MSTP206, MSTP205, MSTP204, MSTP203, MSTP202, MSTP201, MSTP200,
514+
MSTP328, MSTP323, MSTP322, MSTP314, MSTP313, MSTP312,
515+
MSTP423, MSTP415, MSTP413, MSTP411, MSTP410, MSTP407, MSTP406,
516+
MSTP405, MSTP404, MSTP403, MSTP400,
516517
MSTP_NR };
517518

518519
#define MSTP(_parent, _reg, _bit, _flags) \
519520
SH_CLK_MSTP32(_parent, _reg, _bit, _flags)
520521

521522
static struct clk mstp_clks[MSTP_NR] = {
522523
[MSTP001] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR0, 1, 0), /* IIC2 */
524+
[MSTP000] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR0, 0, 0), /* MSIOF0 */
523525
[MSTP131] = MSTP(&div4_clks[DIV4_B], SMSTPCR1, 31, 0), /* VEU3 */
524526
[MSTP130] = MSTP(&div4_clks[DIV4_B], SMSTPCR1, 30, 0), /* VEU2 */
525527
[MSTP129] = MSTP(&div4_clks[DIV4_B], SMSTPCR1, 29, 0), /* VEU1 */
@@ -538,14 +540,16 @@ static struct clk mstp_clks[MSTP_NR] = {
538540
[MSTP218] = MSTP(&div4_clks[DIV4_HP], SMSTPCR2, 18, 0), /* DMAC1 */
539541
[MSTP217] = MSTP(&div4_clks[DIV4_HP], SMSTPCR2, 17, 0), /* DMAC2 */
540542
[MSTP216] = MSTP(&div4_clks[DIV4_HP], SMSTPCR2, 16, 0), /* DMAC3 */
543+
[MSTP214] = MSTP(&div4_clks[DIV4_HP], SMSTPCR2, 14, 0), /* USBDMAC */
544+
[MSTP208] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 8, 0), /* MSIOF1 */
541545
[MSTP207] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 7, 0), /* SCIFA5 */
542546
[MSTP206] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 6, 0), /* SCIFB */
547+
[MSTP205] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 5, 0), /* MSIOF2 */
543548
[MSTP204] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 4, 0), /* SCIFA0 */
544549
[MSTP203] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 3, 0), /* SCIFA1 */
545550
[MSTP202] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 2, 0), /* SCIFA2 */
546551
[MSTP201] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 1, 0), /* SCIFA3 */
547552
[MSTP200] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR2, 0, 0), /* SCIFA4 */
548-
[MSTP329] = MSTP(&r_clk, SMSTPCR3, 29, 0), /* CMT10 */
549553
[MSTP328] = MSTP(&div6_clks[DIV6_SPU], SMSTPCR3, 28, 0), /* FSI2 */
550554
[MSTP323] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR3, 23, 0), /* IIC1 */
551555
[MSTP322] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR3, 22, 0), /* USB0 */
@@ -557,8 +561,12 @@ static struct clk mstp_clks[MSTP_NR] = {
557561
[MSTP413] = MSTP(&pllc1_div2_clk, SMSTPCR4, 13, 0), /* HDMI */
558562
[MSTP411] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR4, 11, 0), /* IIC3 */
559563
[MSTP410] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR4, 10, 0), /* IIC4 */
564+
[MSTP407] = MSTP(&div4_clks[DIV4_HP], SMSTPCR4, 7, 0), /* USB-DMAC1 */
560565
[MSTP406] = MSTP(&div6_clks[DIV6_SUB], SMSTPCR4, 6, 0), /* USB1 */
566+
[MSTP405] = MSTP(&r_clk, SMSTPCR4, 5, 0), /* CMT4 */
567+
[MSTP404] = MSTP(&r_clk, SMSTPCR4, 4, 0), /* CMT3 */
561568
[MSTP403] = MSTP(&r_clk, SMSTPCR4, 3, 0), /* KEYSC */
569+
[MSTP400] = MSTP(&r_clk, SMSTPCR4, 0, 0), /* CMT2 */
562570
};
563571

564572
static struct clk_lookup lookups[] = {
@@ -609,6 +617,7 @@ static struct clk_lookup lookups[] = {
609617

610618
/* MSTP32 clocks */
611619
CLKDEV_DEV_ID("i2c-sh_mobile.2", &mstp_clks[MSTP001]), /* IIC2 */
620+
CLKDEV_DEV_ID("spi_sh_msiof.0", &mstp_clks[MSTP000]), /* MSIOF0 */
612621
CLKDEV_DEV_ID("uio_pdrv_genirq.4", &mstp_clks[MSTP131]), /* VEU3 */
613622
CLKDEV_DEV_ID("uio_pdrv_genirq.3", &mstp_clks[MSTP130]), /* VEU2 */
614623
CLKDEV_DEV_ID("uio_pdrv_genirq.2", &mstp_clks[MSTP129]), /* VEU1 */
@@ -629,14 +638,16 @@ static struct clk_lookup lookups[] = {
629638
CLKDEV_DEV_ID("sh-dma-engine.0", &mstp_clks[MSTP218]), /* DMAC1 */
630639
CLKDEV_DEV_ID("sh-dma-engine.1", &mstp_clks[MSTP217]), /* DMAC2 */
631640
CLKDEV_DEV_ID("sh-dma-engine.2", &mstp_clks[MSTP216]), /* DMAC3 */
641+
CLKDEV_DEV_ID("sh-dma-engine.3", &mstp_clks[MSTP214]), /* USB-DMAC0 */
642+
CLKDEV_DEV_ID("spi_sh_msiof.1", &mstp_clks[MSTP208]), /* MSIOF1 */
632643
CLKDEV_DEV_ID("sh-sci.5", &mstp_clks[MSTP207]), /* SCIFA5 */
633644
CLKDEV_DEV_ID("sh-sci.6", &mstp_clks[MSTP206]), /* SCIFB */
645+
CLKDEV_DEV_ID("spi_sh_msiof.2", &mstp_clks[MSTP205]), /* MSIOF2 */
634646
CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]), /* SCIFA0 */
635647
CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]), /* SCIFA1 */
636648
CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP202]), /* SCIFA2 */
637649
CLKDEV_DEV_ID("sh-sci.3", &mstp_clks[MSTP201]), /* SCIFA3 */
638650
CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP200]), /* SCIFA4 */
639-
CLKDEV_DEV_ID("sh_cmt.10", &mstp_clks[MSTP329]), /* CMT10 */
640651
CLKDEV_DEV_ID("sh_fsi2", &mstp_clks[MSTP328]), /* FSI2 */
641652
CLKDEV_DEV_ID("i2c-sh_mobile.1", &mstp_clks[MSTP323]), /* IIC1 */
642653
CLKDEV_DEV_ID("r8a66597_hcd.0", &mstp_clks[MSTP322]), /* USB0 */
@@ -650,11 +661,17 @@ static struct clk_lookup lookups[] = {
650661
CLKDEV_DEV_ID("sh-mobile-hdmi", &mstp_clks[MSTP413]), /* HDMI */
651662
CLKDEV_DEV_ID("i2c-sh_mobile.3", &mstp_clks[MSTP411]), /* IIC3 */
652663
CLKDEV_DEV_ID("i2c-sh_mobile.4", &mstp_clks[MSTP410]), /* IIC4 */
664+
CLKDEV_DEV_ID("sh-dma-engine.4", &mstp_clks[MSTP407]), /* USB-DMAC1 */
653665
CLKDEV_DEV_ID("r8a66597_hcd.1", &mstp_clks[MSTP406]), /* USB1 */
654666
CLKDEV_DEV_ID("r8a66597_udc.1", &mstp_clks[MSTP406]), /* USB1 */
655667
CLKDEV_DEV_ID("renesas_usbhs.1", &mstp_clks[MSTP406]), /* USB1 */
668+
CLKDEV_DEV_ID("sh_cmt.4", &mstp_clks[MSTP405]), /* CMT4 */
669+
CLKDEV_DEV_ID("sh_cmt.3", &mstp_clks[MSTP404]), /* CMT3 */
656670
CLKDEV_DEV_ID("sh_keysc.0", &mstp_clks[MSTP403]), /* KEYSC */
671+
CLKDEV_DEV_ID("sh_cmt.2", &mstp_clks[MSTP400]), /* CMT2 */
657672

673+
CLKDEV_ICK_ID("hdmi", "sh_mobile_lcdc_fb.1",
674+
&div6_reparent_clks[DIV6_HDMI]),
658675
CLKDEV_ICK_ID("ick", "sh-mobile-hdmi", &div6_reparent_clks[DIV6_HDMI]),
659676
CLKDEV_ICK_ID("icka", "sh_fsi2", &div6_reparent_clks[DIV6_FSIA]),
660677
CLKDEV_ICK_ID("ickb", "sh_fsi2", &div6_reparent_clks[DIV6_FSIB]),

arch/arm/mach-shmobile/clock-sh73a0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void __init sh73a0_clock_init(void)
365365
__raw_writel(0x108, SD2CKCR);
366366

367367
/* detect main clock parent */
368-
switch ((__raw_readl(CKSCR) >> 24) & 0x03) {
368+
switch ((__raw_readl(CKSCR) >> 28) & 0x03) {
369369
case 0:
370370
main_clk.parent = &sh73a0_extal1_clk;
371371
break;

arch/arm/mach-shmobile/include/mach/sh7372.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,10 @@ enum {
459459
SHDMA_SLAVE_SDHI2_TX,
460460
SHDMA_SLAVE_MMCIF_RX,
461461
SHDMA_SLAVE_MMCIF_TX,
462+
SHDMA_SLAVE_USB0_TX,
463+
SHDMA_SLAVE_USB0_RX,
464+
SHDMA_SLAVE_USB1_TX,
465+
SHDMA_SLAVE_USB1_RX,
462466
};
463467

464468
extern struct clk sh7372_extal1_clk;

0 commit comments

Comments
 (0)