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>
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>
error.
It depend on pmu driver. and require pmu to complete
its idle request function.
temporary, it haven't enable yet, because rk3368 pmu
function had not completed.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
Use /sys/module/vcodec_service/parameters/debug to
control log output, each bit represent a type of debug
information.
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
This revision need rk3368 android library libvpu to
revert it VPUReq_t definition, Revert RK_U64 req;
to RK_U32 *req;
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
1. Support gpu disable dvfs case.
2. Add rk_tf_check_version to compatible for rk3328.
3. merge 1.4_ED3573678 DDK code.
Tip: Need update RK3368 GPU so version to L0.17(@vendor/rockchip/common).
If a /d/binder/proc/[pid] entry is kept open after linux has
torn down the associated process, binder_proc_show can deference
an invalid binder_proc that has been stashed in the debugfs
inode. Validate that the binder_proc ptr passed into binder_proc_show
has not been freed by looking for it within the global process list
whilst the global lock is held. If the ptr is not valid, print nothing.
Bug 19587483
Change-Id: Ice878c171db51ef9a4879c2f9299a2deb873d255
Signed-off-by: Riley Andrews <riandrews@android.com>
Add an guard area after each iommu region, it is used to detect cross-border access
Signed-off-by: CMY <cmy@rock-chips.com>
Signed-off-by: XXM <xxm@rock-chips.com>
[1] When entering NUD_PROBE state via neigh_update(), perhaps received
from userspace, correctly (re)initialize the probes count to zero.
This is useful for forcing revalidation of a neighbor (for example
if the host is attempting to do DNA [IPv4 4436, IPv6 6059]).
[2] Notify listeners when a neighbor goes into NUD_PROBE state.
By sending notifications on entry to NUD_PROBE state listeners get
more timely warnings of imminent connectivity issues.
The current notifications on entry to NUD_STALE have somewhat
limited usefulness: NUD_STALE is a perfectly normal state, as is
NUD_DELAY, whereas notifications on entry to NUD_FAILURE come after
a neighbor reachability problem has been confirmed (typically after
three probes).
Change-Id: I1d01d40ef3bc4753b0eaa79da2b27235425b1934
Signed-off-by: Erik Kline <ek@google.com>
Acked-By: Lorenzo Colitti <lorenzo@google.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Sometimes decoder got a timeout error and can not recover from error status.
We need to add soft reset after reading dec registers.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
When multi-instances power on at same time the condition enabled maybe
set mutli-times. Use atomic function to replace orginal
read/compare/change operation to avoid multi-instances.
Also add power on/off count to debugfs for checking
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>