firefly-linux-kernel-4.4.55.git
11 years agork3026: usb-uart: fix compile err
lyz [Wed, 31 Jul 2013 08:12:56 +0000 (16:12 +0800)]
rk3026: usb-uart: fix compile err

11 years agork3026: cpufreq: suspend voltage set to 1.1v
黄涛 [Wed, 31 Jul 2013 06:47:57 +0000 (14:47 +0800)]
rk3026: cpufreq: suspend voltage set to 1.1v

11 years agousb : fix pannic
lyz [Wed, 31 Jul 2013 07:17:23 +0000 (15:17 +0800)]
usb : fix pannic

11 years agork3028a_tb: update gpio pins
kfx [Wed, 31 Jul 2013 06:37:31 +0000 (14:37 +0800)]
rk3028a_tb: update gpio pins

11 years agork3026: tb: fix lcdc reg size define
黄涛 [Wed, 31 Jul 2013 06:32:01 +0000 (14:32 +0800)]
rk3026: tb: fix lcdc reg size define

11 years agork3026: force l2 cache 16-way, 16KB way-size
黄涛 [Wed, 31 Jul 2013 05:39:12 +0000 (13:39 +0800)]
rk3026: force l2 cache 16-way, 16KB way-size

11 years agork3026: io: add ROM map
黄涛 [Wed, 31 Jul 2013 05:20:18 +0000 (13:20 +0800)]
rk3026: io: add ROM map

11 years agork3026: cpu_axi.h: fix core offset define
黄涛 [Wed, 31 Jul 2013 05:06:27 +0000 (13:06 +0800)]
rk3026: cpu_axi.h: fix core offset define

11 years agork3026: board defined LCD_EN and BL_EN
hjc [Wed, 31 Jul 2013 04:31:25 +0000 (12:31 +0800)]
rk3026: board defined LCD_EN and BL_EN

11 years agork3026: rk_timer: fix timer base define
黄涛 [Wed, 31 Jul 2013 03:38:19 +0000 (11:38 +0800)]
rk3026: rk_timer: fix timer base define

11 years agork3026: remove clk dump msg; surnamed clk_core_periph as smp_twd
chenxing [Wed, 31 Jul 2013 03:37:31 +0000 (11:37 +0800)]
rk3026: remove clk dump msg; surnamed clk_core_periph as smp_twd

11 years agowifi: support custom mac from idb
hwg [Wed, 31 Jul 2013 03:22:30 +0000 (11:22 +0800)]
wifi: support custom mac from idb

11 years agork616 codec: add tiny alsa route(playback capture incall) support
陈金泉 [Wed, 31 Jul 2013 03:01:49 +0000 (11:01 +0800)]
rk616 codec: add tiny alsa route(playback capture incall) support

11 years agopm_test:clk_volt.c,fix info help
xxx [Wed, 31 Jul 2013 01:26:53 +0000 (09:26 +0800)]
pm_test:clk_volt.c,fix info help

11 years agork3026: fix cpu_is_rk3026, tag offset is 0x3ff0
黄涛 [Tue, 30 Jul 2013 13:23:22 +0000 (21:23 +0800)]
rk3026: fix cpu_is_rk3026, tag offset is 0x3ff0

11 years agosensor:add gsensor lsm303d support
luowei [Tue, 30 Jul 2013 09:47:20 +0000 (17:47 +0800)]
sensor:add gsensor lsm303d support

11 years agomodify wifi compile error
hwg [Tue, 30 Jul 2013 07:46:46 +0000 (15:46 +0800)]
modify wifi compile error

11 years agork3168_ft_defconfig:fixed ddr is no init
xxx [Tue, 30 Jul 2013 06:55:40 +0000 (14:55 +0800)]
rk3168_ft_defconfig:fixed ddr is no init

11 years agoadd rk3028_ft_defconfig
xxx [Tue, 30 Jul 2013 06:48:16 +0000 (14:48 +0800)]
add rk3028_ft_defconfig

11 years agofix ak8963 building error
luowei [Tue, 30 Jul 2013 02:08:41 +0000 (10:08 +0800)]
fix ak8963 building error

11 years agork: efuse: fix comments describe error
chenxing [Tue, 30 Jul 2013 01:54:20 +0000 (09:54 +0800)]
rk: efuse: fix comments describe error

11 years agork610 : fix dual screen display err when only use rk610 lvds
yzq [Mon, 29 Jul 2013 07:52:33 +0000 (15:52 +0800)]
rk610 : fix dual screen display err when only use rk610 lvds

11 years agork: mmu.c: vmalloc reserve 512MB
黄涛 [Mon, 29 Jul 2013 07:30:17 +0000 (15:30 +0800)]
rk: mmu.c: vmalloc reserve 512MB

11 years agork3188 ds1006h : fix compile error for wifi
Cody Xie [Mon, 29 Jul 2013 02:40:00 +0000 (10:40 +0800)]
rk3188 ds1006h : fix compile error for wifi

11 years agork3188 ds1006h: update rk3188_ds1006h_v1_1_defconfig for lcd display
Cody Xie [Mon, 29 Jul 2013 02:35:00 +0000 (10:35 +0800)]
rk3188 ds1006h: update rk3188_ds1006h_v1_1_defconfig for lcd display

11 years agork3026 pm.c: fix ctr bits parameter to support help inf,add arm\logic suspend volt...
xxx [Sat, 27 Jul 2013 07:26:42 +0000 (15:26 +0800)]
rk3026 pm.c: fix ctr bits parameter to support help inf,add arm\logic suspend volt parameter

11 years agork30 pm.c: fix ctr bits parameter to support help inf,add arm\logic suspend volt...
xxx [Sat, 27 Jul 2013 07:05:59 +0000 (15:05 +0800)]
rk30 pm.c: fix ctr bits parameter to support help inf,add arm\logic suspend volt parameter

11 years agofix cpu_usage for dual\quad core
xxx [Sat, 27 Jul 2013 03:51:19 +0000 (11:51 +0800)]
fix cpu_usage for dual\quad core

11 years agoarm rate support 552m for ft, fix l2\mem test code
xxx [Sat, 27 Jul 2013 02:52:40 +0000 (10:52 +0800)]
arm rate support 552m for ft, fix l2\mem test code

11 years agochange mu509 modem usb port to 244
赵子初 [Sat, 27 Jul 2013 02:02:26 +0000 (10:02 +0800)]
change mu509 modem usb port to 244

11 years agort5616: record from mic2 because sdk default use mic2
邱建斌 [Sat, 27 Jul 2013 01:44:27 +0000 (09:44 +0800)]
rt5616: record from mic2 because sdk default use mic2

11 years agoWi-Fi Group:update Kconfig
lintao [Fri, 26 Jul 2013 10:35:24 +0000 (18:35 +0800)]
Wi-Fi Group:update Kconfig

11 years agomipi dsi: fix compile error,sorry
hhb [Fri, 26 Jul 2013 08:08:31 +0000 (16:08 +0800)]
mipi dsi: fix compile error,sorry

11 years agomipi dsi: add ft code support and make code more independent
hhb [Fri, 26 Jul 2013 07:42:10 +0000 (15:42 +0800)]
mipi dsi: add ft code support and make code more independent

11 years agork30 hdmi: update hdcp driver which pass CTS.
Zheng Yang [Fri, 26 Jul 2013 02:03:22 +0000 (10:03 +0800)]
rk30 hdmi: update hdcp driver which pass CTS.

11 years agork3188 lcdc: fix compile error
hjc [Thu, 25 Jul 2013 06:33:40 +0000 (14:33 +0800)]
rk3188 lcdc: fix compile error

11 years agork3188 lcdc:add support rk3026/rk3028a lcdc and iep
hjc [Thu, 25 Jul 2013 02:52:25 +0000 (10:52 +0800)]
rk3188 lcdc:add support rk3026/rk3028a lcdc and iep

11 years agork3168m_f304: add board and defconfig file
hjc [Thu, 25 Jul 2013 03:15:48 +0000 (11:15 +0800)]
rk3168m_f304: add board and defconfig file

11 years agoit66121: fix hdmi 720p flash
yzq [Thu, 25 Jul 2013 03:08:33 +0000 (11:08 +0800)]
it66121: fix hdmi 720p flash

11 years agork3026: add uboot display support
chenxing [Thu, 25 Jul 2013 01:46:16 +0000 (09:46 +0800)]
rk3026: add uboot display support

11 years agocompatible with factory tool kernel config
hwg [Wed, 24 Jul 2013 10:43:38 +0000 (18:43 +0800)]
compatible with factory tool kernel config

11 years agork3026: add dvfs support
chenxing [Wed, 24 Jul 2013 10:35:47 +0000 (18:35 +0800)]
rk3026: add dvfs support

11 years agork2928: pm.c code refactoring
chenxing [Wed, 24 Jul 2013 09:20:04 +0000 (17:20 +0800)]
rk2928: pm.c code refactoring

11 years agork3026: memory.h fix for smp
黄涛 [Wed, 24 Jul 2013 08:31:00 +0000 (16:31 +0800)]
rk3026: memory.h fix for smp

11 years agoadd broadcom wifi host wake up support for sys interface.
gwl [Wed, 24 Jul 2013 06:50:30 +0000 (14:50 +0800)]
add broadcom wifi host wake up support for sys interface.

11 years agork3026 hdmi: add hdmi config to 3026/3028a tb deconfig, change platform driver name
xuhuicong [Wed, 24 Jul 2013 06:31:42 +0000 (14:31 +0800)]
rk3026 hdmi: add hdmi config to 3026/3028a tb deconfig, change platform driver name

11 years agolvds: modify rk3026_lvds
ZHW [Wed, 24 Jul 2013 04:02:33 +0000 (12:02 +0800)]
lvds: modify rk3026_lvds

1.add register device:"rk3026-lvds".
2.modify driver name:"rk3028a"->"rk3026".

11 years agoMerge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into local-develop-3.0
lintao [Wed, 24 Jul 2013 02:49:07 +0000 (10:49 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into local-develop-3.0

11 years agoWi-Fi Group: add esp8089 SDIO Wi-Fi support
lintao [Wed, 24 Jul 2013 02:47:51 +0000 (10:47 +0800)]
Wi-Fi Group: add esp8089 SDIO Wi-Fi support

11 years agomend dos ^M character
ywj [Wed, 24 Jul 2013 01:56:31 +0000 (09:56 +0800)]
mend dos ^M character

11 years agoadd bcm wifi 24M crystal options for AP6210.
gwl [Wed, 24 Jul 2013 01:49:10 +0000 (09:49 +0800)]
add bcm wifi 24M crystal options for AP6210.

11 years agork3028a hdmi: add 3028a hdmi driver as compatible with rk616 hdmi
xuhuicong [Wed, 24 Jul 2013 01:28:11 +0000 (09:28 +0800)]
rk3028a hdmi: add 3028a hdmi driver as compatible with rk616 hdmi

11 years agoMerge branch 'develop-3.0' of 10.10.10.29:rk/kernel into develop-3.0
ywj [Tue, 23 Jul 2013 11:08:44 +0000 (19:08 +0800)]
Merge branch 'develop-3.0' of 10.10.10.29:rk/kernel into develop-3.0

11 years agomend lcd parameter error
ywj [Tue, 23 Jul 2013 11:06:37 +0000 (19:06 +0800)]
mend lcd parameter error

11 years ago【修改内容】更新bp-auto驱动
wlq [Tue, 23 Jul 2013 10:16:49 +0000 (18:16 +0800)]
【修改内容】更新bp-auto驱动
【涉及文件】
drivers/misc/bp/bp-auto.c
drivers/misc/bp/chips/Kconfig
drivers/misc/bp/chips/Makefile
drivers/misc/bp/chips/a85xx.c
drivers/misc/bp/chips/aw706.c
drivers/misc/bp/chips/m51.c
drivers/misc/bp/chips/sc6610.c
include/linux/bp-auto.h

11 years agoadd broadcom wifi OOB support, gpio resource & sdio irq.
gwl [Tue, 23 Jul 2013 07:09:21 +0000 (15:09 +0800)]
add broadcom wifi OOB support, gpio resource & sdio irq.

11 years agork3188:pmu:rt5025:modify some bug for pmu charger & irq & guage
张晴 [Tue, 23 Jul 2013 03:04:22 +0000 (11:04 +0800)]
rk3188:pmu:rt5025:modify some bug for pmu charger & irq & guage

11 years agork3026: usb: support for usb-debug
lyz [Tue, 23 Jul 2013 03:06:47 +0000 (11:06 +0800)]
rk3026: usb: support for usb-debug

11 years agousb: support for rk3026
lyz [Mon, 22 Jul 2013 11:16:32 +0000 (19:16 +0800)]
usb: support for rk3026

11 years agoboard rk3188m f304:update dvfs table
yxj [Mon, 22 Jul 2013 09:48:23 +0000 (17:48 +0800)]
board rk3188m f304:update dvfs table

11 years agomipi dsi: decrease phy hs2lp and lp2hs time
hhb [Mon, 22 Jul 2013 08:45:37 +0000 (16:45 +0800)]
mipi dsi: decrease phy hs2lp and lp2hs time

11 years agork3026:pmu:modify defult voltage
张晴 [Mon, 22 Jul 2013 08:23:28 +0000 (16:23 +0800)]
rk3026:pmu:modify defult voltage

11 years agoadd config 'emmc io domain voltage select 3.3v'
kfx [Mon, 22 Jul 2013 06:36:14 +0000 (14:36 +0800)]
add config 'emmc io domain voltage select 3.3v'

11 years agofs/partitions: mtdpart: add command line fix for rk emmc
黄涛 [Mon, 22 Jul 2013 03:35:20 +0000 (11:35 +0800)]
fs/partitions: mtdpart: add command line fix for rk emmc

11 years agork3026:pmu:modify tps65910 defult voltage
张晴 [Sat, 20 Jul 2013 09:14:39 +0000 (17:14 +0800)]
rk3026:pmu:modify tps65910 defult voltage

11 years agofactoryToolV4.0 support on rk3168,lcd,bL,codec,tp,usbwifi,battery control by parameter
ywj [Sat, 20 Jul 2013 07:40:09 +0000 (15:40 +0800)]
factoryToolV4.0 support on rk3168,lcd,bL,codec,tp,usbwifi,battery control by parameter

11 years agoemmc: do NOT alloc boot partition now
kfx [Sat, 20 Jul 2013 06:51:00 +0000 (14:51 +0800)]
emmc: do NOT alloc boot partition now

11 years agork2928: pm.c refactoring as rk30
chenxing [Sat, 20 Jul 2013 06:41:50 +0000 (14:41 +0800)]
rk2928: pm.c refactoring as rk30

11 years agothe VDDLOG_CTL pin is GPIO3_D4, not GPIO3_D6
许盛飞 [Sat, 20 Jul 2013 01:26:45 +0000 (09:26 +0800)]
the VDDLOG_CTL pin is GPIO3_D4, not GPIO3_D6

11 years agoadd the function of calling-in-suspend
许盛飞 [Sat, 20 Jul 2013 01:13:30 +0000 (09:13 +0800)]
add the function of calling-in-suspend

11 years agork3188 lcdc: fix screen flash when use win1
hjc [Fri, 19 Jul 2013 11:56:02 +0000 (19:56 +0800)]
rk3188 lcdc: fix screen flash when use win1

11 years agomtdpart: put_partition: start from p1
kfx [Fri, 19 Jul 2013 10:54:53 +0000 (18:54 +0800)]
mtdpart: put_partition: start from p1

11 years agork3188: -t: fix ddr volt too low
chenxing [Fri, 19 Jul 2013 09:31:37 +0000 (17:31 +0800)]
rk3188: -t: fix ddr volt too low

11 years agoRevert "rk3188: -t: fix ddr volt too low"
chenxing [Fri, 19 Jul 2013 09:24:35 +0000 (17:24 +0800)]
Revert "rk3188: -t: fix ddr volt too low"

This reverts commit dd633aeaf03ff5da8dce9d5182947f6c7bd92d3d.

11 years agocamera:cif support rk3188M
zyc [Fri, 19 Jul 2013 08:56:02 +0000 (16:56 +0800)]
camera:cif support rk3188M

11 years agork3188: -t: fix ddr volt too low
chenxing [Fri, 19 Jul 2013 07:04:32 +0000 (15:04 +0800)]
rk3188: -t: fix ddr volt too low

11 years agoF304: add board & tp
yj [Fri, 19 Jul 2013 06:26:52 +0000 (14:26 +0800)]
F304: add board & tp

11 years agoadd lcd B080XAN02 driver
hhb [Fri, 19 Jul 2013 04:57:16 +0000 (12:57 +0800)]
add lcd B080XAN02 driver

11 years agomipi dsi: add HSDT and LPDT, and version tag
hhb [Fri, 19 Jul 2013 04:30:38 +0000 (12:30 +0800)]
mipi dsi: add HSDT and LPDT, and version tag

11 years agowait: fix false timeouts when using wait_event_timeout()
Imre Deak [Fri, 24 May 2013 22:55:09 +0000 (15:55 -0700)]
wait: fix false timeouts when using wait_event_timeout()

commit 4c663cfc523a88d97a8309b04a089c27dc57fd7e upstream.

Many callers of the wait_event_timeout() and
wait_event_interruptible_timeout() expect that the return value will be
positive if the specified condition becomes true before the timeout
elapses.  However, at the moment this isn't guaranteed.  If the wake-up
handler is delayed enough, the time remaining until timeout will be
calculated as 0 - and passed back as a return value - even if the
condition became true before the timeout has passed.

Fix this by returning at least 1 if the condition becomes true.  This
semantic is in line with what wait_for_condition_timeout() does; see
commit bb10ed09 ("sched: fix wait_for_completion_timeout() spurious
failure under heavy load").

Daniel said "We have 3 instances of this bug in drm/i915.  One case even
where we switch between the interruptible and not interruptible
wait_event_timeout variants, foolishly presuming they have the same
semantics.  I very much like this."

One such bug is reported at
  https://bugs.freedesktop.org/show_bug.cgi?id=64133

Signed-off-by: Imre Deak <imre.deak@intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Dave Jones <davej@redhat.com>
Cc: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agofat: fix possible overflow for fat_clusters
OGAWA Hirofumi [Fri, 24 May 2013 22:55:08 +0000 (15:55 -0700)]
fat: fix possible overflow for fat_clusters

commit 7b92d03c3239f43e5b86c9cc9630f026d36ee995 upstream.

Intermediate value of fat_clusters can be overflowed on 32bits arch.

Reported-by: Krzysztof Strasburger <strasbur@chkw386.ch.pwr.wroc.pl>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agoNLS: improve UTF8 -> UTF16 string conversion routine
Alan Stern [Thu, 17 Nov 2011 21:42:19 +0000 (16:42 -0500)]
NLS: improve UTF8 -> UTF16 string conversion routine

commit 0720a06a7518c9d0c0125bd5d1f3b6264c55c3dd upstream.

The utf8s_to_utf16s conversion routine needs to be improved.  Unlike
its utf16s_to_utf8s sibling, it doesn't accept arguments specifying
the maximum length of the output buffer or the endianness of its
16-bit output.

This patch (as1501) adds the two missing arguments, and adjusts the
only two places in the kernel where the function is called.  A
follow-on patch will add a third caller that does utilize the new
capabilities.

The two conversion routines are still annoyingly inconsistent in the
way they handle invalid byte combinations.  But that's a subject for a
different patch.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 years agork: cpu.c support rk3026
黄涛 [Thu, 18 Jul 2013 11:38:28 +0000 (19:38 +0800)]
rk: cpu.c support rk3026

11 years agolvds:support rk3028a_lvds,config:"RK3028a_LVDS"
ZHW [Thu, 18 Jul 2013 09:58:08 +0000 (17:58 +0800)]
lvds:support rk3028a_lvds,config:"RK3028a_LVDS"

11 years agork2928: add aclk_vio_pre src_sel; fix peri_clk realc func, uart1 sel_con
chenxing [Thu, 18 Jul 2013 06:42:56 +0000 (14:42 +0800)]
rk2928: add aclk_vio_pre src_sel; fix peri_clk realc func, uart1 sel_con

11 years agork616: Set rk616 config i2s on DMA event mode to static mode
xhc [Thu, 18 Jul 2013 04:57:01 +0000 (12:57 +0800)]
rk616: Set rk616 config i2s on DMA event mode to static mode

11 years agork3026: format clock_data.c
chenxing [Thu, 18 Jul 2013 04:30:39 +0000 (12:30 +0800)]
rk3026: format clock_data.c

11 years agork3026: 'rk3026 top board' && 'rk3028a top board' support
kfx [Thu, 18 Jul 2013 03:59:37 +0000 (11:59 +0800)]
rk3026: 'rk3026 top board' && 'rk3028a top board' support

11 years agosdmmc: fixed compile error
kfx [Thu, 18 Jul 2013 03:37:37 +0000 (11:37 +0800)]
sdmmc: fixed compile error

11 years agork3026: add clock_data support
chenxing [Thu, 18 Jul 2013 02:32:02 +0000 (10:32 +0800)]
rk3026: add clock_data support

11 years agork2928: gpio.h add RK30 define
黄涛 [Wed, 17 Jul 2013 11:03:37 +0000 (19:03 +0800)]
rk2928: gpio.h add RK30 define

11 years agork: Kconfig add RK3026 support
黄涛 [Wed, 17 Jul 2013 04:56:43 +0000 (12:56 +0800)]
rk: Kconfig add RK3026 support

11 years agork31:rt5025:modify rt5025 defult voltage
张晴 [Tue, 16 Jul 2013 12:51:00 +0000 (20:51 +0800)]
rk31:rt5025:modify rt5025 defult voltage

11 years agoboard rk3188m tb:set max cpu frequency to 1296 MHZ
yxj [Tue, 16 Jul 2013 09:37:35 +0000 (17:37 +0800)]
board rk3188m tb:set max cpu frequency to 1296 MHZ

11 years agospdif: spdif use dma static mode
邱建斌 [Tue, 16 Jul 2013 08:16:49 +0000 (16:16 +0800)]
spdif: spdif use dma static mode

11 years agoiomux: Uniform Naming: I2S0_MCLK && I2S0_LRCKRX
kfx [Tue, 16 Jul 2013 02:29:49 +0000 (10:29 +0800)]
iomux: Uniform Naming: I2S0_MCLK && I2S0_LRCKRX

11 years agoARM: RK: add initial support for RK3026
黄涛 [Mon, 15 Jul 2013 10:08:00 +0000 (18:08 +0800)]
ARM: RK: add initial support for RK3026

11 years agoRK3188T:1)fix ddr change frequency bug for RK3188T
cym [Fri, 12 Jul 2013 07:57:55 +0000 (15:57 +0800)]
RK3188T:1)fix ddr change frequency bug for RK3188T
        2)fix LPDDR2 burst length set bug

11 years agork3188: fix ddr pll do not update status
chenxing [Fri, 12 Jul 2013 07:47:26 +0000 (15:47 +0800)]
rk3188: fix ddr pll do not update status

11 years agork: add function to get dvfs table range
chenxing [Fri, 12 Jul 2013 07:14:24 +0000 (15:14 +0800)]
rk: add function to get dvfs table range