firefly-linux-kernel-4.4.55.git
10 years agoRK3028A/RK3026:change driving and odt strength setting
typ [Thu, 1 Aug 2013 10:51:04 +0000 (18:51 +0800)]
RK3028A/RK3026:change driving and odt strength setting

10 years agork3026: add watch dog platform device
hhb [Thu, 1 Aug 2013 10:14:13 +0000 (18:14 +0800)]
rk3026: add watch dog platform device

10 years ago codec:3028a & 3026 miss files
yj [Thu, 1 Aug 2013 09:12:09 +0000 (17:12 +0800)]
codec:3028a & 3026 miss files

10 years ago codec: support 3028a & 3026
yj [Thu, 1 Aug 2013 08:52:07 +0000 (16:52 +0800)]
codec: support 3028a & 3026

10 years agork3026: disable adc keyboard
kfx [Thu, 1 Aug 2013 07:53:01 +0000 (15:53 +0800)]
rk3026: disable adc keyboard

because rk280a adc reference voltage is 3.3V, but
rk30xx mainbord key's supply voltage is 2.5V and
rk31xx mainbord key's supply voltage is 1.8V.

10 years agork: vpu_service: support rk3026 by irq import
黄涛 [Thu, 1 Aug 2013 07:33:10 +0000 (15:33 +0800)]
rk: vpu_service: support rk3026 by irq import

10 years agork3026: devices.c: register device_vpu_service
黄涛 [Thu, 1 Aug 2013 07:27:25 +0000 (15:27 +0800)]
rk3026: devices.c: register device_vpu_service

10 years agork_serial: fix compile error when printascii no define
黄涛 [Thu, 1 Aug 2013 01:27:14 +0000 (09:27 +0800)]
rk_serial: fix compile error when printascii no define

10 years agork3026: lcdc and lvds fix
hjc [Thu, 1 Aug 2013 02:09:02 +0000 (10:09 +0800)]
rk3026: lcdc and lvds fix

10 years agork3026: rk3026_tb&&rk3028a_tb: set max cpu freq: 816Mhz
kfx [Thu, 1 Aug 2013 01:05:12 +0000 (09:05 +0800)]
rk3026: rk3026_tb&&rk3028a_tb: set max cpu freq: 816Mhz

10 years agoDDR support RK3028A/RK3026
typ [Wed, 31 Jul 2013 11:05:10 +0000 (19:05 +0800)]
DDR support RK3028A/RK3026

10 years agork3026: surnamed clk_core_periph as smp_twd
chenxing [Wed, 31 Jul 2013 10:27:20 +0000 (18:27 +0800)]
rk3026: surnamed clk_core_periph as smp_twd

10 years agork3026: usb-detect: disable wake-up by otg-id
lyz [Wed, 31 Jul 2013 08:24:20 +0000 (16:24 +0800)]
rk3026: usb-detect: disable wake-up by otg-id

10 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

10 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

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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

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

10 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

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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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.

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

10 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

10 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

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

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

10 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

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

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

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

10 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.

10 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

10 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".

10 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

10 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

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

10 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.

10 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

10 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

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

10 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

10 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.

10 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

10 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

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

10 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

10 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

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

10 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'

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

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

10 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

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

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

10 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

10 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>
10 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>
10 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>
10 years agork: cpu.c support rk3026
黄涛 [Thu, 18 Jul 2013 11:38:28 +0000 (19:38 +0800)]
rk: cpu.c support rk3026

10 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"

10 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

10 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

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