Commit Graph

397642 Commits

Author SHA1 Message Date
wdc
ba3e311651 key: add rk_send_wakeup_key function 2014-03-05 14:07:48 +08:00
xbw
c45ce17457 SDMMC: guarantee stop-abort cmd in data errors
In error cases, DTO interrupt may or may not be generated depending
    on remained data. Stop/Abort command ensures DTO generation for that
    situation. Currently if 'stop' field of data is empty, there is no
    stop/abort command. So, it could hang waiting DTO. This change
    reinforces these cases.
2014-03-05 13:55:14 +08:00
xbw
4f2e68c837 SDMMC: fix error handling on response error
ven if response error is detected in case data command, data transfer
    is continued. It means that data can live in FIFO. Current handling
    just breaks out the request when seeing the command error. This causes
    kernel panic in dw_mci_read_data_pio() [host->data = NULL]. And also,
    FIFO should be guaranteed to be empty.

    Unable to handle kernel NULL pointer dereference at virtual address 00000018
    <...>
    [<c02af814>] (dw_mci_read_data_pio+0x68/0x198) from [<c02b04b4>] (dw_mci_interrupt+0x374/0x3a0)
    [<c02b04b4>] (dw_mci_interrupt+0x374/0x3a0) from [<c006b094>] (handle_irq_event_percpu+0x50/0x194)
    [<c006b094>] (handle_irq_event_percpu+0x50/0x194) from [<c006b214>] (handle_irq_event+0x3c/0x5c)
    [<c006b214>] (handle_irq_event+0x3c/0x5c) from [<c006de1c>] (handle_fasteoi_irq+0xa4/0x148)
    [<c006de1c>] (handle_fasteoi_irq+0xa4/0x148) from [<c006aa88>] (generic_handle_irq+0x20/0x30)
    [<c006aa88>] (generic_handle_irq+0x20/0x30) from [<c000f154>] (handle_IRQ+0x38/0x90)
    [<c000f154>] (handle_IRQ+0x38/0x90) from [<c00085bc>] (gic_handle_irq+0x34/0x68)
    [<c00085bc>] (gic_handle_irq+0x34/0x68) from [<c0011f40>] (__irq_svc+0x40/0x70)
    Exception stack(0xef0b1c00 to 0xef0b1c48)
    1c00: 000eb0cf ffffffff 00001300 c01a7738 ef295e10 0000000a c04df298 ef0b1dc0
    1c20: ef295ec0 00000000 00000000 00000006 00000000 ef0b1c48 c02b1274 c01a7764
    1c40: 20000113 ffffffff
    [<c0011f40>] (__irq_svc+0x40/0x70) from [<c01a7764>] (__loop_delay+0x0/0xc)
    Code: e1a00005 e0891006 e0662004 e12fff33 (e59a3018)
    ---[ end trace a7043b9ba9aed1db ]---
    Kernel panic - not syncing: Fatal exception in interrupt
2014-03-05 11:08:13 +08:00
gwl
b68e5c6ffb wifi: extend power up waiting time. 2014-03-05 10:09:04 +08:00
wdc
a6f81f794b 3288: i2c & adc dts update 2014-03-05 09:43:12 +08:00
wlf
88ac83bca1 USB: add otg irq detect function and chip id detect function 2014-03-05 09:40:45 +08:00
zwl
1ab191c614 HDMI: add rk3288 hdmi register defined 2014-03-05 08:53:23 +08:00
xbw
83a2aa8b76 SDMMC: use slot-gpio to handle cd pin 2014-03-04 21:48:13 +08:00
zsq
d4fe5b33c5 fix rga driver crash bug 2014-03-04 21:06:53 +08:00
xbw
587751dea3 SDMMC: adjust the fifoth with block size, amend use of idmac sw reset, fix the transfer termination in IDMAC mode 2014-03-04 20:48:05 +08:00
xbw
bee61a90c1 SDMMC: set the supported max/min frequency 2014-03-04 19:35:51 +08:00
xbw
fbdd2f071b SDMMC-emmc:add the capability to support hs200 mode 2014-03-04 17:47:47 +08:00
hhb
5e915edc84 rk serial:DMA use new interfaces, and use some interfaces with devm_ prefix 2014-03-04 17:25:09 +08:00
xbw
b674f235cb SDMMC: to support tuning scheme for the speed modes HS200 and SDR104 2014-03-04 17:18:34 +08:00
CMY
886605cffc rk: ion: support rk3288 fpga 2014-03-04 16:04:28 +08:00
xbw
3b2d98f68f SDMMC:
1.Honor requests to set the clock to 0
2.Set timeout to max upon resume
2014-03-04 15:34:33 +08:00
wlf
0d688f6498 USB: renamed ehci-rk.c -> ehci-rkhsic.c for support HSIC and EHCI 2014-03-04 15:30:07 +08:00
xbw
f4e2eaab7c Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10 2014-03-04 15:14:42 +08:00
hhb
2e9fd45831 dma pl330:change SINGLE to BURST 2014-03-04 15:14:02 +08:00
xbw
fd947cdf78 SDMMC:
1.Add the ability to set the ciu clock frequency
2.Handle DW_MCI_QUIRK_IDMAC_DTO properly
2014-03-04 15:13:57 +08:00
hhb
dd3876ed62 watch dog: prepare driver for kernel3.10 2014-03-04 15:05:09 +08:00
xbw
ed67616745 Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10 2014-03-04 14:47:55 +08:00
xbw
bf0e9fdf9c 1. fix error return code in dw_mci_probe()
2.clear IDSTS register when initialize IDMAC
3.change the macro name from DTO to DRTO
2014-03-04 14:47:26 +08:00
qjb
201683b0b7 rk3288 dts i2s :add i2s,rk610 ctrl,rk610 codec into dts 2014-03-04 14:10:02 +08:00
gwl
65626cd9b8 wifi: change some function name to be more formal. 2014-03-04 11:41:09 +08:00
xbw
02b30b0a08 Revert "SDMMC:"
This reverts commit 6216239180.
2014-03-04 11:15:43 +08:00
zwl
a8141dcd8c HDMI: init rk3288 hdmi driver code 2014-03-04 09:55:10 +08:00
gwl
819e39a55b wifi: add default wifi configuration to rockchip_defconfig. 2014-03-04 09:34:42 +08:00
qjb
8d31d96d47 dts : add rk610 core and rk610 codec 2014-03-03 17:58:57 +08:00
qjb
443df68724 rk610 kernel3.10 : add rk610 core and rk610 codec support 2014-03-03 17:57:18 +08:00
wdc
33b45eae85 rk3288: add i2c, adc in dts 2014-03-03 17:41:08 +08:00
wlf
65f0aeeb42 USB: fix DWC_OTG driver compile error 2014-03-03 17:06:51 +08:00
luowei
e29aa922de pinctrl:add suspend and resume function 2014-03-03 15:47:40 +08:00
wlf
c1223c73a7 USB: support DWC_OTG Driver Version3.10 and used by default 2014-03-03 14:48:06 +08:00
dkl
14e170e97a clk: rk: fix rk3188 hsic clocks 2014-03-03 10:32:51 +08:00
gwl
ee62d49a9d wifi: modify rfkill_wlan_driver match table's name. 2014-03-03 09:28:35 +08:00
zsq
eb721d6bf4 close rga driver for temp 2014-03-03 09:21:48 +08:00
zsq
244b9e641d add rga 3288 dts/modify rga2 driver 2014-03-01 16:39:31 +08:00
zsq
d801335b2f add rk3188 rga dst / add rga2 drivers 2014-03-01 16:17:04 +08:00
陈亮
53d5a0a18a dvfs : move dvfs.h to include/linux/rockchip/ 2014-02-28 01:27:21 -08:00
陈亮
f949ee0174 rk3188:linux3.10: add ddr clk node ops 2014-02-28 00:40:56 -08:00
陈亮
2dd2c6028a rk3188:linux3.10: add ddr freq support 2014-02-28 00:38:14 -08:00
陈亮
ff3e63ecdc rk3188:linux3.10: add cpufreq support 2014-02-28 00:34:45 -08:00
陈亮
ecc299f99f rk3188:linux3.10: add dvfs support 2014-02-28 00:33:02 -08:00
dkl
15b1a654eb clk: rk: merge some defines about clk and add rk3188 prefix 2014-02-28 16:13:10 +08:00
张晴
6fc76d3faa linux3.10: renamed io_vol_domain to rockchip_io_domain 2014-02-28 10:45:18 +08:00
张晴
c87723d9e4 rk31:linux3.10:support io domain setting by regulator 2014-02-28 10:30:02 +08:00
黄涛
9208a0dfce ARM: rockchip: add rk3288.c, pie support rk3288 2014-02-27 21:46:31 +08:00
黄涛
27e294ee8e ARM: rockchip: common.h add RK_DEVICE macro 2014-02-27 20:54:55 +08:00
gwl
fba96c1ecf wifi: create a new patch 'drivers/net/wireless/rockchip_wlan' for porting drivers. 2014-02-27 17:30:22 +08:00