Sugar Zhang
3a294df494
dt-bindings: sound: pdm: Document property 'rockchip,path-map'
...
This is an optional property to describe data path mapping.
Change-Id: I99fb91a5d1be2e3ec9c7edac206760f589949df5
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2021-01-05 09:16:33 +08:00
Sandy Huang
f33ddff87a
drm/rockchip: vop2: move write_back close time point
...
Change-Id: Ia9cd0f2c479bb25488a43835a721c32f7a314f36
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2021-01-04 19:08:33 +08:00
Sugar Zhang
593aff088a
ASoC: rockchip: i2s-tdm: Add support for half frame fsync
...
This patch parses property 'rockchip,tdm-fsync-half-frame' from
DT to config tdm fsync width.
Change-Id: I3254d753a213b7a74462bb85a20ea33d8c3fc3fc
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2021-01-04 19:06:19 +08:00
Sugar Zhang
b6a8de0be6
dt-bindings: sound: i2s-tdm: Document property 'tdm-fsync-half-frame'
...
Change-Id: I7ec07f17dafd6ec4d9c919f74454e84a77d2950f
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2021-01-04 19:06:11 +08:00
Xiao Ya peng
e1d9a5d5b7
arm64: dts: rockchip: add rk3568-nvr-demo-v10-linux-spi-nand
...
Signed-off-by: Xiao Ya peng <yp.xiao@rock-chips.com >
Change-Id: Ic27b5f894f88523faa78f32e8bb5e2445a0b4adc
2021-01-04 18:15:22 +08:00
Andy Yan
09c9eeed00
drm/rockchip: vop2: Add writeback support
...
VOP2 has a writeback with max 1920 x 1080 output.
Writeback work as a connector in drm system.
Change-Id: I670ca8de5155f1102454c618c62dd0c51fa45202
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2021-01-04 16:41:27 +08:00
Shunqing Chen
ad33a4d0b5
arm64: dts: rockchip: rk3566-rk817-tablet: set power_off_thresd to 3350mv
...
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
Change-Id: I374db3d7fdc2209cb42b8ced5d0741d0b2887b1e
2021-01-04 15:34:14 +08:00
Shawn Lin
40173a73f0
PCI: rockchip: dw: Power up before phy init
...
For external OSC phy, such as RK3568 PCIe 3.0, it needs the
power supply to be stable before configuring phy parameter
as the 100MHz refclk is also supplied by 3V3 power.
Change-Id: Ic4c7b49d3613c55d7cd8b5b24e81581c9094294a
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2021-01-04 15:31:20 +08:00
Zefa Chen
4aa642d4dc
dt-bindings: media: i2c: Document add gc2093
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I955a4e4fb6be4cde50f675e276442eaf58d1f81c
2021-01-04 12:40:16 +08:00
Zefa Chen
2167eab1b5
dt-bindings: media: i2c: Document add gc2053
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Idbbb9a286b28592b004257c226fa81846d949db9
2021-01-04 12:39:55 +08:00
David Wu
30ebb681b7
clk: rockchip: Fixed xpcs_mii clock for rk3568
...
Change-Id: I3dfa606f4d790a8b8882bafb268a236a4c245529
Signed-off-by: David Wu <david.wu@rock-chips.com >
2021-01-04 10:21:46 +08:00
Bian Jin chen
14c6e632ad
ARM: rockchip_defconfig: enable CONFIG_INCREMENTAL_FS by default
...
Test:
CtsIncrementalInstallHostTestCases
android.incrementalinstall.cts.IncrementalFeatureTest
This config will enable the Incremental File System, which allows
Android OS to receive streamed APKs over adb.
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com >
Change-Id: I0d903f95ed8c1b1765c36a0bd7fde25695138e5c
2021-01-04 10:18:15 +08:00
Tao Huang
67f163f569
scripts/gcc-wrapper.py: ignore pseudo_files.c:715
...
fs/incfs/pseudo_files.c:715:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I229a33517fbe556abeac4e51b35a8ccd4e91f458
2021-01-04 10:18:15 +08:00
Tao Huang
112e3d237a
ANDROID: Incremental fs: Fix printk format warnings in format.c
...
fs/incfs/format.c: In function 'incfs_read_next_metadata_record':
./include/linux/kern_levels.h:5:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t {aka unsigned int}' [-Wformat=]
fs/incfs/format.c:619:3: note: in expansion of macro 'pr_warn'
pr_warn("incfs: The record is too large. Size: %ld",
^~~~~~~
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I1a0b1e32761dd4358ff3ca210041893373f0a1a5
2021-01-04 10:09:45 +08:00
Swapnil Jakhade
d393ebfbb8
UPSTREAM: dt-bindings: phy: Add PHY_TYPE_QSGMII definition
...
Add definition for QSGMII phy type.
Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com >
Acked-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/1600327846-9733-5-git-send-email-sjakhade@cadence.com
Signed-off-by: Vinod Koul <vkoul@kernel.org >
(cherry picked from commit 51862859fb )
Change-Id: I9d522cea7e3369a7ece722b8df9d3eb473af2568
Signed-off-by: David Wu <david.wu@rock-chips.com >
2021-01-04 09:38:45 +08:00
Anurag Kumar Vulisha
72d00ccae5
BACKPORT: dt-bindings: phy: Add DT bindings for Xilinx ZynqMP PSGTR PHY
...
Add DT bindings for the Xilinx ZynqMP PHY. ZynqMP SoCs have a High Speed
Processing System Gigabit Transceiver which provides PHY capabilities to
USB, SATA, PCIE, Display Port and Ehernet SGMII controllers.
Signed-off-by: Anurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com >
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Link: https://lore.kernel.org/r/20200629120054.29338-2-laurent.pinchart@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org >
(cherry picked from commit cea0f76a48 )
Change-Id: I1d4d304350ad1d48ce369411110d20c30d7f2a9c
Signed-off-by: David Wu <david.wu@rock-chips.com >
2021-01-04 09:38:05 +08:00
Dilip Kota
d0a93df32c
UPSTREAM: dt-bindings: phy: Add PHY_TYPE_XPCS definition
...
Add definition for Ethernet PCS phy type.
Signed-off-by: Dilip Kota <eswara.kota@linux.intel.com >
Acked-by: Rob Herring <robh@kernel.org >
Acked-By: Vinod Koul <vkoul@kernel.org >
Link: https://lore.kernel.org/r/6091f0d2a1046f1e3656d9e33b6cc433d5465eaf.1589868358.git.eswara.kota@linux.intel.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com >
(cherry picked from commit c5d3cdad68 )
Change-Id: I90e09759d281b4a5f561525512b76d469f95291d
Signed-off-by: David Wu <david.wu@rock-chips.com >
2021-01-04 09:37:02 +08:00
Jyri Sarha
952858f8c7
UPSTREAM: dt-bindings: phy: Add PHY_TYPE_DP definition
...
Add definition for DisplayPort phy type.
Signed-off-by: Jyri Sarha <jsarha@ti.com >
Reviewed-by: Roger Quadros <rogerq@ti.com >
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com >
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com >
(cherry picked from commit 8a79db5e83 )
Change-Id: I326b193f4edef6e5cf0bba7c54f6b32e389ea795
Signed-off-by: David Wu <david.wu@rock-chips.com >
2021-01-04 09:37:02 +08:00
Weixin Zhou
b2e245c2d7
driver: input: touchscreen: gt9xx: add new config of 768x1024
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: Ibd4577a4d23aefcf673a5e1a6a9b4f207441e0ea
2021-01-04 09:20:19 +08:00
Alex Wang
1b9f9fb52d
arm64: dts: rockchip: rk3568-nvr: enable uboot logo
...
Change-Id: Ia6069db57ff17e77098b32796e8bd9b9010f7d3e
Signed-off-by: Alex Wang <alex.wang@rock-chips.com >
2021-01-04 09:18:06 +08:00
Sandy Huang
5f1d8fecc7
arm64: dts: rockchip: fix cma reserved size error for rk3568-android
...
Fixes: 8862f1ad4d ("arm64: dts: rockchip: move reserved_memory to rk3568.dtsi")
Change-Id: I3c85c968e322438fbee208de7f2f31b5f59a7cee
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2021-01-04 09:17:41 +08:00
Zefa Chen
076b562457
arm64: configs: rockchip_defconfig: Enable CONFIG_VIDEO_GC8034
...
Add camera gc8034 for rk3566 evb2.
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I392601bf1207101f84b41bcb940d48f6ff6b3a92
2020-12-31 18:07:54 +08:00
Zefa Chen
9d1c8090d3
arm64: dts: rockchip: rk3566 evb2 add camera gc8034
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I2fef40e65e475ad5e6733485b32703d54c576b68
2020-12-31 18:05:15 +08:00
Sandy Huang
37b5bec67d
drm/rockchip: vop2: afbc_tile_num should align up to 16 pixel and divide 16
...
Change-Id: Ied67749759268e9ff4acb0322a6517f8ed099c9d
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-12-31 17:59:35 +08:00
Sandy Huang
06656c4794
drm/rockchip: vop2: act_w should align as 4 pixel when enable afbc
...
Change-Id: I2a9f2ac21ac2187879452af439ec0fefd20702c8
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-12-31 17:59:35 +08:00
Weixin Zhou
d8c24ac71e
driver: input: touchscreen: gslx680_pad add early suspend support
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: I4b4cc3594fdf00efdbcce349c9f4cdc942524096
2020-12-31 15:02:23 +08:00
Andy Yan
de88d200e7
drm/rockchip: vop2: Reset plane hdr state for every commit
...
When play a SDR video after HDR video, there is a switch process,
look from 70.769811 seconds to 71.006901 seconds:
The HDMI was set to SDR(vcstate->eoftf = 0), the Plane is still HDR
(vpstate->eotf = 2), this will set the window to HDR2SDR state, but
actually we want play a sdr video in sdr state, and this cause the
wrong csc. So we clear vpstate->hdr2sdr_en & hdr_in at the beginning
of every commit.
[ 70.657468] Cluster0-win0 vpstate->eotf 2 vcstate->eotf 2
[ 70.657501] Cluster0-win0 hdr2sdr_en 0 hdr_in 1 sdr2hdr_en 1 is_input_yuv 1 is_output_yuv 0
[ 70.707209] Cluster0-win0 EOTF val: 2
[ 70.708056] Cluster0-win0 vpstate->eotf 2 vcstate->eotf 2
[ 70.708086] Cluster0-win0 hdr2sdr_en 0 hdr_in 1 sdr2hdr_en 1 is_input_yuv 1 is_output_yuv 0
[ 70.769811] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 3840x2160p60, type: 11 for vp0
[ 71.006517] dwhdmi-rockchip fe0a0000.hdmi: Rate 371250000 missing; compute N dynamically
[ 71.006901] Cluster0-win0 vpstate->eotf 2 vcstate->eotf 0
[ 71.006964] Cluster0-win0 hdr2sdr_en 1 hdr_in 1 sdr2hdr_en 0 is_input_yuv 1 is_output_yuv 0
[ 71.007034] Cluster1-win0 hdr2sdr_en 0 hdr_in 0 sdr2hdr_en 0 is_input_yuv 0 is_output_yuv 0
[ 71.022511] Esmart0-win0 vpstate->eotf 0 vcstate->eotf 0
[ 71.022555] Esmart0-win0 hdr2sdr_en 0 hdr_in 0 sdr2hdr_en 0 is_input_yuv 1 is_output_yuv 1
[ 71.022582] Cluster0-win0 hdr2sdr_en 1 hdr_in 1 sdr2hdr_en 0 is_input_yuv 0 is_output_yuv 1
[ 71.052015] Esmart0-win0 vpstate->eotf 0 vcstate->eotf 0
[ 71.052057] Esmart0-win0 hdr2sdr_en 0 hdr_in 0 sdr2hdr_en 0 is_input_yuv 1 is_output_yuv 1
[ 71.052101] Cluster0-win0 hdr2sdr_en 1 hdr_in 1 sdr2hdr_en 0 is_input_yuv 0 is_output_yuv 1
[ 71.067202] Esmart0-win0 vpstate->eotf 0 vcstate->eotf 0
[ 71.067225] Esmart0-win0 hdr2sdr_en 0 hdr_in 0 sdr2hdr_en 0 is_input_yuv 1 is_output_yuv 1
[ 71.067253] Cluster0-win0 hdr2sdr_en 1 hdr_in 1 sdr2hdr_en 0 is_input_yuv 0 is_output_yuv 1
Change-Id: I032f03cfe2bce6ccce874fc04bd3b67cc589a11e
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2020-12-31 11:14:19 +08:00
Andy Yan
411a740bf9
drm/rockchip: vop2: Add delay number for windows
...
Change-Id: Id38812958615fb59b7eb60504368383a519592b4
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2020-12-31 11:12:55 +08:00
Andy Yan
363b2d2f7b
drm/rockchip: vop2: Fix HDR2SDR
...
1. Add hdr2sdr_bypass_en and hdr2sdr_auto_gating_en bits, which
unmentationed in TRM.
2. HDR2SDR and SDR2HDR should overlay in RGB color space.
3. Window csc should be disabled when HDR2SDR or SDR2HDR enabled.
Change-Id: Ic3e15c3f0ddb5adf23a4962366749228f5117a9f
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2020-12-31 11:04:27 +08:00
Weixin Zhou
f2475bcde5
arm64: dts: rockchip: rk3566-rk817-tablet-k108: sync some configs from rk3566-rk817-tablet
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: I99aab0f5f0620d905a23882bbd72f70e05bfe4e5
2020-12-31 09:51:13 +08:00
Zorro Liu
66c5822355
arm64: dts: rockchip: add rk3566-eink.dtsi
...
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: Idc8b628b33b039d2c485ece50094e3a3b2185e75
2020-12-31 09:15:11 +08:00
Zorro Liu
18a4299e0b
arm64: configs: rockchip_defconfig: add rockchip ebc dev driver
...
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: I0e452a9ef4dc51201793693d1f0fa6555e560694
2020-12-31 09:10:31 +08:00
Zorro Liu
d7e6aa9821
drm/rockchip: add ebook driver ebc-dev
...
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
Change-Id: I9e79ffd4938b90d47f68ac1c4ab0ff9fb093bd1e
2020-12-31 09:09:17 +08:00
Andy Yan
d3a5065ff9
Revert "arm64: rockchip_defconfig: Disable DRM_FBDEV_EMULATION temporarily"
...
This reverts commit 80cd79aecb .
This can work now.
Change-Id: I0650a041dbb00011ac9c292d55e4a848bc193a8a
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2020-12-30 21:07:59 +08:00
Tao Huang
3dccc182fe
dt-bindings: clock: Remove rk_system_status.h
...
Which is replaced by rockchip-system-status.h.
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Iaebf0f7f15b0becae05193f73d4b6d6816175b2e
2020-12-30 20:29:19 +08:00
Tao Huang
e91ecc8650
drm/rockchip: vop2: Replace include rk_system_status.h with rockchip-system-status.h
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I8506cf89715e6275e2372484f695e64c24301fd2
2020-12-30 20:29:19 +08:00
Tao Huang
281f00e16b
drm/rockchip: vop: Replace include rk_system_status.h with rockchip-system-status.h
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I374203d61c96481c226bc57ac2fe1db2da687f49
2020-12-30 20:29:19 +08:00
Ziyuan Xu
83cd7dfb99
gpio: rockchip: clear pendings before isr_handler is valid
...
Change-Id: I93625437bc4e0096fbc6eca42f6bb3852a672d94
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
2020-12-30 18:53:57 +08:00
Zhenke Fan
e1d7d04c2c
dt-bindings: media: i2c: Document add ov4688
...
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com >
Change-Id: Ieed535931ccdcc49a6e3c5fbe17eb0250613c8e7
2020-12-30 18:08:48 +08:00
Weixin Zhou
51544b44a4
arm64: dts: rockchip: rk3566-rk817-tablet: set vcc3v3_pmu to 3v in suspend for save power
...
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
Change-Id: If88188a053c5adf1bc66d7ae028d4993368a6231
2020-12-30 17:40:21 +08:00
Zhenke Fan
07557e4f90
dt-bindings: media: i2c: Document add sc200ai
...
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com >
Change-Id: Idc1eb72b4b918079ac886b41aa8d671b94c43598
2020-12-30 17:37:48 +08:00
Zhenke Fan
b766f50b9b
dt-bindings: media: i2c: Document add imx378
...
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com >
Change-Id: I9988822db30e452f4f89c0bb25595a0f2efbe378
2020-12-30 17:37:21 +08:00
Zhenke Fan
3da9212d04
dt-bindings: media: i2c: Document add gc4c33
...
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com >
Change-Id: Ie082ad51ee9067f069e995367ba8066e5d8c36bf
2020-12-30 17:34:41 +08:00
XiaoDong Huang
8a6bede582
firmware: rockchip_sip: add sip macro for scmi
...
Change-Id: I1f3d3be1021ff791411928df01b40f4621d9f4e2
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com >
2020-12-30 17:32:22 +08:00
Sandy Huang
a69e0de060
arm64: dts: rockchip: enable display for rk3568 iotest android system
...
Change-Id: Iac4350ce33f83afe7b99ba12d56c5ff393264127
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-12-30 16:50:06 +08:00
Sandy Huang
8862f1ad4d
arm64: dts: rockchip: move reserved_memory to rk3568.dtsi
...
Change-Id: Ia8888142e718ac0c6a9d7aa777ffd25a44639cda
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
2020-12-30 16:49:48 +08:00
Zhenke Fan
c1d49010f6
dt-bindings: media: i2c: Document add gc4663
...
Signed-off-by: Zhenke Fan <fanzy.fan@rock-chips.com >
Change-Id: Ieca9bb684a8a02ce205eeea26b9f2ffdd7ead2a0
2020-12-30 16:49:37 +08:00
Andy Yan
ec4bffd288
drm/rockchip: vop2: Fix the max_input/output width of cluster sub window
...
According to TRM, the max_intput/output width of a cluster window
should reduce by half when work in two win mode.
Change-Id: I5cbe10605e8895eb307df9591b222c9293bee21a
Signed-off-by: Andy Yan <andy.yan@rock-chips.com >
2020-12-30 16:37:56 +08:00
Sugar Zhang
9bc2eb6c70
ASoC: rockchip: i2s_tdm: Add support for clk compensation
...
This patch introduces a method to handle clk drift and compensation.
e.g:
/# amixer contents
numid=3,iface=PCM,name='PCM Clk Compensation In PPM'
; type=INTEGER,access=rw------,values=1,min=-1000,max=1000,step=1
: values=0
/# aplay -D hw:0,0 --period-size=1024 --buffer-size=4096 -r
48000 -c 2 -f s16_le /dev/zero &
/# amixer -- cset numid=3 -10
numid=3,iface=PCM,name='PCM Clk Compensation In PPM'
; type=INTEGER,access=rw------,values=1,min=-1000,max=1000,step=1
: values=-10
/# amixer -- cset numid=3 10
numid=3,iface=PCM,name='PCM Clk Compensation In PPM'
; type=INTEGER,access=rw------,values=1,min=-1000,max=1000,step=1
: values=10
Change-Id: Id8620ef942e7be20eb6ca502cc198ad97da813f1
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2020-12-30 16:36:25 +08:00
Sugar Zhang
8d9702cd43
clk: rockchip: Add support for clk compensation
...
Change-Id: I099261a5906dd72dca15cbbf6acea16179c471ad
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2020-12-30 16:36:25 +08:00