firefly-linux-kernel-4.4.55.git
10 years agoMerge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
wlf [Sat, 10 Aug 2013 03:02:02 +0000 (11:02 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0

10 years agoUSB: EHCI HCD (USB 2.0) support for rk3108/rk3168/rk3188
wlf [Sat, 10 Aug 2013 03:01:07 +0000 (11:01 +0800)]
USB: EHCI HCD (USB 2.0) support for rk3108/rk3168/rk3188

10 years agork3188:pmu_rt5025:updata rt5025 drivers,modify some bug
张晴 [Sat, 10 Aug 2013 02:28:23 +0000 (10:28 +0800)]
rk3188:pmu_rt5025:updata rt5025 drivers,modify some bug

10 years agork3188: set init arm freq to 792M
chenxing [Sat, 10 Aug 2013 01:52:55 +0000 (09:52 +0800)]
rk3188: set init arm freq to 792M

10 years agork30xx: add dvfs table auto adjust by leakage interface
chenxing [Sat, 10 Aug 2013 01:50:19 +0000 (09:50 +0800)]
rk30xx: add dvfs table auto adjust by leakage interface

10 years agork3188:pmu-ricoh619:updata the drivers,modify some rtc and fg bug
张晴 [Fri, 9 Aug 2013 03:46:18 +0000 (11:46 +0800)]
rk3188:pmu-ricoh619:updata the drivers,modify some rtc and fg bug

10 years agork3028a_86v: defconfig add usb charge and gsensor ic gs_lsm303d
hjc [Fri, 9 Aug 2013 02:25:03 +0000 (10:25 +0800)]
rk3028a_86v: defconfig add usb charge and gsensor ic gs_lsm303d

10 years agork3028a:tps65910:support pmu tps65910 for 3028a_86v
张晴 [Fri, 9 Aug 2013 01:40:33 +0000 (09:40 +0800)]
rk3028a:tps65910:support pmu tps65910 for 3028a_86v

10 years agork3026: add reset support
黄涛 [Thu, 8 Aug 2013 08:22:16 +0000 (16:22 +0800)]
rk3026: add reset support

10 years agots: rk29_i2c_goodix: fix shutdown panic, prevent unregister_early_suspend before...
黄涛 [Thu, 8 Aug 2013 06:37:19 +0000 (14:37 +0800)]
ts: rk29_i2c_goodix: fix shutdown panic, prevent unregister_early_suspend before register_early_suspend

10 years agoSDMMC:
xbw [Thu, 8 Aug 2013 08:50:13 +0000 (16:50 +0800)]
SDMMC:
1、Simplify the driver code.
2、modify the SDMMC_CLKEN_DISABLE
3、prepare for IDMA.
4、continue with 2b0034ec2ea1fe2c836741b2010b80982016ab53

10 years agomipi dsi: add clk_notifier function to invoke rk_mipi_dsi_init_lite()
hhb [Thu, 8 Aug 2013 06:46:06 +0000 (14:46 +0800)]
mipi dsi: add clk_notifier function to invoke rk_mipi_dsi_init_lite()

10 years agoupdate drivers/misc/bp/chips/u7501.c
赵子初 [Thu, 8 Aug 2013 03:30:02 +0000 (11:30 +0800)]
update drivers/misc/bp/chips/u7501.c

10 years agork3026: rk3028a_tb: gsensor: lis3dh support
kfx [Thu, 8 Aug 2013 02:49:08 +0000 (10:49 +0800)]
rk3026: rk3028a_tb: gsensor: lis3dh support

10 years agork610 lvds : fix bug about lvds suspend
yzq [Thu, 8 Aug 2013 02:46:13 +0000 (10:46 +0800)]
rk610 lvds : fix bug about lvds suspend

10 years agork616: set mclk 11.2896m when unplug hdmi because mipi splash screen
xuhuicong [Thu, 8 Aug 2013 01:12:05 +0000 (09:12 +0800)]
rk616: set mclk 11.2896m when unplug hdmi because mipi splash screen

10 years agoUSB: fix bug to avoid usb host channel halt when hot plug
wlf [Wed, 7 Aug 2013 10:35:55 +0000 (18:35 +0800)]
USB: fix bug to avoid usb host channel halt when hot plug

10 years agork3028a_86v: add support gsensor lis3dh and emmc_rk
hjc [Wed, 7 Aug 2013 07:34:58 +0000 (15:34 +0800)]
rk3028a_86v: add support gsensor lis3dh and emmc_rk

10 years agork: pm_tests: add rk2918 FT command board support as a watchdog for dvfs table scan
chenxing [Wed, 7 Aug 2013 06:55:16 +0000 (14:55 +0800)]
rk: pm_tests: add rk2918 FT command board support as a watchdog for dvfs table scan

10 years agork3026: rk3028a_tb: set min_brightness 20
kfx [Wed, 7 Aug 2013 03:53:28 +0000 (11:53 +0800)]
rk3026: rk3028a_tb: set min_brightness 20

10 years agork3028a_86v: add board defined,fix some basic function
hjc [Wed, 7 Aug 2013 03:28:21 +0000 (11:28 +0800)]
rk3028a_86v: add board defined,fix some basic function

10 years agork616 codec:sleep 150ms after setting spk/hp gpio and fix capture error
陈金泉 [Wed, 7 Aug 2013 03:31:20 +0000 (11:31 +0800)]
rk616 codec:sleep 150ms after setting spk/hp gpio and fix capture error

10 years agork3026: add new common.c, reset use rk30 version
黄涛 [Tue, 6 Aug 2013 11:29:11 +0000 (19:29 +0800)]
rk3026: add new common.c, reset use rk30 version

also restore rk2928 common.c

10 years agork30: reset better check panic
黄涛 [Tue, 6 Aug 2013 11:16:25 +0000 (19:16 +0800)]
rk30: reset better check panic

10 years agork gps: change soc board level function type and struct variable into static type
hhb [Tue, 6 Aug 2013 10:46:36 +0000 (18:46 +0800)]
rk gps: change soc board level function type and struct variable into static type

10 years agork gps: add soc gps board level code
hhb [Tue, 6 Aug 2013 10:33:47 +0000 (18:33 +0800)]
rk gps: add soc gps board level code

10 years agocodec: 3028a & 3026 record enable
yj [Tue, 6 Aug 2013 10:17:20 +0000 (18:17 +0800)]
codec: 3028a & 3026 record enable

10 years agoRK30/RK31:remove DDR2 and LPDDR1 support,merge ODT and DLL disable freq,
cym [Tue, 6 Aug 2013 09:11:34 +0000 (17:11 +0800)]
RK30/RK31:remove DDR2 and LPDDR1 support,merge ODT and DLL disable freq,
fix RK3188+ DLL bypass bug,and so on.

10 years agomipi dsi: fix bug about mclk variation
hhb [Tue, 6 Aug 2013 09:09:13 +0000 (17:09 +0800)]
mipi dsi: fix bug about mclk variation

10 years agowdt: use two clock name that is wdt and pclk_wdt for all soc
hhb [Tue, 6 Aug 2013 06:53:50 +0000 (14:53 +0800)]
wdt: use two clock name that is wdt and pclk_wdt for all soc

10 years agork: refactor boot_mode code
黄涛 [Tue, 6 Aug 2013 03:18:36 +0000 (11:18 +0800)]
rk: refactor boot_mode code

10 years agomipi dsi: add mclk change from 11289600 to 12M
hhb [Tue, 6 Aug 2013 02:32:51 +0000 (10:32 +0800)]
mipi dsi: add mclk change from 11289600 to 12M

10 years agork3026: usb: set gpio3c1 iomux to usb otg_drv
lyz [Mon, 5 Aug 2013 06:45:17 +0000 (14:45 +0800)]
rk3026: usb: set gpio3c1 iomux to usb otg_drv

10 years agoRK3028A:fix compile err by ddr_freq.c
cym [Mon, 5 Aug 2013 10:26:06 +0000 (18:26 +0800)]
RK3028A:fix compile err by ddr_freq.c

10 years agoRK3168/RK3188:add DDR_CHANGE_FREQ_IN_LCDC_VSYNC
cym [Mon, 5 Aug 2013 09:20:35 +0000 (17:20 +0800)]
RK3168/RK3188:add DDR_CHANGE_FREQ_IN_LCDC_VSYNC

10 years agocamera: cif v0.3.d, support for rk3028a, and revert for 3188m commit
ddl [Mon, 5 Aug 2013 08:51:54 +0000 (16:51 +0800)]
camera: cif v0.3.d, support for rk3028a, and revert for 3188m commit

10 years agork fb: add rk31xx interface rk_fb_poll_wait_frame_complete for ddr and fps freq
hjc [Mon, 5 Aug 2013 08:30:14 +0000 (16:30 +0800)]
rk fb: add rk31xx interface rk_fb_poll_wait_frame_complete for ddr and fps freq

10 years agork3026: rk3028a_tb: emmc support
kfx [Mon, 5 Aug 2013 08:10:21 +0000 (16:10 +0800)]
rk3026: rk3028a_tb: emmc support

10 years agoiomux: add interface: iomux_is_set(unsigned int mode)
kfx [Mon, 5 Aug 2013 08:04:24 +0000 (16:04 +0800)]
iomux: add interface: iomux_is_set(unsigned int mode)

return value:
-1: mode is invalide
0 : mode is not set
1 : mode is set

10 years ago3G:add U7501 and a8530
wlq [Tue, 30 Jul 2013 12:37:53 +0000 (20:37 +0800)]
3G:add  U7501 and a8530

10 years agoSD(io)/(e)MMC: update mmc flow, continue commit-sha19896ff517b38c2c2db17980a71dca8cd2...
lintao [Mon, 5 Aug 2013 02:38:52 +0000 (10:38 +0800)]
SD(io)/(e)MMC: update mmc flow, continue commit-sha19896ff517b38c2c2db17980a71dca8cd23fb8585

10 years agork3026: fix lvds finishing the recent changes
ZHW [Mon, 5 Aug 2013 01:36:07 +0000 (09:36 +0800)]
rk3026: fix lvds finishing the recent changes

10 years agoSD(io)/(e)MMC: continue commit-sha1 ea8dee539185a8002976b8d8701184390a72d0fc
lintao [Mon, 5 Aug 2013 01:09:31 +0000 (09:09 +0800)]
SD(io)/(e)MMC: continue commit-sha1 ea8dee539185a8002976b8d8701184390a72d0fc

10 years agofix compile error , so sorry
lyz [Sat, 3 Aug 2013 13:57:51 +0000 (21:57 +0800)]
fix compile error , so sorry

10 years agork: mem_reserve: workaround for RGA driver, which may overflow on physical memory...
黄涛 [Sat, 3 Aug 2013 06:58:02 +0000 (14:58 +0800)]
rk: mem_reserve: workaround for RGA driver, which may overflow on physical memory address parameter

10 years agork3026: fix boot secondary cpu fail
黄涛 [Sat, 3 Aug 2013 06:27:51 +0000 (14:27 +0800)]
rk3026: fix boot secondary cpu fail

10 years agork3026_86v: add board and defconfig
hjc [Sat, 3 Aug 2013 03:25:49 +0000 (11:25 +0800)]
rk3026_86v: add board and defconfig

10 years agork3026: usb: wake up by otg id & bvalid
lyz [Fri, 2 Aug 2013 10:50:31 +0000 (18:50 +0800)]
rk3026: usb: wake up by otg id & bvalid

10 years agoMerge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
lintao [Fri, 2 Aug 2013 10:13:13 +0000 (18:13 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0

10 years agoSDIO:
lintao [Fri, 2 Aug 2013 10:12:47 +0000 (18:12 +0800)]
SDIO:
    1. add SDIO v3.0
    2. interface for set_volate retry while busy in ACMD41, 10 times will been TMO

10 years agork3188: -t: set chip rk3188t uart init freq = 49.5M
chenxing [Fri, 2 Aug 2013 10:07:29 +0000 (18:07 +0800)]
rk3188: -t: set chip rk3188t uart init freq = 49.5M

10 years agork3168: fix cpu_div default set error
chenxing [Fri, 2 Aug 2013 09:49:53 +0000 (17:49 +0800)]
rk3168: fix cpu_div default set error

10 years agork3188: fix cpu_div default set error
chenxing [Fri, 2 Aug 2013 09:49:08 +0000 (17:49 +0800)]
rk3188: fix cpu_div default set error

10 years agork3026: add cif_in support
chenxing [Fri, 2 Aug 2013 09:43:08 +0000 (17:43 +0800)]
rk3026: add cif_in support

10 years agork3026: set gpll=768M, cpll=594M as rk31xx
chenxing [Fri, 2 Aug 2013 09:20:51 +0000 (17:20 +0800)]
rk3026: set gpll=768M, cpll=594M as rk31xx

10 years agork3026: add more freq support
chenxing [Fri, 2 Aug 2013 08:54:38 +0000 (16:54 +0800)]
rk3026: add more freq support

10 years agork3026: add SOFT_RST_CPU_VCODEC to compatible with rk2928
chenxing [Fri, 2 Aug 2013 02:18:17 +0000 (10:18 +0800)]
rk3026: add SOFT_RST_CPU_VCODEC to compatible with rk2928

10 years ago3028a hdmi: improve Signal consistency
xuhuicong [Fri, 2 Aug 2013 08:44:35 +0000 (16:44 +0800)]
3028a hdmi: improve Signal consistency

10 years agoSDMMC:
xbw [Fri, 2 Aug 2013 07:58:43 +0000 (15:58 +0800)]
SDMMC:
1、add the support for SD Spec V3.0.
2、add the support for UHS-I
3. add the support for IDMA(Internal DMA)
4. eliminate the small flaw about some machines may crash because of sdio-interrupt.

10 years ago codec: *** miss codec files again ***
yj [Fri, 2 Aug 2013 06:55:21 +0000 (14:55 +0800)]
codec: *** miss codec files again ***

10 years agork3026: rk3028a_tb: pwm regulator support
kfx [Fri, 2 Aug 2013 06:41:47 +0000 (14:41 +0800)]
rk3026: rk3028a_tb: pwm regulator support

10 years ago codec: 3028a & 3026, change str 3028 to 3026
yj [Fri, 2 Aug 2013 06:33:14 +0000 (14:33 +0800)]
codec: 3028a & 3026, change str 3028 to 3026

10 years agork3026: rk3028a_tb: fix wifi config: RK903->BCM4330
kfx [Fri, 2 Aug 2013 04:29:27 +0000 (12:29 +0800)]
rk3026: rk3028a_tb: fix wifi config: RK903->BCM4330

10 years agork3026: rk3028a_tb: wifi support
kfx [Fri, 2 Aug 2013 02:44:40 +0000 (10:44 +0800)]
rk3026: rk3028a_tb: wifi support

10 years agork: ipp: only avaliable on arch rk29/rk30/rk3188
黄涛 [Fri, 2 Aug 2013 02:29:04 +0000 (10:29 +0800)]
rk: ipp: only avaliable on arch rk29/rk30/rk3188

10 years agork3026: devices.c: rename device_vpu_service to device_vpu, prevent duplicate add...
黄涛 [Fri, 2 Aug 2013 02:17:16 +0000 (10:17 +0800)]
rk3026: devices.c: rename device_vpu_service to device_vpu, prevent duplicate add device

10 years agork: vpu_service: better support irq import by add new driver
黄涛 [Fri, 2 Aug 2013 02:14:22 +0000 (10:14 +0800)]
rk: vpu_service: better support irq import by add new driver

10 years agork3026: tb: defconfig enable CC_OPTIMIZE_FOR_SIZE
黄涛 [Fri, 2 Aug 2013 01:46:12 +0000 (09:46 +0800)]
rk3026: tb: defconfig enable CC_OPTIMIZE_FOR_SIZE

10 years agork3026: usb: config usb fifo for device mode
lyz [Thu, 1 Aug 2013 15:39:25 +0000 (23:39 +0800)]
rk3026: usb: config usb fifo for device mode

10 years agork3028a hdmi: add pre-driver and main-driver strength to make signal more good
xuhuicong [Thu, 1 Aug 2013 14:00:40 +0000 (22:00 +0800)]
rk3028a hdmi: add pre-driver and main-driver strength to make signal more good

10 years agork3026: rk3028a_tb: sdmmc support
kfx [Thu, 1 Aug 2013 12:57:11 +0000 (20:57 +0800)]
rk3026: rk3028a_tb: sdmmc support

10 years agork: mem_reserve: fix reserved_base_end when meminfo split by kernel
黄涛 [Thu, 1 Aug 2013 12:44:13 +0000 (20:44 +0800)]
rk: mem_reserve: fix reserved_base_end when meminfo split by kernel

commit again, should with commit:
block: initialize the bounce pool if high memory may be added later

10 years agoblock: initialize the bounce pool if high memory may be added later
David Vrabel [Thu, 20 Oct 2011 19:24:30 +0000 (21:24 +0200)]
block: initialize the bounce pool if high memory may be added later

init_emergency_pool() does not create the page pool for bouncing block
requests if the current count of high pages is zero.  If high memory
may be added later (either via memory hotplug or a balloon driver in a
virtualized system) then a oops occurs if a request with a high page
need bouncing because the pool does not exist.

So, always create the pool if memory hotplug is enabled and change the
test so it's valid even if all high pages are currently in the balloon
(the balloon drivers adjust totalhigh_pages but not max_pfn).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
10 years agoRevert "rk: mem_reserve: fix reserved_base_end when meminfo split by kernel"
黄涛 [Thu, 1 Aug 2013 12:01:37 +0000 (20:01 +0800)]
Revert "rk: mem_reserve: fix reserved_base_end when meminfo split by kernel"

This reverts commit 54438770201575effabffe6bce9a52e0d440fd60.

10 years agork3188: allow compile vpu_service on rk3188
黄涛 [Thu, 1 Aug 2013 11:40:22 +0000 (19:40 +0800)]
rk3188: allow compile vpu_service on rk3188

10 years agork: mem_reserve: fix reserved_base_end when meminfo split by kernel
黄涛 [Thu, 1 Aug 2013 11:35:51 +0000 (19:35 +0800)]
rk: mem_reserve: fix reserved_base_end when meminfo split by kernel

10 years agork3026: tb: defconfig: NR_CPUS set to 2
黄涛 [Thu, 1 Aug 2013 10:45:10 +0000 (18:45 +0800)]
rk3026: tb: defconfig: NR_CPUS set to 2

10 years agork3026: set aclk_vio0/1_niu as parent to make sure it is open when clk need it
chenxing [Thu, 1 Aug 2013 10:27:43 +0000 (18:27 +0800)]
rk3026: set aclk_vio0/1_niu as parent to make sure it is open when clk need it

10 years agork3026: fix ddr freq do not update
chenxing [Thu, 1 Aug 2013 09:51:33 +0000 (17:51 +0800)]
rk3026: fix ddr freq do not update

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