Andy Yan
2546580dcb
power: rk81x battery: fix charger online init
...
if the system boot with charger online, use it
as init state for power_supply_register
Signed-off-by: Andy Yan <yxj@rock-chips.com >
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:50 +08:00
Andy Yan
70b21d62d2
power: rk81x battery: fix charge/discharge check in reboot mode
...
judge charge/discharge mode by current direction
Signed-off-by: Andy Yan <yxj@rock-chips.com >
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:50 +08:00
Andy Yan
a42a087a7e
power: rk81x battery: skip invalid voltage
...
rk81x battery may get invalid value when resume from suspend,
if the voltage get from adc is lower than INVALID_VOL_THRESD,
we consider it as invalid and filter it
Signed-off-by: Andy Yan <yxj@rock-chips.com >
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:49 +08:00
Jianhong Chen
d4f8267697
power: rk81x-battery: disable charge over time funtion
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:49 +08:00
Jianhong Chen
868ead9f12
power: rk81x-battery: count all avaraible rsoc into calc
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:49 +08:00
Jianhong Chen
77ea8491fc
power: rk81x-battery: get charge flag by command line
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:49 +08:00
Andy Yan
357f3733c3
power: rk81x battery: add virtual power support
...
if some board don't use a real fuel gauge, set virtual_power
in dts, the battery driver will report virtural soc to user space
Signed-off-by: Andy Yan <yxj@rock-chips.com >
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:48 +08:00
Jianhong Chen
e6653b5325
rk3368-p9_818: dts: rename dc det pinctrl name and add virtual_power
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2015-06-17 14:57:48 +08:00
Eryu Guan
bcb0c86853
ext4: check for zero length extent explicitly
...
The following commit introduced a bug when checking for zero length extent
5946d08 ext4: check for overlapping extents in ext4_valid_extent_entries()
Zero length extent could pass the check if lblock is zero.
Adding the explicit check for zero length back.
Signed-off-by: Eryu Guan <guaneryu@gmail.com >
Signed-off-by: Theodore Ts'o <tytso@mit.edu >
Cc: stable@vger.kernel.org
2015-06-17 11:48:50 +08:00
Sugar Zhang
2b92186106
ASoC: rockchip: coding style.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-16 19:11:06 +08:00
hjc
125ecc7284
rk fb: vsync thread distinction two vop
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-06-16 18:03:02 +08:00
Xiao Feng
ba2e134ba3
arm64: rockchip: rk3368-tb: dts: update dvfs table
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-06-16 16:40:15 +08:00
ShenZhengyi
987c4de1c0
tve:rk1000: When set mode , judge whether delay
...
If the set mode is the same of current mode , it does not delay.
Signed-off-by: ShenZhengyi <szy@rock-chips.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-06-16 16:10:10 +08:00
David Wu
7646793a44
rk3368: pinctrl: fix bank:3 gpio irq wakeup not worked
...
Signed-off-by: David Wu <wdc@rock-chips.com >
2015-06-16 15:55:00 +08:00
Sugar Zhang
96dca4bffe
dts: rockchip: rename property 'i2s-controller' to 'audio-controller'
...
because we have i2s controller, spdif controller, so we use audio-controller
to include both.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-16 14:19:18 +08:00
Sugar Zhang
56490c7b7e
ASoC: rockchip: rename property 'i2s-controller' to 'audio-controller'
...
because we have i2s controller, spdif controller, so we use audio-controller
to include both.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-16 14:15:24 +08:00
Sugar Zhang
09db66c5b4
ASoC: rockchip: spdif: drop owner assignment from platform_drivers
...
A platform_driver does not need to set an owner, it will be populated by the
driver core.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-16 14:14:35 +08:00
hwg
c983156c64
bcmdhd wifi: after android stop; start, wpa_supplicant start fail because of Failed to create a P2P Device interface p2p-dev-wlan0
2015-06-16 11:02:56 +08:00
hwg
2b23c1bbde
bcmdhd: solve ap6212 sdio transmit abnormal
2015-06-16 09:40:05 +08:00
Alpha Lin
dc434cc6a0
VPU: enable auto-freq flag.
...
bug in previous commit, auto-freq flag disable in all the
platform.
raise freq to 600MHz when 4k avc video decode, could not
get the 500 MHz frequency from current clock pll.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com >
2015-06-15 17:12:42 +08:00
Aiyoujun
8aa42326f9
dts: rk3368-p9_818: modify DVFS table for gpu, cpu and logic.
...
Signed-off-by: Aiyoujun <ayj@rock-chips.com >
2015-06-15 16:27:19 +08:00
Aiyoujun
ab291bc02c
dts: rk3368-box: modify DVFS table for little cpu.
...
Signed-off-by: Aiyoujun <ayj@rock-chips.com >
2015-06-15 16:26:57 +08:00
Jony.Qiu
f4a9049a56
optee : optee linux build to .ko depend on function(sched_setaffinity)
...
Signed-off-by: Jony.Qiu <jony.qiu@rock-chips.com >
2015-06-15 16:04:58 +08:00
lyz
3e8ae7c50f
usb: bc: fix crush caused by usb bc detect
...
Fix a bug that mutex used before init.
Signed-off-by: lyz <lyz@rock-chips.com >
2015-06-12 20:51:13 +08:00
Sugar Zhang
ef5d7fa848
ASoC: rockchip: spdif: caculate sclk according BMC(bitphase mark coding).
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-12 18:26:40 +08:00
Sugar Zhang
797954d65b
ASoC: hdmi_spdif: add 192k samplerate support.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-12 18:26:36 +08:00
Sugar Zhang
e9c7ade7d9
ASoC: rockchip: spdif: add 192k samplerate support.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-12 18:26:33 +08:00
Sugar Zhang
7e73c35079
ASoC: rockchip: spdif: refactor driver code.
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2015-06-12 18:26:30 +08:00
Xiao Feng
2e335a3872
pm_tests: rockchip: fix compilation warning
...
Signed-off-by: Xiao Feng <xf@rock-chips.com >
2015-06-12 14:36:46 +08:00
lyz
fded7e003a
usb: otg: notify to pmu the otg vbus change
...
Signed-off-by: lyz <lyz@rock-chips.com >
2015-06-11 14:02:58 +08:00
lyz
ab1ac5a5b9
usb: bc: fix usb charger type detect error in rapidly hotplug
...
case for inno phy
In device mode, when doing usb plug and unplug rapidly, there
might be some problem with usb battery charger type detect,
caused by line bounces and other connect problems, at this case,
usb battery charger detect module prefer to report a battery
cherger type that draw less current to make it saver for PMIC and
downstream port safer.
Signed-off-by: lyz <lyz@rock-chips.com >
2015-06-11 14:02:58 +08:00
huang zhibao
112cd27141
dts: box fixed ddr freq to 800M
2015-06-11 11:05:38 +08:00
Tang Yun ping
d6f6086059
RK3368 Mailbox: add mailbox version information
...
Signed-off-by: Tang Yun ping <typ@rock-chips.com >
2015-06-10 19:19:37 +08:00
Shengqin.Zhang
c584d65041
rga2 compile error on 64 bit platform
...
Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com >
2015-06-10 17:28:17 +08:00
Shengqin.Zhang
001f25ec76
fix rga2 compile error
...
Signed-off-by: Shengqin.Zhang <zsq@rock-chips.com >
2015-06-10 16:38:03 +08:00
Jianhong Chen
de8039fcce
arm64: dts: rk3368-tb_8846.dts: modify rk818 battery node
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
Signed-off-by: 许盛飞 <xsf@rock-chips.com >
2015-06-09 21:30:16 +08:00
zhangqing
a3ba3d67ea
rk3x: rmic: rk818: fix the code build warning in rk3288.
...
Signed-off-by: chenjianhong <cjh@rock-chips.com >
2015-06-09 07:31:06 -07:00
Alpha Lin
095cb8d965
VPU: fix the code cannot be built in 32bits environment.
...
compat_uptr_t isn't define under 32bits environment, using
this definition under the CONFIG_COMPAT macro.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com >
2015-06-09 13:44:33 +08:00
Wenlong Zhuang
448baf8f14
video: rockchip: rk312x lcdc: fix set standby err if not support uboot display
...
Signed-off-by: Wenlong Zhuang <daisen.zhuang@rock-chips.com >
2015-06-09 09:43:59 +08:00
Wu Liang feng
f66e5a7f70
usb: ehci: rename hsic and HSIC to ehci1 and EHCI1
...
Signed-off-by: Wu Liang feng <wulf@rock-chips.com >
2015-06-08 22:23:26 +08:00
zhangqing
da2e4ebd02
rk3x: pmic: rk818: support low battery detect,and slove otg error.
...
Add function:
1)battery voltage low then 3.0V not allow to power on.
2)battery voltage low then 3.4V have irq to wakeup from deep sleep.
3)disable otg_en when rk818 shutdown..
Signed-off-by: zhangqing <zhangqing@rock-chips.com >
2015-06-08 10:30:41 -07:00
Zheng Yang
a2cc02921a
hdmi: v2: update phy register value to improve output signal.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-06-08 16:40:18 +08:00
Zheng Yang
252d3a9b72
hdmi: edid: distinguish deep color mode between YCbCr444 and YCbCr420.
...
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-06-08 16:36:18 +08:00
CMY
e645634ab9
rk3368 camera: hold vio0 noc clock during the camera work, fixed isp iommu stall failed
...
<6>[ 142.697985] Enable stall request failed, MMU status is 0x00000011
<6>[ 142.698006] rk_iommu ff914000.isp_mmu: (isp_mmu), rockchip_iommu_disable failed
Signed-off-by: CMY <cmy@rock-chips.com >
Tested-by: GY <gy@rock-chips.com >
2015-06-08 16:08:53 +08:00
Jianhong Chen
8e3cca9270
power: rk81x-battery: check sec base by rsoc trend anyway
...
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
Signed-off-by: 许盛飞 <xsf@rock-chips.com >
2015-06-08 09:32:09 +08:00
chenjh
d2dc4fb8c3
power: rk81x-battery: update verison to 4.0.0
...
this verison can support both ARM and SOFIA platform.
Signed-off-by: chenjh <chenjh@rock-chips.com >
Signed-off-by: 许盛飞 <xsf@rock-chips.com >
2015-06-05 18:18:58 +08:00
chenjh
71739822de
arm64: dts: rk3368-p9_818:modify battery node
...
Signed-off-by: chenjh <chenjh@rock-chips.com >
Signed-off-by: 许盛飞 <xsf@rock-chips.com >
2015-06-05 18:18:43 +08:00
hjc
34ba62af49
vop: rk3288: update dither config for 10bit output mode
...
example for 10bit dual lvds output:
timing0 {
screen-type = <SCREEN_DUAL_LVDS>;
out-face = <OUT_P101010>;
color-mode = <COLOR_RGB>;
...
}
Signed-off-by: hjc <hjc@rock-chips.com >
2015-06-05 15:03:47 +08:00
hjc
1a4315c213
rk3368 vop: cabc lut update only when cabc enable
...
Signed-off-by: hjc <hjc@rock-chips.com >
2015-06-05 14:37:13 +08:00
Zheng Yang
96ce23d239
hdmi:edid: improve edid check redundancy.
...
If edid first block header check or checksum is error,
but data[126] value is smaller than 4, we think it is
accecptable, return suscess.
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
2015-06-05 14:20:31 +08:00