firefly-linux-kernel-4.4.55.git
12 years agork30 phone loquat:set lcd driver output 18bits instead of 24bits for for the time...
hhb [Wed, 9 May 2012 05:32:03 +0000 (13:32 +0800)]
rk30 phone loquat:set lcd driver output 18bits instead of 24bits for for the time being

12 years agork30 phone loquat:add touch screen driver ft5306
hhb [Wed, 9 May 2012 05:29:54 +0000 (13:29 +0800)]
rk30 phone loquat:add touch screen driver ft5306

12 years agork30_phone_loquat:add lcd config
lw [Wed, 9 May 2012 04:01:14 +0000 (12:01 +0800)]
rk30_phone_loquat:add lcd config

12 years agork30: adc: irq function: add spin_lock
kfx [Wed, 9 May 2012 02:26:37 +0000 (10:26 +0800)]
rk30: adc: irq function: add spin_lock

12 years agoFix rkwifi for rk30
gwl [Wed, 9 May 2012 02:08:46 +0000 (10:08 +0800)]
Fix rkwifi for rk30

12 years agoAdd rkwifi g_onoff reset operation
gwl [Wed, 9 May 2012 01:53:21 +0000 (09:53 +0800)]
Add rkwifi g_onoff reset operation

12 years agork30 phone: add hook adc headset irq detect files
宋秀杰 [Tue, 8 May 2012 13:00:33 +0000 (21:00 +0800)]
rk30 phone: add hook adc headset irq detect files

12 years agosc8803g: modify for sc8803g
蓝斌元 [Tue, 8 May 2012 11:42:30 +0000 (19:42 +0800)]
sc8803g: modify for sc8803g

12 years agork30 phone loquat: modify lcd_hj050a driver
hhb [Tue, 8 May 2012 11:32:33 +0000 (19:32 +0800)]
rk30 phone loquat: modify lcd_hj050a driver

12 years agork610: fix bug the screen will flash one time when resume
yzq [Tue, 8 May 2012 09:50:48 +0000 (17:50 +0800)]
rk610: fix bug the screen will flash one time when resume

12 years agork30: touchscreen: support IC(SDDA)
kfx [Tue, 8 May 2012 08:45:32 +0000 (16:45 +0800)]
rk30: touchscreen: support IC(SDDA)

12 years agovpu_service: add extra log info and change add_timer to mod_timer
陈恒明 [Tue, 8 May 2012 07:14:40 +0000 (15:14 +0800)]
vpu_service: add extra log info and change add_timer to mod_timer

12 years agoARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend
Colin Cross [Sat, 28 Apr 2012 01:04:18 +0000 (18:04 -0700)]
ARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend

vfp_pm_suspend runs on each cpu, only clear the hardware state
pointer for the current cpu.  Prevents a possible crash if one
cpu clears the hw state pointer when another cpu has already
checked if it is valid.

Change-Id: I997ab1554944eba86730818ff242d7ebe1b32736
Signed-off-by: Colin Cross <ccross@android.com>
12 years agoarm: vfp: Fix memory corruption on PM suspend
Ido Yariv [Sat, 14 Apr 2012 20:20:30 +0000 (23:20 +0300)]
arm: vfp: Fix memory corruption on PM suspend

Commit 36af2a47 ("ARM: vfp: Always save VFP state in vfp_pm_suspend")
introduced a potential use-after-free bug. On SMP systems,
vfp_current_hw_state might hold dangling pointers in case a task which
used the VFP last migrates to another CPU and then exits. If
vfp_pm_suspend is called while vfp_current_hw_state still holds a
pointer to the freed thread_info, that memory location will be written,
potentially overwriting a new object allocated there.

The original problem is only relevant to UP systems in which the VFP
state is stored lazily.

Fix this by only storing the VFP state on UP systems, and avoid doing so
on SMP ones.

Change-Id: I8f7026eb735b340fcef4cf12fbd12b9a0ea08d3f
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Colin Cross <ccross@android.com>
12 years agoARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards
Will Deacon [Fri, 20 Jan 2012 11:10:18 +0000 (12:10 +0100)]
ARM: 7296/1: proc-v7.S: remove HARVARD_CACHE preprocessor guards

commit 612539e81f655f6ac73c7af1da8701c1ee618aee upstream.

On v7, we use the same cache maintenance instructions for data lines
as for unified lines. This was not the case for v6, where HARVARD_CACHE
was defined to indicate the L1 cache topology.

This patch removes the erroneous compile-time check for HARVARD_CACHE in
proc-v7.S, ensuring that we perform I-side invalidation at boot.

Reported-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Catalin Marinas <Catalin.Marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
12 years agoInput: evdev - fix variable initialisation
Heiko Stuebner [Wed, 1 Feb 2012 18:33:01 +0000 (10:33 -0800)]
Input: evdev - fix variable initialisation

Commit 509f87c5f564 (evdev - do not block waiting for an event if
fd
is nonblock) created a code path were it was possible to use retval
uninitialized.

This could lead to the xorg evdev input driver getting corrupt data
and refusing to work with log messages like
AUO-Pixcir touchscreen: Read error: Success
sg060_keys: Read error: Success
AUO-Pixcir touchscreen: Read error: Success
sg060_keys: Read error: Success
(for drivers auo-pixcir-ts and gpio-keys).

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
12 years agopcd suspend with dp,dm hi-z
yangkai [Tue, 8 May 2012 03:40:46 +0000 (11:40 +0800)]
pcd suspend with dp,dm hi-z

12 years agork30: i2c: add log information
kfx [Tue, 8 May 2012 01:13:31 +0000 (09:13 +0800)]
rk30: i2c: add log information

12 years agork30: sdk: add vmac support
黄涛 [Mon, 7 May 2012 12:23:04 +0000 (20:23 +0800)]
rk30: sdk: add vmac support

12 years agork30: add vmac support
黄涛 [Mon, 7 May 2012 12:22:42 +0000 (20:22 +0800)]
rk30: add vmac support

12 years agonet: rk29_vmac: support rk30
黄涛 [Mon, 7 May 2012 12:15:24 +0000 (20:15 +0800)]
net: rk29_vmac: support rk30

12 years agork30: clock: clk_get_parent return error when clk invalid
黄涛 [Mon, 7 May 2012 12:11:36 +0000 (20:11 +0800)]
rk30: clock: clk_get_parent return error when clk invalid

12 years agork30_phone_loquat:modify key definition
lw@rock-chips.com [Mon, 7 May 2012 09:10:41 +0000 (17:10 +0800)]
rk30_phone_loquat:modify key definition

12 years agoupdate rkwifi driver to V4.03, fix wifi disconnect issue when signal is pool
gwl [Mon, 7 May 2012 08:35:11 +0000 (16:35 +0800)]
update rkwifi driver to V4.03, fix wifi disconnect issue when signal is pool

12 years agork30:phone:modify the config file and add battery function
张晴 [Mon, 7 May 2012 08:17:52 +0000 (16:17 +0800)]
rk30:phone:modify the config file and add battery function

12 years agork610:fix bug DVI and HDMI mode switch err
yzq [Mon, 7 May 2012 08:06:24 +0000 (16:06 +0800)]
rk610:fix bug DVI and HDMI mode switch err

12 years agork30 phone: add codec reset function, modify rk30_i2s.c, do not use SDO1 to SDO3...
宋秀杰 [Mon, 7 May 2012 04:43:50 +0000 (12:43 +0800)]
rk30 phone: add codec reset function, modify rk30_i2s.c, do not use SDO1 to SDO3 as i2s mode

12 years ago fix ZQ0CR[1] bug in ddr_adjust_config function
hecanyang [Mon, 7 May 2012 03:20:07 +0000 (11:20 +0800)]
  fix ZQ0CR[1] bug in ddr_adjust_config function

12 years agork30_phone_loquat:modify wifi sdmmc
lw [Mon, 7 May 2012 02:26:46 +0000 (10:26 +0800)]
rk30_phone_loquat:modify wifi sdmmc

12 years agork30:phone:modify the TI pmu vlotage name
张晴 [Mon, 7 May 2012 02:10:15 +0000 (10:10 +0800)]
rk30:phone:modify the TI pmu vlotage name

12 years agork30:phone loquat:add the function of the PMU and opened by default
张晴 [Sun, 6 May 2012 11:19:28 +0000 (19:19 +0800)]
rk30:phone loquat:add the function of the PMU and opened by default

12 years agohandle pcd multiprocess spin_lock
yangkai [Sat, 5 May 2012 08:57:30 +0000 (16:57 +0800)]
handle pcd multiprocess spin_lock

12 years ago increase LPDDR2 die DS from 48ohm to 34ohm, then LPDDR2 operate frequency can reach...
hecanyang [Sat, 5 May 2012 02:46:21 +0000 (10:46 +0800)]
  increase LPDDR2 die DS from 48ohm to 34ohm, then LPDDR2 operate frequency can reach 400MHz

12 years agoMerge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into rk30_phone
蓝斌元 [Fri, 4 May 2012 02:41:55 +0000 (10:41 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into rk30_phone

12 years agosc8803 : modify sc8803 for rk30
蓝斌元 [Fri, 4 May 2012 02:37:08 +0000 (10:37 +0800)]
sc8803 : modify sc8803 for rk30

12 years agocamera: ov2659 array revert last commit 25cf4819baf1c9a8151fb452073e4c5ce3a5306f
ddl [Fri, 4 May 2012 02:33:33 +0000 (10:33 +0800)]
camera: ov2659 array revert last commit 25cf4819baf1c9a8151fb452073e4c5ce3a5306f

12 years agork610 hdmi fix some problem
yzq [Wed, 2 May 2012 08:03:56 +0000 (01:03 -0700)]
rk610 hdmi fix some problem

12 years agork30_phone:update board file from sdk
lw@rock-chips.com [Thu, 3 May 2012 04:17:28 +0000 (12:17 +0800)]
rk30_phone:update board file from sdk

12 years agork30:sdk:Support wm8326 adc for low battery detection
张晴 [Thu, 3 May 2012 05:50:32 +0000 (13:50 +0800)]
rk30:sdk:Support wm8326 adc for low battery detection

12 years agork30 phone loquat: fix compile error in board
hhb [Thu, 3 May 2012 03:26:52 +0000 (11:26 +0800)]
rk30 phone loquat: fix compile error in board

12 years agoRevert "rk30 phone loquat: fix compile error in board"
hhb [Thu, 3 May 2012 03:22:14 +0000 (11:22 +0800)]
Revert "rk30 phone loquat: fix compile error in board"

This reverts commit d6f59ae05edbbc79983c6f2724df1447f00ea1bf.

12 years agork30 phone loquat: fix compile error in board
hhb [Thu, 3 May 2012 03:13:35 +0000 (11:13 +0800)]
rk30 phone loquat: fix compile error in board

12 years ago add a condition before rank_to_row15_en,because LPDDR2 used rank1, to resolve LPDDR...
hecanyang [Thu, 3 May 2012 03:35:26 +0000 (11:35 +0800)]
  add a condition before rank_to_row15_en,because LPDDR2 used rank1, to resolve LPDDR2 power-up failed

12 years agork30 phone: add camera config
hhb [Thu, 3 May 2012 03:01:04 +0000 (11:01 +0800)]
rk30 phone: add camera config

12 years agork30 phone loquat: clear camera defconfig
hhb [Thu, 3 May 2012 02:55:51 +0000 (10:55 +0800)]
rk30 phone loquat: clear camera defconfig

12 years agork30 phone loquat: add lcd, touch screen, camera configuration in board
hhb [Thu, 3 May 2012 02:33:56 +0000 (10:33 +0800)]
rk30 phone loquat: add lcd, touch screen, camera configuration in board

12 years ago add lcd_hj050na_06a lcd driver
hhb [Thu, 3 May 2012 02:20:51 +0000 (10:20 +0800)]
add lcd_hj050na_06a lcd driver

12 years ago add synaptics_i2c_rmi4 touch screen driver
hhb [Thu, 3 May 2012 02:18:04 +0000 (10:18 +0800)]
add synaptics_i2c_rmi4 touch screen driver

12 years agoadd reset_pin in struct rk29lcd_info
hhb [Thu, 3 May 2012 02:16:01 +0000 (10:16 +0800)]
add reset_pin in struct rk29lcd_info

12 years agork30 hdmi:
Zheng Yang [Wed, 2 May 2012 12:11:46 +0000 (20:11 +0800)]
rk30 hdmi:
1. Add sysfs interface to scale hdmi output picture size.
2. When hdmi was removed, disable the source lcdc.

12 years agork30 phone: add TI aic3262 codec driver
宋秀杰 [Wed, 2 May 2012 10:21:14 +0000 (18:21 +0800)]
rk30 phone: add TI aic3262 codec driver

12 years agork30 loquat phone: add sc8803
蓝斌元 [Wed, 2 May 2012 09:52:39 +0000 (17:52 +0800)]
rk30 loquat phone: add sc8803

12 years agork30:gyroscope request irq later
lw@rock-chips.com [Wed, 2 May 2012 09:42:42 +0000 (17:42 +0800)]
rk30:gyroscope request irq later

12 years agodisable the lcdc which HDMI is used when the HDMI unplug
yxj [Wed, 2 May 2012 09:27:11 +0000 (17:27 +0800)]
disable the lcdc which HDMI is used when the HDMI unplug

12 years agork30:phone:add pmu tps80032
张晴 [Wed, 2 May 2012 08:39:17 +0000 (16:39 +0800)]
rk30:phone:add pmu tps80032

12 years agork30fb :add function rk_fb_disp_scale
yxj [Wed, 2 May 2012 07:04:56 +0000 (15:04 +0800)]
rk30fb :add function rk_fb_disp_scale

12 years agork30 hdmi: support switch class to detect hotplug status.
Zheng Yang [Wed, 2 May 2012 03:49:51 +0000 (11:49 +0800)]
rk30 hdmi: support switch class to detect hotplug status.

12 years agork30: dvfs determine whether the regulator correct before operating regulator
chenxing [Wed, 2 May 2012 02:51:48 +0000 (10:51 +0800)]
rk30: dvfs determine whether the regulator correct before operating regulator

12 years agodel warning info
zsq [Wed, 2 May 2012 02:58:06 +0000 (10:58 +0800)]
del warning info

12 years agork30: cpufreq: increase freq slow when cpu freq is high
黄涛 [Wed, 2 May 2012 02:46:52 +0000 (10:46 +0800)]
rk30: cpufreq: increase freq slow when cpu freq is high

12 years agork30: dynamic init memory size
黄涛 [Wed, 2 May 2012 02:35:39 +0000 (10:35 +0800)]
rk30: dynamic init memory size

12 years agork30: pm: call local_flush_tlb_all on suspend instead of flush_tlb_all
黄涛 [Wed, 2 May 2012 02:16:43 +0000 (10:16 +0800)]
rk30: pm: call local_flush_tlb_all on suspend instead of flush_tlb_all

Now only one cpu running.

12 years agork30 fb:add sys interface to change fps
yxj [Mon, 30 Apr 2012 08:44:48 +0000 (16:44 +0800)]
rk30 fb:add sys interface to change fps

the path is  sys/class/graphics/fbx/fps`

12 years ago DDR3 ODT reduce from 120ohm to 60ohm
hecanyang [Sat, 28 Apr 2012 07:18:14 +0000 (15:18 +0800)]
  DDR3 ODT reduce from 120ohm to 60ohm

12 years agork30fb:lcd_null.c use head file rk_screen.h replace screen.h
yxj [Fri, 27 Apr 2012 09:26:09 +0000 (17:26 +0800)]
rk30fb:lcd_null.c use head file rk_screen.h replace screen.h

when screen is null,do not register it

12 years agork30_phone:add board-rk30-phone-loquat support
lw@rock-chips.com [Fri, 27 Apr 2012 07:45:17 +0000 (15:45 +0800)]
rk30_phone:add board-rk30-phone-loquat support

12 years agoi2s/pcm : add i2s dma bufferdone callback debug source
邱建斌 [Fri, 27 Apr 2012 07:07:26 +0000 (15:07 +0800)]
i2s/pcm : add i2s dma bufferdone callback debug source

12 years agork30: clock: add smp_wmb after set loops_per_jiffy, calc lpj before irq disable
黄涛 [Fri, 27 Apr 2012 05:24:30 +0000 (13:24 +0800)]
rk30: clock: add smp_wmb after set loops_per_jiffy, calc lpj before irq disable

12 years agork30: clock: fix calculation of loops_per_jiffy
黄涛 [Fri, 27 Apr 2012 03:46:05 +0000 (11:46 +0800)]
rk30: clock: fix calculation of loops_per_jiffy

this bug will disable irq 2ms when arm freq change

12 years agork30:async init touch screen
lw@rock-chips.com [Fri, 27 Apr 2012 02:50:13 +0000 (10:50 +0800)]
rk30:async init touch screen

12 years agork30:sdk:pmu enter sleep when pmu_sleep is high,sys_pwr:short on key to boot
张晴 [Fri, 27 Apr 2012 02:33:53 +0000 (10:33 +0800)]
rk30:sdk:pmu enter sleep when pmu_sleep is high,sys_pwr:short on key to boot

12 years agork30:add data filter for gyroscope
lw [Fri, 27 Apr 2012 02:04:19 +0000 (10:04 +0800)]
rk30:add data filter for gyroscope

12 years agork30: smp: call fiq_glue_resume on platform_secondary_init
黄涛 [Thu, 26 Apr 2012 09:51:41 +0000 (17:51 +0800)]
rk30: smp: call fiq_glue_resume on platform_secondary_init

12 years agospeed up video proc when phys to phys
zsq [Thu, 26 Apr 2012 08:56:49 +0000 (16:56 +0800)]
speed up video proc when phys to phys

12 years agoion: use list_for_each_entry_safe in ion_vma_close
黄涛 [Thu, 26 Apr 2012 08:55:13 +0000 (16:55 +0800)]
ion: use list_for_each_entry_safe in ion_vma_close

12 years agovpu_service: fix race bug in irq and release
陈恒明 [Thu, 26 Apr 2012 08:30:24 +0000 (16:30 +0800)]
vpu_service: fix race bug in irq and release

12 years agoadd some lock when rga is open & irq funtion
zsq [Thu, 26 Apr 2012 08:09:56 +0000 (16:09 +0800)]
add some lock when rga is open & irq funtion

12 years ago add ddr_get_cap API function
hecanyang [Thu, 26 Apr 2012 08:19:56 +0000 (16:19 +0800)]
  add ddr_get_cap API function

12 years agort5631 : disable rt5631 ALC function
邱建斌 [Thu, 26 Apr 2012 07:39:07 +0000 (15:39 +0800)]
rt5631 : disable rt5631 ALC function

12 years agoenable bt(bcm4330 chip) wakeup host and save power functions
CMY [Thu, 26 Apr 2012 02:40:21 +0000 (10:40 +0800)]
enable bt(bcm4330 chip) wakeup host and save power functions

12 years agork30:sdk: delete useless code
chenxing [Wed, 25 Apr 2012 14:13:54 +0000 (22:13 +0800)]
rk30:sdk: delete useless code

12 years agork30:sdk: fix dvfs bug: when cpu frequency table all freqs smaller than default freq...
chenxing [Wed, 25 Apr 2012 14:10:20 +0000 (22:10 +0800)]
rk30:sdk: fix dvfs bug: when cpu frequency table all freqs smaller than default freq, clk dvfs do not open

12 years agork30 fb: delete __ATTR_NULL
yxj [Wed, 25 Apr 2012 12:01:19 +0000 (20:01 +0800)]
rk30 fb: delete __ATTR_NULL

12 years agork30 fb: fix waring initialization from incompatible pointer type in board_rk30_sdk.c
yxj [Wed, 25 Apr 2012 11:55:42 +0000 (19:55 +0800)]
rk30 fb: fix waring initialization from incompatible pointer type in board_rk30_sdk.c

add __ATTR_NULL as the end  of array rkfb_attrs

12 years agork30:hdmi: export function hdmi_init_lcdc to initial lcdc parameter.
Zheng Yang [Wed, 25 Apr 2012 11:29:14 +0000 (19:29 +0800)]
rk30:hdmi: export function hdmi_init_lcdc to initial lcdc parameter.

12 years agork30 hdmi:
Zheng Yang [Wed, 25 Apr 2012 10:20:43 +0000 (18:20 +0800)]
rk30 hdmi:
1. When hdmi was disabled in early_suspend, sometimes it will be enabld agian by user control.
   So the hdmi irq will be enabled twice in early_resume, this action will caurse kernel crash.
   To fix this bug, we need to distinguish suspend mode and user control mode, and add mutex to
   protect enable/disable hdmi irq.
2. Use spin_lock_irqsave/spin_unlock_irqrestore replace spin_lock/spin_unlock.

12 years agovpu_service: fix race condition in vpu_service_open
³ÂºãÃ÷ [Wed, 25 Apr 2012 08:37:44 +0000 (08:37 +0000)]
vpu_service: fix race condition in vpu_service_open

12 years agork30:sdk: move analysis to dvfs.c, set low voltage more higher to fit some sdks
chenxing [Wed, 25 Apr 2012 08:40:17 +0000 (16:40 +0800)]
rk30:sdk: move analysis to dvfs.c, set low voltage more higher to fit some sdks

12 years agork30:sdk: add arm logic table analysis function in dvfs.c
chenxing [Wed, 25 Apr 2012 08:38:48 +0000 (16:38 +0800)]
rk30:sdk: add arm logic table analysis function in dvfs.c

12 years agork610 codec: close debug
邱建斌 [Wed, 25 Apr 2012 07:31:57 +0000 (15:31 +0800)]
rk610 codec: close debug

12 years agork610 codec: add function codec_set_spk for hdmi, add some Machine resume cannot...
邱建斌 [Wed, 25 Apr 2012 07:29:11 +0000 (15:29 +0800)]
rk610 codec: add function codec_set_spk for hdmi, add some Machine resume cannot work test inter face

12 years agork30:sdk: add arm and logic dvfs table in board-rk30-sdk.c
chenxing [Wed, 25 Apr 2012 07:17:27 +0000 (15:17 +0800)]
rk30:sdk: add arm and logic dvfs table in board-rk30-sdk.c

12 years agork30:sdk: add logic dynamic voltage scale
chenxing [Wed, 25 Apr 2012 07:17:08 +0000 (15:17 +0800)]
rk30:sdk: add logic dynamic voltage scale

12 years agork30 fb:modify rk_fb_check_var
yxj [Wed, 25 Apr 2012 07:15:05 +0000 (15:15 +0800)]
rk30 fb:modify rk_fb_check_var

12 years agork30 fb: add IOCTL and sys interface for overlay control
yxj [Wed, 25 Apr 2012 06:15:19 +0000 (14:15 +0800)]
rk30 fb: add IOCTL and sys interface for overlay control

12 years agork30: hdmi: can not switch hdmi mode in user space, fix it.
Zheng Yang [Wed, 25 Apr 2012 03:48:07 +0000 (11:48 +0800)]
rk30: hdmi: can not switch hdmi mode in user space, fix it.

12 years agork29 fix hdmi compile
yzq [Wed, 25 Apr 2012 03:35:17 +0000 (11:35 +0800)]
rk29 fix hdmi compile

12 years agodetect usb id
yangkai [Wed, 25 Apr 2012 03:49:56 +0000 (11:49 +0800)]
detect usb id

12 years agork30_phone:set ddr frequency to 300M
lw [Wed, 25 Apr 2012 03:06:53 +0000 (11:06 +0800)]
rk30_phone:set ddr frequency to 300M

12 years agork30_phone:add suspend and resume for discrete regulator
lw@rock-chips.com [Wed, 25 Apr 2012 02:40:31 +0000 (10:40 +0800)]
rk30_phone:add suspend and resume for discrete regulator