Commit Graph

1065581 Commits

Author SHA1 Message Date
Shunhua Lan
cb7e0dc577 ASoC: rockchip: i2s-tdm: Don't do soft reset for slave mode
soft reset works on SCLK, which come from external device
when controller work as slave mode.

When SCLK disabled before reset done, the controller stalled
and can not recovery.

Instead, we do global reset for this issue.

Change-Id: If801aa03a01d42386f7cfa6145cd6d0af7a3b041
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2022-03-26 20:07:52 +08:00
Jianqun Xu
4f69f3914b dma-buf: rk_heaps: set name for dmabuf to debug
The rk_dma_heap_bufferfd_alloc has expand argument 'const char *name'
which is used for debug to oversee all dmabuf.

The dma_buf_set_name is provided and exported by dma-buf, also support
via ioctl of dma-buf. This patch set the name to dmabuf if support for
the CONFIG_DMABUF_RK_HEAPS_DEBUG.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I834a1f2009d5a1c6a6835ea78b3dd1aeec43e31f
2022-03-26 19:55:45 +08:00
Jianqun Xu
b70b46407b dma-buf: rk_heaps: cma heap enable 'cache_sgt_mapping'
Enable the 'cache_sgt_mapping' for rk_cma_heap_buf_ops, to cache the
first mapping made for each attachment. This avoids create mappings for
attachments multiple times.

By the way, cache the sgt can support debugfs to get the buffer
information from scatterlists.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Id822e3088af9eab5d88d0172c31191d2fc9d4151
2022-03-26 19:49:56 +08:00
Jianqun Xu
c63b9bb07c dma-buf: rk_heaps: move cma heap structs into cma-heap driver
The rk_cma_heap and rk_cma_heap_buffer are only used by rk cma heap
driver, move them into driver.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I98867254dff5d4092008aa70244bbf9e10c394ac
2022-03-26 19:10:15 +08:00
Jianqun Xu
752f86a47a dma-buf: rk_heaps: relocate head files for heap driver
There are three head files named "rk-dma-heap.h", one is the uapi, and
the other two both for drivers.

<drivers/dma-buf/rk_heaps/rk_dma_heap.h> is designed for rk-dma-heap.c
which is located the same directory, always include it by a relative
path - "rk-dma-heap.h".

<include/linux/rk_dma_heap.h> is designed for other kernel module to use
the apis from rk-dma-heap, it only declears the functions which may used
by other modules. And importantly, this file declear "struct rk_dma_heap".

Before this patch, the xx-heap.c under "rk_heaps" directory should keep
mind to include the <linux/rk_dma_heap.h> first to declear rk_dma_heap
struct, then to include the "rk_dma_heap.h" to define other things, such
as debug, structures and declear functions.

This patch makes the <drivers/dma-buf/rk_heaps/rk_dma_heap.h> to include
the <include/linux/rk_dma_heap.h>, after that, the heap drivers only
need to include "rk_dma_heap.h", and the other modules only need to keep
to include <linux/rk_dma_heap.h>.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I9e9aabb3247e02439249872c2483d716a4af07c8
2022-03-26 19:08:22 +08:00
Jianqun Xu
65706611a8 dma-buf: rk_heaps: rename to rk_cma_heap_attachment
Only rename rk_dma_heap_attachment to rk_cma_heap_attachment, this patch
do nothing fix to driver.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Ief67ed2a8c849398c41d82f9a1fdeac697d68b4a
2022-03-26 19:05:36 +08:00
Jianqun Xu
0dfdf7a853 media: common: videobuf2: fix cma sg alloc depends on CONFIG_CMA
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I1370bc264f2a673a14562f088cb2abdb13a01b30
2022-03-26 19:00:27 +08:00
William Wu
fd2afc4fcd arm64: dts: rockchip: move usb dwc3 reset to core node for rk3399
This patch moves the reset property of usb dwc3_0 and dwc3_1
to the dwc3 core node, then it can reset the dwc3 controller
in runtime PM and sleep PM, rather than only reset in sleep
PM. This can help to fix typec phy power on fail with the
following log when do hotplug test with Type-C dongle.

phy phy-ff7c0000.phy.9: phy poweron failed --> -110

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I27c90147591f83e8cacb8147ed49c1c6c9646a46
2022-03-26 18:53:09 +08:00
Cai YiWei
f4e9d0fcb4 ARM: dts: rockchip: rv1106: sram node to isp
Change-Id: I90326170e55688385343e22254e1825de4a22fb3
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-26 18:51:12 +08:00
Cai YiWei
691c80a8f6 media: rockchip: isp: isp32 support bay3d cur write to system sram
Change-Id: I27e4ef9061cf846ad129a298cfe99969d32ff4d6
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-26 18:50:51 +08:00
Jianqun Xu
956e50452a dma-buf: rk_heaps: add cma alignment for rk cma heap
Default set CONFIG_DMABUF_HEAPS_ROCKCHIP_CMA_ALIGNMENT to '8' to keep
nothing fix with this patch for heap.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Ie1d41b001e2414766989de576f96f21069a7508e
2022-03-26 17:52:06 +08:00
Liang Chen
83d275132c soc: rockchip: pvtm: Add support for RV1106 SoCs
This adds the necessary data for handling pvtm on the RV1106.

Change-Id: I72c1cb38141cf246738d3a592cb7c8a9f4192815
Signed-off-by: Liang Chen <cl@rock-chips.com>
2022-03-26 17:51:41 +08:00
Huibin Hong
e6567a9d42 ARM: configs: rv1106: disable PTY and 8250_CONSOLE
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: I4ce8e8deaabd94881826e23d6403a7dfd8e884d2
2022-03-26 17:45:29 +08:00
Herman Chen
59a26efa55 video: rockchip: mpp: vepu2: Fix multi-core vepu2 stuck on RK3588
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Idac11024e1cc98346e68a7f7f12f3e9f33d89c10
2022-03-26 17:44:31 +08:00
Sugar Zhang
5a19c1c53a ARM: dts: rockchip: rv1106: Add sram node
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Id1825d138d58d1f98b0bbc3b33ba6ed7ad1cb223
2022-03-26 17:11:04 +08:00
Cai YiWei
1c0ec105c5 media: rockchip: isp: isp32 fix cac config
Change-Id: I3e7e2b0e8b7d6797efd226bdfed0c744889beb20
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-26 17:00:56 +08:00
Liang Chen
c5779fb675 ARM: dts: rockchip: rv1106: Add pvtm node
Change-Id: I4f023bacec9c61e25d8b6875f24d3b98e7c0bdcf
Signed-off-by: Liang Chen <cl@rock-chips.com>
2022-03-26 16:46:41 +08:00
Yu Qiaowei
3a6a7fa783 video: rockchip: rga3: Modify the printing of system registers
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: Ice6bcd8a74b8a08c5bd916c21215e857365c5db7
2022-03-26 16:27:00 +08:00
Yu Qiaowei
7db276831b video: rockchip: rga3: Fix OSD configuration
1. Fixup fix_width will only be less than 128(0x3f).
2. Add support RGBA2BPP.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I8af80a6ca6e26a0b1e2f023427108739fdf27dfa
2022-03-26 16:27:00 +08:00
Yu Qiaowei
66a65ee99d video: rockchip: rga3: mpi_job uses importbuffer
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I8170657fbab1da870b513f73b3e55bf80a870794
2022-03-26 16:27:00 +08:00
Yu Qiaowei
af89acfb26 video: rockchip: rga3: RGA_START_CONFIG added configurable flags
Support to modify and cache the parameters passed by mpi.

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: If6b3b10336280d7d2e6a0195eb38e8f5bad2b024
2022-03-26 16:27:00 +08:00
Wyon Bi
f002e0301b drm/bridge: analogix_dp: Validate link config values
Fixes: 099bdfba32 ("drm/bridge: analogix_dp: Add source capacity limits in .mode_vaild")
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I05ea814c8b46fd8521c257a8f403dfdc8d028bdb
2022-03-26 16:16:03 +08:00
Ziyuan Xu
1590cae5de ARM: dts: rockchip: Add support for RV1103/6G IPC38 Board
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I72657dd2f73223dfbcff0a04cb586b3239acb1ef
2022-03-26 15:20:17 +08:00
Ziyuan Xu
e0c4974da1 ARM: configs: rockchip: Add rv1106-ipc.config
Update by:

make ARCH=arm rv1106_defconfig
cp .config rv1106.config
make ARCH=arm rv1106_defconfig rv1106-ipc.config
make ARCH=arm menuconfig
./scripts/diffconfig -m rv1106.config .config > arch/arm/configs/rv1106-ipc.config

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: Ie703647bd499c39e844ec877e41348329eb3630d
2022-03-26 15:09:02 +08:00
Ziyuan Xu
29fb5107c2 ARM: dts: rockchip: rv1106-evb-camera: Fixes pinctrl for mipicsi-camera
Fixes: 1d15280e90 ("ARM: dts: rockchip: rv1106-evb support camera of sc4336")
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I7d8c959ecc790286f74e28aad80811104b6b6cfe
2022-03-26 15:00:06 +08:00
Ziyuan Xu
3b68807646 ARM: dts: rockchip: rv1106-pinctrl: Separate vicap_clkout/mipi_refclk_out
Camera should declare vicap_clkout/mipi_refclk_out independently,
ensure that the initialized successfully without cif/mipi.

Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I1dce667774d0aec0ec1ee9361c124d0fead95eb9
2022-03-26 14:59:19 +08:00
Jianqun Xu
1fc0ecb55f mm/memblock: show memblock reserved with size information
Tested on RV1106 EVB:
cat /sys/kernel/debug/memblock/reserved_size

   0: 0x00004000..0x00007fff (        16 KiB)
   1: 0x000081c0..0x0052e9c7 (      5274 KiB)
   2: 0x00c00000..0x00c08fff (        36 KiB)
   3: 0x0369c000..0x036bbfff (       128 KiB)
   4: 0x036bd8c0..0x036bdcc3 (         1 KiB)
   5: 0x036bdcc8..0x036d5ffb (        96 KiB)
   6: 0x036d6000..0x037fefff (      1188 KiB)
   7: 0x037ff240..0x037ff79b (         1 KiB)
   8: 0x037ff7c0..0x037ff837 (       120 Bytes)
   9: 0x037ff840..0x037ff843 (         4 Bytes)
  10: 0x037ff880..0x037ff883 (         4 Bytes)
  11: 0x037ff8c0..0x037ff8c3 (         4 Bytes)
  12: 0x037ff900..0x037ffa69 (       362 Bytes)
  13: 0x037ffa80..0x037ffbe9 (       362 Bytes)
  14: 0x037ffc00..0x037ffc03 (         4 Bytes)
  15: 0x037ffc1c..0x037ffc7e (        99 Bytes)
  16: 0x037ffc80..0x037ffc9a (        27 Bytes)
  17: 0x037ffc9c..0x037ffcb6 (        27 Bytes)
  18: 0x037ffcb8..0x037ffcd2 (        27 Bytes)
  19: 0x037ffcd4..0x037ffcee (        27 Bytes)
  20: 0x037ffcf0..0x037ffd0a (        27 Bytes)
  21: 0x037ffd0c..0x037ffe2c (       289 Bytes)
  22: 0x037ffe30..0x037ffe48 (        25 Bytes)
  23: 0x037ffe4c..0x037ffe64 (        25 Bytes)
  24: 0x037ffe68..0x037ffe80 (        25 Bytes)
  25: 0x037ffe84..0x037ffe9c (        25 Bytes)
  26: 0x037ffea0..0x037ffebc (        29 Bytes)
  27: 0x037ffec0..0x037ffedc (        29 Bytes)
  28: 0x037ffee0..0x037ffefc (        29 Bytes)
  29: 0x037fff00..0x037fff9c (       157 Bytes)
  30: 0x037fffa0..0x07ffffff (     73728 KiB)
Total: 80470 KiB

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: If98946c9f2a70fa2816f2f1434a14198e2156d96
2022-03-25 19:53:00 +08:00
Jon Lin
f9e5397c76 spi: rockchip-sfc: Embedded DMA only support 4B aligned address
Change-Id: I4a5f77505cb56854d9a68acb588cb056d7d5a7ae
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-03-25 19:49:17 +08:00
Jianqun Xu
88412bf3be mmc: core: make the mmc queue depth configurable
This patch make driver able to set the queue depth and keep the default
vaule to be '64'.

Change-Id: I54cd065d6536c170d1615a6f9d7071d479bfeb84
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2022-03-25 19:48:53 +08:00
Jon Lin
b9aa3ac670 mtd: spi-nor: fmsh: Add code
Change-Id: I8d95f3535c841a9829228eed1d213afda19ef0e6
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
2022-03-25 19:43:52 +08:00
Lin Jinhan
ed241d3863 crypto: rockchip: v2: akcipher: add mutex for multi-threaded support
Add mutex to prevent multi-threaded concurrency from competing.

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ia9a0dad65b47168c4588cf64eaa93e0d2566e17e
2022-03-25 19:42:48 +08:00
Jianqun Xu
a4f940596f dma-buf: rk_heaps: optimize dump information format
cat /sys/kernel/debug/rk_dma_heap/dma_heap_info |grep Alloc
  Alloc by (vmpi           ) [0x05fe3000-0x061a4fff] 0x001c2000 (1800 KiB)
  Alloc by (vmpi           ) [0x05fe2000-0x05fe2fff] 0x00001000 (4 KiB)
  Alloc by (vmpi           ) [0x05fe1000-0x05fe1fff] 0x00001000 (4 KiB)
  Alloc by (vmpi           ) [0x05a6d000-0x05fe0fff] 0x00574000 (5584 KiB)
  Alloc by (vmpi           ) [0x05987000-0x05a6cfff] 0x000e6000 (920 KiB)
  Alloc by (vmpi           ) [0x0594d000-0x05986fff] 0x0003a000 (232 KiB)
  Alloc by (vmpi           ) [0x0594c000-0x0594cfff] 0x00001000 (4 KiB)
  Alloc by (vmpi           ) [0x053d8000-0x0594bfff] 0x00574000 (5584 KiB)
  Alloc by (vmpi           ) [0x052f2000-0x053d7fff] 0x000e6000 (920 KiB)
  Alloc by (vmpi           ) [0x052b8000-0x052f1fff] 0x0003a000 (232 KiB)
  Alloc by (vmpi           ) [0x04556000-0x04a9bfff] 0x00546000 (5400 KiB)
  Alloc by (vmpi           ) [0x04010000-0x04555fff] 0x00546000 (5400 KiB)
  Alloc by (rkisp-vir0     ) [0x04000000-0x04003fff] 0x00004000 (16 KiB)
  Alloc by (rkisp-vir0     ) [0x04004000-0x04007fff] 0x00004000 (16 KiB)
  Alloc by (rkisp-vir0     ) [0x04008000-0x0400bfff] 0x00004000 (16 KiB)
  Alloc by (rkisp-vir0     ) [0x0400c000-0x0400ffff] 0x00004000 (16 KiB)
  Alloc by (ffa00000.rkisp ) [0x04a9c000-0x04a9cfff] 0x00001000 (4 KiB)
  Alloc by (ffa00000.rkisp ) [0x04a9d000-0x04a9dfff] 0x00001000 (4 KiB)
  Alloc by (ffa00000.rkisp ) [0x04a9e000-0x05216fff] 0x00779000 (7652 KiB)
  Alloc by (ffa00000.rkisp ) [0x05217000-0x05246fff] 0x00030000 (192 KiB)
  Alloc by (ffa00000.rkisp ) [0x05247000-0x052b7fff] 0x00071000 (452 KiB)

cat /sys/kernel/debug/rk_dma_heap/dma_heap_info |grep Total
  Total : 0x21a5000 (34452 KiB)

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I3b739689e394f9d5fbfe50df2cf87d6f5cc744de
2022-03-25 19:19:45 +08:00
Jing Leng
1b9c077418 FROMLIST: usb: gadget: f_uac2: fix superspeed transfer
On page 362 of the USB3.2 specification (
https://usb.org/sites/default/files/usb_32_20210125.zip),
The 'SuperSpeed Endpoint Companion Descriptor' shall only be returned
by Enhanced SuperSpeed devices that are operating at Gen X speed.
Each endpoint described in an interface is followed by a 'SuperSpeed
Endpoint Companion Descriptor'.

If users use SuperSpeed UDC, host can't recognize the device if endpoint
doesn't have 'SuperSpeed Endpoint Companion Descriptor' followed.

Currently in the uac2 driver code:
1. ss_epout_desc_comp follows ss_epout_desc;
2. ss_epin_fback_desc_comp follows ss_epin_fback_desc;
3. ss_epin_desc_comp follows ss_epin_desc;
4. Only ss_ep_int_desc endpoint doesn't have 'SuperSpeed Endpoint
Companion Descriptor' followed, so we should add it.

Fixes: eaf6cbe099 ("usb: gadget: f_uac2: add volume and mute support")
Signed-off-by: Jing Leng <jleng@ambarella.com>

Link: https://lore.kernel.org/all/20220218095948.4077-1-3090101217@zju.edu.cn/
Change-Id: Iceb69749909795632a1620cd5c6f70756c2bf023
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2022-03-25 19:15:14 +08:00
Jing Leng
4799545c92 FROMLIST: usb: gadget: f_uac1: add set requests support
Currently the f_uac1 driver only supports UAC_SET_CUR request.

But when uac1 device is plugged to Ubuntu 20.04 PC, at the stage
of setup, the PC will send UAC_SET_RES request, If the device
doesn't respond to the request, the PC will abort the setup process
and uac1 device can't be recognized on Ubuntu 20.04 PC.

So f_uac1 driver should handle other set requests.

Fixes: 0356e6283c ("usb: gadget: f_uac1: add volume and mute support")
Signed-off-by: Jing Leng <jleng@ambarella.com>

Link: https://lore.kernel.org/all/20220218094947.3835-1-3090101217@zju.edu.cn/
Change-Id: I733f2fdab6256fe29094a15b31e3490f59e6498b
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2022-03-25 19:15:14 +08:00
Jing Leng
156721bc0a FROMLIST: usb: gadget: f_uac1: add different speed transfers support
On page 61 of the UAC1 specification (
https://www.usb.org/sites/default/files/audio10.pdf),
bInterval is interval for polling endpoint for data transfers
expressed in milliseconds, must be set to 1.

On page 47 of the USB2.0 specification (
https://www.usb.org/sites/default/files/usb_20_20211008.zip),
An isochronous endpoint must specify its required bus access period.
Full-/high-speed endpoints must specify a desired period as
(2^(bInterval-1)) x F, where bInterval is in the range one to
(and including) 16 and F is 125 μs for high-speed and 1ms for full-speed.

On page 362 of the USB3.2 specification (
https://usb.org/sites/default/files/usb_32_20210125.zip),
The 'SuperSpeed Endpoint Companion Descriptor' shall only be
returned by Enhanced SuperSpeed devices that are operating at Gen X speed.
Each endpoint described in an interface is followed by a 'SuperSpeed
Endpoint Companion Descriptor'.

Currently uac1 driver doesn't set bInterval to 1 in full speed transfer
and doesn't have a 'SuperSpeed Endpoint Companion Descriptor' behind
'Standard Endpoint Descriptor'.

So we should set bInterval to 1 in full speed transfer and set it to 4
in other speed transfers, and we should add 'SuperSpeed Endpoint Companion
Descriptor' behind 'Standard Endpoint Descriptor' for superspeed transfer.

Signed-off-by: Jing Leng <jleng@ambarella.com>

Link: https://lore.kernel.org/all/20220217051951.7466-1-3090101217@zju.edu.cn/
Change-Id: I53205c1850a0239d1f39f4c44cea77bfb1c00e81
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2022-03-25 19:15:14 +08:00
Damon Ding
b7224cb77c drm/rockchip: rgb: add encoder atomic API mode_valid
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: Ibe455d22d0a4af79f37c87a668451af4812a5d0d
2022-03-25 18:05:13 +08:00
Damon Ding
a50f495d0c drm/rockchip: vop: add bt656 support for rv1106
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I2b60d18fe44cccdd6edcc542d3ae8865ca96e824
2022-03-25 17:59:31 +08:00
Damon Ding
04b494e0ca drm/bridge: sii902x: add support for bt656
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: I521378e4be84c7bb661a6d68b43887662c06bd0f
2022-03-25 17:58:30 +08:00
Huibin Hong
9c25f8a85d ARM: configs: rv1106: support 6 uarts
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: I8eda397b80f49603abbf6c91f97994795b543623
2022-03-25 09:40:13 +00:00
Lian Xu
c5f63891e0 media: rockchip: isp: add the rockit buff
Change-Id: Id74df5de928a176c598ba624d21366fae95230ac
Signed-off-by: Lian Xu <xu.lian@rock-chips.com>
2022-03-25 17:32:34 +08:00
Shunhua Lan
ce0d9e1f4e media: rockchip: hdmirx: fix audo present and rate status
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: Iac5b44a0a184108f2c7003798b42a649b053a748
2022-03-25 17:25:13 +08:00
Ziyuan Xu
2b19129369 media: i2c: fixes sc3336 typo
Fixes: 6b605a54f8 ("media: i2c: add sensor driver sc3336")
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I7a12e5d6882609f0a7e8990d32a6c865d0e6de0c
2022-03-25 17:18:27 +08:00
Sugar Zhang
59814ffb7c ASoC: rockchip: i2s-tdm: Add support for Digital Loopback
This patch adds support for digital loopback mode select.

lp mode2 swap:
i2s sdi0_l <- i2s sdo0_l
i2s sdi0_r <- codec sdo_r

lp mode2:
i2s sdi0_l <- codec sdo_l
i2s sdi0_r <- i2s sdo0_r

lp mode1:
i2s sdi0_l <- codec sdo_l
i2s sdi0_r <- codec sdo_r
i2s sdi1_l <- i2s sdo0_l
i2s sdi1_r <- i2s sdo0_r

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I14eb16667aca7c7c7e5f797b217adbcac2395f5a
2022-03-25 16:55:40 +08:00
Felix Zeng
aefd8b3d74 ARM: dts: rockchip: rv1106-evb enable rknpu node
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: I872e3705c35d3db92110218aa4d4f45461bec4d1
2022-03-25 16:20:38 +08:00
Zefa Chen
b2d7e245fe media: rockchip: vicap not use dummy buffer as default for rv1106
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ieeedf59ab05df5dc6a9f091919927a2ce9787c06
2022-03-25 15:35:52 +08:00
Elaine Zhang
5a12a415c6 ARM: dts: rockchip: rv1106: add grf_cru node for special clock
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: Iac941b83dd8273ecc644e524b026ec018d7025d7
2022-03-25 14:45:22 +08:00
Elaine Zhang
092e33390d clk : rockchip: rv1106: add grf clk
add grf clk for emmc\sdio\sdmmc sample and dev.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I6b048dd456c1be280b5e5f7711e672efb4572e03
2022-03-25 14:44:59 +08:00
Cai YiWei
5af9267a6c media: rockchip: isp: fix params v32 drc and bay3d config
bay3d support 8x8 write to ddr for full resolution
drc gas_t 13bit

Change-Id: Ifb58985858a66257be0f8811e94e089f75ef19ff
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2022-03-25 11:59:02 +08:00
Lin Jinhan
e1a66872a7 ARM: dts: rockchip: rv1106: crypto: assign clock frequency
The default clock is not necessarily the normal operating
 frequency, so the frequency must be specified explicitly.

CORE_CRYPTO: 300M
PKA_CRYPTO : 300M

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: Ic65db79365c0b21678d04bb0a09cc813d84c1eb7
2022-03-24 20:19:37 +08:00
Yandong Lin
8fb08b7fe0 ARM: rv1106_defconfig: add dvbm config and remove mpp config
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Ib2271dec7afd16baf61819c6ff8c40201bc5d0ca
2022-03-24 19:22:13 +08:00