According to the signal test results, it is recommended
to configure the value of TX DLL TAP as 0x9 for HS400.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I4f999020a2d1c1d415894fb58b63b55f700a1531
Add new ioctl cmd RIOCCRYPT_RSA_CRYPT for rsa encrypt/decrypt.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: If92e1a71b1ce4fcf6b414736cf6405a1d7b6334c
Support call same level initcall async in kthread.
Introduce kernel parameter "initcall_nr_threads" control how many threads.
initcall_nr_threads default is 0, which disable intcall async.
initcall_nr_threads=-1, auto selected the number of threads.
Save boot time about 29ms on rk3126-bnd-d708 board.
Change-Id: I04663d22500bc1d65ca5841fb08e4b57083d6b5e
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
The register of MMU_DTE_ADDR may effect for delay several us.
Change-Id: I74397a914313d9fe3d7c93de7b94b4b38dc61c7b
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
+CONFIG_FORCE_MAX_ZONEORDER=9
Set max zone order to 9, make the pagelock to be 1MiB size.
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: If013d2dc092c85c89b325b4c646c814f9cf94fef
RV1103 doesn't have VBUSDET pin for the usb phy to
detect the USB VBUS, and the default status of bvalid
is inactive(low level), it cause the dwc3 controller
fail to start usb device connection, so it needs to
set bvalid to high by grf for RV1103.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: If63c68270c14ff8fa402805a33ce3061f6f796ab
This patch enable the USB configs for basic device and
host functions.
With this patch, it also enable CONFIG_CONFIGFS_FS because
the USB Gadget F_FS depends on it.
I use size cmd to calculate the increased static memory.
before:
MODULE BYTES
kernel/drivers 1212734
kernel/fs 699540
after:
MODULE BYTES
kernel/drivers 1506379
kernel/fs 712940
And if we disable the CONFIG_DEBUG_FS, it can save 11441 Bytes
for xhci-debugfs driver.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Id23410e66c49fb54663e34a23e09e142d49c7dd9
In a typical read transfer, start completion flag is being set after
read finishes (notice ipd bit 4 being set):
trasnfer poll=0
i2c start
rk3x-i2c fdd40000.i2c: IRQ: state 1, ipd: 10
i2c read
rk3x-i2c fdd40000.i2c: IRQ: state 2, ipd: 1b
i2c stop
rk3x-i2c fdd40000.i2c: IRQ: state 4, ipd: 33
This causes I2C transfer being aborted in polled mode from a stop completion
handler:
trasnfer poll=1
i2c start
rk3x-i2c fdd40000.i2c: IRQ: state 1, ipd: 10
i2c read
rk3x-i2c fdd40000.i2c: IRQ: state 2, ipd: 0
rk3x-i2c fdd40000.i2c: IRQ: state 2, ipd: 1b
i2c stop
rk3x-i2c fdd40000.i2c: IRQ: state 4, ipd: 13
i2c stop
rk3x-i2c fdd40000.i2c: unexpected irq in STOP: 0x10
Clearing the START flag after read fixes the issue without any obvious
side effects.
This issue was dicovered on RK3566 when adding support for powering
off the RK817 PMIC.
Signed-off-by: Ondrej Jirman <megous@megous.com>
Reviewed-by: John Keeping <john@metanate.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
(cherry picked from commit 02fe0fbd8a)
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I9cf23d9a9bc9560a421c6fe13a82a6637d8a1432
For kernel 5.10, the interface functions of sign and
verify have changed and are not mandatory.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I2b94eaeaa5d0d3dd99ba86dd418338d9502c8aa5
* LPCM: BPCUV insertion by hw
* NLPCM/HBR: BPCUV insertion from stream
when BPCUV is from stream, we should not enable hw channel
status override which will replace CS with the hw one.
This fixes DD+ bitstream.
when BPCUV generated from HW, PBIT_FORCE_EN should be set
for Parity bit calculated internally.
This fixes no sound on some display devices.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3aa0390d9dd7d217853394c74576749c36b84720
Increasing the sending frequency of infoframe improves
compatibility.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I095495d8d6641e7263de6cf2d3359f645aac2d6b
1. Get timing from hdmirx ctrl.
2. If the timing is error, get timing from dma.
3. If get timing error from dma, re-execute hotplug process.
Signed-off-by: Chen Shunqing <csq@rock-chips.com>
Change-Id: Iae43386a8d45cb0a9338a1c8b32a122b6b377ca2
Support use reserved RAM memory as a block device.
Change-Id: I64367a2cb67467425a0e4c6753fa5af0a245405d
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
It support skip reference fb at vop driver by
adding add skip-ref-fb at vop dt node.
Change-Id: I7a0a91d905ba4907f8f0720e1997e9ee9c5c65c7
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>