Ulf Hansson [Thu, 2 May 2013 12:02:36 +0000 (14:02 +0200)]
mmc: core: Stop bkops for eMMC only from mmc suspend
Move mmc suspend specific operations to be executed from the .suspend
callback in the mmc bus_ops. This simplifies the mmc_suspend_host
function which is supposed to handle nothing but common suspend tasks.
Since eMMC can be considered non-removable there are no need to check
for ongoing bkops at PM_SUSPEND_PREPARE notification so remove it.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Maya Erez [Thu, 18 Apr 2013 12:41:55 +0000 (15:41 +0300)]
mmc: card: Adding support for sanitize in eMMC 4.5
The sanitize support is added as a user-app ioctl call, and
was removed from the block-device request, since its purpose is
to be invoked not via File-System but by a user.
This feature deletes the unmap memory region of the eMMC card,
by writing to a specific register in the EXT_CSD.
unmap region is the memory region that was previously deleted
(by erase, trim or discard operation).
In order to avoid timeout when sanitizing large-scale cards,
the timeout for sanitize operation is 240 seconds.
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Conflicts:
drivers/mmc/card/block.c
Ulf Hansson [Thu, 18 Apr 2013 09:02:07 +0000 (11:02 +0200)]
mmc: core: Re-use code for MMC_CAP2_DETECT_ON_ERR in polling mode
Previously the MMC_CAP2_DETECT_ON_ERR was invented for detecting
slow card removal. In was never a realy good solution and a proper
fix has been merged using gpio debouncing instead. We remove this
cap in this patch.
Although when using polling card detect mode, the code invented for
MMC_CAP2_DETECT_ON_ERR is re-used to complete card removal in an
earlier phase. There are no need waiting for the polling timeout to
elapse in this case.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Fredrik Soderstedt [Wed, 17 Apr 2013 11:50:53 +0000 (13:50 +0200)]
mmc: core: Only execute tuning for SDR50 and SDR104
Only execute tuning for sd and sdio devices that are using
SDR50 or SDR104.
Make sure clock is hold during tuning for sdio devices.
Signed-off-by: Fredrik Soderstedt <fredrik.soderstedt@stericsson.com>
Acked-by: Johan Rudholm <jrudholm@gmail.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
hwg [Fri, 7 Mar 2014 01:12:45 +0000 (09:12 +0800)]
support 3188 vmac
ljf [Thu, 6 Mar 2014 12:27:30 +0000 (20:27 +0800)]
upload vcodec (vpu and hevc) service driver
ljf [Thu, 6 Mar 2014 12:14:38 +0000 (20:14 +0800)]
upload iep driver for linux kernel 3.10
zsq [Thu, 6 Mar 2014 09:54:57 +0000 (17:54 +0800)]
fix rga copy DMA_buf error
zsq [Thu, 6 Mar 2014 09:35:38 +0000 (17:35 +0800)]
rga2 on rk3288 FPGA is valid
xbw [Thu, 6 Mar 2014 09:26:40 +0000 (17:26 +0800)]
SDMMC: complete submission rk_sdmmc debug function
zyk [Thu, 6 Mar 2014 08:13:08 +0000 (16:13 +0800)]
rk3188 tp: ct365
zwl [Thu, 6 Mar 2014 06:22:03 +0000 (14:22 +0800)]
HDMI: add dt node at rk3288.dtsi and add HDMI config
wlf [Thu, 6 Mar 2014 06:06:01 +0000 (14:06 +0800)]
USB: change FSG_BUFLEN from 16KB to 64KB in order to increase copy-speed
wlf [Thu, 6 Mar 2014 06:00:21 +0000 (14:00 +0800)]
USB: support development tool to do reboot loader
zwl [Thu, 6 Mar 2014 03:57:41 +0000 (11:57 +0800)]
HDMI: implement function at rk3288_hdmi.c and fix some code error
yxj [Thu, 6 Mar 2014 01:34:09 +0000 (09:34 +0800)]
porting tp ct36x to linux3.10
yxj [Wed, 26 Feb 2014 07:12:23 +0000 (15:12 +0800)]
rk32 edp:add bist/hw link traing support
yxj [Wed, 26 Feb 2014 03:04:34 +0000 (11:04 +0800)]
dts: rk3188-lrl097: pwm backlight fix
yxj [Wed, 26 Feb 2014 03:03:21 +0000 (11:03 +0800)]
edp anx6345: add dpcd&edid read support
CMY [Thu, 6 Mar 2014 03:04:50 +0000 (11:04 +0800)]
rk: ion: to view the CMA heap debug information through bitmap
qjb [Thu, 6 Mar 2014 03:01:23 +0000 (11:01 +0800)]
audio codec : add support compile all audio codec (omission rt5631)
qjb [Thu, 6 Mar 2014 02:57:14 +0000 (10:57 +0800)]
audio codec : add support compile all audio codec
陈金泉 [Thu, 6 Mar 2014 02:48:47 +0000 (10:48 +0800)]
Audio: add codec-of-node and cpu-of-node, delete CODEC_NAME_CMP, codec-name, cpu-dai-name
zsq [Wed, 5 Mar 2014 11:51:37 +0000 (19:51 +0800)]
del rga disable status
lintao [Thu, 6 Mar 2014 00:30:51 +0000 (08:30 +0800)]
dts: add mshc@rk3288.dtsi
guoyi [Wed, 5 Mar 2014 07:33:25 +0000 (15:33 +0800)]
fix sensors include file err
guoyi [Wed, 5 Mar 2014 07:32:13 +0000 (15:32 +0800)]
porting sensor-dev to 3.10
xbw [Wed, 5 Mar 2014 09:53:16 +0000 (17:53 +0800)]
SDMMC: complete submission for IDMA. With reading and writing to verify IDMA, no exception occurs.
xbw [Wed, 5 Mar 2014 09:33:38 +0000 (17:33 +0800)]
SDMMC: define the debug log
xbw [Wed, 5 Mar 2014 09:31:37 +0000 (17:31 +0800)]
SDMMC: set the init-clock to 200Khz.
zsq [Wed, 5 Mar 2014 09:43:31 +0000 (17:43 +0800)]
add rga support for dma buf
zsq [Wed, 5 Mar 2014 09:32:07 +0000 (17:32 +0800)]
fix rga 3288 dts interp error
qjb [Wed, 5 Mar 2014 09:23:49 +0000 (17:23 +0800)]
update i2s spdif dts
qjb [Wed, 5 Mar 2014 08:42:52 +0000 (16:42 +0800)]
sound soc-core:codec_name not adapted i2c_name
change i2s id
wlf [Wed, 5 Mar 2014 07:48:45 +0000 (15:48 +0800)]
USB: add gadget_connected and fsg.luns[1] for usb gadget
wdc [Wed, 5 Mar 2014 06:07:16 +0000 (14:07 +0800)]
key: add rk_send_wakeup_key function
xbw [Wed, 5 Mar 2014 05:55:14 +0000 (13:55 +0800)]
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.
xbw [Wed, 5 Mar 2014 03:08:13 +0000 (11:08 +0800)]
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
gwl [Wed, 5 Mar 2014 02:08:56 +0000 (10:08 +0800)]
wifi: extend power up waiting time.
wdc [Wed, 5 Mar 2014 01:40:47 +0000 (09:40 +0800)]
3288: i2c & adc dts update
wlf [Wed, 5 Mar 2014 01:40:45 +0000 (09:40 +0800)]
USB: add otg irq detect function and chip id detect function
zwl [Wed, 5 Mar 2014 00:51:21 +0000 (08:51 +0800)]
HDMI: add rk3288 hdmi register defined
xbw [Tue, 4 Mar 2014 13:47:48 +0000 (21:47 +0800)]
SDMMC: use slot-gpio to handle cd pin
zsq [Tue, 4 Mar 2014 13:06:53 +0000 (21:06 +0800)]
fix rga driver crash bug
xbw [Tue, 4 Mar 2014 12:48:05 +0000 (20:48 +0800)]
SDMMC: adjust the fifoth with block size, amend use of idmac sw reset, fix the transfer termination in IDMAC mode
xbw [Tue, 4 Mar 2014 11:35:51 +0000 (19:35 +0800)]
SDMMC: set the supported max/min frequency
xbw [Tue, 4 Mar 2014 09:47:47 +0000 (17:47 +0800)]
SDMMC-emmc:add the capability to support hs200 mode
hhb [Tue, 4 Mar 2014 09:25:09 +0000 (17:25 +0800)]
rk serial:DMA use new interfaces, and use some interfaces with devm_ prefix
xbw [Tue, 4 Mar 2014 09:17:33 +0000 (17:17 +0800)]
SDMMC: to support tuning scheme for the speed modes HS200 and SDR104
CMY [Tue, 4 Mar 2014 08:03:55 +0000 (16:03 +0800)]
rk: ion: support rk3288 fpga
xbw [Tue, 4 Mar 2014 07:32:32 +0000 (15:32 +0800)]
SDMMC:
1.Honor requests to set the clock to 0
2.Set timeout to max upon resume
wlf [Tue, 4 Mar 2014 07:30:07 +0000 (15:30 +0800)]
USB: renamed ehci-rk.c -> ehci-rkhsic.c for support HSIC and EHCI
xbw [Tue, 4 Mar 2014 07:14:42 +0000 (15:14 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
hhb [Tue, 4 Mar 2014 07:14:02 +0000 (15:14 +0800)]
dma pl330:change SINGLE to BURST
xbw [Tue, 4 Mar 2014 07:13:57 +0000 (15:13 +0800)]
SDMMC:
1.Add the ability to set the ciu clock frequency
2.Handle DW_MCI_QUIRK_IDMAC_DTO properly
hhb [Tue, 4 Mar 2014 07:05:09 +0000 (15:05 +0800)]
watch dog: prepare driver for kernel3.10
xbw [Tue, 4 Mar 2014 06:47:55 +0000 (14:47 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10
xbw [Tue, 4 Mar 2014 06:47:26 +0000 (14:47 +0800)]
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
qjb [Tue, 4 Mar 2014 06:10:02 +0000 (14:10 +0800)]
rk3288 dts i2s :add i2s,rk610 ctrl,rk610 codec into dts
gwl [Tue, 4 Mar 2014 03:41:01 +0000 (11:41 +0800)]
wifi: change some function name to be more formal.
xbw [Tue, 4 Mar 2014 03:15:43 +0000 (11:15 +0800)]
zwl [Tue, 4 Mar 2014 01:53:36 +0000 (09:53 +0800)]
HDMI: init rk3288 hdmi driver code
gwl [Tue, 4 Mar 2014 01:34:33 +0000 (09:34 +0800)]
wifi: add default wifi configuration to rockchip_defconfig.
qjb [Mon, 3 Mar 2014 09:58:57 +0000 (17:58 +0800)]
dts : add rk610 core and rk610 codec
qjb [Mon, 3 Mar 2014 09:57:18 +0000 (17:57 +0800)]
rk610 kernel3.10 : add rk610 core and rk610 codec support
wdc [Mon, 3 Mar 2014 09:40:22 +0000 (17:40 +0800)]
rk3288: add i2c, adc in dts
wlf [Mon, 3 Mar 2014 09:06:51 +0000 (17:06 +0800)]
USB: fix DWC_OTG driver compile error
luowei [Mon, 3 Mar 2014 07:47:40 +0000 (15:47 +0800)]
pinctrl:add suspend and resume function
wlf [Mon, 3 Mar 2014 06:48:06 +0000 (14:48 +0800)]
USB: support DWC_OTG Driver Version3.10 and used by default
dkl [Mon, 3 Mar 2014 02:30:46 +0000 (10:30 +0800)]
clk: rk: fix rk3188 hsic clocks
gwl [Mon, 3 Mar 2014 01:27:24 +0000 (09:27 +0800)]
wifi: modify rfkill_wlan_driver match table's name.
zsq [Mon, 3 Mar 2014 01:21:48 +0000 (09:21 +0800)]
close rga driver for temp
zsq [Sat, 1 Mar 2014 08:39:31 +0000 (16:39 +0800)]
add rga 3288 dts/modify rga2 driver
zsq [Sat, 1 Mar 2014 08:17:04 +0000 (16:17 +0800)]
add rk3188 rga dst / add rga2 drivers
陈亮 [Fri, 28 Feb 2014 09:27:21 +0000 (01:27 -0800)]
dvfs : move dvfs.h to include/linux/rockchip/
陈亮 [Fri, 28 Feb 2014 08:40:56 +0000 (00:40 -0800)]
rk3188:linux3.10: add ddr clk node ops
陈亮 [Fri, 28 Feb 2014 08:38:14 +0000 (00:38 -0800)]
rk3188:linux3.10: add ddr freq support
陈亮 [Fri, 28 Feb 2014 08:34:45 +0000 (00:34 -0800)]
rk3188:linux3.10: add cpufreq support
陈亮 [Fri, 28 Feb 2014 08:33:02 +0000 (00:33 -0800)]
rk3188:linux3.10: add dvfs support
dkl [Fri, 28 Feb 2014 08:06:54 +0000 (16:06 +0800)]
clk: rk: merge some defines about clk and add rk3188 prefix
张晴 [Fri, 28 Feb 2014 02:45:18 +0000 (10:45 +0800)]
linux3.10: renamed io_vol_domain to rockchip_io_domain
张晴 [Fri, 28 Feb 2014 02:30:02 +0000 (10:30 +0800)]
rk31:linux3.10:support io domain setting by regulator
黄涛 [Thu, 27 Feb 2014 13:46:31 +0000 (21:46 +0800)]
ARM: rockchip: add rk3288.c, pie support rk3288
黄涛 [Thu, 27 Feb 2014 12:54:11 +0000 (20:54 +0800)]
ARM: rockchip: common.h add RK_DEVICE macro
gwl [Thu, 27 Feb 2014 09:30:01 +0000 (17:30 +0800)]
wifi: create a new patch 'drivers/net/wireless/rockchip_wlan' for porting drivers.
xbw [Thu, 27 Feb 2014 09:20:54 +0000 (17:20 +0800)]
SDMMC:
1.exclude asynchronous transfer for special request.
2.fix async request mechanism for sequential read scenarios
3.don't start new request when the card is removed
4.support packed write command for eMMC4.5 devices
5.fix the host's claim-release in special request
6.Adding support for sanitize in eMMC 4.5
7.Handle card shutdown from mmc_bus
8.fix null pointer use in mmc_blk_remove_req
9.fix host release issue after discard operation
10.modify the switch voltage.
11.add some profile for sd-sdio3.0
gwl [Thu, 27 Feb 2014 09:12:06 +0000 (17:12 +0800)]
wifi: remove unused wifi drivers and patch we add before.
gwl [Thu, 27 Feb 2014 09:00:53 +0000 (17:00 +0800)]
wifi: remove unused wifi drivers we add before.
gwl [Thu, 27 Feb 2014 08:55:10 +0000 (16:55 +0800)]
Revert "wifi: remove patch drivers/net/wireless"
This reverts commit
b333a5d509b7cbe78cee0d9a389309f93ab02483.
gwl [Thu, 27 Feb 2014 08:54:15 +0000 (16:54 +0800)]
Revert "wifi: renew patch drivers/net/wireless"
This reverts commit
51af772efb0e9cb920fab5e13837586802828ddd.
luowei [Thu, 27 Feb 2014 08:34:12 +0000 (16:34 +0800)]
add rk3288 pinctrl dts code
gwl [Thu, 27 Feb 2014 08:31:47 +0000 (16:31 +0800)]
wifi: enable sdio interface. add wifi resources into dts.
gwl [Thu, 27 Feb 2014 08:19:40 +0000 (16:19 +0800)]
wifi: add wifi power manage driver rfkill-wlan.c.
gwl [Thu, 27 Feb 2014 08:08:52 +0000 (16:08 +0800)]
wifi: renew patch drivers/net/wireless
gwl [Thu, 27 Feb 2014 08:05:00 +0000 (16:05 +0800)]
wifi: remove patch drivers/net/wireless
许盛飞 [Thu, 27 Feb 2014 04:27:18 +0000 (12:27 +0800)]
pwm-backlight: set pwm-bl default-frequency(25000ns)
许盛飞 [Thu, 27 Feb 2014 04:17:52 +0000 (12:17 +0800)]
Revert "pwm-backlight: set pwm-bl default-frequency"
This reverts commit
26b0c3a3ec15be28841c946333fdd6d0eb02d8e3.
许盛飞 [Thu, 27 Feb 2014 03:44:50 +0000 (11:44 +0800)]
pwm-backlight: set pwm-bl default-frequency
qjb [Wed, 26 Feb 2014 06:45:08 +0000 (14:45 +0800)]
i2s dts : add clk name
qjb [Wed, 26 Feb 2014 03:31:30 +0000 (11:31 +0800)]
i2s : add debug interface