Shawn Lin
b80f2f6899
arm64: dma-mapping: conditional skip map_sg by attrs
...
Add if statement(DMA_ATTR_SKIP_CPU_SYNC) for __swiotlb_map_sg_attrs
to skip invalidating each sg element
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2015-07-10 12:53:16 +08:00
Zheng Yang
f1d8317f7f
hdmi:rk3368/rk3288: modify phy termination resistance.
...
Set single-ended source termination resistance
to 100ohm for HDMI1.4 and 50ohm for HDMI2.0.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-10 11:33:57 +08:00
Zheng Yang
132ad528d0
hdmi:rk3368/rk3288: set color format in avi to RGB before mute output.
...
For some sink, it will random recognize YCbCr as RGB when swithing
hdmi format, picture will covered with purple. If we set color
fomat in avi to RGB and reset avi to YCbCr, picture will be ok. So
we set avi to RGB before mute ouput when switching hdmi format.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-10 11:00:49 +08:00
hecanyang
4c335b30ec
dts:sdmmc: slow down sdmmc frequence to 37.5MHz for SDK board
...
SDK board sdmmc can't run 50MHz, otherwise SD initialising will return error.
log as below. slow down sdmmc frequence to 37.5MHz can fix it.
<4>[ 802.611901] [0: kworker/0:2: 644] rk_sdmmc: BOOT The card is inserted. ===!!!!!!==[mmc1]
<6>[ 802.838728] [0: kworker/u16:0: 6] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 3
96825HZ div = 63)
<4>[ 802.838858] [0: kworker/u16:0: 6] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 800000Hz for
init[mmc1]
<6>[ 802.990527] [0: kworker/u16:0: 6] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual
50000000HZ div = 0)
<4>[ 802.990671] [0: kworker/u16:0: 6] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock
[mmc1]
<3>[ 802.996461] [0: kworker/u16:0: 6] mmc1: error -84 whilst initialising SD card
Signed-off-by: hecanyang <hcy@rock-chips.com >
2015-07-10 10:51:59 +08:00
Zheng Yang
1f46b29d3e
tve:rk1000: set default cvbd mode to PAL.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-10 10:42:55 +08:00
Zheng Yang
1778e2e2af
dts:rk3368-box: enable uboot logo
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-10 10:40:58 +08:00
hwg
346a731e43
rfkill-wlan: repair vref pmu ctrl problem
2015-07-09 19:00:15 +08:00
Mark Yao
47c351de32
rk_vop: rk3288: fix kernel logo crash with iommu enable
...
Signed-off-by: Mark Yao <mark.yao@rock-chips.com >
2015-07-09 18:04:28 +08:00
Sugar Zhang
0bf4fb5a1f
ASoC: hdmi_spdif: support format SNDRV_PCM_FMTBIT_S24_LE
...
because of DMA_SLAVE_BUSWIDTH_4_BYTES, we support SNDRV_PCM_FMTBIT_S24_LE
which store data in low three bytes. not support SNDRV_PCM_FMTBIT_S24_3LE
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-09 16:56:54 +08:00
Sugar Zhang
f79898f20d
ASoC: rockchip: implement suspend/resume for i2s
...
use regmap_reinit_cache to restore hw registers after power loss
during a suspend/resume cycle.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-09 16:56:43 +08:00
huang zhibao
31978a7a94
dts: 3368 box dts add dcdc eta3558
2015-07-08 09:41:51 +08:00
Shawn Lin
de9ae09c64
mmc: rk_sdmmc: fix wrong skip condiction of post_tmo
...
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2015-07-07 10:06:54 +08:00
ShenZhengyi
07c21e30c7
tve:rk1000: fix rk1000 suspend and resume error
...
Signed-off-by: ShenZhengyi <szy@rock-chips.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-07 09:46:26 +08:00
Zheng Yang
bdd4afceea
dts:rk3288-box: enable uboot logo.
2015-07-07 09:26:51 +08:00
ShenZhengyi
790604ebcb
tve:gm7122: When gm7122 init, do not switch fb.
...
it can avoid green screen, when HDMI switch to CVBS.
Signed-off-by: ShenZhengyi <szy@rock-chips.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-07 09:11:08 +08:00
Sugar Zhang
765e9818ae
ASoC: hdmi_spdif: config hdmi audio when hdmi using spdif source.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-06 17:12:37 +08:00
Sugar Zhang
cd25e45290
ASoC: spdif: fill channel status sample freq.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-06 17:12:29 +08:00
guoyi
339fa0568e
rk3368: pmic: rk808:adjust dcdc voltage step
...
Signed-off-by: guoyi <gy@rock-chips.com >
Signed-off-by: zhangqing <zhangqing@rock-chips.com >
2015-07-06 15:04:11 +08:00
Shengqin.Zhang
cd247b7fd4
change RGA2 dtsi name for all platform
...
Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com >
2015-07-06 13:59:24 +08:00
hwg
c09601bb44
bcmdhd wifi: auto recognize for AP62x2
2015-07-03 19:23:38 +08:00
Sugar Zhang
e890a32bcb
ASoC: rockchip: rename rk30_i2s.c to rk_i2s.c
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-02 20:09:01 +08:00
Sugar Zhang
b1ce30ae22
ASoC: rockchip: refactor i2s driver.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-02 20:08:52 +08:00
Sugar Zhang
6e7b61dec1
HDMI: add a helper function for config hdmi audio.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-07-02 20:08:39 +08:00
Zheng Yang
88b3b00769
rockchip_defconfig: support rk1000.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-01 15:11:30 +08:00
Zheng Yang
47164f08f7
rk1000: fix ypbpr compile error.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-01 15:09:39 +08:00
Zheng Yang
854d107fac
dts: rk3288 box: fix some error.
...
1. fix audio codec.
2. framebuffer size set to 1080P.
3. fix hdmi setting error.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-01 15:06:57 +08:00
hwg
1641459cac
bcmdhd wifi: nvram auto recognize for AP6335
2015-07-01 14:53:29 +08:00
Zheng Yang
c8d70b24d0
dts: add rk3288-box.dts.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-01 12:02:04 +08:00
Zheng Yang
efb19b784d
dtsi:rk3288: add remotectl pwm.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-07-01 11:59:02 +08:00
Zheng Yang
216f682fbc
HDMI:rk3368/rk3288: delete some unused code.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-06-30 11:26:10 +08:00
Zheng Yang
9077ac8603
HDMI:rk3368/rk3288: add debugfs node regs_phy to modify phy regs.
...
and rename debugfs node hdmi to regs_ctrl.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-06-30 11:19:31 +08:00
Aiyoujun
9613a31cdd
dts:rk3368-box-r88_808: add dts support for the BOX board of R88(RK3368)_PMU_Vxx
...
Signed-off-by: Aiyoujun <ayj@rock-chips.com >
2015-06-30 10:07:18 +08:00
huang zhibao
5ab0e37174
delete unused code and update coding style
2015-06-26 18:28:05 +08:00
David Wu
b517a4ebbf
rk3368: tsadc: support print temp from console
...
Signed-off-by: David Wu <wdc@rock-chips.com >
2015-06-26 16:57:36 +08:00
David Wu
1f667f18ff
rk3368: tsadc: add hw shut temp
...
if temp reached hw_shut_temp three times continuously, system would power off.
Signed-off-by: David Wu <wdc@rock-chips.com >
2015-06-26 16:15:12 +08:00
David Wu
948ab236df
rk3368: tsadc: get temp from scpi interface
...
Signed-off-by: David Wu <wdc@rock-chips.com >
2015-06-26 14:51:10 +08:00
zhangqing
12a178aad2
rk3368: clk: cpll: make cpll low jitter.
...
This modify is for cpll low jitter.
Make the signal of clk_gmac better.
Signed-off-by: zhangqing <zhangqing@rock-chips.com >
2015-06-25 16:50:06 -07:00
Xiao Feng
fca072d64b
dvfs: rockchip: fix min_temp_limit
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-06-25 20:50:07 +08:00
Xiao Feng
3f31e571dd
arm64: rockchip: rk3368: dts: fix min_temp_limit
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-06-25 20:50:06 +08:00
Frank Wang
56f35b1e6e
rk3368: mailbox: Added SCPI APIs for TSADC function.
...
Signed-off-by: Frank Wang <frank.wang@rock-chips.com >
2015-06-25 18:25:49 +08:00
David Wu
cdc3acdb78
rk3368: tsadc: prevent to get temp when system going to suspend.
...
Signed-off-by: David Wu <wdc@rock-chips.com >
2015-06-25 15:28:18 +08:00
Herman Chen
8d63e1b1d9
VPU: return correct decoded length on iommu case
...
On iommu case the decode buffer address is replace by iommu address.
When decoding finished the new register value is also the iommu address.
So the actual decoded length need a hack to calculate.
This patch is to resolve H.264 field stream packet with both top field
and bottom field. By retrieving the real decoded length decoder can detect
this case.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com >
2015-06-25 10:59:08 +08:00
Sugar Zhang
ad6a4ffb3c
dts: rk3368-tb_mipi: headset: no adc mode.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-25 09:55:54 +08:00
Sugar Zhang
56d6656f13
dts: rk3368-tb_mipi: disable headset wakeup.
...
because the hp det src is provider by micbais in this board.
when suspend, micbais will be power down to reduce power consumption.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-24 20:47:24 +08:00
Sugar Zhang
cba216a6f5
Headset: add parse property "rockchip,headset_wakeup".
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-24 20:47:04 +08:00
Sugar Zhang
c2b8fe475f
ASoC: rt3261: initial micbais.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-24 20:44:29 +08:00
hwg
16251953f2
rtl8188eu: update driver to v4.3.0.8_13968.20150417, modify some error
2015-06-24 20:41:39 +08:00
Xiao Feng
c600f132e3
pm_tests: rockchip: add pvtm test
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-06-24 19:41:53 +08:00
Jianhong Chen
83538be8a0
power: rk81x-battery: support otg device
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
Signed-off-by: 许盛飞 <xsf@rock-chips.com >
2015-06-24 17:31:03 +08:00
lyz
5c80f83d0a
usb: bc: fix compile error
...
Fix conflicting types for 'rk_bc_detect_notifier_register'
2015-06-24 11:15:37 +08:00