firefly-linux-kernel-4.4.55.git
9 years agoion: ino reserve
hjc [Sat, 13 Dec 2014 09:37:08 +0000 (17:37 +0800)]
ion: ino reserve

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork32 dp: port to rk3368
hjc [Sat, 13 Dec 2014 09:34:45 +0000 (17:34 +0800)]
rk32 dp: port to rk3368

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork31xx lvds: add lvds grf config
hjc [Sat, 13 Dec 2014 09:20:43 +0000 (17:20 +0800)]
rk31xx lvds: add lvds grf config

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork3368 lcdc: 1.delete force vop output aaa mode in hdmi and edp mode; 2.not to contro...
hjc [Sat, 13 Dec 2014 09:41:25 +0000 (17:41 +0800)]
rk3368 lcdc: 1.delete force vop output aaa mode in hdmi and edp mode; 2.not to control power domain.

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agoarm64: rockchip: rockchip_defconfig disable MMC_DW_IDMAC temporarily
Huang, Tao [Sat, 13 Dec 2014 07:18:26 +0000 (15:18 +0800)]
arm64: rockchip: rockchip_defconfig disable MMC_DW_IDMAC temporarily

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork3368: dts: init gpll rate before clk_core_b and clk_core_l
dkl [Sat, 13 Dec 2014 04:27:04 +0000 (12:27 +0800)]
rk3368: dts: init gpll rate before clk_core_b and clk_core_l

It's better to init gpll rate before clk_core_b and clk_core_l,
because gpll will be used when clk_core_b and clk_core_l change rate.

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agork3368: clk: fix rk3368 apll set_rate
dkl [Sat, 13 Dec 2014 04:00:23 +0000 (12:00 +0800)]
rk3368: clk: fix rk3368 apll set_rate

In rk3368, apll enter slow mode before changing settings
and return to normal mode after changing settings.

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agoarm64: rockchip: rockchip_defconfig enable some ARM64 feature
Huang, Tao [Sat, 13 Dec 2014 04:58:06 +0000 (12:58 +0800)]
arm64: rockchip: rockchip_defconfig enable some ARM64 feature

+DISABLE_CPU_SCHED_DOMAIN_BALANCE
+SCHED_HMP
+HMP_VARIABLE_SCALE
+HMP_FREQUENCY_INVARIANT_SCALE
+SCHED_HMP_LITTLE_PACKING
+ARM_BIG_LITTLE_CPUFREQ
+ARM_DT_BL_CPUFREQ
+ARM64_CPUIDLE
+SERIAL_ROCKCHIP_CONSOLE
+RK30_CAMERA_ONEFRAME

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoarm64: rockchip: fix tb_8846 boot
Huang, Tao [Sat, 13 Dec 2014 04:55:21 +0000 (12:55 +0800)]
arm64: rockchip: fix tb_8846 boot

uart_dbg status default disabled
disabe wireless-wlan
bootargs remove vmalloc=512M console=ttyS2
remove memory node

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoarm64: rockchip: add rk3368-tb_8846.dts
Huang, Tao [Fri, 12 Dec 2014 09:03:20 +0000 (17:03 +0800)]
arm64: rockchip: add rk3368-tb_8846.dts

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoarm64: rockchip: rk3368.dtsi add more configure
Huang, Tao [Fri, 12 Dec 2014 09:02:35 +0000 (17:02 +0800)]
arm64: rockchip: rk3368.dtsi add more configure

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork3368 lcdc: support win mirror and update NO_DUAL mode
hjc [Fri, 12 Dec 2014 07:01:28 +0000 (15:01 +0800)]
rk3368 lcdc: support win mirror and update NO_DUAL mode

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork3368: clk: add CLKOPS_RATE_RK3368_DCLK_LCDC for dclk_vop0
dkl [Thu, 11 Dec 2014 12:08:22 +0000 (20:08 +0800)]
rk3368: clk: add CLKOPS_RATE_RK3368_DCLK_LCDC for dclk_vop0

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agork3368: dts: clk: fix some errors
dkl [Thu, 11 Dec 2014 06:38:26 +0000 (14:38 +0800)]
rk3368: dts: clk: fix some errors

Adjust vip clks, rename clk_gpu_core "clk_gpu" and remove wrong clk4x_ddr.

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agoMerge branch develop-3.10 into develop-3.10-next
Huang, Tao [Fri, 12 Dec 2014 06:12:56 +0000 (14:12 +0800)]
Merge branch develop-3.10 into develop-3.10-next

9 years agoRevert "rk3368 lcdc: support win mirror and update NO_DUAL mode"
Huang, Tao [Fri, 12 Dec 2014 06:11:55 +0000 (14:11 +0800)]
Revert "rk3368 lcdc: support win mirror and update NO_DUAL mode"

This reverts commit fd18d428fa43fba8f42c6be7649cd857263c8c8e.

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 agork3368: reset: add soft_reset id
dkl [Fri, 12 Dec 2014 03:27:21 +0000 (11:27 +0800)]
rk3368: reset: add soft_reset id

Signed-off-by: dkl <dkl@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: Makefile set default CROSS_COMPILE when ARCH is arm64
Huang, Tao [Thu, 11 Dec 2014 06:23:00 +0000 (14:23 +0800)]
rk: Makefile set default CROSS_COMPILE when ARCH is arm64

Signed-off-by: Huang, Tao <huangtao@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 agork: arm64: support build kernel.img and resource.img
Huang, Tao [Thu, 11 Dec 2014 04:44:50 +0000 (12:44 +0800)]
rk: arm64: support build kernel.img and resource.img

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoARM64: rockchip: rockchip_defconfig disable HDMI_RK3288
Huang, Tao [Wed, 10 Dec 2014 12:15:52 +0000 (20:15 +0800)]
ARM64: rockchip: rockchip_defconfig disable HDMI_RK3288

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agork3368 lcdc: support win mirror and update NO_DUAL mode
hjc [Wed, 10 Dec 2014 02:33:51 +0000 (10:33 +0800)]
rk3368 lcdc: support win mirror and update NO_DUAL mode

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agoMerge branch develop-3.10 into develop-3.10-next
Huang, Tao [Wed, 10 Dec 2014 12:09:28 +0000 (20:09 +0800)]
Merge branch develop-3.10 into develop-3.10-next

9 years agoARM64: rockchip: update rockchip_defconfig
Huang, Tao [Wed, 10 Dec 2014 11:57:14 +0000 (19:57 +0800)]
ARM64: rockchip: update rockchip_defconfig

-MEMCG
-RD_BZIP2
-RD_LZMA
PANIC_TIMEOUT=1
+BLOCK_RKNAND
+ARMV7_COMPAT
+SECCOMP
-MALI_MIDGARD
+LCDC_RK3368
+SND_DYNAMIC_MINORS
+BOOTPARAM_HARDLOCKUP_PANIC
+BOOTPARAM_SOFTLOCKUP_PANIC
DEFAULT_HUNG_TASK_TIMEOUT=10
+DYNAMIC_DEBUG

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoARM64: rockchip: add mach-rockchip
Huang, Tao [Wed, 10 Dec 2014 11:56:49 +0000 (19:56 +0800)]
ARM64: rockchip: add mach-rockchip

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoARM: rockchip: move common config to Kconfig.common
Huang, Tao [Wed, 10 Dec 2014 11:53:56 +0000 (19:53 +0800)]
ARM: rockchip: move common config to Kconfig.common

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoARM: rockchip: common files support ARM64
Huang, Tao [Wed, 10 Dec 2014 11:50:00 +0000 (19:50 +0800)]
ARM: rockchip: common files support ARM64

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agomedia: rk30_camera_oneframe: fix link error
Huang, Tao [Wed, 10 Dec 2014 11:42:48 +0000 (19:42 +0800)]
media: rk30_camera_oneframe: fix link error

`.exit.text' referenced in section `.data.rel.local' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
9 years agoARM: rockchip: common: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:40:53 +0000 (19:40 +0800)]
ARM: rockchip: common: covert dsb() to dsb(sy)

9 years agousb: dwc_otg_310: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:36:30 +0000 (19:36 +0800)]
usb: dwc_otg_310: covert dsb() to dsb(sy)

9 years agovideo: rockchip: rk3288_hdmi: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:35:54 +0000 (19:35 +0800)]
video: rockchip: rk3288_hdmi: covert dsb() to dsb(sy)

9 years agovideo: rockchip: iep: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:34:41 +0000 (19:34 +0800)]
video: rockchip: iep: covert dsb() to dsb(sy)

9 years agovideo: rk3368_lcdc: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:32:25 +0000 (19:32 +0800)]
video: rk3368_lcdc: covert dsb() to dsb(sy)

9 years agomedia: rk30_camera_oneframe: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:31:34 +0000 (19:31 +0800)]
media: rk30_camera_oneframe: covert dsb() to dsb(sy)

9 years agork_serial: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:30:04 +0000 (19:30 +0800)]
rk_serial: covert dsb() to dsb(sy)

9 years agoclocksource: rockchip_timer: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:27:08 +0000 (19:27 +0800)]
clocksource: rockchip_timer: covert dsb() to dsb(sy)

9 years agopwm: rockchip: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:25:48 +0000 (19:25 +0800)]
pwm: rockchip: covert dsb() to dsb(sy)

9 years agoirqchip: gic: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:24:50 +0000 (19:24 +0800)]
irqchip: gic: covert dsb() to dsb(sy)

9 years agommc: rockchip: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:24:11 +0000 (19:24 +0800)]
mmc: rockchip: covert dsb() to dsb(sy)

9 years agorockchip: clk: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:23:04 +0000 (19:23 +0800)]
rockchip: clk: covert dsb() to dsb(sy)

9 years agoethernet: gmac: covert dsb() to dsb(sy)
Huang, Tao [Wed, 10 Dec 2014 11:21:35 +0000 (19:21 +0800)]
ethernet: gmac: covert dsb() to dsb(sy)

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 agork3368 dtsi: modify dtsi for display module
hjc [Tue, 9 Dec 2014 04:19:52 +0000 (12:19 +0800)]
rk3368 dtsi: modify dtsi for display module

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork3368 lcdc: add lcdc driver
hjc [Tue, 9 Dec 2014 04:18:12 +0000 (12:18 +0800)]
rk3368 lcdc: add lcdc driver

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agork31xx lvds: add support rk3368 lvds transmitter
hjc [Tue, 9 Dec 2014 04:17:28 +0000 (12:17 +0800)]
rk31xx lvds: add support rk3368 lvds transmitter

Signed-off-by: hjc <hjc@rock-chips.com>
9 years agoMerge branch develop-3.10 into develop-3.10-next
Huang, Tao [Tue, 9 Dec 2014 07:10:34 +0000 (15:10 +0800)]
Merge branch develop-3.10 into develop-3.10-next

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 agoMerge tag 'lsk-v3.10-android-14.11'
Huang, Tao [Fri, 5 Dec 2014 13:18:34 +0000 (21:18 +0800)]
Merge tag 'lsk-v3.10-android-14.11'

LSK Android 14.11 v3.10

Conflicts:
arch/arm/include/asm/cputype.h

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 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 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 agork3368: clk: fix address expression and some errors
dkl [Fri, 28 Nov 2014 02:01:26 +0000 (10:01 +0800)]
rk3368: clk: fix address expression and some errors

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agork3368: clk: add clocks-init and clocks-enable in DTS
dkl [Thu, 13 Nov 2014 06:54:22 +0000 (14:54 +0800)]
rk3368: clk: add clocks-init and clocks-enable in DTS

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agork3368: clk: add codes to make npll only used by dclk_vop
dkl [Wed, 12 Nov 2014 07:15:59 +0000 (15:15 +0800)]
rk3368: clk: add codes to make npll only used by dclk_vop

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agork3368: clk: add rk3368_apllb_table/rk3368_aplll_table
dkl [Mon, 10 Nov 2014 11:14:50 +0000 (19:14 +0800)]
rk3368: clk: add rk3368_apllb_table/rk3368_aplll_table

Signed-off-by: dkl <dkl@rock-chips.com>
9 years agoMerge branch develop-3.10 into develop-3.10-next
Huang, Tao [Wed, 3 Dec 2014 11:10:23 +0000 (19:10 +0800)]
Merge branch develop-3.10 into develop-3.10-next

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>