firefly-linux-kernel-4.4.55.git
9 years agousb: rk312x: fix wrong clk name
lyz [Tue, 23 Dec 2014 09:54:35 +0000 (17:54 +0800)]
usb: rk312x: fix wrong clk name

Signed-off-by: lyz <lyz@rock-chips.com>
9 years ago3.10 kernel support more Huawei 3G dongles
xxh [Fri, 9 Jan 2015 09:38:08 +0000 (17:38 +0800)]
3.10 kernel support more Huawei 3G dongles

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into xxh_develop
xxh [Fri, 9 Jan 2015 08:47:56 +0000 (16:47 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into xxh_develop

9 years ago UPDATE 8723BU WIFI driver
xxh [Fri, 9 Jan 2015 08:47:40 +0000 (16:47 +0800)]
   UPDATE 8723BU  WIFI driver

9 years agork fb: remove map fb which from android to economize vmalloc space
zwl [Fri, 9 Jan 2015 08:34:08 +0000 (16:34 +0800)]
rk fb: remove map fb which from android to economize vmalloc space

Signed-off-by: zwl <zwl@rockchips.com>
9 years agork312x UART0_SOUT UART0_SIN default pull down disable
hwg [Fri, 9 Jan 2015 07:23:50 +0000 (15:23 +0800)]
rk312x UART0_SOUT UART0_SIN default pull down disable
 may case bt can't open problem

9 years agoTrustZone: Add Support Trust OS
qjb [Fri, 9 Jan 2015 03:03:39 +0000 (11:03 +0800)]
TrustZone: Add Support Trust OS
if Trust OS running ,
  - disable ddr_freq
  - disable fiq debug

9 years agoRevert "TrustZone: Add Support Trust OS"
qjb [Fri, 9 Jan 2015 02:00:04 +0000 (10:00 +0800)]
Revert "TrustZone: Add Support Trust OS"

This reverts commit 940a3100bdd90dc3de257c2e185e370374fb20e8.

9 years agowifi: support rtl8723bs-vq0 cob
hwg [Fri, 9 Jan 2015 01:04:24 +0000 (09:04 +0800)]
wifi: support rtl8723bs-vq0 cob

9 years agosec dts: Add rk3288 tb secure dts
qjb [Wed, 7 Jan 2015 07:17:38 +0000 (15:17 +0800)]
sec dts: Add rk3288 tb secure dts

9 years agodefconfig : Add rockchip secure defconfig
qjb [Wed, 7 Jan 2015 07:16:52 +0000 (15:16 +0800)]
defconfig : Add rockchip secure defconfig

9 years agoTrustZone: TLK before the start of the temporary closure of MMU
qjb [Wed, 7 Jan 2015 07:16:14 +0000 (15:16 +0800)]
TrustZone: TLK before the start of the temporary closure of MMU

9 years agoTrustZone: Add Support Trust OS
qjb [Wed, 7 Jan 2015 07:15:31 +0000 (15:15 +0800)]
TrustZone: Add Support Trust OS
if Trust OS running ,
          - disable ddr_freq
          - disable fiq debug

9 years agoTrustZone: Add TrustZone Driver
qjb [Wed, 7 Jan 2015 03:56:55 +0000 (11:56 +0800)]
TrustZone: Add TrustZone Driver
   Add the communication with the TLK interface driver.

9 years agork29_wdt: fromdos only
Huang, Tao [Wed, 7 Jan 2015 06:21:55 +0000 (14:21 +0800)]
rk29_wdt: fromdos only

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork3128 : remove cif sensor include for box dts
smj [Wed, 7 Jan 2015 05:56:25 +0000 (13:56 +0800)]
rk3128 : remove cif sensor include for box dts

Signed-off-by: hjh <hjh@rock-chips.com>
9 years agork312x, mali_400_driver : support mali_so to get rk_ko_ver from mali_ko.
chenzhen [Wed, 7 Jan 2015 06:13:36 +0000 (14:13 +0800)]
rk312x, mali_400_driver : support mali_so to get rk_ko_ver from mali_ko.

9 years agoIEP: Coding Style revision according to K-R style.
Alpha Lin [Wed, 7 Jan 2015 03:24:42 +0000 (11:24 +0800)]
IEP: Coding Style revision according to K-R style.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoVPU, fix undefined reference to `syscon_regmap_lookup_by_phandle'.
Alpha Lin [Wed, 7 Jan 2015 01:57:43 +0000 (09:57 +0800)]
VPU, fix undefined reference to `syscon_regmap_lookup_by_phandle'.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agork312x, mali_400_driver :
chenzhen [Wed, 7 Jan 2015 01:42:29 +0000 (09:42 +0800)]
rk312x, mali_400_driver :
    Integrate arm_release_ver r5p0-01rel0;
Modify resource init code to run with 'dts_for_mali_ko_befor_r5p0'.

9 years agoVPU, Disable iommu when decoding failure
Alpha Lin [Wed, 7 Jan 2015 01:29:18 +0000 (09:29 +0800)]
VPU, Disable iommu when decoding failure

Disable iommu when decoding failure, so the iommu could
restore its state when the decoding resume.
Without this step, iommu will work in invalid state.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years ago<4>[ 4109.549711] CPU: 0 PID: 125 Comm: ddrfreqd Not tainted 3.10.0 #136
cl [Tue, 6 Jan 2015 13:40:32 +0000 (21:40 +0800)]
<4>[ 4109.549711] CPU: 0 PID: 125 Comm: ddrfreqd Not tainted 3.10.0 #136
<4>[ 4109.549723] [<c0013e24>] (unwind_backtrace+0x0/0xe0) from [<c001172c>] (show_stack+0x10/0x14)
<4>[ 4109.549737] [<c001172c>] (show_stack+0x10/0x14) from [<c0032408>] (warn_slowpath_common+0x4c/0x68)
<4>[ 4109.549750] [<c0032408>] (warn_slowpath_common+0x4c/0x68) from [<c00324a4>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 4109.549762] [<c00324a4>] (warn_slowpath_fmt+0x2c/0x3c) from [<c009899c>] (watchdog_check_hardlockup_other_cpu+0xd0/0xf8)
<4>[ 4109.549778] [<c009899c>] (watchdog_check_hardlockup_other_cpu+0xd0/0xf8) from [<c00989fc>] (watchdog_timer_fn+0x38/0x168)
<4>[ 4109.549793] [<c00989fc>] (watchdog_timer_fn+0x38/0x168) from [<c0054c7c>] (__run_hrtimer+0x1a4/0x2b8)
<4>[ 4109.549807] [<c0054c7c>] (__run_hrtimer+0x1a4/0x2b8) from [<c005587c>] (hrtimer_interrupt+0x11c/0x278)
<4>[ 4109.549830] [<c005587c>] (hrtimer_interrupt+0x11c/0x278) from [<c056b65c>] (arch_timer_handler_phys+0x28/0x30)
<4>[ 4109.549846] [<c056b65c>] (arch_timer_handler_phys+0x28/0x30) from [<c009c3a4>] (handle_percpu_devid_irq+0xf8/0x1b4)
<4>[ 4109.549861] [<c009c3a4>] (handle_percpu_devid_irq+0xf8/0x1b4) from [<c0098fa4>] (generic_handle_irq+0x20/0x30)
<4>[ 4109.549872] [<c0098fa4>] (generic_handle_irq+0x20/0x30) from [<c000e3ac>] (handle_IRQ+0x64/0x8c)
<4>[ 4109.549883] [<c000e3ac>] (handle_IRQ+0x64/0x8c) from [<c0008538>] (gic_handle_irq+0x34/0x58)
<4>[ 4109.549893] [<c0008538>] (gic_handle_irq+0x34/0x58) from [<c000d600>] (__irq_svc+0x40/0x70)
<4>[ 4109.549901] Exception stack(0xed0addd8 to 0xed0ade20)
<4>[ 4109.549910] ddc0:                                                       00000003 00000000
<4>[ 4109.549920] dde0: 00000003 c0c5bff3 c0c5bff0 c0c5bff0 547b152f 000003c8 00000000 c0b8446c
<4>[ 4109.549930] de00: ed0ade48 83126e97 00000003 ed0ade20 c0023638 c00235ec 600f0113 ffffffff
<4>[ 4109.549941] [<c000d600>] (__irq_svc+0x40/0x70) from [<c00235ec>] (call_with_single_cpu.isra.4+0x9c/0x154)
<4>[ 4109.549952] [<c00235ec>] (call_with_single_cpu.isra.4+0x9c/0x154) from [<c0023820>] (_ddr_change_freq+0x17c/0x1c0)
<4>[ 4109.549963] [<c0023820>] (_ddr_change_freq+0x17c/0x1c0) from [<c0025088>] (ddrfreq_scale_rate_for_dvfs+0x20/0x74)
<4>[ 4109.549978] [<c0025088>] (ddrfreq_scale_rate_for_dvfs+0x20/0x74) from [<c002937c>] (dvfs_target+0x15c/0x204)
<4>[ 4109.549993] [<c002937c>] (dvfs_target+0x15c/0x204) from [<c0027d70>] (dvfs_clk_set_rate+0x44/0x80)
<4>[ 4109.550007] [<c0027d70>] (dvfs_clk_set_rate+0x44/0x80) from [<c00252a0>] (ddrfreq_mode.part.3+0x40/0xec)
<4>[ 4109.550017] [<c00252a0>] (ddrfreq_mode.part.3+0x40/0xec) from [<c00257c0>] (ddrfreq_work+0x184/0x1d4)
<4>[ 4109.550029] [<c00257c0>] (ddrfreq_work+0x184/0x1d4) from [<c0025868>] (ddrfreq_task+0x58/0x1b8)
<4>[ 4109.550041] [<c0025868>] (ddrfreq_task+0x58/0x1b8) from [<c0051ad4>] (kthread+0xa0/0xac)
<4>[ 4109.550054] [<c0051ad4>] (kthread+0xa0/0xac) from [<c000da98>] (ret_from_fork+0x14/0x3c)

<4>[ 4092.709215] CPU: 2 PID: 17844 Comm: mali-utility-wo Not tainted 3.10.0 #136
<4>[ 4092.709408] [<c0037494>] (mm_update_next_owner+0xc4/0x1c0) from [<c0037704>] (exit_mm+0x174/0x184)
<4>[ 4092.709422] [<c0037704>] (exit_mm+0x174/0x184) from [<c0037918>] (do_exit+0x204/0x400)
<4>[ 4092.709433] [<c0037918>] (do_exit+0x204/0x400) from [<c0037bc8>] (do_group_exit+0x88/0xb4)
<4>[ 4092.709447] [<c0037bc8>] (do_group_exit+0x88/0xb4) from [<c00444b0>] (get_signal_to_deliver+0x3b4/0x3fc)
<4>[ 4092.709459] [<c00444b0>] (get_signal_to_deliver+0x3b4/0x3fc) from [<c0010c00>] (do_signal+0xa0/0x14c)
<4>[ 4092.709469] [<c0010c00>] (do_signal+0xa0/0x14c) from [<c0010fa4>] (do_work_pending+0x4c/0x94)
<4>[ 4092.709480] [<c0010fa4>] (do_work_pending+0x4c/0x94) from [<c000da40>] (work_pending+0xc/0x20)

cpu0 is waiting for the other cpu respond ipi, but one cpu is blocked on getting &tasklist_lock
while irq is disabled and it will not respond ipi. If all the operation of &tasklist_lock is irq-disabled,
the &tasklist_lock will become available before the owner respond ipi, so the blocked cpu will get the
&tasklist_lock.

Signed-off-by: cl <cl@rock-chips.com>
9 years agoddr_rk32.c: optimize timeout procedure when change freq
cl [Tue, 6 Jan 2015 13:02:37 +0000 (21:02 +0800)]
ddr_rk32.c: optimize timeout procedure when change freq

Signed-off-by: cl <cl@rock-chips.com>
9 years agoddrfreq: complete(&vop_req_completion) must be called after ddrfreq_work is done...
cl [Tue, 6 Jan 2015 12:54:14 +0000 (20:54 +0800)]
ddrfreq: complete(&vop_req_completion) must be called after ddrfreq_work is done when VOP_REQ_BLOCK is defined

Signed-off-by: cl <cl@rock-chips.com>
9 years agoddr_freq: change the type of vop request from andriod
cl [Tue, 6 Jan 2015 11:40:25 +0000 (19:40 +0800)]
ddr_freq: change the type of vop request from andriod

Signed-off-by: cl <cl@rock-chips.com>
9 years agork312x:pmic:rt5036:modify ldo1 defult voltage 1.2V
张晴 [Tue, 6 Jan 2015 08:06:00 +0000 (16:06 +0800)]
rk312x:pmic:rt5036:modify ldo1 defult voltage 1.2V

Signed-off-by: 张晴 <zhangqing@rock-chips.com>
9 years agoARM: rockchip: enable ARM_ERRATA_821420 for RK3288
Huang, Tao [Tue, 6 Jan 2015 04:23:57 +0000 (12:23 +0800)]
ARM: rockchip: enable ARM_ERRATA_821420 for RK3288

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoARM: errata: Workaround for Cortex-A12 erratum 821420
Huang, Tao [Tue, 6 Jan 2015 02:08:16 +0000 (10:08 +0800)]
ARM: errata: Workaround for Cortex-A12 erratum 821420

On Cortex-A12 (r0p0, r0p1), in very rare timing conditions, a sequence of
VMOV to Core registers instructions, for which the second one is in the
shadow of a branch or abort, can lead to a deadlock when the VMOV
instructions are issued out-of-order. This workaround setting bit 1 of
the Internal Feature Register prevents the erratum.

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork312x: lcdc: the function that adjust GAMMA by config dsp lut is OK
zwl [Tue, 6 Jan 2015 00:46:14 +0000 (08:46 +0800)]
rk312x: lcdc: the function that adjust GAMMA by config dsp lut is OK

Signed-off-by: zwl <zwl@rockchips.com>
9 years agork3128 codec : fix the depop logic of codec
smj [Mon, 5 Jan 2015 09:40:29 +0000 (17:40 +0800)]
rk3128 codec : fix the depop logic of codec

Signed-off-by: smj <smj@rock-chips.com>
9 years agobattery: update rk818-battery driver
许盛飞 [Mon, 5 Jan 2015 07:07:36 +0000 (15:07 +0800)]
battery: update rk818-battery driver

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork3128-86v: suspend/resume armoff
xiaoyao [Mon, 5 Jan 2015 02:55:45 +0000 (10:55 +0800)]
rk3128-86v: suspend/resume armoff

9 years agork312x: lvds: fix suspend failed at the first time if uboot logo is set
zwl [Mon, 5 Jan 2015 01:30:41 +0000 (09:30 +0800)]
rk312x: lvds: fix suspend failed at the first time if uboot logo is set

Signed-off-by: zwl <zwl@rockchips.com>
9 years agousb: dwc_otg: fix usb battery charger detect bug
lyz [Fri, 26 Dec 2014 12:02:21 +0000 (20:02 +0800)]
usb: dwc_otg: fix usb battery charger detect bug

For we don't use charge display function in 3.10 kernel, when
android write 0 to /sys/class/android_usb/android0/enable no need
to set pcd->conn_status = 2 and gating usb clocks.

Signed-off-by: lyz <lyz@rock-chips.com>
9 years agoRK3036: fix vpu probe failed problem.
Alpha Lin [Sun, 4 Jan 2015 08:12:13 +0000 (16:12 +0800)]
RK3036: fix vpu probe failed problem.

no power domain on rk3036, but trying to enable the power
domain in previous driver code. remove the power domain
enable in this revision on rk3036 platform.

Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
9 years agoUSB: DWC_OTG: fix otg device clk repeatedly disable
Wu Liang feng [Wed, 31 Dec 2014 10:13:01 +0000 (18:13 +0800)]
USB: DWC_OTG: fix otg device clk repeatedly disable

The commit 28e9901cf058f17092b91347c0df0bad62962e5e set
otg device phy enter suspend and resume it after system
wakeup. But we don't control the clk, and it will cause
otg device repeatedly disable clk when resume from suspend.

Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
9 years agork mipi: disable non-continued function of mipi clock
chenyifu [Wed, 31 Dec 2014 07:10:03 +0000 (15:10 +0800)]
rk mipi: disable non-continued function of mipi clock

Not all the mipi panel support the non-continued function.
So it is better not support this function in SDK. We can
offer single patch for them who need this function.

Signed-off-by: chenyifu <chenyf@rock-chips.com>
9 years agoadd rga ION phy addr offset
zsq [Wed, 31 Dec 2014 02:36:39 +0000 (10:36 +0800)]
add rga ION phy addr offset

9 years agoDocumentation: sound: add rt3261 codec documentation.
sugar [Wed, 31 Dec 2014 00:53:22 +0000 (08:53 +0800)]
Documentation: sound: add rt3261 codec documentation.

Signed-off-by: sugar <sugar.zhang@rock-chips.com>
9 years agoRK312x codec : fix the codec probably no sound of rk3126
smj [Tue, 30 Dec 2014 04:37:24 +0000 (12:37 +0800)]
RK312x codec : fix the codec probably no sound of rk3126

Signed-off-by: lxt <lxt@rock-chips.com>
9 years agork_fb: bmp_helper: remove unalign 24bit bmp check
Mark Yao [Tue, 30 Dec 2014 01:36:32 +0000 (09:36 +0800)]
rk_fb: bmp_helper: remove unalign 24bit bmp check

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agomali_760_driver :
chenzhen [Mon, 29 Dec 2014 09:42:50 +0000 (17:42 +0800)]
mali_760_driver :
    handle crash when accessing gpu nodes under /sys in cts test;
upgrade rk_ko_ver to 12.

9 years agomali_760_driver : reduce period of gpu clk adjusting to 20 ms.
chenzhen [Mon, 29 Dec 2014 09:36:55 +0000 (17:36 +0800)]
mali_760_driver : reduce period of gpu clk adjusting to 20 ms.

9 years agork_fb: update uboot & kernel logo parse
Mark Yao [Mon, 29 Dec 2014 07:06:25 +0000 (15:06 +0800)]
rk_fb: update uboot & kernel logo parse

Sometimes we want to display logo at hdmi screen. but hdmi uboot
resolution maybe different with framebuffer size, so we need read
logo config from regs and decide how to display logo at kernel.

now only support uboot logo size = kernel logo size

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork_fb: bmp_helper: copy bmp data with memcpy
Mark Yao [Mon, 29 Dec 2014 07:03:49 +0000 (15:03 +0800)]
rk_fb: bmp_helper: copy bmp data with memcpy

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agoclose rga debug log
zsq [Mon, 29 Dec 2014 03:53:34 +0000 (11:53 +0800)]
close rga debug log

9 years agork3288, rk3036, rk312x, vpu: new vpu driver.
Alpha Lin [Mon, 29 Dec 2014 02:04:19 +0000 (10:04 +0800)]
rk3288, rk3036, rk312x, vpu: new vpu driver.

Define the vpu and hevc as the sub-devices of the vpu_combo on
rk3036 and rk312x, combine the work queue of two device, avoid two
device running in the same time, (cause bus error on platform rk3036
and rk312x).

9 years agork312x codec : fix the bug of codec capture gain
smj [Fri, 26 Dec 2014 13:06:04 +0000 (21:06 +0800)]
rk312x codec : fix the bug of codec capture gain

9 years agoarm/configs: add CONFIG_SECCOMP to rockchip_defconfig
Huang, Tao [Fri, 26 Dec 2014 05:56:29 +0000 (13:56 +0800)]
arm/configs: add CONFIG_SECCOMP to rockchip_defconfig

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork: ion: fix dts parse failure on arm64
CMY [Fri, 28 Nov 2014 06:49:59 +0000 (14:49 +0800)]
rk: ion: fix dts parse failure on arm64

9 years agork: ion: fix compilation error on arm64
CMY [Fri, 24 Oct 2014 06:12:22 +0000 (14:12 +0800)]
rk: ion: fix compilation error on arm64

Conflicts:

drivers/staging/android/ion/rockchip/rockchip_ion.c
include/linux/rockchip_ion.h

9 years agoclk: rockchip: set aclk_core_div to 4 for all rates in rk3036_apll_table
dkl [Wed, 17 Dec 2014 08:36:17 +0000 (16:36 +0800)]
clk: rockchip: set aclk_core_div to 4 for all rates in rk3036_apll_table

Set aclk_core_div to 4 for all rates, which makes rk3126\rk3128\rk3126b apll
frequency change stably.

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agoUSB: DWC_OTG: Support otg suspend and resume pm
Wu Liang feng [Thu, 25 Dec 2014 06:52:22 +0000 (14:52 +0800)]
USB: DWC_OTG: Support otg suspend and resume pm

Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
9 years agork312x: lcdc: fix shutdown power and clock deinit
Mark Yao [Thu, 25 Dec 2014 02:06:38 +0000 (10:06 +0800)]
rk312x: lcdc: fix shutdown power and clock deinit

immediately power down lcdc and clock, maybe
regs_update_handler still work, some status would
became wrong.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork: ion: ion's heap id order by heap type
CMY [Tue, 23 Dec 2014 09:51:27 +0000 (17:51 +0800)]
rk: ion: ion's heap id order by heap type
  need update android, including:
    hardware/rk29/libgralloc_ump/
    hardware/rk29/camera/
    external/rk-pcba-test/

9 years agousb: rk312x: rk3126/3128 usb phy tuning set OTG port disconnect
lyz [Mon, 22 Dec 2014 07:48:08 +0000 (15:48 +0800)]
usb: rk312x: rk3126/3128 usb phy tuning set OTG port disconnect
trigger point to 600mv, default is 650mv

9 years agomali_760_driver, rk_ext :
chenzhen [Wed, 17 Dec 2014 06:13:01 +0000 (14:13 +0800)]
mali_760_driver, rk_ext :
Add log of ver_info and built_time of mali_ko.

9 years agomali_760_driver : rk_ext on arm_release_ver, from r5p0-02dev0.
chenzhen [Mon, 15 Dec 2014 06:43:41 +0000 (14:43 +0800)]
mali_760_driver : rk_ext on arm_release_ver, from r5p0-02dev0.

9 years agomali_760_driver : arm_release_ver r5p0-02dev0.
chenzhen [Mon, 15 Dec 2014 06:20:31 +0000 (14:20 +0800)]
mali_760_driver : arm_release_ver r5p0-02dev0.

9 years agork312x: close the bluetooth in the file rk3128-box-rk88.dts.
li bing [Wed, 17 Dec 2014 05:58:18 +0000 (13:58 +0800)]
rk312x: close the bluetooth in the file rk3128-box-rk88.dts.

9 years agoARM: rk: kernel.img depends on logo_kernel.bmp
Huang, Tao [Wed, 17 Dec 2014 05:41:37 +0000 (13:41 +0800)]
ARM: rk: kernel.img depends on logo_kernel.bmp

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoiep driver:
ljf [Tue, 16 Dec 2014 11:56:18 +0000 (19:56 +0800)]
iep driver:

get rid of kfree buffer which allocated using devm_kzalloc.

Signed-off-by: ljf <ljf@rock-chips.com>
9 years agoremove rga driver mmu buf malloc to prevent crash
zsq [Mon, 15 Dec 2014 09:24:31 +0000 (17:24 +0800)]
remove rga driver mmu buf malloc to prevent crash

9 years agocamera: UVC: fix UVC interrupt and other issues
dalon.zhang [Mon, 15 Dec 2014 08:25:18 +0000 (16:25 +0800)]
camera: UVC: fix UVC interrupt and other issues

9 years agork312x: miss the new file rk3126.dtsi&&3128.dtsi for the commit c59e8d086aaf89d0f4835...
cl [Mon, 15 Dec 2014 01:09:09 +0000 (09:09 +0800)]
rk312x: miss the new file rk3126.dtsi&&3128.dtsi for the commit c59e8d086aaf89d0f48351ff7287708b57e5aba1(rk312x: adjust dts relation)

Signed-off-by: cl <cl@rock-chips.com>
9 years agork, gpu :
chenzhen [Thu, 11 Dec 2014 07:11:57 +0000 (15:11 +0800)]
rk, gpu :
source code for device/rockchip/common/gpu/libMali-T760/mali_kbase.ko,
in branch rk/rk32/mid/5.0/develop,
commit 1b187041f11b7ca1d6c1490b934f09648f334a19.

9 years agork312x: adjust dts relation
cl [Fri, 12 Dec 2014 09:59:56 +0000 (17:59 +0800)]
rk312x: adjust dts relation

Signed-off-by: cl <cl@rock-chips.com>
9 years agoARM: rk: build resource.img with logo_kernel.bmp
Huang, Tao [Fri, 12 Dec 2014 04:14:01 +0000 (12:14 +0800)]
ARM: rk: build resource.img with logo_kernel.bmp

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork fb: delete unused message
hjc [Fri, 12 Dec 2014 02:41:03 +0000 (10:41 +0800)]
rk fb: delete unused message

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agocif: set CONFIG_RK30_CAMERA_ONEFRAME default as yes in rockchip_defconfig
zyc [Fri, 12 Dec 2014 03:40:23 +0000 (11:40 +0800)]
cif: set CONFIG_RK30_CAMERA_ONEFRAME default as yes in rockchip_defconfig

9 years agoclk: rockchip: fix some code style problems in clk-pll.c
dkl [Fri, 12 Dec 2014 02:38:00 +0000 (10:38 +0800)]
clk: rockchip: fix some code style problems in clk-pll.c

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agoclk: rockchip: fix pll_clk_get_best_set() for rk3188plus type pll
dkl [Fri, 12 Dec 2014 02:25:26 +0000 (10:25 +0800)]
clk: rockchip: fix pll_clk_get_best_set() for rk3188plus type pll

When selecting a best setting for rk3188plus type pll, consider a
larger NO first(means larger VCO freq), and a smaller NR later.

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agork32: disabled ohci in dt
lyz [Wed, 10 Dec 2014 14:24:38 +0000 (22:24 +0800)]
rk32: disabled ohci in dt

9 years agoARM: rockchip: rockchip_defconfig add USB_OHCI_HCD
lyz [Wed, 10 Dec 2014 14:23:46 +0000 (22:23 +0800)]
ARM: rockchip: rockchip_defconfig add USB_OHCI_HCD

9 years agork312x: add support for ehci to all rk312x series
lyz [Wed, 10 Dec 2014 14:18:58 +0000 (22:18 +0800)]
rk312x: add support for ehci to all rk312x series

9 years agork32: ehci: work-around for abnormal ohci
lyz [Wed, 10 Dec 2014 07:57:17 +0000 (15:57 +0800)]
rk32: ehci: work-around for abnormal ohci

9 years agoRevert "USB: Fix EHCI bug if connect with FS or LS device."
lyz [Wed, 10 Dec 2014 07:40:21 +0000 (15:40 +0800)]
Revert "USB: Fix EHCI bug if connect with FS or LS device."

This reverts commit f65cb6fc5a364f0efba4fc9f0039c4ddb34ef4dd.

9 years agork fb: box is use NO_DUAL mode,so fb have to disable dsp_black
hjc [Thu, 11 Dec 2014 04:40:01 +0000 (12:40 +0800)]
rk fb: box is use NO_DUAL mode,so fb have to disable dsp_black

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork_fb: logo: get kernel logo addr from protect memory region
Mark Yao [Thu, 11 Dec 2014 05:49:03 +0000 (13:49 +0800)]
rk_fb: logo: get kernel logo addr from protect memory region

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork: mem: protect memory region that specified by uboot on kernel booting
CMY [Thu, 11 Dec 2014 04:58:09 +0000 (12:58 +0800)]
rk: mem: protect memory region that specified by uboot on kernel booting

9 years agork: ion: cma reserve 640MB at anywhere by default on rk32xx
CMY [Thu, 11 Dec 2014 04:53:29 +0000 (12:53 +0800)]
rk: ion: cma reserve 640MB at anywhere by default on rk32xx

9 years agoRevert "mmc: auto-pin when pm call for udbg"
lintao [Wed, 10 Dec 2014 09:16:14 +0000 (17:16 +0800)]
Revert "mmc: auto-pin when pm call for udbg"

This reverts commit 4ac86774c95b8f8cd8d80605fc332010cc02714e.

9 years agork3288 hdmi: add config for hdmi
hjc [Wed, 10 Dec 2014 09:16:07 +0000 (17:16 +0800)]
rk3288 hdmi: add config for hdmi

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork312x lcdc: fix no used function call.
hjc [Wed, 10 Dec 2014 08:44:05 +0000 (16:44 +0800)]
rk312x lcdc: fix no used function call.

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork3128-box:update dts according to pm.c
Luowei [Wed, 10 Dec 2014 06:19:53 +0000 (14:19 +0800)]
rk3128-box:update dts according to pm.c

9 years agork_fb: rk312x: direct power on lcdc when do fb_unblank
Mark Yao [Wed, 10 Dec 2014 01:42:31 +0000 (09:42 +0800)]
rk_fb: rk312x: direct power on lcdc when do fb_unblank

when do fb blank, we diretcly off the lcdc, so I think
we should power on lcdc in pairs.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork3288:umask dma support for spi
Luowei [Wed, 10 Dec 2014 00:20:38 +0000 (08:20 +0800)]
rk3288:umask dma support for spi

9 years agork312x: usb: cleanup ohci-rockchip.c and make it support rk312x
lyz [Tue, 9 Dec 2014 14:25:41 +0000 (22:25 +0800)]
rk312x: usb: cleanup ohci-rockchip.c and make it support rk312x

9 years agork312x: usb: Skip DWC HOST for rk3126/3128 and usb phy tuning
lyz [Tue, 9 Dec 2014 14:23:05 +0000 (22:23 +0800)]
rk312x: usb: Skip DWC HOST for rk3126/3128 and usb phy tuning

1.Use EHCI/OHCI for all rk312x series
2.Set Host disconnect trigger point to 600mv, default is 650mv

9 years agophy: backport generic phy framework from kernel-3.18
lyz [Tue, 9 Dec 2014 12:31:32 +0000 (20:31 +0800)]
phy: backport generic phy framework from kernel-3.18

9 years agork3036:add CONFIG_SWITCH again
Luowei [Tue, 9 Dec 2014 10:00:49 +0000 (18:00 +0800)]
rk3036:add CONFIG_SWITCH again

9 years agoi2s: compatible with rk3126/rk3126b/rk3128.
sugar [Tue, 9 Dec 2014 08:29:02 +0000 (16:29 +0800)]
i2s: compatible with rk3126/rk3126b/rk3128.

because i2s controller is different between rk3126 and rk3126b,
but require the same dtb, so add runtime compatible.

9 years agork312x lcdc: fix vop csc config error
hjc [Mon, 8 Dec 2014 10:24:22 +0000 (18:24 +0800)]
rk312x lcdc: fix vop csc config error

9 years agork_fb: logo: support display bmp logo from uboot
Mark Yao [Mon, 8 Dec 2014 08:55:21 +0000 (16:55 +0800)]
rk_fb: logo: support display bmp logo from uboot

get bmp file data from bootargs "kernel_logo=xxxxxx", decoder bmp
file to framebuffer.

now support rle 8bit bmp files and 24bit bmp files.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork fb: update fb config done info.
hjc [Mon, 8 Dec 2014 03:53:47 +0000 (11:53 +0800)]
rk fb: update fb config done info.
       this commit depend on hwc update,
       including the following directory:

       hardware/rk29/hwcomposer_rga/
       hardware/rk29/libgralloc_ump/
       hardware/libhardware/

9 years agoRK3126/3126B DDR:fix ddr DQS1 drv set err
typ [Mon, 8 Dec 2014 02:50:18 +0000 (10:50 +0800)]
RK3126/3126B DDR:fix ddr DQS1 drv set err

9 years agoMerge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into rk30/box/4.4_r1/develop
sugar [Mon, 8 Dec 2014 01:44:14 +0000 (09:44 +0800)]
Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into rk30/box/4.4_r1/develop

9 years agoi2s: compatable with rk3126/rk3126b/rk3128.
sugar [Mon, 8 Dec 2014 01:40:26 +0000 (09:40 +0800)]
i2s: compatable with rk3126/rk3126b/rk3128.

9 years agoRevert "rk3126/rk3126b: i2s: use i2s_2ch."
sugar [Mon, 8 Dec 2014 01:11:51 +0000 (09:11 +0800)]
Revert "rk3126/rk3126b: i2s: use i2s_2ch."

This reverts commit 942d98b30dd2c9907b4f53c160a16ee4216745a0.

9 years agousb: cleanup useless struct usb20otg_pdata_id
lyz [Tue, 25 Nov 2014 11:33:13 +0000 (19:33 +0800)]
usb: cleanup useless struct usb20otg_pdata_id