firefly-linux-kernel-4.4.55.git
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

9 years agoRK3126B: RK3126B delete the EBC
许盛飞 [Fri, 5 Dec 2014 11:05:59 +0000 (19:05 +0800)]
RK3126B: RK3126B delete the EBC

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agowifi->esp8089: add wifi mac address user-defined function.
li bing [Fri, 5 Dec 2014 09:20:51 +0000 (17:20 +0800)]
wifi->esp8089:  add wifi mac address user-defined function.

9 years agork3126/rk3126b: i2s: use i2s_2ch.
sugar [Fri, 5 Dec 2014 06:36:00 +0000 (14:36 +0800)]
rk3126/rk3126b: i2s: use i2s_2ch.

9 years agork3128 & rk3036 : change the led color when power up and down
blb [Fri, 5 Dec 2014 05:59:29 +0000 (13:59 +0800)]
rk3128 & rk3036 : change the led color when power up and down

Signed-off-by:blb <blb@rockchips.com>

9 years agowifi->esp8089:
li bing [Fri, 5 Dec 2014 02:41:35 +0000 (10:41 +0800)]
wifi->esp8089:
     ESP8089 driver update to V1.9 (11272014).
     Update the V2.3 esp_prealloc program.

     This update is mainly as follows:
        1.To increase the new MAC address and MAC address customized version of the support;
        2.Enhance the robustness of the code;
        3.The increase of pure drive consistency under Linux and android;
        4.Enhance compatibility of non-standard AP;
        5.Improve the stability of the P2P mode.

9 years agork fb: mid not support uboot display hdmi, so wo identify box and mid at switch screen
hjc [Fri, 5 Dec 2014 00:46:11 +0000 (08:46 +0800)]
rk fb: mid not support uboot display hdmi, so wo identify box and mid at switch screen

9 years agorockchip: avoid change ddr freq before lcd driver is inited
cl [Thu, 4 Dec 2014 02:12:52 +0000 (10:12 +0800)]
rockchip: avoid change ddr freq before lcd driver is inited

Signed-off-by: cl <cl@rock-chips.com>
9 years agork3288: arm pvtm add RK3288_PROCESS_V2
cl [Wed, 3 Dec 2014 11:54:35 +0000 (19:54 +0800)]
rk3288: arm pvtm add RK3288_PROCESS_V2

Signed-off-by: cl <cl@rock-chips.com>
9 years agork_fb: sysfs: make use vmap/vunmap in pairs.
Mark Yao [Wed, 3 Dec 2014 07:05:15 +0000 (15:05 +0800)]
rk_fb: sysfs: make use vmap/vunmap in pairs.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork_fb: sysfs: add dump_buffer func to fb sysfs
Mark Yao [Wed, 3 Dec 2014 02:05:26 +0000 (10:05 +0800)]
rk_fb: sysfs: add dump_buffer func to fb sysfs

Due to some time we want to know which buffer vop scaning, use "io"
cammand to dump buffer is too complex, so we add a sys node to help
buffer dump.

how to use it:
- echo bin > /sys/class/graphics/fb0/disp_info
  it will create bin file at /data/xxx.bin
- or echo bmp > /sys/class/graphics/fb0/disp_info
  it will create bmp file at /data/xxx.bmp,
  this file is normal bmp file.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agoion: export ion handle get/put
Mark Yao [Wed, 3 Dec 2014 01:48:50 +0000 (09:48 +0800)]
ion: export ion handle get/put

use ion handle get/put, we can easyly protect the buffer when we
use it.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork_fb: use front_regs instead of some global variable
Mark Yao [Mon, 1 Dec 2014 09:21:25 +0000 (17:21 +0800)]
rk_fb: use front_regs instead of some global variable

front_regs means this config is scaning on the vop devices

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agousb: dwc_otg: fix incorrect bit operation
lyz [Tue, 2 Dec 2014 10:55:37 +0000 (18:55 +0800)]
usb: dwc_otg: fix incorrect bit operation

9 years agoRK3126B DDR:add supporting DDR change freq
typ [Tue, 2 Dec 2014 02:25:05 +0000 (10:25 +0800)]
RK3126B DDR:add supporting DDR change freq

9 years agohevc, add scaling list table patch in kernel, fix bug in scaling list enable hevc...
ljf [Mon, 1 Dec 2014 03:35:08 +0000 (11:35 +0800)]
hevc, add scaling list table patch in kernel, fix bug in scaling list enable hevc video playback

9 years agork_fb: fix iommu problem when hdmi plug or unplug.
Mark Yao [Mon, 1 Dec 2014 00:47:24 +0000 (08:47 +0800)]
rk_fb: fix iommu problem when hdmi plug or unplug.

There are two thread will update the win config,
one is update_regs handler, another is hdmi hotplug
thread, win config maybe modify by another thread
unexpectly, then vop scan umap address, cause iommu
crash, so we need use a mutex to protect win config.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agocamera : cif : v0.1.a Support rk3288 cif driver
dalon.zhang [Sat, 29 Nov 2014 11:38:54 +0000 (19:38 +0800)]
camera : cif : v0.1.a  Support rk3288 cif driver

9 years agovcodec iommu, fix some vp8 source decode cause
ljf [Fri, 28 Nov 2014 07:10:59 +0000 (15:10 +0800)]
vcodec iommu, fix some vp8 source decode cause
iommu pagefault. omit some iommu table creation.

Signed-off-by: ljf <ljf@rock-chips.com>
9 years agork: ion: change ion's debug node for other r/w
CMY [Fri, 28 Nov 2014 07:07:49 +0000 (15:07 +0800)]
rk: ion: change ion's debug node for other r/w

9 years agork_fb: rk3128: fix crash when boot when with hdmi plug
Mark Yao [Fri, 28 Nov 2014 06:32:01 +0000 (14:32 +0800)]
rk_fb: rk3128: fix crash when boot when with hdmi plug

enable iommu when first ion buffer take effect.

9 years agork3036/rk3128 hdmi:
Zheng Yang [Fri, 28 Nov 2014 06:13:16 +0000 (14:13 +0800)]
rk3036/rk3128 hdmi:
According to HDMI CTS 7-19, GCP SB1~SB6 value must be zero
if color mode is 24bit. So we enable reg04 bit4 which will
set CD[0:3] of SB1 to zero.

9 years agork312xdts: reconfiguration the rk3126-sdk.dts
许盛飞 [Fri, 28 Nov 2014 01:51:09 +0000 (09:51 +0800)]
rk312xdts: reconfiguration the rk3126-sdk.dts

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork3036:SDK enable sdmmc
smj [Fri, 28 Nov 2014 01:09:27 +0000 (09:09 +0800)]
rk3036:SDK enable sdmmc
        rk88 disable pwm_regulator

Signed-off-by: smj <smj@rock-chips.com>
9 years agork312x-sleep: arm-off and ddr_selfrefres by soft controled
许盛飞 [Fri, 28 Nov 2014 01:11:21 +0000 (09:11 +0800)]
rk312x-sleep: arm-off and ddr_selfrefres by soft controled

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork3128 & rk3036: add the power led support of box-rk88
blb [Thu, 27 Nov 2014 12:40:42 +0000 (20:40 +0800)]
rk3128 & rk3036: add the power led support of box-rk88

Signed-off-by: Bai Longbiao <blb@rock-chips.com>
9 years agoRevert "mmc: add rto for infinit sending timeout loop"
lintao [Thu, 27 Nov 2014 12:04:24 +0000 (20:04 +0800)]
Revert "mmc: add rto for infinit sending timeout loop"

This reverts commit 426495888a245034d2b60e8c032ed5bd725a44ac.

9 years agokernel logo: default disable CONFIG_LOGO
Mark Yao [Thu, 27 Nov 2014 08:33:18 +0000 (16:33 +0800)]
kernel logo: default disable CONFIG_LOGO

because most projects use uboot logo display at kenel, so default
disable kernel logo.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agommc: auto-pin when pm call for udbg
lintao [Fri, 21 Nov 2014 00:32:23 +0000 (08:32 +0800)]
mmc: auto-pin when pm call for udbg
If mux data lines with uart, drivers auto work around
pcl setting for CARD_PRESENT state

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agommc: add rto for infinit sending timeout loop
lintao [Thu, 20 Nov 2014 01:47:32 +0000 (09:47 +0800)]
mmc: add rto for infinit sending timeout loop

dw_mci write cmd index to CMD register to trigger sending cmd by BIU.
However, if device fall into panic holding cmd/data line to low level cause BIU
cannnot send out cmd forever. So no cmd_done_int will come. AND, cmd response timeout
only valid after cmd been sent. Nothing to break this loop, we need a s/w recovery from
STATE_SENDING_CMD to STATE_IDLE, and the pending one reported as -ETIMEOUT, let caller
decide howto again.

Reported-by: roger.hu <hwg@rock-chips.com>
Signed-off-by: lintao <lintao@rock-chips.com>
Reviewed-and-tested-by: roger.hu <hwg@rock-chips.com>
9 years agorockchip: iommu: update iommu driver
Simon Xue [Thu, 27 Nov 2014 01:27:39 +0000 (09:27 +0800)]
rockchip: iommu: update iommu driver

1.Audi vpu_combo contain hevc and vpu,it need to switch
  when hevc on or vpu on,but there was a issue could cause
  hevc or vpu failed,so current vpu driver disable/enable
  iommu each frame to avoid failed,for these,a lot of log
  produced,so change dev_info to dev_dbg when iommu attach/deattach

2.AudiB has fixed the vop read problem,we use soc_is_rk3126 or
  soc_is_rk3128 instead of cpu_is_rk312x to identify Audi

9 years agof2fs: support xattr security labels
Jaegeuk Kim [Mon, 3 Jun 2013 10:46:19 +0000 (19:46 +0900)]
f2fs: support xattr security labels

This patch adds the support of security labels for f2fs, which will be used
by Linus Security Models (LSMs).

Quote from http://en.wikipedia.org/wiki/Linux_Security_Modules:
"Linux Security Modules (LSM) is a framework that allows the Linux kernel to
support a variety of computer security models while avoiding favoritism toward
any single security implementation. The framework is licensed under the terms of
the GNU General Public License and is standard part of the Linux kernel since
Linux 2.6. AppArmor, SELinux, Smack and TOMOYO Linux are the currently accepted
modules in the official kernel.".

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 8ae8f1627f39bae505b90cade50cd8a911b8bda6)

9 years agof2fs: update inode page after creation
Jaegeuk Kim [Mon, 20 May 2013 01:10:29 +0000 (10:10 +0900)]
f2fs: update inode page after creation

I found a bug when testing power-off-recovery as follows.

[Bug Scenario]
1. create a file
2. fsync the file
3. reboot w/o any sync
4. try to recover the file
 - found its fsync mark
 - found its dentry mark
   : try to recover its dentry
    - get its file name
    - get its parent inode number
     : here we got zero value

The reason why we get the wrong parent inode number is that we didn't
synchronize the inode page with its newly created inode information perfectly.

Especially, previous f2fs stores fi->i_pino and writes it to the cached
node page in a wrong order, which incurs the zero-valued i_pino during the
recovery.

So, this patch modifies the creation flow to fix the synchronization order of
inode page with its inode.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 44a83ff6a81d84ab83bcb43a49ff1ba6c7e17cd1)

9 years agof2fs: change get_new_data_page to pass a locked node page
Jaegeuk Kim [Mon, 20 May 2013 00:55:50 +0000 (09:55 +0900)]
f2fs: change get_new_data_page to pass a locked node page

This patch is for passing a locked node page to get_dnode_of_data.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
(cherry picked from commit 64aa7ed98db489d1c41ef140876ada38498678ab)

9 years agork3036,rk312x. merge the hevc and vpu workqueue according to audi vpu_combo feature
ljf [Wed, 26 Nov 2014 09:52:19 +0000 (17:52 +0800)]
rk3036,rk312x. merge the hevc and vpu workqueue according to audi vpu_combo feature

9 years agoclk: rk3126b: add support and fix clk_pll_set_rate_3036_apll
dkl [Tue, 25 Nov 2014 08:53:24 +0000 (16:53 +0800)]
clk: rk3126b: add support and fix clk_pll_set_rate_3036_apll

9 years agork-fb: display kernel logo if define CONFIG_LOGO
Mark Yao [Tue, 25 Nov 2014 06:16:01 +0000 (14:16 +0800)]
rk-fb: display kernel logo if define CONFIG_LOGO

if define CONFIG_LOGO macro, display kernel logo,
else display logo from uboot.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork312x lcdc: fix fb_par->state error.
hjc [Tue, 25 Nov 2014 03:44:25 +0000 (11:44 +0800)]
rk312x lcdc: fix fb_par->state error.

9 years agotest-power: add testpower dts-config
许盛飞 [Mon, 24 Nov 2014 04:00:21 +0000 (12:00 +0800)]
test-power: add testpower dts-config

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agousb: dwc_otg: fix problems of commit 058d627
lyz [Fri, 21 Nov 2014 08:18:49 +0000 (16:18 +0800)]
usb: dwc_otg: fix problems of commit 058d627

1.
schedule_delayed_work(&pcd->check_id_work,msecs_to_jiffies(HZ))
should be schedule_delayed_work(&pcd->check_id_work,HZ)

2.fix coding-style to pass checkpatch.pl

3.set otg controler working on foece host/device mode to avoid
mode_missmatch_interrupts

9 years agork3126 adc battery: change charge time
zyk [Fri, 21 Nov 2014 06:56:45 +0000 (14:56 +0800)]
rk3126 adc battery: change charge time

9 years agoARM: rockchip: rk3126b: add initial support
Huang, Tao [Fri, 21 Nov 2014 06:00:14 +0000 (14:00 +0800)]
ARM: rockchip: rk3126b: add initial support

9 years agork312x adc battery: save capacity increment from uboot
zyk [Fri, 21 Nov 2014 03:52:34 +0000 (11:52 +0800)]
rk312x adc battery: save capacity increment from uboot

9 years agork3126-86v dts: add adc battery status for uboot
zyk [Fri, 21 Nov 2014 03:45:34 +0000 (11:45 +0800)]
rk3126-86v dts: add adc battery status for uboot

9 years agork312x adc,author xhc:save old capacity on android
zyk [Fri, 21 Nov 2014 01:38:47 +0000 (09:38 +0800)]
rk312x adc,author xhc:save old capacity on android

9 years agousb: dwc-otg: using delayed-work to detect id change event instead of id_change intrrupt
lyz [Thu, 20 Nov 2014 11:09:04 +0000 (19:09 +0800)]
usb: dwc-otg: using delayed-work to detect id change event instead of id_change intrrupt

9 years agoDMA pl330: pl330_get_desc try more to get desc
hhb [Wed, 19 Nov 2014 07:26:15 +0000 (15:26 +0800)]
DMA pl330: pl330_get_desc try more to get desc

9 years agoWifi: fix rtl usb wifi resume issue.
gwl [Wed, 19 Nov 2014 02:57:10 +0000 (10:57 +0800)]
Wifi: fix rtl usb wifi resume issue.

9 years agork3128 : codec : fix the pop sound when codec power on at first
smj [Tue, 18 Nov 2014 11:46:06 +0000 (19:46 +0800)]
rk3128 : codec : fix the pop sound when codec power on at first

9 years agork3288:pmic:ricoh619:slove fuel gauge error when sleep wakeup for a long time
张晴 [Tue, 18 Nov 2014 08:10:52 +0000 (16:10 +0800)]
rk3288:pmic:ricoh619:slove fuel gauge error when sleep wakeup for a long time

9 years agork3036 lcdc:
Zheng Yang [Tue, 18 Nov 2014 03:07:02 +0000 (11:07 +0800)]
rk3036 lcdc:
        If same layer is closed twice, atv_layer_cnt may be
        set to zero, so vop go to standy. Now win0、win1、hwc
        is mapped to atv_layer_cnt bit[0-2]. When open/close
        layer, set coresponding atv_layer_cnt bit to one/zero.

9 years agork mipi: fixed the bug of getting mipi cmds in mipi screen dts file.
chenyifu [Tue, 18 Nov 2014 02:56:14 +0000 (10:56 +0800)]
rk mipi: fixed the bug of getting mipi cmds in mipi screen dts file.
         The driver supports 32 parameters of each mipi cmds
         when initialization the mipi screen.
         But the users may send a cmds longer the 32 parameters sometimes,
         and it will result in that the array out of range.

9 years agork mipi: fixed the bug of send generic short packet in rk32_mipi_dsi.c
chenyifu [Tue, 18 Nov 2014 01:57:13 +0000 (09:57 +0800)]
rk mipi: fixed the bug of send generic short packet in rk32_mipi_dsi.c
DTYPE_GEN_SWRITE_2P:
  Generic Short WRITE Packet with 2 parameters(one command
and one parameter). But the users may send the packet more
than 2 parameters.

DTYPE_GEN_SWRITE_1P:
Generic Short WRITE Packet with 1 parameters(one command
without parameter).
DTYPE_GEN_SWRITE_0P:
Generic Short WRITE Packet with 0 parameters(nop packet
without command and parameter).

9 years agork mipi: fixed the bug of set_bits in rk32_mipi_dsi.c.
chenyifu [Tue, 18 Nov 2014 01:04:28 +0000 (09:04 +0800)]
rk mipi: fixed the bug of set_bits in rk32_mipi_dsi.c.

9 years agousb-uart: fix complie error
lyz [Mon, 17 Nov 2014 09:01:29 +0000 (17:01 +0800)]
usb-uart: fix complie error

9 years agoRevert "hwmon: rockchip_tsadc: dynamically control pclk"
郭毅 [Mon, 17 Nov 2014 07:53:08 +0000 (15:53 +0800)]
Revert "hwmon: rockchip_tsadc: dynamically control pclk"

This reverts commit da8f8281e989dd44b126ed6cfef6c21a2f9ca0e6.

9 years agork3036/3128 hdmi:
Zheng Yang [Mon, 17 Nov 2014 06:30:09 +0000 (14:30 +0800)]
rk3036/3128 hdmi:
Take following sequence to avoid picture flash when swiching resolution:
1. Send AV_MUTE GCP packet.
2. Power off hdmi phy.
3. Sleep 2 second to wait TV process no TMDS signal.
4. Configure video and audio registers.
5. Power on HDMI phy.
6. Send CLEAR_MUTE GCP packet.

9 years agommc: capture dpm notify and avoid conflict scan flow
lintao [Thu, 13 Nov 2014 15:00:49 +0000 (23:00 +0800)]
mmc: capture dpm notify and avoid conflict scan flow

Signed-off-by: lintao <lintao@rock-chips.com>
9 years agorockchip: clk: add rk3188_plus type pll enable/disable
dkl [Wed, 5 Nov 2014 06:30:39 +0000 (14:30 +0800)]
rockchip: clk: add rk3188_plus type pll enable/disable

Add rk3188_plus type pll enable/disable ops. Disable unused plls
when display is off in rk3288.

9 years agork_fb: wait extend lcdc vsync before release fence
Mark Yao [Mon, 17 Nov 2014 01:18:42 +0000 (09:18 +0800)]
rk_fb: wait extend lcdc vsync before release fence

before release fence, we should make sure extend lcdc config take
effect. if not, maybe GPU would access the buffer which hdmi using,
and cause tearing.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
9 years agork312x: usb-uart: disable usb-uart when cpu suspend
li yun zhi [Fri, 14 Nov 2014 02:59:15 +0000 (10:59 +0800)]
rk312x: usb-uart: disable usb-uart when cpu suspend

9 years agousb: ehci-rockchip: fix bugs:
lyz [Thu, 30 Oct 2014 08:20:53 +0000 (16:20 +0800)]
usb: ehci-rockchip: fix bugs:

1. Remove ehci_port_power() in ehci-rockchip, since commit
c73cee7 the ehci_port_power() function no longer needed,
ehci hub driver taking care of power supply.
2. Fix 64-bit address pointer warnning.
3. Register rk-rhci driver by ehci_init_driver() for reducing
useless code.
4. Fix kernrl crash caused by null pointer dereference ,
When 'echo 0 > ehci_power' usb_remove_hcd() run twice. Set rk
ehci->host_enabled 0 to stop connect_detect thread.

9 years agousb: implement power control by 'buspower' attribute
lyz [Wed, 29 Oct 2014 09:24:29 +0000 (17:24 +0800)]
usb: implement power control by 'buspower' attribute

This node is used for usb controller test application to enum usb
devices plugin and disconnect.

9 years agork312x lcdc: fix compile warning.
hjc [Fri, 14 Nov 2014 01:51:07 +0000 (09:51 +0800)]
rk312x lcdc: fix compile warning.

Signed-off-by: xzj<xzj@rock-chips.com>
9 years agork312x lcdc: if bcsh is disable and rgb output, close yuv2rgb and rgb2yuv.
hjc [Thu, 13 Nov 2014 10:22:59 +0000 (18:22 +0800)]
rk312x lcdc: if bcsh is disable and rgb output, close yuv2rgb and rgb2yuv.

Signed-off-by: xzj<xzj@rock-chips.com>
9 years agoBT: fix the issue of bt cannot wake up host.
gwl [Thu, 13 Nov 2014 06:57:04 +0000 (14:57 +0800)]
BT: fix the issue of bt cannot wake up host.

9 years agork32:pmic:ricoh619:not currect 99% to 100% when no charger;slove soc to 0% when resum...
张晴 [Wed, 12 Nov 2014 09:42:44 +0000 (17:42 +0800)]
rk32:pmic:ricoh619:not currect 99% to 100% when no charger;slove soc to 0% when resume;modify usb type detect

9 years agoefuse: clear compile warning
cl [Tue, 11 Nov 2014 10:11:50 +0000 (18:11 +0800)]
efuse: clear compile warning

Signed-off-by: cl <cl@rock-chips.com>
9 years agoefuse: add rk312x_efuse_readregs()
cl [Tue, 11 Nov 2014 10:01:30 +0000 (18:01 +0800)]
efuse: add rk312x_efuse_readregs()

Signed-off-by: cl <cl@rock-chips.com>
9 years agopl330: change NR_DEFAULT_DESC from 16 to 32
hhb [Tue, 11 Nov 2014 09:31:16 +0000 (17:31 +0800)]
pl330: change NR_DEFAULT_DESC from 16 to 32

9 years agocamsys_drv: v0.0x19.0
zyc [Tue, 11 Nov 2014 07:05:00 +0000 (15:05 +0800)]
camsys_drv: v0.0x19.0

9 years agofb: box: if win data format is yuv420/yuv420_A, set win state is 1.
Zheng Yang [Tue, 11 Nov 2014 06:21:28 +0000 (14:21 +0800)]
fb: box: if win data format is yuv420/yuv420_A, set win state is 1.

9 years agork fb:
zwl [Tue, 11 Nov 2014 01:27:01 +0000 (09:27 +0800)]
rk fb:
fix rk3036 get fb addr error when resume

Signed-off-by: xzj<xzj@rock-chips.com>
Signed-off-by: zwl<zwl@rock-chips.com>
9 years agocamsys_drv: v0.0x18.0 camsys_head: v0.0xa.0
zyc [Mon, 10 Nov 2014 03:45:56 +0000 (11:45 +0800)]
camsys_drv: v0.0x18.0 camsys_head: v0.0xa.0

9 years agopwm: add min-duty = 0
许盛飞 [Mon, 10 Nov 2014 01:26:03 +0000 (09:26 +0800)]
pwm: add min-duty = 0

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agohdmi & fb:
Zheng Yang [Fri, 7 Nov 2014 10:01:48 +0000 (18:01 +0800)]
hdmi & fb:
        For box, we need to set hdmi switch state when insert/remove,
        regardless of whether the device supports audio. So add function
        rk_fb_get_display_policy() to get display policy.

9 years agoRK3036/RK312x,
ljf [Fri, 7 Nov 2014 09:38:08 +0000 (17:38 +0800)]
RK3036/RK312x,
Reactivate hevc/vpu iommu when vpu/hevc start to work, can not work at
the same time.

Signed-off-by: ljf <ljf@rock-chips.com>
9 years agoadd protect mutex when activate iommu device. coresponse to iommu
ljf [Fri, 7 Nov 2014 07:15:50 +0000 (15:15 +0800)]
add protect mutex when activate iommu device. coresponse to iommu
modify.

Signed-off-by: ljf <ljf@rock-chips.com>
9 years agorockchip: iommu: update stall operation
Simon [Fri, 7 Nov 2014 06:04:07 +0000 (14:04 +0800)]
rockchip: iommu: update stall operation

1. Skip stall operation when invalid iommu tlb cache
   because it does not need enter stall mode

2. Add stall operation when detach device

9 years agork312x lcdc:
Zheng Yang [Thu, 6 Nov 2014 09:44:34 +0000 (17:44 +0800)]
rk312x lcdc:
Because rk312x lcdc is not support premul alpha when at
YUV overlay mode, we disable premul alpha under YUV overlay.

9 years agorockchip: iommu: move iommu_reset function to attach_device
Simon [Thu, 6 Nov 2014 08:42:47 +0000 (16:42 +0800)]
rockchip: iommu: move iommu_reset function to attach_device

If master power domain is disabled,at this time to r/w the
iommu register,it would failed.Master call the attach_deivce
means it must power on itself,so iommu_reset in attach_device
can guarantee the safety

Depend on this, we can remove the vpu/hevc GRF relative code

9 years agork3036: fix system halt when suspend
wdc [Thu, 6 Nov 2014 07:46:04 +0000 (15:46 +0800)]
rk3036: fix system halt when suspend

9 years agosar-adc: extra channel is channel-6 via datasheet
wdc [Mon, 3 Nov 2014 09:06:23 +0000 (17:06 +0800)]
sar-adc: extra channel is channel-6 via datasheet

9 years agork fb:
zwl [Thu, 6 Nov 2014 03:36:28 +0000 (11:36 +0800)]
rk fb:
* avoid get the delay of power-ctrl error when 'rockchip,delay' is not set on lcdc node at dts file

Signed-off-by: zwl <zwl@rock-chips.com>
9 years agork fb:
zwl [Wed, 5 Nov 2014 12:14:04 +0000 (20:14 +0800)]
rk fb:
* add support the regulator type of power control for lcd
Signed-off-by: zwl <zwl@rock-chips.com>
9 years agorockchip: iommu: fix some bugs
Simon [Wed, 5 Nov 2014 11:22:39 +0000 (19:22 +0800)]
rockchip: iommu: fix some bugs

1.rewrite irq function
2.rewrite dump_pgtable

9 years agork312x: sdk add temperature data
cl [Wed, 5 Nov 2014 10:45:46 +0000 (18:45 +0800)]
rk312x: sdk add temperature data

Signed-off-by: cl <cl@rock-chips.com>
9 years agork3126-sdk: update dvfs table
cl [Wed, 5 Nov 2014 09:13:11 +0000 (17:13 +0800)]
rk3126-sdk: update dvfs table

Signed-off-by: cl <cl@rock-chips.com>
9 years agodvfs: add leakage adjust volt support
cl [Wed, 5 Nov 2014 09:07:54 +0000 (17:07 +0800)]
dvfs: add leakage adjust volt support

Signed-off-by: cl <cl@rock-chips.com>
9 years agoinput:ir: request rk pwm irq with IRQF_NO_SUSPEND flag
huang zhibao [Wed, 5 Nov 2014 07:44:37 +0000 (15:44 +0800)]
input:ir: request rk pwm irq with IRQF_NO_SUSPEND flag

9 years agoAudio: add 192k samplerate support.
sugar [Wed, 5 Nov 2014 05:25:47 +0000 (13:25 +0800)]
Audio: add 192k samplerate support.

9 years agodvfs: add pvtm support
cl [Wed, 5 Nov 2014 02:00:00 +0000 (10:00 +0800)]
dvfs: add pvtm support

Signed-off-by: cl <cl@rock-chips.com>
9 years agork3288: fix i2c1 and i2c2 clk gating error
wdc [Wed, 5 Nov 2014 01:26:08 +0000 (09:26 +0800)]
rk3288: fix i2c1 and i2c2 clk gating error

9 years agork3036:add lcdc in aliases for uboot display
smj [Wed, 5 Nov 2014 00:56:26 +0000 (08:56 +0800)]
rk3036:add lcdc in aliases for uboot display

9 years agoefuse: add rockchip_process_version function
cl [Tue, 4 Nov 2014 08:02:14 +0000 (16:02 +0800)]
efuse: add rockchip_process_version function

Signed-off-by: cl <cl@rock-chips.com>
9 years agork3126-sdk: modify cd-gpios
lintao [Tue, 4 Nov 2014 07:19:30 +0000 (15:19 +0800)]
rk3126-sdk: modify cd-gpios

9 years agork3288-resume: save the wake-up time
许盛飞 [Mon, 3 Nov 2014 19:00:53 +0000 (03:00 +0800)]
rk3288-resume: save the wake-up time

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agoadc-battery: add the function of auto-calibration the reference-voltage
许盛飞 [Mon, 3 Nov 2014 02:05:29 +0000 (10:05 +0800)]
adc-battery: add the function of auto-calibration the reference-voltage

Signed-off-by: 许盛飞 <xsf@rock-chips.com>
9 years agork312x camera : oneframe v0.1.9,pingpong v0.1.9
zyc [Mon, 3 Nov 2014 09:42:04 +0000 (17:42 +0800)]
rk312x camera : oneframe v0.1.9,pingpong v0.1.9

9 years agork312x:lcdc:
zwl [Fri, 31 Oct 2014 10:21:13 +0000 (18:21 +0800)]
rk312x:lcdc:
* set dither down according to primary screen face when DUAL display
  for fix the color gradation of display

Signed-off-by: zwl <zwl@rock-chips.com>
Signed-off-by: xzj <xzj@rock-chips.com>