Commit Graph

397562 Commits

Author SHA1 Message Date
Thierry Reding
2aaec8ff6e pwm-backlight: Track enable state
Follow up patches will add support for more complex means of powering
the backlight on and off such as using a regulator. To prevent calls to
the regulator API from becoming unbalanced, keep track of the enabled
state internally.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-25 16:57:13 +08:00
Thierry Reding
497240639a pwm-backlight: Refactor backlight power on/off
In preparation for adding an optional regulator and enable GPIO to the
driver, split the power on and power off sequences into separate
functions to reduce code duplication at the multiple call sites.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-25 16:56:58 +08:00
Thierry Reding
2412f1e6e1 pwm-backlight: Improve readability
Add more blank lines to increase readability. While at it, remove a
trailing blank line at the end of the file.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2014-02-25 16:56:46 +08:00
黄涛
27e4aea386 pwm-backlight: reset to unpstream version 2014-02-25 16:55:47 +08:00
qjb
1c0576079a i2s : add i2s clr reg check 2014-02-25 15:48:01 +08:00
CMY
4255b3e268 rk: ion: support shared buffer between processes without Binder 2014-02-25 15:32:13 +08:00
xbw
d5bd891f59 SDMMC:
continuse with the commit-9401f2e4feea8c884418f3c5821e83aee7b313b0 .
Delete those code which will never be used in the future.
2014-02-25 13:16:10 +08:00
xbw
9401f2e4fe SDMMC: Delete those code which will never be used in the future. 2014-02-25 13:09:26 +08:00
xbw
a8d6f1b1a0 SDMMC: select SDcard module configuration in kernel-3.10 project 2014-02-25 12:59:48 +08:00
xbw
d3ddf88f30 continue with the privous Commit. Complete submission SDMMC driver in kernel-3.10.Currently,Only the sdcard can be used. 2014-02-25 12:43:01 +08:00
xbw
3afdc6aaef SDMMC: Complete submission SDMMC driver in kernel-3.10.Currently,Only the sdcard can be used. 2014-02-25 12:41:17 +08:00
xbw
5cbd50029c Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10 2014-02-25 12:35:25 +08:00
xbw
9913355ce3 SDMMC:
revert the modify in file dw_mmc.c,Keep it to its original version.
2014-02-25 12:34:50 +08:00
yxj
0ad0a29a89 add dts for rk3188 LR097 2014-02-25 09:26:46 +08:00
yxj
fcecc3d09c rk fb:add more screen property 2014-02-25 09:26:46 +08:00
yxj
486bc247fb port edp anx6345 to linux 3.10 2014-02-25 09:26:46 +08:00
yxj
5d91bd6092 rk32 edp: base version 2014-02-25 09:26:45 +08:00
qjb
3033f0d12a audio pcm kernel 3.10 : support 2014-02-24 18:00:14 +08:00
CMY
c78b636f10 rk: ion: fixed bug for ION_IOC_GET_PHYS 2014-02-24 17:53:08 +08:00
dkl
08225f45ae clk: rk: add aclk_lcdc init, fix dclk_lcdc/i2s clk ops
1. Init aclk_lcdc 300M.
2. Fix dclk_lcdc clk ops to set even div only.
3. Repeatly write i2s clk reg, to fix rk3188 problem.
2014-02-24 15:05:33 +08:00
CMY
f601ea7f11 rk: ion: add system heap 2014-02-24 11:31:49 +08:00
xbw
3510c255c3 SDMMC: add the sdmmc driver to kernel_3.10 2014-02-22 16:03:46 +08:00
zwl
0f8c115278 1.hdmi: fix cat66121 driver run error 2. rkfb: fix some code error 2014-02-21 17:35:04 +08:00
dkl
dcd6f049aa clk: rk: fix clk dts info analysis and clk register
1. Fix the way to get info from rk clk dts.
2. Fix rk clk register.
3. Draw out rk_clk_dump_info func.
4. Add more debug.
2014-02-21 17:09:10 +08:00
CMY
a8cb0a0942 rk: ion: change heap id 2014-02-21 15:41:11 +08:00
黄涛
d27cb6f4a5 rk: proc: fix slub warning when call setup_irq
BUG: sleeping function called from invalid context at mm/slub.c:926
in_atomic(): 1, irqs_disabled(): 128, pid: 0, name: swapper/3
INFO: lockdep is turned off.
irq event stamp: 45900
hardirqs last  enabled at (45899): [<c009fe18>] rcu_preempt_note_context_switch+0x174/0x18c
hardirqs last disabled at (45900): [<c0605a64>] _raw_spin_lock_irq+0x18/0x50
softirqs last  enabled at (45744): [<c002c424>] irq_enter+0x50/0x78
softirqs last disabled at (45743): [<c002c418>] irq_enter+0x44/0x78
CPU: 3 PID: 0 Comm: swapper/3 Tainted: G           O 3.10.0 #405
[<c0013fe8>] (unwind_backtrace+0x0/0xe0) from [<c0011930>] (show_stack+0x10/0x14)
[<c0011930>] (show_stack+0x10/0x14) from [<c00fa3dc>] (__kmalloc+0x70/0x228)
[<c00fa3dc>] (__kmalloc+0x70/0x228) from [<c0148d2c>] (__proc_create+0x94/0xf0)
[<c0148d2c>] (__proc_create+0x94/0xf0) from [<c0149000>] (proc_mkdir_data+0x30/0x74)
[<c0149000>] (proc_mkdir_data+0x30/0x74) from [<c009babc>] (register_handler_proc+0xe8/0x114)
[<c009babc>] (register_handler_proc+0xe8/0x114) from [<c00982b0>] (__setup_irq+0x334/0x3fc)
[<c00982b0>] (__setup_irq+0x334/0x3fc) from [<c0098558>] (setup_irq+0x58/0x80)
[<c0098558>] (setup_irq+0x58/0x80) from [<c05ef51c>] (rk_timer_init_clockevent+0x98/0xcc)
[<c05ef51c>] (rk_timer_init_clockevent+0x98/0xcc) from [<c05ed0dc>] (percpu_timer_setup+0x54/0xa8)
[<c05ed0dc>] (percpu_timer_setup+0x54/0xa8) from [<c05ed4d8>] (secondary_start_kernel+0x128/0x160)
[<c05ed4d8>] (secondary_start_kernel+0x128/0x160) from [<600081bc>] (0x600081bc)
2014-02-20 20:07:14 +08:00
黄涛
48cac12f26 ts: rk29_i2c_goodix: fix resume with enable wrong irq 2014-02-20 20:07:14 +08:00
wdc
2b617362c7 keys: depend on rockchip adc config 2014-02-20 19:49:55 +08:00
qjb
26a75b730e Audio codec rt5631: add support 2014-02-20 18:29:18 +08:00
qjb
498fab0f01 Audio codec: add i2c scl_rate,default 100k. 2014-02-20 18:03:10 +08:00
wdc
05920f81d2 saradc: rm drivers/iio/adc/rk_adc.c 2014-02-20 17:34:36 +08:00
wdc
7b3d49ba7b saradc filename changed: rk_adc.c => rockchip_adc.c 2014-02-20 17:32:44 +08:00
黄涛
8d7cf6f006 ARM: rockchip: support cpu hotplug and basic PM 2014-02-20 16:12:16 +08:00
黄涛
59a7266118 ARM: rockchip: rk3188-cpufreq only avaliable on rk3188 2014-02-20 16:12:15 +08:00
wdc
c666c1459d linux3.10: support saradc key driver 2014-02-20 14:33:50 +08:00
黄涛
fe5c715787 irqchip: gic: fix fiq debugger support when resume 2014-02-20 14:23:25 +08:00
ljf
a05b7adc38 Port VPU driver to kernel 3.10 2014-02-20 14:05:23 +08:00
陈金泉
434448cb97 audio: update rockchip_defconfig 2014-02-20 11:50:57 +08:00
CMY
381653de66 rk: ion: add custom ioctl: ION_IOC_GET_PHYS 2014-02-20 11:21:40 +08:00
dkl
fbd2562669 clk: rk: fix clk add provider and cache parents 2014-02-19 20:37:01 +08:00
陈金泉
3b1938fb71 Audio: add dts property(i2s format) and delete them from menuconfig, add sound card info parsing, fix i2s lock error. 2014-02-19 16:00:17 +08:00
黄涛
6edcb1a604 ARM: rockchip: iomap.h add more rk3288 define 2014-02-18 18:34:24 +08:00
zwl
1cef1923fb hdmi: add cat66121 hdmi driver dts property 2014-02-18 16:00:47 +08:00
黄涛
b059b85af6 ARM: rockchip: grf.h add rk3288 support 2014-02-18 15:56:57 +08:00
黄涛
ab6f1c6022 ARM: rockchip: rk3188-tb set memory size to 1G for support sdk board 2014-02-17 20:04:00 +08:00
zwl
49be4e5d1c RK616: add dts property and fix some compile error 2014-02-17 18:04:23 +08:00
黄涛
822806cc3c ARM: rockchip: rk3188: fix dma irq define 2014-02-14 10:32:51 +08:00
zwl
e836e76f4b move driver/video/display/display-sys.c to driver/video/rockchip/display-sys.c 2014-02-13 20:41:03 +08:00
黄涛
642d6c30cd ARM: rockchip: rk3188-tb add ts support 2014-02-13 18:12:15 +08:00
黄涛
6681264bd8 ts: rk29_i2c_goodix: porting to 3.10 2014-02-13 18:11:01 +08:00