wlf [Tue, 5 Mar 2013 07:11:59 +0000 (15:11 +0800)]
RK3188 USB: disable usb bypass uart function in standby, reduce power consumption
黄涛 [Tue, 5 Mar 2013 04:02:20 +0000 (12:02 +0800)]
rk3168/rk3188: board enable CONFIG_UHID in defconfig
Enable CONFIG_UHID to allow userspace to inject HID packets.
黄涛 [Tue, 5 Mar 2013 03:54:28 +0000 (11:54 +0800)]
rk3188: grf add io power domain voltage api
黄涛 [Tue, 5 Mar 2013 03:54:11 +0000 (11:54 +0800)]
rk3066b: grf add io power domain voltage api
yxj [Mon, 4 Mar 2013 02:58:36 +0000 (10:58 +0800)]
rk30、rk3168、rk3188 lcdc:use get_format_string print data format
yxj [Mon, 4 Mar 2013 02:42:32 +0000 (10:42 +0800)]
rk fb:add get_format_string to convert format to string for debug
yxj [Fri, 1 Mar 2013 02:31:06 +0000 (10:31 +0800)]
lcd_hdmi_xxx.c:compatile with new rk hdmi framework
yxj [Thu, 28 Feb 2013 09:58:46 +0000 (17:58 +0800)]
LR097:compatile with gsensor lis3dh
邱建斌 [Tue, 5 Mar 2013 02:59:30 +0000 (10:59 +0800)]
rk610 codec: add poweroff codec diable clk
邱建斌 [Tue, 5 Mar 2013 02:15:03 +0000 (10:15 +0800)]
rk610 codec : disable rk610 pll and 0AH clkgate,reduce power consumption
Cody Xie [Mon, 4 Mar 2013 12:43:15 +0000 (20:43 +0800)]
rk3188 : modify to support dedicated memory reserved for mali driver
CMY [Mon, 4 Mar 2013 10:06:34 +0000 (18:06 +0800)]
add CONFIG_UHID for bluetooth hid devices
邱建斌 [Mon, 4 Mar 2013 08:54:36 +0000 (16:54 +0800)]
rt5639: add rt5639 support
wbx [Mon, 4 Mar 2013 06:33:19 +0000 (14:33 +0800)]
modify rk30_ds975_defconfig for HDMI and USB hub
hjc [Mon, 4 Mar 2013 03:35:06 +0000 (11:35 +0800)]
rk3168_86v: modify the tp gt811 config
wuhao [Fri, 1 Mar 2013 07:26:53 +0000 (15:26 +0800)]
rk3188 ds1006h: add cw2015
xuhuicong [Fri, 1 Mar 2013 06:25:43 +0000 (14:25 +0800)]
add cw2015 battery gauge driver
黄涛 [Fri, 1 Mar 2013 02:21:49 +0000 (10:21 +0800)]
rk: dvfs: fix wrong mutex_unlock on dvfs_get_vd_regulator_volt_list
张晴 [Thu, 28 Feb 2013 10:42:37 +0000 (18:42 +0800)]
tps65910&rk610:Solve communication conflict when rk610 and tps65910 on the same i2c
张晴 [Thu, 28 Feb 2013 10:19:28 +0000 (18:19 +0800)]
tps65910&rk610:Solve communication conflict when rk610 and tps65910 on the same i2c
xbw [Thu, 28 Feb 2013 09:59:45 +0000 (17:59 +0800)]
MT6620
add the support of MT6620 in your RK31xx project.
Now,with this project board-rk3168-tb.c as an example.
yxj [Thu, 28 Feb 2013 09:23:25 +0000 (17:23 +0800)]
lcdc_hdmi_xxx.c:compatile with new rk fb dual dispaly framework
yxj [Thu, 28 Feb 2013 09:10:44 +0000 (17:10 +0800)]
lcd_hdmi_xxx.c:fix compile err
hjc [Thu, 28 Feb 2013 09:04:08 +0000 (17:04 +0800)]
rk3168_86v: modify the resolutation of tp
hjc [Thu, 28 Feb 2013 08:48:18 +0000 (16:48 +0800)]
rk3168m: add rk3168m defconfig
hjc [Thu, 28 Feb 2013 08:45:19 +0000 (16:45 +0800)]
rk3168_86v: add defconfig for rk3168+codec
黄涛 [Thu, 28 Feb 2013 05:56:19 +0000 (13:56 +0800)]
pack-kernel.sh: exclude rk3168m
黄涛 [Thu, 28 Feb 2013 05:55:47 +0000 (13:55 +0800)]
rk3168: tb: update defconfig by savedefconfig
黄涛 [Thu, 28 Feb 2013 05:39:03 +0000 (13:39 +0800)]
rk3188: tb: update defconfig by savedefconfig
黄涛 [Thu, 28 Feb 2013 05:30:49 +0000 (13:30 +0800)]
rk: disable preempt_disable when power off
On power off, pmic driver use mutex, so can not disable preemption.
Else will see this bug:
rk30_pm_power_off start...
act8846_device_shutdown
BUG: scheduling while atomic: Thread-102/1505/0x00000002
[<
c043e390>] (unwind_backtrace+0x0/0xf8) from [<
c09019f0>] (__schedule+0x7ec/0x8a8)
[<
c09019f0>] (__schedule+0x7ec/0x8a8) from [<
c0902ca8>] (__mutex_lock_slowpath+0x128/0x1bc)
[<
c0902ca8>] (__mutex_lock_slowpath+0x128/0x1bc) from [<
c0902da8>] (mutex_lock+0x6c/0x70)
[<
c0902da8>] (mutex_lock+0x6c/0x70) from [<
c06213d8>] (act8846_reg_read+0x28/0x4c)
[<
c06213d8>] (act8846_reg_read+0x28/0x4c) from [<
c062159c>] (act8846_device_shutdown+0x24/0x80)
[<
c062159c>] (act8846_device_shutdown+0x24/0x80) from [<
c044f060>] (rk30_pm_power_off+0x4c/0x78)
[<
c044f060>] (rk30_pm_power_off+0x4c/0x78) from [<
c0439dbc>] (machine_power_off+0x1c/0x24)
[<
c0439dbc>] (machine_power_off+0x1c/0x24) from [<
c0481488>] (sys_reboot+0x154/0x214)
[<
c0481488>] (sys_reboot+0x154/0x214) from [<
c0438f80>] (ret_fast_syscall+0x0/0x30)
And smp_send_stop is doing nothing on rk platform when power off, so it is no need to disable preemption.
黄涛 [Thu, 28 Feb 2013 05:29:56 +0000 (13:29 +0800)]
Revert "rk: disable disable_nonboot_cpus when kernel restart"
This reverts commit
cbf319ea81fc0066a389c8ff7015871ee59bd152.
yzq [Thu, 28 Feb 2013 05:27:21 +0000 (13:27 +0800)]
it66121 hdmi:add macro for hdmi source lcdc select
hjc [Wed, 27 Feb 2013 03:20:50 +0000 (11:20 +0800)]
rk3168_86v: close pwm regulator for 86v new board
张晴 [Wed, 27 Feb 2013 03:21:34 +0000 (11:21 +0800)]
rk3168:set defult voltage for new 86v hardware
luowei [Wed, 27 Feb 2013 02:33:18 +0000 (10:33 +0800)]
add temperature and pressure sensor driver support
yxj [Tue, 26 Feb 2013 09:11:20 +0000 (17:11 +0800)]
rk3188 lcdc:add ioctl RK_FBIOPUT_COLOR_KEY_CFG for color key config
yxj [Tue, 26 Feb 2013 09:09:29 +0000 (17:09 +0800)]
rk fb:add ioctl RK_FBIOPUT_COLOR_KEY_CFG for color key config
黄涛 [Tue, 26 Feb 2013 08:23:51 +0000 (16:23 +0800)]
rk3188: set l2c data latency 231
黄涛 [Tue, 26 Feb 2013 07:06:12 +0000 (15:06 +0800)]
rk3188: fix cpu up down bug
Cody Xie [Tue, 26 Feb 2013 06:47:36 +0000 (14:47 +0800)]
rk3188 lr097 : fix ct36x bug on lr097
hjc [Tue, 26 Feb 2013 06:40:15 +0000 (14:40 +0800)]
Merge ssh://10.10.10.29/rk/kernel into develop-3.0
hjc [Tue, 26 Feb 2013 06:36:50 +0000 (14:36 +0800)]
rk3168_86v: when ddr=300M,the logic voltage=1000mv,defconfig set CONFIG_RK30_I2C_INSRAM
黄涛 [Tue, 26 Feb 2013 06:38:56 +0000 (14:38 +0800)]
rk3188: NFS Most Wanted workaround only for rk3188
hjc [Tue, 26 Feb 2013 06:36:50 +0000 (14:36 +0800)]
rk3168_86v: when ddr=300M,the logic voltage=1000mv,defconfig set CONFIG_RK30_I2C_INSRAM
dkm [Tue, 26 Feb 2013 06:30:46 +0000 (14:30 +0800)]
modify the query of cpu_present workaround for <NFS Most Wanted>
yxj [Tue, 26 Feb 2013 04:46:39 +0000 (12:46 +0800)]
Revert "rk3188 lcdc:support color key config for win1"
This reverts commit
08a95bd55f6e7165d82ddd35e95605f80c4e09e0.
zsq [Tue, 26 Feb 2013 02:59:32 +0000 (10:59 +0800)]
force rga output dst alpha channel
wuhao [Tue, 26 Feb 2013 01:15:37 +0000 (09:15 +0800)]
fix touch ct363
hjc [Mon, 25 Feb 2013 08:51:33 +0000 (16:51 +0800)]
rk3168_86v: delete arm:1.4G and 1.6G; gpu:600M
hjc [Mon, 25 Feb 2013 07:53:25 +0000 (15:53 +0800)]
rk3168_86v: add rk3168_86v_old,the arm is connected to the DCDC
yxj [Mon, 25 Feb 2013 06:46:43 +0000 (14:46 +0800)]
rk3188 lcdc:support color key config for win1
黄涛 [Mon, 25 Feb 2013 06:44:51 +0000 (14:44 +0800)]
rk: disable disable_nonboot_cpus when kernel restart
work around rk3188 cpu down bug temporarily.
Cody Xie [Mon, 25 Feb 2013 05:59:52 +0000 (13:59 +0800)]
rk3188 ds1006h: do not use logo from customer, the sdk uses default
please config logo on your project by yourself
Revert "rk3188 ds1006h: sync logo"
This reverts commit
e591148c1cc1e074d0e112e632adfd016322c61a.
hjc [Mon, 25 Feb 2013 04:44:33 +0000 (12:44 +0800)]
rk3168_86v: deconfig set ddr 324M,support charge display
hjc [Mon, 25 Feb 2013 04:43:46 +0000 (12:43 +0800)]
rk3168_86v: update dvfs_gpu_table
hjc [Mon, 25 Feb 2013 04:24:52 +0000 (12:24 +0800)]
rk3168m: use a useless gpio to instead of PMU_EN; set 4in1 voltage 2800->1800
hjc [Mon, 25 Feb 2013 01:49:19 +0000 (09:49 +0800)]
rk3168m: To backup defconfig
hjc [Mon, 25 Feb 2013 01:27:30 +0000 (09:27 +0800)]
rk3168m: add board-rk3168m-tb.c
hjc [Mon, 25 Feb 2013 01:11:24 +0000 (09:11 +0800)]
rk3168_86v: add maxbrightness restriction
yxj [Sat, 23 Feb 2013 09:00:05 +0000 (17:00 +0800)]
rk3188 lcdc:move RK_FBIOSET_CONFIG_DONE to rk fb
yxj [Sat, 23 Feb 2013 08:59:41 +0000 (16:59 +0800)]
rk fb: move ioctl RK_FBIOSET_CONFIG_DONE to rk fb
yxj [Sat, 23 Feb 2013 06:18:49 +0000 (14:18 +0800)]
rk3188 lcdc:update lcdc register in config done
yxj [Sat, 23 Feb 2013 06:17:42 +0000 (14:17 +0800)]
rk fb: add some key parameter for layer_par,wirite config done when show logo
yxj [Fri, 22 Feb 2013 07:15:06 +0000 (15:15 +0800)]
rk fb:add config done in rk_fb_switch_screen
黄涛 [Sat, 23 Feb 2013 08:41:10 +0000 (16:41 +0800)]
Merge remote-tracking branch 'stable/linux-3.0.y' into develop-3.0
Merge v3.0.66
Conflicts:
Makefile
yzq [Sat, 23 Feb 2013 08:04:02 +0000 (16:04 +0800)]
rk610 hdmi: fix compile err
yzq [Sat, 23 Feb 2013 06:21:53 +0000 (14:21 +0800)]
rk610 hdmi: set hdmi probe later than codec,
fix codec not close when system start with hdmi plug
黄涛 [Sat, 23 Feb 2013 05:28:40 +0000 (13:28 +0800)]
rk3066b: use rk3188 cpufreq driver
黄涛 [Sat, 23 Feb 2013 05:23:22 +0000 (13:23 +0800)]
rk3188: cpufreq: version 2.0
thermal throttle by load
support sys_state
throttle cpu frequency when boot with low battery
xxx [Sat, 23 Feb 2013 03:11:42 +0000 (11:11 +0800)]
dvfs gets volt chngeing time for regulator
黄涛 [Fri, 22 Feb 2013 10:03:43 +0000 (18:03 +0800)]
rk: enable synchronization framework, for support android 4.2 with mali gpu
Jamie Gennis [Wed, 20 Feb 2013 02:49:20 +0000 (18:49 -0800)]
sync: fix timeout = 0 wait behavior
Change-Id: I8b9254e92c26d9f44abbc0c77fb44624de947013
Signed-off-by: Jamie Gennis <jgennis@google.com>
Jonathan Hamilton [Fri, 8 Feb 2013 21:05:38 +0000 (13:05 -0800)]
base: sync: Include seq_file.h in sync.h
sync.h uses struct seq_file in some function table prototypes. This
causes compile failures when including the header in files that do not
otherwise include seq_file.h
Signed-off-by: Jonathan Hamilton <jonathan.hamilton@imgtec.com>
Erik Gilling [Mon, 4 Feb 2013 20:37:16 +0000 (12:37 -0800)]
sync: don't log wait timeouts when timeout = 0
Signed-off-by: Erik Gilling <konkers@android.com>
Ørjan Eide [Wed, 5 Dec 2012 15:38:08 +0000 (16:38 +0100)]
sync: Fix race condition between merge and signal
The copied sync_pt was activated immediately. If the sync_pt was
signaled before the entire merge was completed, the new fence's pt_list
could be iterated over while it is still in the process of being
created.
Moving the the sync_pt_activate call for all new sync_pts to after both
the sync_fence_copy_pts and the sync_fence_merge_pts calls ensure that
the pt_list is complete and immutable before it can be reached from the
timeline's active list.
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 16 Oct 2012 23:14:48 +0000 (16:14 -0700)]
sync: add tracepoint support
Change-Id: I181326db4247009161557e45444c9b3548b83d25
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 16 Oct 2012 22:16:55 +0000 (15:16 -0700)]
sync: refactor sync debug printing
Move driver callbacks to fill strings instead of using seq_files. This
will allow those values to be used in a future tracepoint patch.
Change-Id: I9b706343e35b11124141fe520e520514a32003d2
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 16 Oct 2012 00:58:46 +0000 (17:58 -0700)]
sync: use proper barriers when waiting indefinitely
The previous fix only addressed waiting with a timeout.
Change-Id: I8ad735d2d0dfdd53592904e8a54f5689cb5eaa5e
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 16 Oct 2012 00:51:01 +0000 (17:51 -0700)]
sync: update new fence status with sync_fence_signal_pt
If a fence's pt is signaled before sync_fence_create is called, the fence
will never transition into the signaled state. This also address a tiny
race if a merged fence's pt after sync_fence_get_status checks it's status
and before fence->status is updated.
Change-Id: Ic8e292a323db26c6f04cb4757d920278b3125ff6
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 11 Oct 2012 19:35:22 +0000 (12:35 -0700)]
sync: protect unlocked access to fence status
Fence status is checked outside of locks in both sync_fence_wait and
sync_fence_poll. This patch adds propper barrier protection in these
cases to avoid seeing stale status.
Change-Id: I9d8b6ce6accb415e797df58068a1ccd54e6be445
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 11 Oct 2012 01:08:11 +0000 (18:08 -0700)]
sync: dump sync state of fence errors
Change-Id: I297a43aadf83504993040ea875c7f22d988628f1
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 4 Sep 2012 22:29:09 +0000 (15:29 -0700)]
sync: improve timeout dumps
Change-Id: I3b378d63c324c7b5862dd214f380b5e91131cc2a
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 4 Sep 2012 22:28:52 +0000 (15:28 -0700)]
sync: use correct signed type when handling SYNC_IOC_WAIT
Change-Id: Ic7d5adf9b145765e52b23186b8c3c793ccf29be7
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Fri, 24 Aug 2012 20:48:57 +0000 (13:48 -0700)]
sync: dump sync state to console on timeout
Change-Id: I74bca6b4a2afa7ed5b1f5233c5165d2edddf269a
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Fri, 24 Aug 2012 20:48:34 +0000 (13:48 -0700)]
sync: clean up compiler warnings
Change-Id: I8a2ec5db652c61fd04571402067b37273b91e78f
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Wed, 22 Aug 2012 01:43:21 +0000 (18:43 -0700)]
sync: fix erase-o in sync_fence_wait
Change-Id: I189707cf658a9f1f2943515c891b43961994e774
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Wed, 22 Aug 2012 00:57:19 +0000 (17:57 -0700)]
sync: change wait timeout to mirror poll semantics
Change-Id: Ib38e6d339d41885a33027752690d65a52b6897f6
Signed-off-by: Erik Gilling <konkers@android.com>
Rebecca Schultz Zavin [Wed, 8 Aug 2012 20:46:22 +0000 (13:46 -0700)]
sync: Fix error paths
Check the return value of get_unused_fd to make sure a valid
file descriptor is returned.
Make sure to call put_unused_fd even if an error occurs before
the fd can be used.
Change-Id: I0fe8f78d9e30ecfc4d271c5d875424543dae2d0f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Erik Gilling [Fri, 3 Aug 2012 00:26:45 +0000 (17:26 -0700)]
sync: add reference counting to timelines
If a timeline is destroyed while fences still hold pts on it, the reworked
fence release handler can cause the timeline to be freed before all it's points
are freed.
Change-Id: I1cd8ddb638eded7db9db446ff6b37f3dd165d6c4
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Mon, 23 Jul 2012 23:43:05 +0000 (16:43 -0700)]
sync: add internal refcounting to fences
If a fence is released while a timeline that one of it's pts is on is being
signaled, it is possible for that fence to be deleted before it is signaled.
This patch adds a refcount for internal references such as signaled pt
processing.
Change-Id: Ie8605e6fd2ac026c207220a03d84e1c1078ec719
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 12 Jul 2012 00:13:50 +0000 (17:13 -0700)]
sync: optimize fence merges
If the two fences being merged contain sync_pts from the same timeline,
those two pts will be collapsed into a single pt representing the latter
of the two.
Change-Id: Iced7ebb7e5a17a0c8b1a2969ba3388a4edb9ecaf
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Thu, 12 Jul 2012 00:07:39 +0000 (17:07 -0700)]
sync: reorder sync_fence_release
Previously fence's pts were freed before the were the fence was removed from the
global fence list. This led to a race with the debugfs support where it would
iterate over sync_pts that had been freed.
Change-Id: Ia3ddbf77de42ca593fc2dc353b5d04e42ddf3946
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Wed, 16 May 2012 20:09:22 +0000 (13:09 -0700)]
sync: export sync API symbols
This is needed to allow modules to link against the sync subsystem
Change-Id: I15c1818de329f24e4113ef1d0923413b22fd0eff
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Tue, 15 May 2012 23:23:26 +0000 (16:23 -0700)]
sync: allow async waits to be canceled
In order to allow drivers to cleanly handled teardown we need to allow them
to cancel pending async waits. To do this cleanly, we move allocation of
sync_fence_waiter to the driver calling sync_async_wait().
Change-Id: Ifcd95648be6ec07026d67f810070a4310f099989
Signed-off-by: Erik Gilling <konkers@android.com>
Paul Gortmaker [Mon, 23 May 2011 18:11:39 +0000 (14:11 -0400)]
module.h: split out the EXPORT_SYMBOL into export.h
A lot of files pull in module.h when all they are really
looking for is the basic EXPORT_SYMBOL functionality. The
recent data from Ingo[1] shows that this is one of several
instances that has a significant impact on compile times,
and it should be targeted for factoring out (as done here).
Note that several commonly used header files in include/*
directly include <linux/module.h> themselves (some 34 of them!)
The most commonly used ones of these will have to be made
independent of module.h before the full benefit of this change
can be realized.
We also transition THIS_MODULE from module.h to export.h,
since there are lots of files with subsystem structs that
in turn will have a struct module *owner and only be doing:
.owner = THIS_MODULE;
and absolutely nothing else modular. So, we also want to have
the THIS_MODULE definition present in the lightweight header.
[1] https://lkml.org/lkml/2011/5/23/76
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
hjc [Fri, 22 Feb 2013 08:19:32 +0000 (16:19 +0800)]
rk3168_86v: xbw:delete SDCARD_DET_FROM_GPIO
hjc [Fri, 22 Feb 2013 08:11:06 +0000 (16:11 +0800)]
rk3168_86v: xbw SDMMC IO voltage
wuhao [Fri, 22 Feb 2013 08:04:56 +0000 (16:04 +0800)]
rk3188 ds1006h: sync logo
黄涛 [Fri, 22 Feb 2013 07:49:03 +0000 (15:49 +0800)]
rk: Kconfig add RK3168M support, add SOC_RK3168M config, add RK3168M TB config
黄涛 [Fri, 22 Feb 2013 07:10:24 +0000 (15:10 +0800)]
rk: power_supply: add rk_get_system_battery_capacity and rk_get_system_battery_status api