Change the variable type to 'unsigned long long' to represent the full 4GB space
Change-Id: I93f3fddbede0ebcd08dfce9c8103798554875c30
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Because address 0 of IOVA is allowed when iova_alloc,
don't treat 0 as a invalid IOVA address when unmap/sync
Change-Id: I3ddccbc621db423214fc69bb36c9a1b7b9c6e684
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Due to the maximum bitmap size limit of 4KB and the restriction
on cross-bitmap allocation requests, a single IOVA allocation cannot
exceed 128MB. This does not meet the requirements of the NPU.Increase
the bitmap size to 64KB will allow a maximum single IOVA allocation
of 2GB to address this issue.
Change-Id: I38cbdef5622e049aa0bc08009707ad60943dfd42
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Modify to the correct waiting time. By default, the slave ready
must be confirmed by the ready signal, otherwise the function can
only be realized by time redundancy.
Change-Id: I721979a6bacc4cb2b58f434156ecb7b399a1dfb7
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.Support 32bit data format.
2.Get the real lrck frequency.
3.Disable the lrck filt.
Change-Id: I51aeb6888185568d067046397fd8339fbd366f0b
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Switch the fiq-debugger driver to use IRQ mode instead of FIQ mode on
RV1126B platforms. This change is necessary because:
1. The Trust Zone implementation of fiq-debugger is still under validation
2. IRQ mode provides more stable operation during early bring-up
3. Prevents potential system instability from FIQ handling conflicts
Change-Id: I937182a5e0fe22ffafd0972a3834b83c2db0c16c
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
The 'ADCL ADCR DACL DACR' need to use 2ch/32bit format, for example:
arecord -Dhw:0,0 -c 2 -r 48000 -fs32_le -t raw /tmp/record_2ch32bit.pcm
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I93cba43c4e18eee4d82819c6036667d0a427f0e5
And fix missing 0x1f for 32bit for VDW_T(R)X.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I885a2b289bd37461567cedf284f7326bfb3929c8
(1) sdr2hdr_tf use software config instead of hardware init;
(2) sdr2hdr_bt1886eotf dst range use 500 nit;
(3) sdr2hdr_bt1886eotf y0-y43 must multiply by 2 due to some special IC designs.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I58afff82c49f6ebbedad350bccc383e9fad11c2f
Notify linux userspace hdmi has been plugged in or out and
audio needs to be reset.
Fixes: b84c5d0c81 ("drm/bridge: synopsys: dw-hdmi-qp: Only set extcon status when hdmi plug/unplug")
Change-Id: I7e7f3da2849ae4bb70d838281001a4ead2b7c03a
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Signed-off-by: XiaoTan Luo <lxt@rock-chips.com>
1\ fix rmii_pins for rxer is not used in rmii
2\ regulators for serdes should be always on
3\ add rk3358m-automotive-ddr3-v11-linux-tb
Change-Id: Ic12c214a51ad023738ee98b4d202742640de1ab9
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com>
According to sii902x datasheet, the TClkSel (Bit[7:6] of reg 0x08,
that is SII902X_TPI_PIXEL_REPETITION) selects the factor by which
the input clock must be multiplied to give output clock frequency.
Some interlace mode may not set DRM_MODE_FLAG_DBLCLK flag like 1080i,
these mode should not enable CLK_RATIO_2X.
This patch make sure we only set CLK_RATIO_2X when the mode has
DRM_MODE_FLAG_DBLCLK flag.
Change-Id: I1cc98693c9c8348667fabddc13d8f5ac4e689e09
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>