Add a ddrc clock into clk branches, so we can do ddr frequency
scaling on rk3288 platform in future.
Change-Id: Ia6c93e5ce82fa30475eddf051bc9ea2512b0cc07
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
fec aclk and core >= 3 * hclk
core min is 300M, and aclk 750M default, so set hclk to 100M
Change-Id: Ic218b3c692060d92a7b77e4e5933c6ed22e0c812
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
1/ update rk3326_linux.config to kernel5.10 by follow steps:
make ARCH=arm64 px30_linux_defconfig
cp .config tmp.config
make ARCH=arm64 px30_linux_defconfig rk3326_linux.config
./scripts/diffconfig -m tmp.config .config > \
arch/arm64/configs/rk3326_linux.config
2/ no change in rk3358_linux.config for LTE_RM310 \
doesn't support in kernel5.10
Change-Id: Ib365b412c9443a763e08ee24c68370901ba297f3
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com>
If the watchdog timer expires (WATCHDOG_FAULT bit = 1), the
device returns to default mode and charger disable.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ieaa8287f6b1662e07446b9aecedb46b6770814b4
1、Fixes brightness is increasing to a stable value when
sensor’s exp reg is fixed value
2、Fixes cross stripe in the first 15 frame
this patch will delay 650us before frame start
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: I95dc0f1e5ca8d5493665aa3911e84d306b8b78dd
When EAS can not find a best_energy_cpu, consider a idlest cpu as
a backup if it is a little power increased(<3.1%).
Test NenaMark2.apk on RK3588 EVB1 board:
without this patch: min-fps=57, avg-fps=59.4
with this patch: min-fps=60, avg-fps=60
Change-Id: Ibc99282c21fa32cbed1d4f5dcc66c76a6b120b70
Signed-off-by: Liang Chen <cl@rock-chips.com>
It is possible that there is no correct unmap for txbuffer, which may
cause some unknown problems.
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ibbbe4d541c6bdd695c862a51a66b9ab511a74c0a
the battery TS pin is connected to an NTC thermistor for
battery temperature monitoring and protection in charge
mode according to JEITA profile.
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: I4b07938438084a401db199ad6b660cb3335155df
The max frequency of A76 is 2.2GHz to 2.4GHz for rk3588, so make
sure all A76 is added to cpub_mask if the frequency is less than 2.4G.
Change-Id: I7d2e4a607acb127aafe385acc2840bdc6489d961
Signed-off-by: Liang Chen <cl@rock-chips.com>
For most scenarios, especially when a usb cable is connected,
enabling the ADC dither can get a better SNR.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: Iedc0c6bd6aa9139feea9feb5ffa91a67373964fc
This patch aims to add UVC_GUID_FORMAT_H265
High Efficiency Video Coding (HEVC), also known as H.265 and MPEG-H Part 2.
They describe the same video encoding method.
So for handling their behavior is the same.
However, when external camera device describes this encoding method,
some use hevc, some use h265.
There is no uniform specification to describe this encoding method.
So if an external camera device use h265 to describe this encoding method,
driver will not recognize it.
Therefore, this patch is to enable driver to read HEVC/H265
and convert it to V4L2_PIX_FMT_HEVC.
Change-Id: I8316ccbf09014d38eb1becbc3c5f54f29ad497b6
Signed-off-by: James_Lin <Ping-lei.Lin@mediatek.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: William Wu <william.wu@rock-chips.com>
(cherry picked from commit be938c70e2)
use the maximum resolution as the allocated size
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I41d263993245d168b6494bc4139b2e6dac0a6dc9
* support XRUN-routine digital loopback
* support up to 16 ch digital loopback
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I179ab370087bd49452c9ecbfa9b1e2ecbb010c5b
USB Type-C Specification Release 1.2 March 25, 2016
A.2 Detail
A DFP that supports analog audio adapters shall detect the presence
of an analog audio adapter by detecting a resistance to GND of less
than Ra on both A5 (CC) and B5 (VCONN).
So check both CC1 and CC2 status when SRC togdone to handle the audio
adapter accessory mode.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Ied826a8a4b6e80b5406e3d370ef0f8aa31b1b536
1、Fixes brightness is increasing to a stable value when
sensor’s exp reg is fixed value
2、Fixes cross stripe in the first 15 frame
this patch will delay 650us before frame start
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com>
Change-Id: Ic57a7dfa7340c859aed5ddd250744d3802bf313f
1. Add job-state to detect hardware interrupt behavior. Easy to distinguish
the timeout of hardware interrupt top-half/bottom-half.
2. Print more error description according to register.
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I0179bb59ae6a467fdb1e28643c2c19f7eb4bc5d5