Fixes: c73d891d8e ("mm: optimize readahead for the file with fscrypt")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1db7d429e5ce34330d5c2d6737b520d3b6779977
* commit '73b5dde370957bcfddb30e2ac5a3cd4f56197824': (223 commits)
MALI: bifrost: Not to call kbase_ipa_reset_data() if rockchip simple-power-model is used
arm64: dts: rockchip: add camera dtsi on rk3562-evb2-ddr4-v10-linux.dts
arm64: dts: rockchip: Assign VOP_ACLK to 750MHZ for rk3588-linux.dtsi
pwm: rockchip: enable dclk scale function in oneshot mode
soc: rockchip_system_monitor: Fix TPYE -> TYPE typo
media: i2c: max96712: version 1.05.00
drm/panel: maxim-max96752f: Fix pin assignment
soc: rockchip: tb_service: unmask mcu_done after all registered cb were finished
arm64: dts: rockchip: rk3588s: Fix low-volt-mem-read-margin
arm64: dts: rockchip: rk3588: Fixed the rkvenc1 init frequency
phy: rockchip: samsung-dcphy: restart rx after apb reset when rx is streaming
fiq_debugger: tty write to tty fifo
ARM: dts: rockchip: rv1106 boards: Add sdmmc idle state support
ARM: dts: rockchip: rv1126: Add sdmmc idle state support
ARM: dts: rockchip: add idle state for sdmmc of rv1106-pinctrl
ARM: dts: rockchip: add idle state for sdmmc of rv1126-pinctrl
media: i2c: max96712: version 1.04.00
media: rockchip: vicap: fixes s_selection, support to set crop area
media: rockchip: vicap: only enum outout formats that terminal sensor support to use
media: rockchip: vicap: add security testing for output format
...
Change-Id: Ie80fc4f1a5e335dccf6aa564515adfd78f69d62f
The current logic to assign the max packet limit for IN endpoints attempts
to take the default HW value and apply the optimal endpoint settings based
on it. However, if the default value reports a TxFIFO size large enough
for only one max packet, it will divide the value and assign a smaller ep
max packet limit.
For example, if the default TxFIFO size fits 1024B, current logic will
assign 1024/3 = 341B to ep max packet size. If function drivers attempt to
request for an endpoint with a wMaxPacketSize of 1024B (SS BULK max packet
size) then it will fail, as the gadget is unable to find an endpoint which
can fit the requested size.
Functionally, if the TxFIFO has enough space to fit one max packet, it will
be sufficient, at least when initializing the endpoints.
Fixes: d94ea53198 ("usb: dwc3: gadget: Properly set maxpacket limit")
Cc: stable <stable@kernel.org>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220523213948.22142-1-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 9c1e916960)
Change-Id: Ib0ab9c04b332470d9c63cbc5c80749655a492ff7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Including rk3562-evb2-cam.dtsi for dual camera configuration in
rk3562-evb2-ddr4-v10-linux.dts
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: If454c0561efd7936a266b9a224bf35f3dc68ba38
On the RK3588 platform, 8K display is an important feature, but it also
increases system power consumption if the product is concerned about
power consumption, 8K can be turned off by default.
Currently, support for 8K display is enabled by default on Linux
platforms, requiring an increase in the aclk of vop to 750MHZ.
Tested on RK3588 EVB, as below:
root@linaro-alip:/# cat /sys/kernel/debug/clk/clk_summary |grep aclk_vop
aclk_vop 1 4 0 750000000 0 0 50000
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I6f4dd01140fe8fc9115ebc4cf8100f84f1592bbf
This is a workaround, an uncertain waveform will be
generated after oneshot ends. It is needed to enable
the dclk scale function to resolve it. It doesn't
matter what the scale factor is, just make sure the
scale function is turned on, for which we set scale
factor to 2.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: If34837194cba89570a58a993d7133a852955f69c
Make sure the next action after the higher priority registrant.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I8bc99294f28aaeb4e574a45d17264cfe3317fbdd
Make sure that the init frequency is within the design range
Fixes: fd4c1a5ee2 ("arm64: dts: rockchip: rk3588: Fixed the init frequency")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I62d9f2c5c87663f17b0f1dbff9b2109d05b5a5fa
It means printf(user) write log to tty fifo, to reduce printf time.
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: Iaf55719e7089a7c3b3638e2976c97868eed3868e
In order to avoid power leak for affacting SD cards, add idle state
to all related boards for RV1106 series and change default state to
normal state for the driver to totally control it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I80089eecb2ce1d41f8aaca9a17f913f5fa971514
In order to avoid power leak for affacting SD cards, add idle state
to all related boards for RV1126 and change default state to normal
state for the driver to totally control it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: If00ed994eb2a467bd5ef16fd52f51b490bea4b27
u64 format should be %llu.
Fixes: db473bd423 ("media: i2c: lt7911uxc: update driver to V0.0X01.0X07")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iadd65d15d690222da7561a9ea67bd70082d79b45
Make sure that the init frequency is within the design range
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I1aea3638e0aa70e425410e71060ce89fa96e1869
Comes from mail "230423: 15:04: ARM support: Yao: ".
This patch and fw_230426 can resolve the occurrence
of "Unhandled Page fault" and CS_FAULTs exceptions
in the stress test "Dvfs+Gl_retrace+Rockx+emmc".
In another mail, Yao said "before any further suggestion or conclusion from RD,
you could temporally WA the issue by disable tiler heap reclaim".
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: If06aa8e207b05f1a277aae9a86d1ff76b9a9f93b
we don't directly add bt-sco cards because it may take some
i2s/pcm, which may use dma, but dmas may limit.
so we just prepare this settings, then if any one who want to
support bt-sco, he/she can just add dts in board-level dtsi.
For example diff in "rk3528-evb1-ddr4-v10.dtsi":
+&bt_sco {
+ status = "okay";
+};
+
+&bt_sound {
+ status = "okay";
+};
+
+&sai0{
+ status = "okay";
+};
The default pcm/i2s setting is:
Format: PCM, dsp_a, MSB first, short sync, rising edge and 1 bclk.
rockchip soc: master; Bt controller: slave
Change-Id: I64e76c2ae4b8449e2ee345587e080b3a70521ed9
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>
Add lt7911d type-c/DP to MIPI CSI-2 bridge dts configuration as an example
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: I3ccd33f0f8ecf991c3c0ea4e6d6574009dc0e04c
This patch adjust the RK3528 U3 Rx squelch input filler
bandwidth to 3'b110 which is used for rx_lfps, reduce the
bandwidth to avoid filtering valid superspeed data.
With this patch, it can fix the issue that Kingston U3 Disk
(idVendor=0951, idProduct=1666, bcdDevice= 1.10) read error
on RK3528 platforms.
Change-Id: Ifa4eac24bbdebe020db356ba45dae146f4df22f1
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch adjust the RK3562 U3 Rx squelch input filler
bandwidth to 3'b110 which is used for rx_lfps, reduce the
bandwidth to avoid filtering valid superspeed data.
With this patch, it can fix the issue that Kingston U3 Disk
(idVendor=0951, idProduct=1666, bcdDevice= 1.10) read error
on RK3562 platforms.
Change-Id: Idb667d159f9dba6b1de0a9ec04af9dae2d065927
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch adjust the RK3568 U3 Rx squelch input filler
bandwidth to 3'b110 which is used for rx_lfps, reduce the
bandwidth to avoid filtering valid superspeed data.
With this patch, it can fix the issue that Kingston U3 Disk
(idVendor=0951, idProduct=1666, bcdDevice= 1.10) read error
on RK3568 platforms.
Change-Id: I27410c5702862df2d8829a2ca3c2c1d9f57885be
Signed-off-by: William Wu <william.wu@rock-chips.com>