Commit Graph

404908 Commits

Author SHA1 Message Date
Aiyoujun
b511d18e50 mailbox: rockchip: add driver for Rockchip SoCs integrated mailbox && System Control and Power Interface(SCPI) protocol
Signed-off-by: Aiyoujun <ayj@rock-chips.com>
2015-04-02 18:26:51 +08:00
hjc
6219706cdb rk fb: from rk3368 fb only need to reserved 1 framebuffer
Signed-off-by: hjc <hjc@rock-chips.com>
2015-04-02 19:11:02 +08:00
hjc
6608228a9e delete unused file
Signed-off-by: hjc <hjc@rock-chips.com>
2015-04-02 18:56:31 +08:00
Zheng Yang
08cc20b019 HDMI: revert commit 3fe08a661c for
find root reason on commit 7f2f16780d.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-04-02 17:11:12 +08:00
Zheng Yang
e981d562c2 HDMI: improve cec function:
1. To get logic address more stable, we ping 3 times to each
	   logic address. If the result is NACK for two times, this
	   logic address is not occupied.
        2. If transmmit cec data failed, retry immediately.
        4. set CECOP_IMAGE_VIEW_ON only taget to TV, not broadcasting.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-04-02 17:00:23 +08:00
Zheng Yang
9e22aee0dd HDMI: fix edid mode list error: set head->prev to edid->modelist.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-04-02 16:59:58 +08:00
Huang, Tao
a203a16126 Merge tag lsk-v3.10-15.03-android
lsk-v3.10-15.03-android release
2015-04-02 09:25:21 +08:00
Huang, Tao
6fb4a384a9 arm64: rockchip: rk3368 support boot from little core without swap
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
2015-04-02 09:10:34 +08:00
Huang, Tao
95b72769e7 rm64: rockchip: rockchip_defconfig enable POWERVR_ROGUE
just for debug

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
2015-04-02 09:10:34 +08:00
Huang, Tao
de2da66e82 arm64: rockchip: rockchip_defconfig disable reboot while panic
just for debug

Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
2015-04-02 09:10:34 +08:00
hwg
6229969239 modify wifi: load driver when kernel bootup:
can increase speed of wifi open/close
 can solve memory alloc fail when open wifi
2015-04-01 21:30:34 +08:00
lyz
1673f9b259 usb: gadget: MTP support compat ioctl 2015-04-01 16:04:27 +08:00
lyz
44a750dd53 usb: dwc_otg: fix usb otg force_device_mode
TEST: set rockchip,usb-mode = <2> in dts and then the usb works

Tested-by: huang zhibao <hzb@rock-chips.com>
Signed-off-by: lyz <lyz@rock-chips.com>
2015-04-01 10:28:44 +08:00
hjc
bb3979823e rk3368 lcdc: fix fps show error
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-31 15:20:10 +08:00
guoyi
4abf8b29e8 rk3368-p9: dts : add core&gpu dvfs table 2015-03-31 14:17:46 +08:00
David Wu
624fc16c68 rk3368: thermal: add suspend judeg
Signed-off-by: David Wu <wdc@rock-chips.com>
2015-03-31 12:07:04 +08:00
ywj
3a17db34cd mend debug info 2015-03-31 09:45:47 +08:00
guoyi
3af03af999 rk3368-p9 : dts: set vccio to 3.3V 2015-03-31 09:27:21 +08:00
hjc
3b0e2ca8fd rk3368 lcdc: update lcdc interface for mutile area check
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-31 09:40:56 +08:00
hjc
bce3bc61d1 rk fb: add consider vop full mutile area for vsync register check
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-31 09:40:55 +08:00
ywj
54912637db rk818 battery update:low power check and statu reg setting,uboot 2015-03-30 18:48:16 +08:00
guoyi
d495b998e2 rk3368-p9 : dts: enable dsihost0 2015-03-30 17:49:16 +08:00
guoyi
0b14e08dea rk3368-p9: dts: disabled vdd_arm when deep yxsuspend 2015-03-30 17:21:13 +08:00
xubilv
1034c531f6 mipi-ld089wu1: increase lcdc frame rate to 60 fps.
Signed-off-by: xubilv <xbl@rock-chips.com>
2015-03-30 14:05:14 +08:00
Huang, Tao
3a58147ea7 Revert "ARM64: dts: act8846: ldo5 output 3.0v"
This reverts commit 1fff298dee.
2015-03-29 18:27:25 +08:00
huang zhibao
2d298635f7 defconfig: add rk1000 support 2015-03-29 17:47:17 +08:00
Zheng Yang
3fe08a661c HDMI: fix crash error when insert HDMI with following log:
Unable to handle kernel paging request at virtual address 40ce80f8
      pgd = ffffffc001022000
      [40ce80f8] *pgd=0000000025b19003, *pmd=000000001cb1f003, *pte=0000000000000000
      Internal error: Oops: 96000005 [#1] PREEMPT SMP
      Modules linked in: pvrsrvkm(O) drmboot(PO)
      CPU: 7 PID: 2558 Comm: kworker/u16:1 Tainted: P        W  O 3.10.0 #66
      Workqueue: hdmi-ff980000.hdmi hdmi_work_queue
      task: ffffffc01ca83f00 ti: ffffffc033e00000 task.ti: ffffffc033e00000
      PC is at hdmi_wq_insert+0xa4/0x2ac
      LR is at hdmi_wq_insert+0x74/0x2ac
      pc : [<ffffffc000341014>] lr : [<ffffffc000340fe4>] pstate: 60000145

      Use inline fuction hdmi_destroy_modelist replace fb_destroy_modelist.
      For unkown reason, variable struct hdmi *hdmi is deferent before and
      after calling fb_destroy_modelist.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-03-29 17:28:18 +08:00
huang zhibao
baf374531b dts: lcd-box.dtsi change screen-type fome SCREEN_HDMI to SCREEN_RGB 2015-03-29 17:02:09 +08:00
huang zhibao
f8020b5d34 spdif: init spdif later 2015-03-29 16:26:48 +08:00
huang zhibao
ae194cca85 defconfig: add usb video camera support 2015-03-29 16:14:10 +08:00
Zheng Yang
48921e9feb HDMI: remove limited conditions of calling switch_set_state.
Application should read /sys/class/display/HDMI/audioinfo
      to detect sink device support audio or not.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-03-28 14:37:34 +08:00
Zheng Yang
f94118bca7 rk_fb: 1. Make sure fb_par->state lowest value is zero.
2. For box, video layer z-order is always zero.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-03-28 13:40:07 +08:00
zxl
8de08e28f0 RK3368 GPU version: L0.11
Fix 'Watchdog detected hard LOCKUP on cpu 0' bug casued by illegal visit register after disable clk.
2015-03-28 11:57:28 +08:00
Huang, Tao
051d437e32 clk: rockchip: dump more cru register when panic
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
2015-03-27 19:42:19 +08:00
Simon
2b8ae8b9ee rk3368: iommu: fix hevc_mmu base address
Signed-off-by: Simon <xxm@rock-chips.com>
2015-03-27 18:38:12 +08:00
hjc
271f5aedb1 rk3368 lcdc: fix deadlock when close lcdc and update reg
Signed-off-by: hjc <hjc@rock-chips.com>
2015-03-27 18:58:21 +08:00
guoyi
63e851a987 rk3368: efuse: fix warning and
renamed rockchip_efuse_get_temp to rockchip_efuse_get_temp_adjust;

Signed-off-by: guoyi <gy@rock-chips.com>
2015-03-27 15:33:38 +08:00
David Wu
31cfefaa3f rk3368: efuse: change efuse get temp func
Signed-off-by: David Wu <wdc@rock-chips.com>
2015-03-27 15:03:45 +08:00
Arun KS
a3017b51a3 arm64: Fix deadlock scenario with smp_send_stop()
If one process calls sys_reboot and that process then stops other
CPUs while those CPUs are within a spin_lock() region we can
potentially encounter a deadlock scenario like below.

CPU 0                   CPU 1
-----                   -----
                        spin_lock(my_lock)
smp_send_stop()
 <send IPI>             handle_IPI()
                         disable_preemption/irqs
                          while(1);
 <PREEMPT>
spin_lock(my_lock) <--- Waits forever

We shouldn't attempt to run any other tasks after we send a stop
IPI to a CPU so disable preemption so that this task runs to
completion. We use local_irq_disable() here for cross-arch
consistency with x86.

Based-on-work-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Arun KS <getarunks@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit b9acc49ee9)

Conflicts:
	arch/arm64/kernel/process.c
2015-03-27 14:28:08 +08:00
Arun KS
363aaed735 arm64: Fix machine_shutdown() definition
This patch ports most of commit 19ab428f4b "ARM: 7759/1: decouple CPU
offlining from reboot/shutdown" by Stephen Warren from arch/arm to
arch/arm64.

machine_shutdown() is a hook for kexec. Add a comment saying so, since
it isn't obvious from the function name.

Halt, power-off, and restart have different requirements re: stopping
secondary CPUs than kexec has. The former simply require the secondary
CPUs to be quiesced somehow, whereas kexec requires them to be
completely non-operational, so that no matter where the kexec target
images are written in RAM, they won't influence operation of the
secondary CPUS,which could happen if the CPUs were still executing some
kind of pin loop. To this end, modify machine_halt, power_off, and
restart to call smp_send_stop() directly, rather than calling
machine_shutdown().

In machine_shutdown(), replace the call to smp_send_stop() with a call
to disable_nonboot_cpus(). This completely disables all but one CPU,
thus satisfying the kexec requirements a couple paragraphs above.

Signed-off-by: Arun KS <getarunks@gmail.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 90f51a09ef)
2015-03-27 14:18:32 +08:00
David Wu
d3c60c74df rk3368: thermal: add adjust temp from efuse
Signed-off-by: David Wu <wdc@rock-chips.com>
2015-03-26 22:29:24 +08:00
guoyi
873777cb8b rk3368: add rockchip_get_temp function and
rockchip_get_leakage support for 3368
2015-03-27 11:09:24 +08:00
xubilv
41f97177a1 mipi: arm64: rockchip_defconfig enable mipi default.
Signed-off-by: xubilv <xbl@rock-chips.com>
2015-03-27 09:41:30 +08:00
Xiao Feng
48ef6f66b8 rk3368: dvfs: avoid null-pointer dereference in dvfs_get_temp
Signed-off-by: Xiao Feng <xf@rock-chips.com>
2015-03-27 09:39:12 +08:00
lintao
2077fe8e77 mmc: rk_sdmmc: substitude regulator_set_voltage for io switch usage
Signed-off-by: lintao <lintao@rock-chips.com>
2015-03-26 17:16:26 +08:00
Zheng Yang
abfe921f66 HDMI: rockchip-hdmiv2:
Set i2c5_hdmi to gpio mode when suspend and reset
	it to hdmi ddc mode when system resume.

Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-03-26 16:32:46 +08:00
Zheng Yang
ad446e7a06 HDMI: add dts node "rockchip,defaultmode" to define HDMI default output mode.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2015-03-26 16:32:30 +08:00
xubilv
f62320a527 mipi: rk3368 support power domain - pd_mipi_dsi.
Signed-off-by: xubilv <xbl@rock-chips.com>
2015-03-25 19:57:40 +08:00
Huang, Tao
83e32fc6d7 Merge branch develop-3.10 2015-03-25 19:10:16 +08:00
xubilv
21641b5251 mipi: correct coding style error of rk32_mipi_dsi.c
Signed-off-by: xubilv <xbl@rock-chips.com>
2015-03-25 19:05:55 +08:00