Jianqun Xu
c2a93573e4
ARM: configs: rv1106_defconfig: DMABUF_HEAPS_ROCKCHIP_CMA_ALIGNMENT=0
...
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com >
Change-Id: I164cc9a27020e653655839283bf3a2e2e2077a84
2022-03-31 10:00:28 +08:00
Mark Huang
56a0e2ce87
ARM: rv1106-evb.config: Enable UVC/UAC/HID
...
Signed-off-by: Mark Huang <huangjc@rock-chips.com >
Change-Id: I9577c4f159622d8648fc5d3ce83c7adcdf645bd6
2022-03-30 20:33:12 +08:00
Li Huang
f863ae5dd0
video: rockchip: rga3: fixup scheduler load
...
Signed-off-by: Li Huang <putin.li@rock-chips.com >
Change-Id: I60a2357d1fd517092d1721cfcd16cd1a2e2dba04
2022-03-30 17:47:39 +08:00
Weiwen Chen
19d26d75b6
ARM: rv1106-evb.config: support spi nand
...
Signed-off-by: Weiwen Chen <cww@rock-chips.com >
Change-Id: Ic1156239064abf7b83f19b6bac8239d6ab548b5f
2022-03-30 17:21:07 +08:00
Jon Lin
01a8559fe6
ARM: dts: rockchip: rv1106: Add rknpor_powergood node
...
Change-Id: Ib41b419f0df96298389be67a2ddbee7aebddcbbf
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-03-30 16:17:22 +08:00
Jon Lin
ecbe5f051c
soc: rockchip: Add rockchip_npor_powergood
...
Powergood integrated on npor is an interrupt signal that triggers
an interrupt when a specific level value is detected.
Do some software protection for the system when the interrupt is
triggered.
Change-Id: I928c05e9dd7c7ac76af54135c7ea73d377c22807
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-03-30 16:17:04 +08:00
Jon Lin
c70280b04a
ARM: configs: rv1106: Support RKROCKCHIP_NPOR_POWERGOOD
...
Change-Id: Icbdc86206b7ba8dcfc1d3ac030cd4f0a9f0f6a94
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-03-30 16:16:44 +08:00
Mark Huang
6f771b8baf
arm64: dts: rockchip: rk3588-nvr-demo1-v21: disable dp0 logo
...
Signed-off-by: Mark Huang <huangjc@rock-chips.com >
Change-Id: Iaa844b717fa94c73a825febbdd83ba223bdb6a7a
2022-03-30 12:12:40 +08:00
Zefa Chen
bf6101f235
ARM: dts: rockchip: rv1106-evb-cam: support camera ircut
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I73feabef84ce9a31b207420e06560ec9976d58f3
2022-03-30 11:54:09 +08:00
Yifeng Zhao
d7d43c9c1c
soc: rockchip: vendor storage: add HDCP_14_HDMIRX_ID
...
Modify SENSOR_CALIBRATION_ID from 13 to 14 and add
SENSOR_CALIBRATION_ID.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com >
Change-Id: Id10be9960c1d7015edebaa7ccf646d8f16cf1d15
2022-03-30 11:10:55 +08:00
Shunqing Chen
7ddd8990c9
arm64: rockchip_defconfig: Enable RK628 HDMI to CSI/BT1120
...
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
Change-Id: I2d925cc00fb4f2c35893abe6a48e2b0b59b1fbfd
2022-03-30 10:51:05 +08:00
Sugar Zhang
52fd300c57
ASoC: rockchip: i2s-tdm: Update params when it real changed
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
Change-Id: I81c8ebb49e995f68c56848fbc5475ad305f50233
2022-03-30 10:32:01 +08:00
Su Yuefu
ff850fd4a7
ARM: dts: rockchip: rv1106-evb-cam: match camera module index with ircut
...
Signed-off-by: Su Yuefu <yuefu.su@rock-chips.com >
Change-Id: I7fbc01a71bd83388c8f4cb062f826a4f2a5a2e56
2022-03-30 10:01:55 +08:00
Ziyuan Xu
559353fe7c
ARM: rv1106-evb.config: Enable CONFIG_PWRSEQ_SIMPLE
...
Most of the sdio devices need a simple pwrseq that is referred by
mmc-pwrseq, otherwise the mmc host will be probed as -EPROBE_DEFER
result.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com >
Change-Id: I2db654076563d49ddf52d91342fff93d39b218e0
2022-03-30 09:36:11 +08:00
Wu Liangqing
7168edebe8
arm64: dts: rockchip: rk3588-evb7: fix bluetooth uart9 iomux error
...
Signed-off-by: Wu Liangqing <wlq@rock-chips.com >
Change-Id: I369aecd2f48608e7c298bdb7a6abf63bef398efe
2022-03-30 09:27:47 +08:00
Xing Zheng
e466b62d40
ARM: configs: rv1106: enable the internal acodec by default
...
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: Iec82a5004b7d2d6a4a7314b243656ca7a4052424
2022-03-29 19:31:41 +08:00
Xing Zheng
d9e3c3c1b1
ARM: dts: rockchip: rv1106-evb-v10: add support acodec_sound
...
Enabling asound_sound by default.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I64734e50dfa16564dd5731236cb062a01c287f8e
2022-03-29 19:28:46 +08:00
Jason Zhu
fcfd0515fa
ASoC: codecs: add support rv1106 codec
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I1609467374d3829802cbcd42950a1f206dca50a2
2022-03-29 18:32:28 +08:00
Jason Zhu
d344bdcbe0
ARM: dts: rockchip: rv1106: add support acodec node
...
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com >
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I262d2d075ee163067ab59c3cd211e7ac093aa41b
2022-03-29 18:12:49 +08:00
Simon Xue
ef6f0d23e0
ARM: dts: rockchip: rv1106: fix saradc compatible name
...
Change-Id: If08e1a9b8fb3f3d2b77b40bb67518b0e8cff60ba
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2022-03-29 18:10:53 +08:00
Simon Xue
05108c78b2
iio: adc: rockchip_saradc: add rv1106
...
Change-Id: I47cef80e5b64fdce16fce3544424c2ff9acc93d0
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2022-03-29 18:10:22 +08:00
Simon Xue
332f6ade32
iio: adc: rockchip_saradc: fix issue if CONFIG_ROCKCHIP_SARADC_TEST_CHN enabled
...
Change-Id: I282fb82d15501b566d316ee4d1bee87be3bebe41
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2022-03-29 18:07:59 +08:00
Tao Huang
3731b0cb2b
crypto: rockchip: Add missing include of rk_crypto_v2_pka.h
...
drivers/crypto/rockchip/rk_crypto_v2_pka.c:615:6: warning: no previous prototype for rk_pka_set_crypto_base [-Wmissing-prototypes]
drivers/crypto/rockchip/rk_crypto_v2_pka.c:629:5: warning: no previous prototype for rk_pka_expt_mod [-Wmissing-prototypes]
Signed-off-by: Tao Huang <huangtao@rock-chips.com >
Change-Id: Ifd4335f6355ca173e391851bca536cb63ee7d5f5
2022-03-29 18:07:51 +08:00
Zefa Chen
ecb29c9635
media: i2c: imx327 fixed bus-type error
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I22aec81da98aa49731283aebf273b2485df91e2d
2022-03-29 17:56:58 +08:00
Zefa Chen
97d55d0f94
media: i2c: imx307 fixed bus-type error
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: I4a3ba9f628a4177d1187c91c59b139fb912e354a
2022-03-29 17:56:09 +08:00
Zefa Chen
c045b7f3a7
media: rockchip: vicap fixed lvds capture issue for rv1106
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ica1645ce79feb60c5d0da29e943498a70684c99b
2022-03-29 17:55:45 +08:00
Zefa Chen
ad676c401a
phy: rockchip: csi2-dphy: fixed bug when use lvds mode for rv1106
...
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com >
Change-Id: Ic615c893ba444fe44617e3442e35ae45999369a8
2022-03-29 17:54:35 +08:00
Algea Cao
c29324201e
drm/bridge: synopsys: dw-hdmi-qp: Support avi version 3
...
Signed-off-by: Algea Cao <algea.cao@rock-chips.com >
Change-Id: Ic5edfe72e2f3b6914d0b2f4422984ef4ded39a62
2022-03-29 14:52:58 +08:00
Li Huang
256ea0c899
video: rockchip: rve: update to 1.0.1
...
1. support llp mode.
2. improve debugger module.
Signed-off-by: Li Huang <putin.li@rock-chips.com >
Change-Id: I8478804419b1d5f9582fb8b926711ae5418c2e86
2022-03-29 12:07:51 +08:00
Damon Ding
9d83a08e9b
ARM: dts: rockchip: rv1103: add bt656-to-hdmi ext board support
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: I5f360c625b9bf4bda35714e92c1d721beec37a44
2022-03-29 12:06:42 +08:00
Damon Ding
d62a794dbe
ARM: dts: rockchip: rv1106: add rgb2hdmi ext board support
...
Signed-off-by: Damon Ding <damon.ding@rock-chips.com >
Change-Id: Ib7d35a05463338a58fa5630658500ce08d68267d
2022-03-29 12:04:53 +08:00
Felix Zeng
646548f963
ARM: rv1106_defconfig: Enable rknpu
...
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com >
Change-Id: Ieae8f760ba9e703eebfb75f67fcc664195f4f8d5
2022-03-29 10:59:55 +08:00
Felix Zeng
1e714a44c9
driver: rknpu: Update rknpu driver, version: 0.7.0
...
* Add support for rv1106/rv1103
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com >
Change-Id: Ic681c8657cf372adbdc39c30284d66d736030775
2022-03-29 10:59:19 +08:00
Zhang Yubing
0bb9818fe4
phy: rockchip: usbdp: add PD-to-HPD IRQ support
...
When DP output in Tyep-C interface, HPD and HPD IRQ info are
send by PD message, and transfer to phy by mux set callback
function. The usbdp phy need tell the DP controller not only
the HPD info, but also HPD IRQ info.
According to DP Standard 1.4a 3.3 section, the HPD IRQ pulse
width should be in the range from 0.5 ms to 1 ms, setting
the low level time between 750 us nad 800 us to satisfied
the specification.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com >
Change-Id: Ie6d6d0537e6633e6e5f12119ceafc4109e32e74e
2022-03-28 20:33:46 +08:00
William Wu
3092561a61
phy: rockchip: naneng-usb2: fix a NULL vs IS_ERR() check
...
Signed-off-by: William Wu <william.wu@rock-chips.com >
Change-Id: Ie495b234a68972c2bdaa07d105c13f7052f0d0d8
2022-03-28 20:32:46 +08:00
William Wu
5f2da9e8bc
phy: rockchip: inno-usb2: Rework clock initialization to be more flexible
...
The inno usb2 phy binding specifies the clock "phyclk",
however, some Rockchip SoCs (e.g. RV1106/RV1103) have
more than one clock, so this patch reworks the reading
of the clks from the dts to use devm_clk_bulk_get_all()
will fetch all the clocks specified in the dts together.
Signed-off-by: William Wu <william.wu@rock-chips.com >
Change-Id: I07b262e184ee043866b233314c5279f17845b9a4
2022-03-28 20:32:46 +08:00
Tingjin Huang
7a1ea0906b
ARM: dts: rockchip: enable pp node for rv1106-evb
...
Signed-off-by: Tingjin Huang <timkingh.huang@rock-chips.com >
Change-Id: I35c682b59b9fad367045b5e7047da7628d378fe3
2022-03-28 20:30:26 +08:00
Tingjin Huang
b61e413c73
ARM: dts: rockchip: add rkvenc pp node for rv1106
...
Signed-off-by: Tingjin Huang <timkingh.huang@rock-chips.com >
Change-Id: Ib5a7e84d4c273dcef805d0bc0cc72d285702c25a
2022-03-28 20:02:20 +08:00
Elaine Zhang
2e8db7b0e9
ARM: dts: rockchip: modify the rtc compatible for rv1106
...
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: Ied400c91c7962661ea29ba622cd37b46bb647228
2022-03-28 19:16:29 +08:00
Jon Lin
1c049ace1a
ARM: dts: rockchip: rv1106g-evb1-v10: Add spi-nor board
...
Change-Id: Icef9b2714696c9c700aac68e43f6a2f8504b51f5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-03-28 19:08:34 +08:00
Cai YiWei
97ffe01bcd
media: rockchip: isp: isp32 fix frame id to dvbm
...
Change-Id: Ied1cc94a147832b9c4ccd73cb544bc5083529a9d
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2022-03-28 19:02:05 +08:00
Anthony Iliopoulos
ab70dbfebf
UPSTREAM: dma-debug: fix debugfs initialization order
...
Due to link order, dma_debug_init is called before debugfs has a chance
to initialize (via debugfs_init which also happens in the core initcall
stage), so the directories for dma-debug are never created.
Decouple dma_debug_fs_init from dma_debug_init and defer its init until
core_initcall_sync (after debugfs has been initialized) while letting
dma-debug initialization occur as soon as possible to catch any early
mappings, as suggested in [1].
[1] https://lore.kernel.org/linux-iommu/YIgGa6yF%2Fadg8OSN@kroah.com/
Change-Id: I615389d4c630cd4fa7482c99f4faef1e3bb87b3c
Fixes: 15b28bbcd5 ("dma-debug: move initialization to common code")
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com >
Signed-off-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
(cherry picked from commit 173735c346 )
2022-03-28 19:01:23 +08:00
Finley Xiao
67031fb1cc
arm64: dts: rockchip: rk3588s: Add leakage information
...
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
Change-Id: Icaa30bcda38461cb7fc69d83672e9ff8fe73abd3
2022-03-28 18:57:29 +08:00
Shunqing Chen
5c428cc16e
media: i2c: add rk628 hdmi in support
...
Signed-off-by: Shunqing Chen <csq@rock-chips.com >
Change-Id: Id0412c73b4c6e91c9fd03a16e640300b4a596ea2
2022-03-28 18:57:19 +08:00
Xing Zheng
54a7a1cc01
clk: rockchip: rv1106: remove the mclk_acodec_rx
...
Dues to the broken doc, there is no path of
mclk_i2s0_rx to mclk_acodec_rx, we need to
remove it directly and let mclk_acodec_tx
below to the mclk_i2s0_8ch_tx.
- Before:
clk_i2s0_8ch_rx_src 1 1 0 594000000 0 0 50000
clk_i2s0_8ch_rx_frac 1 1 0 12288000 0 0 50000
clk_i2s0_8ch_rx 1 1 0 12288000 0 0 50000
mclk_i2s0_8ch_rx 2 2 0 12288000 0 0 50000
mclk_acodec_rx 1 1 0 12288000 0 0 50000
clk_i2s0_8ch_tx_src 1 1 0 594000000 0 0 50000
clk_i2s0_8ch_tx_frac 1 1 0 12288000 0 0 50000
clk_i2s0_8ch_tx 1 1 0 12288000 0 0 50000
mclk_i2s0_8ch_tx 2 2 0 12288000 0 0 50000
mclk_acodec_tx 1 1 0 12288000 0 0 50000
- After:
clk_i2s0_8ch_rx_src 1 1 0 594000000 0 0 50000
clk_i2s0_8ch_rx_frac 1 1 0 12288000 0 0 50000
clk_i2s0_8ch_rx 1 1 0 12288000 0 0 50000
mclk_i2s0_8ch_rx 1 1 0 12288000 0 0 50000
clk_i2s0_8ch_tx_src 1 1 0 594000000 0 0 50000
clk_i2s0_8ch_tx_frac 1 1 0 12288000 0 0 50000
clk_i2s0_8ch_tx 1 1 0 12288000 0 0 50000
mclk_i2s0_8ch_tx 2 2 0 12288000 0 0 50000
mclk_sai 0 0 0 12288000 0 0 50000
mclk_dsm 0 0 0 12288000 0 0 50000
mclk_acodec_tx 1 1 0 12288000 0 0 50000
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com >
Change-Id: I223189b6852f2e796eeb01ad4ce957fde7f9a52c
2022-03-28 18:56:33 +08:00
Jon Lin
2547122058
ARM: dts: rockchip: rv1106g-evb1-v10: Support spinand dts
...
Change-Id: I711c7034753c3b659f4af01baebac1f3800c5821
Signed-off-by: Jon Lin <jon.lin@rock-chips.com >
2022-03-28 18:54:47 +08:00
Liang Chen
cfa5feae96
ARM: dts: rockchip: rv1106: add tclk for watchdog node
...
Change-Id: I5fee23f43796f9cf9df5970807860a29ec77a08a
Signed-off-by: Liang Chen <cl@rock-chips.com >
2022-03-28 18:53:18 +08:00
Yandong Lin
e18dd28625
video: rockchip: dvbm: fix dvbm config issue
...
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com >
Change-Id: Ia1abe5b1589fc6e02495c28b01e0ee83ef823f0f
2022-03-28 18:43:22 +08:00
Elaine Zhang
bde6673e74
ARM: dts: rockchip: add vdd_arm node for rv1106-evb-v10
...
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I53bfae86878e0de0b3a32721a7319499bfa71d65
2022-03-28 18:42:02 +08:00
Elaine Zhang
00e0392c18
regulator: pwm-regulator: set init voltage before pwm enable
...
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com >
Change-Id: I37c35eb97dd1e205a4966792acb4df2bb2bf69f1
2022-03-28 18:30:36 +08:00