Commit Graph

402015 Commits

Author SHA1 Message Date
Zheng Yang
15efdc6a78 rk312x dts: add hdmi in dts. 2014-07-30 13:52:29 +08:00
lintao
7fc89efff7 block: partitions: add rockchip partition support 2014-07-30 11:18:36 +08:00
zwl
3091bb6494 rk312x dts: fpga use RGB screen 2014-07-30 09:18:08 +08:00
xjh
c68a6a11db rk312x: add TP at dts 2014-07-30 08:44:12 +08:00
xjh
db3d3b58b2 TP: add 312x sdk TP 2014-07-30 08:44:12 +08:00
zwl
9a27fe2424 rk312x dts: fix fpga dts compile err 2014-07-29 17:40:49 +08:00
Zheng Yang
7fbaddc2d3 rk3036 lcdc: map fb0 to win1 and fb1 to win0. 2014-07-29 17:38:41 +08:00
zwl
930645a076 Kconfig: add rk312x lcdc and rk31xx lvds option 2014-07-29 17:30:41 +08:00
zwl
b36d78dd81 rk312x lcdc: fix compile err 2014-07-29 17:23:17 +08:00
hjc
37f9a88016 rk3036 hdmi: add hdmi driver register for hdmi status 2014-07-29 17:11:59 +08:00
xxm
6a805bcf2b rockchip:midgard:1,update gpu version to r4p1-00rel0 2,add input handler when runtime on/off 3,version to 0x09 2014-07-29 14:19:17 +08:00
zwl
d5e561cf37 rk31xx lvds: change defined 'BIT' to 'BITS' 2014-07-29 14:17:19 +08:00
zwl
3bc33c19b8 rk312x dts: add screen disp_timings 2014-07-29 11:38:57 +08:00
zwl
b017600ce3 rk312x dts: add fb/screen/lcdc/lvds dt node 2014-07-29 11:30:26 +08:00
wlf
0a9753f2db USB: Fix usb debug log 2014-07-29 10:32:44 +08:00
Zheng Yang
f178341434 rk3036 lcdc: bcsh is ok. 2014-07-29 10:31:26 +08:00
zyc
a6a2a7c6a9 camsys_drv : v0.0x11.0 2014-07-29 09:38:12 +08:00
zwl
902de36227 Makefile: add compile rk31xx lvds and rk312x lcdc 2014-07-28 22:52:38 +08:00
zwl
f3edddc359 rk fb: add support scaler for one lcdc dual disp 2014-07-28 22:46:12 +08:00
zwl
97ae98cdc6 rk31xx lvds: add pwr_on and pwr_off function 2014-07-28 22:25:17 +08:00
zwl
d3458c0b8c rk312x lcdc: add support scaler function 2014-07-28 22:19:45 +08:00
陈亮
1304b6022d rockchip: kernel add efuse support
Signed-off-by: 陈亮 <cl@rock-chips.com>
2014-07-28 04:51:31 -07:00
许盛飞
8be03bb104 rk3126-sdk: add backlight 2014-07-28 16:39:29 +08:00
CMY
ff0660a172 rk: ion: iommu: fix build error 2014-07-28 16:29:41 +08:00
CMY
d38e801e1d rk: ion: iommu: fix build error 2014-07-28 16:26:04 +08:00
黄涛
b5d61451d6 Merge remote-tracking branch 'origin/develop-3.10' into develop-3.10-next 2014-07-28 16:09:07 +08:00
陈亮
ca32c0ff85 rk312x: add dvfs config
Signed-off-by: 陈亮 <cl@rock-chips.com>
2014-07-28 01:01:59 -07:00
xjh
a9a4971ca9 MIPI: fix merge error with develop-3.10 2014-07-28 15:58:24 +08:00
dgl
d54505daaf audio: rk3036 spdif
debug rk3036 spdif, add DTS node and math dts node name.

Signed-off-by: dgl@rock-chips.com
2014-07-28 15:04:38 +08:00
xxm
50fe670e0b rockchip:mali400:ump no longer exist,so define map_errcode in mali.ko permanent 2014-07-28 14:25:10 +08:00
许盛飞
348b6a1bd4 rk312x: add pwm at dtsi 2014-07-28 11:49:39 +08:00
dgl
b69daf1bd7 audio: rk3036 audio format check
change some scripts checkpatch ERROR and Warning,
do not care this version.

Signed-off-by: dgl@rock-chips.com
2014-07-28 10:46:53 +08:00
dgl
f3fcb4ab6a audio: rk3036 codec driver
add rk3036 audio codec driver program, include DTS node.

Signed-off-by: dgl@rock-chips.com
2014-07-28 10:07:40 +08:00
Mark Brown
1df5f2728e Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2014-07-25 12:59:39 +01:00
Mark Brown
4a9948e492 Merge remote-tracking branch 'lsk/v3.10/topic/arm64-misc' into linux-linaro-lsk 2014-07-25 12:59:32 +01:00
Steve Capper
a95eca36ff arm64: mm: Make icache synchronisation logic huge page aware
The __sync_icache_dcache routine will only flush the dcache for the
first page of a compound page, potentially leading to stale icache
data residing further on in a hugetlb page.

This patch addresses this issue by taking into consideration the
order of the page when flushing the dcache.

Reported-by: Mark Brown <broonie@linaro.org>
Tested-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org> # v3.11+
(cherry picked from commit 923b8f5044)
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-07-25 12:59:06 +01:00
Mark Brown
0858f0fb26 Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2014-07-25 12:52:58 +01:00
Mark Brown
108212d338 Merge remote-tracking branch 'lsk/v3.10/topic/arm64-misc' into linux-linaro-lsk
Conflicts:
	arch/arm64/mm/tlb.S
2014-07-25 12:50:12 +01:00
Catalin Marinas
6dca4f12e8 arm64: Fix barriers used for page table modifications
The architecture specification states that both DSB and ISB are required
between page table modifications and subsequent memory accesses using the
corresponding virtual address. When TLB invalidation takes place, the
tlb_flush_* functions already have the necessary barriers. However, there are
other functions like create_mapping() for which this is not the case.

The patch adds the DSB+ISB instructions in the set_pte() function for
valid kernel mappings. The invalid pte case is handled by tlb_flush_*
and the user mappings in general have a corresponding update_mmu_cache()
call containing a DSB. Even when update_mmu_cache() isn't called, the
kernel can still cope with an unlikely spurious page fault by
re-executing the instruction.

In addition, the set_pmd, set_pud() functions gain an ISB for
architecture compliance when block mappings are created.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Steve Capper <steve.capper@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>
(cherry picked from commit 54d6ba0ede61f12b2a03d74bdbf004719a9cfefc)
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-07-25 12:47:54 +01:00
Steve Capper
47672573e0 arm64: mm: Optimise tlb flush logic where we have >4K granule
The tlb maintainence functions: __cpu_flush_user_tlb_range and
__cpu_flush_kern_tlb_range do not take into consideration the page
granule when looping through the address range, and repeatedly flush
tlb entries for the same page when operating with 64K pages.

This patch re-works the logic s.t. we instead advance the loop by
 1 << (PAGE_SHIFT - 12), so avoid repeating ourselves.

Also the routines have been converted from assembler to static inline
functions to aid with legibility and potential compiler optimisations.

The isb() has been removed from flush_tlb_kernel_range(.) as it is
only needed when changing the execute permission of a mapping. If one
needs to set an area of the kernel as execute/non-execute an isb()
must be inserted after the call to flush_tlb_kernel_range.

Cc: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit fa48e6f780)
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-07-25 12:47:01 +01:00
Matthew Leach
e69503831c arm64: use correct register width when retrieving ASID
The ASID is represented as an unsigned int in mm_context_t and we
currently use the mmid assembler macro to access this element of the
struct. This should be accessed with a register of 32-bit width. If
the incorrect register width is used the ASID will be returned in
bits[32:63] of the register when running under big-endian.

Fix a use of the mmid macro in tlb.S to use a 32-bit access.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit fc18047c73)
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-07-25 12:46:53 +01:00
sugar
466b5f40fc dts: rk312x: add i2s_2ch, i2s_8ch, spdif.
Signed-off-by: sugar <sugar.zhang@rock-chips.com>
2014-07-25 17:57:14 +08:00
dkl
550553622a rockchip: rockchip_defconfig select rk818 2014-07-25 17:51:54 +08:00
xjh
6839e1b58e MIPI: add mipi for rk312x(note: not verify on board) 2014-07-25 16:36:36 +08:00
dkl
e41271d341 pmic: rk818: modify shutdown function and fix compile errors
1. Modify the rk818 shutdown function refering to rk808.
2. Fix some compile errors.
2014-07-25 16:23:54 +08:00
xjh
939557a77c MIPI: 1.fixed compile error; 2.support VOP BIG/LIT 2014-07-25 15:12:21 +08:00
lintao
f6c8a93d51 rk312x: dts: fix fetal err 2014-07-25 14:41:57 +08:00
陈亮
3841748ecf rk3126-sdk.dts: add pinctrl, fix syntax err
Signed-off-by: 陈亮 <cl@rock-chips.com>
2014-07-24 23:30:51 -07:00
lintao
83816aeb04 rk3126: dts: enable pinctrl 2014-07-25 14:24:27 +08:00
Zheng Yang
5ce798d76a fb: fix compile error when iommu is not defined. 2014-07-25 10:37:45 +08:00