Commit Graph

271343 Commits

Author SHA1 Message Date
Adrian Hunter
b59a03d3b1 mmc: queue: let host controllers specify maximum discard timeout
Some host controllers will not operate without a hardware
timeout that is limited in value.  However large discards
require large timeouts, so there needs to be a way to
specify the maximum discard size.

A host controller driver may now specify the maximum discard
timeout possible so that max_discard_sectors can be calculated.

However, for eMMC when the High Capacity Erase Group Size
is not in use, the timeout calculation depends on clock
rate which may change.  For that case Preferred Erase Size
is used instead.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2013-07-08 12:38:28 +08:00
hjc
8cf82395ff rk3066b lcdc: add support lut function 2013-07-08 11:44:24 +08:00
kfx
d2715c4a6b rk3188&rk3168: mmc: emmc support 2013-07-08 10:11:39 +08:00
ZHW
3e08f63568 add new config "CONFIG_RK616_USE_MCLK_12M" 2013-07-05 16:41:54 +08:00
ddl
5a3a5ad7a3 camera: rk2928 sync rk30 2013-07-05 11:44:56 +08:00
kfx
b3ffe9c05a memory reserved: size align: 1M 2013-07-05 09:15:55 +08:00
Simon Glass
e4cfc535dd serial: Fix wakeup init logic to speed up startup
The synchronize_rcu() call resulting from making every serial driver
wake-up capable (commit b3b708fa) slows boot down on my Tegra2x system
(with CONFIG_PREEMPT disabled).

But this is avoidable since it is the device_set_wakeup_enable() and then
subsequence disable which causes the delay. We might as well just make
the device wakeup capable but not actually enable it for wakeup until
needed.

Effectively the current code does this:

	device_set_wakeup_capable(dev, 1);
	device_set_wakeup_enable(dev, 1);
	device_set_wakeup_enable(dev, 0);

We can just drop the last two lines.

Before this change my boot log says:
[    0.227062] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.702928] serial8250.0: ttyS0 at MMIO 0x70006040 (irq = 69) is a Tegra

after:
[    0.227264] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.227983] serial8250.0: ttyS0 at MMIO 0x70006040 (irq = 69) is a Tegra

for saving of 450ms.

Suggested-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2013-07-04 17:56:54 +08:00
黄涛
fcd7a57c9a serial: rk3188: Kconfig disable Serial port 2 CTS/RTS support 2013-07-04 17:54:05 +08:00
陈金泉
dee5f3a379 rk616 codec:set mclk to 12M when codec shutdown for HDMI 2013-07-04 15:32:12 +08:00
张晴
236516672f rk31xx:RT5025:support pmic rt5025 2013-07-04 15:09:13 +08:00
ddl
dd1dd60661 camera: cif :v0.3.9 2013-07-04 14:22:00 +08:00
kfx
e27d49b6c1 Merge commit "aa8b683a7d392271ed349c6ab9f36b8c313794b7" of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linu
mmc: core: add non-blocking mmc request function

    Previously there has only been one function mmc_wait_for_req()
    to start and wait for a request. This patch adds:

     * mmc_start_req() - starts a request wihtout waiting
         If there is on ongoing request wait for completion
         of that request and start the new one and return.
         Does not wait for the new command to complete.

    This patch also adds new function members in struct mmc_host_ops
    only called from core.c:

     * pre_req - asks the host driver to prepare for the next job
     * post_req - asks the host driver to clean up after a completed job

    The intention is to use pre_req() and post_req() to do cache maintenance
    while a request is active. pre_req() can be called while a request is
    active to minimize latency to start next job. post_req() can be used after
    the next job is started to clean up the request. This will minimize the
    host driver request end latency. post_req() is typically used before
    ending the block request and handing over the buffer to the block layer.

    Add a host-private member in mmc_data to be used by pre_req to mark the
    data. The host driver will then check this mark to see if the data is
    prepared or not.
2013-07-04 11:27:10 +08:00
xuhuicong
6d3fbffa37 rk616 hdmi: remove some hdmi global variable and change operate reg func name 2013-07-03 23:34:44 +08:00
xuhuicong
d9f1316d4f rk616 hdmi: change irq flag as IRQF_TRIGGER_LOW to modify some time lost interrupt 2013-07-03 23:29:52 +08:00
hwg
ef49919498 mt6622: support wake up host 2013-07-03 17:08:35 +08:00
ddl
b9ec311ce0 camera: cif v0.3.7:support rk3028 , read 3028 chip id by efuse for check cif controller is normal or not 2013-07-03 15:04:08 +08:00
xbw
83e70aef90 rk2928:
eliminate the build error using rk2928_tb_defconfig/rk2928_sdk_defconfig.
as the following:
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function rk29_sdmmc_gpio_open'
make: *** [.tmp_vmlinux1] Error 1
2013-07-03 13:15:33 +08:00
ddl
2fd8a03bf7 camera: ov5640 v0.1.3, rk_cam_io:v0.1.1 2013-07-03 11:00:40 +08:00
黄涛
c83124f13a rk30: cpufreq: support sys_state 2013-07-03 10:11:09 +08:00
陈金泉
95ebffb4bf rk hdmi i2s: add I2S judgement 2013-07-02 16:47:48 +08:00
陈金泉
590a98edfe rk616 codec: delete proc, correct get parameter 2013-07-02 11:47:07 +08:00
陈金泉
ce1982dfad rk616 codec:get parameter with new method 2013-07-01 17:35:36 +08:00
陈金泉
1dbd249045 add es8323 codec for pcm modem 2013-07-01 17:31:52 +08:00
wdc
d5db020589 reverts commit for error commit
Revert "ad"

This reverts commit cfb56f5fce.
2013-07-01 16:19:46 +08:00
wdc
bdf9f95e32 wifi: rtl8723as add sdio_reset 2013-07-01 16:03:39 +08:00
wdc
e4296d02c6 Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0 2013-07-01 15:54:31 +08:00
邱建斌
58c8419656 rt5616 codec : fix play tail problem solving 2013-07-01 14:15:05 +08:00
chenxing
f6f1494543 rk3188: do nothing with usb clks when system deep suspend 2013-06-29 17:07:08 +08:00
chenxing
fc5c15eaa3 rk3188: uboot: open pd_lcdc0/1 for uboot display 2013-06-29 17:01:36 +08:00
yxj
e84b364c58 rk screen:fix Makefile,only update lcd.h when the source file is changed 2013-06-29 14:11:49 +08:00
yxj
9b1f2561a1 rk fb: set scaler after lcdc timing modification in one lcdc dual display mode
this is to mach jettb vif sync requirement
2013-06-29 11:57:07 +08:00
yxj
2554c892a0 rk hdmi:fix a macro err 2013-06-29 11:55:21 +08:00
chenxing
e4deae2caa rk3066B: rk3028: get version interface export 2013-06-29 11:22:56 +08:00
hjc
01df44d607 rk3188 lcdc:support uboot display 2013-06-29 10:06:16 +08:00
xxh
d94cd77862 support Huawei HiLink dongle vid pid 0x12d1 0x1f01 2013-06-28 16:59:52 +08:00
chenxing
ddec1eb1ee rk3066B: suport hdmi 576p(dclk_lcdc freediv when need 27 MHz) 2013-06-28 15:17:52 +08:00
yxj
1bf73ddc9e mfd:rk616:core:fix rk616_i2c_write_bits 2013-06-28 14:57:10 +08:00
xuhuicong
e2d44970fa hdmi: rk616:
set hdmi polarity invent and time sequence when switch fb resolution
	to modify display shake
2013-06-28 14:54:55 +08:00
yxj
a838f98040 rk2928 lcdc:fix compile err 2013-06-28 12:19:01 +08:00
yxj
304e07b32c mfd:rk616: vif:add sync mode
core:add write_dev_bits interface
2013-06-28 12:12:49 +08:00
yxj
fa87607483 fix rk2928 dual display mode 2013-06-28 12:12:49 +08:00
ddl
d4615ab308 camera: generic_sensor v0.1.9 2013-06-28 11:16:15 +08:00
kfx
9ca853a25d i2c: 'fixed bug: set scl clk' and 'warning if scl is hold by slave' 2013-06-28 10:38:35 +08:00
hwg
392faa8e4b vmac: reset phy to solve sometimes phy do not work when boot 2013-06-27 19:16:53 +08:00
邱建斌
30e86017bc rk610 codec: add pa enable delay time config
Some amplifiers enable a longer time.
    config after pa_enable_io delay pa_enable_time(ms)
    default = 0,preferably not more than 1000ms
2013-06-27 16:34:36 +08:00
kfx
d2eba14d05 rk3188m: update defconfig 2013-06-26 14:58:05 +08:00
yzq
cfbf2e780f RK610: fix dual screen sleep resume err 2013-06-26 13:21:54 +08:00
yzq
9517f98238 rk610 : support dual lcdc display 2013-06-25 15:32:41 +08:00
yxj
0ea96bd9dc board jettaplus:update defconfig,set ddr to 456MHZ in dual display mode 2013-06-25 10:04:19 +08:00
yxj
d78f2d3e8f mfd:rk616:support power down in suspend,add config to enable/disable debug message 2013-06-25 10:04:18 +08:00