Sugar Zhang
c1770bf251
ASoC: rockchip: sai: Handle HCLK with runtime PM
...
This patch handle HCLK with runtime PM to save a little
bit of power consumption.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I4ab16fd21d592245a0d0eb2240740f0a90403f0a
2023-02-08 16:38:09 +08:00
Guochun Huang
b6de31a022
phy/rockchip: inno-dsidphy: add support px30s
...
Change-Id: I275d589f56e5963649aee9397eba3a9994e5901d
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2023-02-08 16:17:22 +08:00
Guochun Huang
81dbadea25
arm64: dts: rockchip: rk3562-evb: enable dsi display logo
...
Change-Id: I52d558e9f3d2a857acd461f67bc11152acd0f27e
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2023-02-08 16:11:49 +08:00
Guochun Huang
411e86fa31
arm64: dts: rockchip: rk3562-android/linux: move display route to innermost dtsi
...
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
Change-Id: Ibb68db2daab5ded86019a607efde554250d0559b
2023-02-08 16:11:29 +08:00
Guochun Huang
b21ba4394d
arm64: dts: rockchip: rk3562: move display route to innermost dtsi
...
Change-Id: I34471e644d6a2e070cc031e7699489c6fc8632d4
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2023-02-08 16:11:15 +08:00
Jason Zhu
12609f9226
arm64: dts: rockchip: rk3562-iotest: support rk dsm sound
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: I25ad0e77f03a69ae19e085a20d5cb5ccdee78af4
2023-02-08 16:05:16 +08:00
Jason Zhu
22c0fc4c7d
arm64: dts: rockchip: rk3562: change the dsm info
...
Change the IP name according to the TRM. Delete unused info and
correct the grf base address.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: Ic562db95e504372ace137eaebb679697230a0a6c
2023-02-08 16:05:09 +08:00
Jason Zhu
1d55fcb01f
arm64: configs: rockchip_gki: enable CONFIG_SND_SOC_RK_DSM
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: I586e7cd2c142b0b6245039a5177676b765afa1ca
2023-02-08 16:00:39 +08:00
Jason Zhu
a8617a2870
arm64: rockchip_linux_defconfig: enable CONFIG_SND_SOC_RK_DSM
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: Id95110bd1b6a95c89f82432e352fd538303b0896
2023-02-08 15:58:15 +08:00
Jason Zhu
52dfec02ca
arm64: configs: rockchip_defconfig: enable CONFIG_SND_SOC_RK_DSM
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: I6e69cd59e64af922ee8608fbbd9454fcf3960e0a
2023-02-08 15:54:03 +08:00
Jason Zhu
a0881c07c2
ASoC: codecs: support rk dsm
...
Support rockchip Delta-sigma Digital Converter. And
it only has DAC which is a reduced version of rk_codec_digital.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Change-Id: I0444ac99b12ed4d8cfb6df4034392dbd844e2bca
2023-02-08 15:53:10 +08:00
Steven Liu
c115ee06bc
arm64: dts: rockchip: rk3562-amp: add rpmsg node
...
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: I4a1b1842414042c91a3365161f3baea236f7dc7d
2023-02-08 14:58:28 +08:00
Steven Liu
f8652ea55e
rpmsg: rockchip: add rk3562 support
...
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: I99b0f06ea787376fe0e2c1098d3d193e2a19859b
2023-02-08 11:51:59 +08:00
David Wu
7c9551becd
BACKPORT: iio: adc: rockchip_saradc: add voltage notifier so get referenced voltage once at probe
...
Add voltage notifier, no need to query regulator voltage for
every saradc read, just get regulator voltage once at probe.
Signed-off-by: David Wu <david.wu@rock-chips.com >
Signed-off-by: Simon Xue <xxm@rock-chips.com >
Reviewed-by: Heiko Stuebner <heiko@sntech.de >
Link: https://lore.kernel.org/r/20210810011007.54066-1-xxm@rock-chips.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
(cherry picked from commit cabd6e9cf2 )
Change-Id: I5723398bac6e1349b60f36c0088a49884f0106bb
2023-02-08 09:52:11 +08:00
Finley Xiao
25a24f5d20
clk: rockchip: rk3562: Remove CLK_IGNORE_UNUSED for pclk_intc
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I211d7d8680f73438818b712bc274b51a2c445038
2023-02-08 09:10:12 +08:00
Tao Huang
40b4843899
spi: rockchip: Sync with upstream
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ia25e81a1ac5dca491ff31bd3557eac61bbd0962e
2023-02-07 20:30:52 +08:00
Finley Xiao
721af6e079
arm64: dts: rockchip: rk3562-rk817-tablet-v10: Enable tsadc
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I07edce95737941f071e108e12db2fde6cc05bf3e
2023-02-07 20:27:20 +08:00
Tao Huang
479b4d6851
arm64: dts: rockchip: pinconf: Sync with upstream
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I7cd9c2d2c61ce008efef6781eb59bcaaf7e0164d
2023-02-07 19:59:57 +08:00
Tao Huang
72baf7945d
arm64: dts: rockchip: rk3308: Sync with upstream
...
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I632c4ff0b86275d3d11969377185d48c64dec76c
2023-02-07 19:48:02 +08:00
Wyon Bi
717debc7f2
drm/rockchip: vop2: Use devm_clk_get_optional() in vop2_extend_clk_init()
...
Silence warning print if didn't have a clock reference in the DT.
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Change-Id: I1e6276950e6e582a424daec5b46e51d08d5fe05a
2023-02-07 17:25:59 +08:00
Cai YiWei
c38ee7a65d
media: rockchip: isp: version v2.1.0
...
Change-Id: Ie02dfdad44f9f67a765fe577b609346552a35a59
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-02-07 17:14:31 +08:00
Cai YiWei
9f908ad29d
media: rockchip: isp: stats buf add application params frame id
...
Change-Id: Ib343caba3c4e378661d83f0485a9e0a2940367f3
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2023-02-07 17:14:31 +08:00
Jianlong Wang
d6c491185e
arm64: configs: px30_linux_defconfig: enable CONFIG_PSTORE
...
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com >
Change-Id: I00d69aefef747372dcbb42d85638db6189646f05
2023-02-07 17:11:12 +08:00
Jianlong Wang
270801db59
arm64: dts: rockchip: rk3358-linux.dtsi: add ramoops device node
...
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com >
Change-Id: If2497b36f984348467948f15a97c62bd8fe6668d
2023-02-07 17:11:12 +08:00
Jianlong Wang
08546dd843
arm64: dts: rockchip: rk3358-evb-ddr3.dtsi: rk809 compatible to rockchip,multicodecs-card
...
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com >
Change-Id: I0cad1068489027d1bfac80d240cbb24ca7cd3e9e
2023-02-07 17:11:12 +08:00
Nickey Yang
5ac9874dfd
arm64: configs: add rk3562_linux_dictpen_defconfig
...
add config for rk3562 linux dictionary pen product
vs rockchip_linux_defconfig:
1.size of arch/arm64/boot/Image: 33MiB -> 10.5MiB
2.boot time from DDR to Run /sbin/init: 2.25s -> 1.51s
(CPU:1008M DDR:780M)
Change-Id: I57e6a0109a403f6d87960c032d6e1c1ab06ffef1
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2023-02-07 16:25:29 +08:00
Sandy Huang
ae525c9f3a
arm64: dts: rockchip: add rk3562-evb1-lp4x-v10-rgb2lvds
...
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: Ie7d61f0df22bc3ccdaa9bab98c91ce951ea9c5b1
2023-02-07 14:38:49 +08:00
Sandy Huang
bb0ed863d8
drm/rockchip: vop2: filter VP vcnt status
...
VP vcnt update and read are driven by two asynchronous dclk and hclk, so add
this filtering process, otherwise may read the wrong vcnt value.
Signed-off-by: Sandy Huang <hjc@rock-chips.com >
Change-Id: Ibe933c3b507933720222544ac695e06ad6b957dd
2023-02-07 10:50:44 +08:00
Elaine Zhang
558bea7175
Revert "arm64: dts: rockchip: document explicit px30 cru dependencies"
...
This reverts commit 45cb61b4f3 .
For GKI, cru init is deferred_probe_work_func,which make system crash:
[ 8.930765][ T6] Unable to handle kernel paging request at virtual
address ffffffc8098270e0
[ 8.931691][ T6] Mem abort info:
[ 8.932102][ T6] ESR = 0x96000007
[ 8.932541][ T6] EC = 0x25: DABT (current EL), IL = 32 bits
[ 8.933192][ T6] SET = 0, FnV = 0
[ 8.933625][ T6] EA = 0, S1PTW = 0
[ 8.934061][ T6] Data abort info:
[ 8.934566][ T6] ISV = 0, ISS = 0x00000007
[ 8.935080][ T6] CM = 0, WnR = 0
[ 8.935516][ T6] swapper pgtable: 4k pages, 39-bit VAs,
pgdp=000000000297f000
[ 8.936301][ T6] [ffffffc8098270e0] pgd=000000007ffff003,
p4d=000000007ffff003, pud=000000007ffff003, pmd=0000000003de9003,
pte=0000000000000000
[ 8.937821][ T6] Internal error: Oops: 96000007 [#1 ] PREEMPT SMP
[ 8.938493][ T6] Modules linked in: clk_px30(E)
rockchip_cpuinfo(E) clk_rockchip(E) rockchip_sip(E)
[ 8.939677][ T6] CPU: 0 PID: 6 Comm: kworker/u8:0 Tainted: G
E 5.10.107 #35
[ 8.940574][ T6] Hardware name: Rockchip PX30 evb ddr3 board (DT)
[ 8.941305][ T6] Workqueue: events_unbound
deferred_probe_work_func
[ 8.942062][ T6] pstate: 60400005 (nZCv daif +PAN -UAO -TCO
BTYPE=--)
[ 8.943125][ T6] pc : rockchip_clk_register_plls+0x164/0x1b8
[clk_rockchip]
[ 8.944225][ T6] lr : rockchip_clk_register_plls+0x160/0x1b8
[clk_rockchip]
[ 8.944991][ T6] sp : ffffffc812c07980
[ 8.945453][ T6] x29: ffffffc812c079f0 x28: 0000000000000006
[ 8.946173][ T6] x27: 00000000000000a0 x26: ffffffc8098270e0
[ 8.946890][ T6] x25: 0000000000000840 x24: c8ffff800530d100
[ 8.947607][ T6] x23: 00000000000000d8 x22: 0000000000000004
[ 8.948323][ T6] x21: 0000000000000060 x20: 0000000000000001
[ 8.949040][ T6] x19: 0000000000000001 x18: ffffffc812b8d078
[ 8.949760][ T6] x17: 0000000014d453dc x16: 00000000024a8ec8
[ 8.950476][ T6] x15: 0000000000000000 x14: 0000000000000000
[ 8.951193][ T6] x13: 0000000000000000 x12: ffffffc810010644
[ 8.951912][ T6] x11: 0000000000000082 x10: ff800048097f86dc
[ 8.952630][ T6] x9 : 0000000000000027 x8 : 00000000000000ff
[ 8.953347][ T6] x7 : ffffffffffffffff x6 : 0000000000000000
[ 8.954061][ T6] x5 : 0000000000000000 x4 : a3ffff80048dfc60
[ 8.954778][ T6] x3 : ffffffc8097f86dc x2 : 0000000000000001
[ 8.955493][ T6] x1 : 0000000000000008 x0 : 70ffff8004165308
[ 8.956204][ T6] Call trace:
[ 8.956923][ T6] rockchip_clk_register_plls+0x164/0x1b8
[clk_rockchip]
[ 8.957665][ T6] 0xffffffc809825168
[ 8.958262][ T6] clk_px30_probe+0x68/0x88 [clk_px30]
[ 8.958866][ T6] platform_drv_probe+0xc0/0xe0
[ 8.959421][ T6] really_probe+0x304/0x72c
[ 8.959943][ T6] driver_probe_device+0xa4/0xf0
[ 8.960509][ T6] __device_attach_driver+0x1a8/0x1d0
[ 8.961108][ T6] bus_for_each_drv+0xb0/0x10c
[ 8.961653][ T6] __device_attach+0x164/0x1d4
[ 8.962201][ T6] device_initial_probe+0x18/0x28
[ 8.962768][ T6] bus_probe_device+0x58/0xf8
[ 8.963308][ T6] deferred_probe_work_func+0xc0/0x164
[ 8.963920][ T6] process_one_work+0x358/0x700
[ 8.964471][ T6] worker_thread+0x52c/0x918
[ 8.964991][ T6] kthread+0x1f8/0x210
[ 8.965466][ T6] ret_from_fork+0x10/0x30
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I255fb5c008077c0c0b430e6922a2ae414cfd422a
2023-02-06 18:49:39 +08:00
Dingxian Wen
659435873d
media: rockchip: hdmirx: fill colorspace and quantification to v4l2_format
...
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com >
Change-Id: Iaeea507ea5e81ae5dada265598678ccb8188d48d
2023-02-06 17:20:59 +08:00
Dingxian Wen
238571a101
media: rockchip: hdmirx: modify the enum definition of hdmirx color space
...
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com >
Change-Id: I23070858c0c7ea573af2bdf34652639bac551e68
2023-02-06 17:20:50 +08:00
Steven Liu
aff83a4a82
arm64: rockchip_linux_defconfig: enable Rockchip RPMsg
...
Enable the following macros for AMP system:
CONFIG_ROCKCHIP_MBOX=y
CONFIG_RPMSG_ROCKCHIP=y
CONFIG_RPMSG_VIRTIO=y
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: I4d82954a441e543627536b9d207e7203c5ab8f7d
2023-02-06 16:28:04 +08:00
Hongming Zou
8ad4a5a8f2
rpmsg: rockchip: add rockchip rpmsg test
...
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com >
Change-Id: Ibdecd0d26e258af0b687c44f1aa94833c7101627
2023-02-06 16:27:59 +08:00
Steven Liu
4e6ff4aaac
dt-bindings: rpmsg: rpmsg-rockchip: add description for rpmsg-rockchip
...
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: I1a114f460ba751e4f348aa134410cbf86eab2503
2023-02-06 16:27:39 +08:00
Steven Liu
b5795e81ec
rpmsg: rockchip: add Rockchip RPMsg Platform Support
...
Support Rockchip Platform to use mailbox for rpmsg communication
and provide hardware interface for inter-core communication.
Signed-off-by: Steven Liu <steven.liu@rock-chips.com >
Change-Id: Ibf81167f173d25de03de3b9bf25e53479cb557ac
2023-02-06 16:27:29 +08:00
Hongming Zou
1e3b2519b0
ARM: dts: rockchip: add rk3036-evb1-ddr3-v10.dts
...
Change-Id: Iee527cf67b8ddcb4ec5a38807f657357f4ee3b55
Signed-off-by: Hongming Zou <hongming.zou@rock-chips.com >
2023-02-06 15:52:55 +08:00
Nickey Yang
8a071e9fe8
clk: rockchip: Kconfig: select clk link if rk3562
...
Change-Id: I311ca6f1b22fb32ccb2dbf685b659a9f738f5faa
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2023-02-06 15:42:49 +08:00
Xing Zheng
ea6df1a5bb
ASoC: codecs: rv1106_codec: fixes and clean up DAC steps based on vendor DS_V1P8
...
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: Ifeaec747dda09c6445309e15e43cdb8c30686959
2023-02-06 14:58:59 +08:00
Damon Ding
4e71f3e843
drm/rockchip: rgb: add support for vop3 in mcu cmds sending
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: If3e4d23d83fafc16faba88a3b1f7e441090bbde5
2023-02-06 14:27:00 +08:00
Damon Ding
2780ba1dc5
drm/rockchip: vop3: add support for rk3562 mcu interface
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I5f9a0676bb048bfffcf413fa50029eafd0ce625a
2023-02-06 14:27:00 +08:00
Shawn Lin
3d9af6480a
PCI: Mark Micron 2100AI NVMe to avoid using ASPM
...
From test, 2100AI NVMe randomly reject TLP access when ASPM is
enabled. Especially after powering cycle it, it immediately enters
lower power mode but refuse to ack TLP.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
Change-Id: I2ce3e857014296195d91cd89c8185810a271b4af
2023-02-06 14:20:53 +08:00
Zain Wang
49979286c4
arm64: configs: rockchip_linux_defconfig: enable CONFIG_CPU_RK3562
...
Signed-off-by: Zain Wang <wzz@rock-chips.com >
Change-Id: I226a1d123d550c95c414c7fa1b84480ccfa8644f
2023-02-06 11:32:25 +08:00
Nickey Yang
c67c8fc5b3
crypto: rockchip: Kconfig: select crypto v3 if RK3562
...
Change-Id: I3d22fa8a12d77c77b32f65e249300817d4fc862b
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2023-02-06 11:28:26 +08:00
Jon Lin
7bb1ff6ff3
mtd: spi-nor: gigadevice: Support New devices
...
gd55b01ge
Change-Id: I3e7242fcb4433bcfd0ed6769ad939dda6078fe8f
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2023-02-06 09:09:14 +08:00
Jianqun Xu
0a6fcdbf81
media: i2c: fix compile error when CONFIG_PM is not set
...
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: I3a9d18629c20f543b2d992d9afe62d4b1b721dae
2023-02-03 18:31:44 +08:00
Jianqun Xu
a8c4dcb234
phy: rockchip: mipi-rx: fix compile error when CONFIG_PM is not set
...
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: Ieb9df05a2c71c090de9ebec2d40678dd79630f55
2023-02-03 17:40:50 +08:00
Finley Xiao
49aa54ec05
MALI: bifrost: Fix building error when disable CONFIG_MALI_BIFROST_DEVFREQ
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: I523b4f8e547c49e2e262fe29c7252888e0694a6c
2023-02-03 16:35:31 +08:00
Damon Ding
66833cf69c
arm64: dts: rockchip: rk3562-evb: add mcu display board
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I294420987ceddeb6f25acbb243330842ed5b3121
2023-02-03 15:53:57 +08:00
Damon Ding
35c61f3827
arm64: dts: rockchip: rk3562: move rgb node to ioc_grf node
...
In addition, add label vp0/vp1.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I208e47f48c35cd615dbff0d34cd5ddd8202a89b4
2023-02-03 15:53:24 +08:00
Damon Ding
20b6c50cc3
arm64: dts: rockchip: rk3562: set driver strength of rgb pins to level2
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I3710d3529d5263e4b0646fa4ee4af5312951aae4
2023-02-03 15:53:24 +08:00