In the most of the time, the pclk of dfi is turned off. The pclk is only
enabled when the result is retrieved for power saving.
Change-Id: I040a87e0b146694874b15dce3b23e4ddc5e86c1e
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
Configure the power-off timing of each power supply of the PMIC
during normal shutdown through the "shutdown-sequence".
Configure the power-off timing of each power supply of PMIC
during low power forced shutdown through "vb-shutdown-sequence".
Press the RESET button in sleep mode, and the PMIC will power down
and then power on. The PMIC's power on sequence follows
the power on sequence.
Change-Id: Iebd0ea604fe5419dcead8fa75ade1402cabf7461
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
The FUSB302B failed to detect sink devices from SRC_UNATTACHED state
with SRC 180 uA CC current setting, the TCPM and FUSB302 logs like
the below and FUSB302B has no further action.
[ 72.229911] fusb302 IRQ: 0x21, a: 0x00, b: 0x00, status0: 0x23:
[ 72.229993] fusb302 IRQ: COMP_CHNG, comp=true:
[ 72.230212] fusb302 cc1=Open, cc2=Open:
[ 72.230265] tcpm CC1: 2 -> 0, CC2: 0 -> 0 [state SRC_ATTACH_WAIT, polarity 0, disconnected]:
[ 72.230306] tcpm state change SRC_ATTACH_WAIT -> SRC_UNATTACHED [rev3 NONE_AMS]:
[ 72.230345] tcpm Start toggling:
[ 72.237430] fusb302 start drp toggling:
The vendor said that FUSB302B was designed with 80uA for sink
detection which means it can only guarantee FUSB302B will works well
with that setting, so amend the SRC CC current at toggling to fix it.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Change-Id: Iefeb7dd20c03c04832ac82d43cc4f8d9edccbcc6
Set the dsm registers default value so that they can not be changed
as zero with regmap interface.
Change-Id: I1788fe2cabcb65ba09964a79d2fe20c057924839
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
The patch fix no sound when hot rebooting because of registers value mismatch
Change-Id: I6c9b040b3cd025c4e27c391e0f539505e747aaa7
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
1.set lcd low level before set high level
2.set label for lock&err gpio and irq
3.add monitor function for serdes important register
Signed-off-by: Luo Wei <lw@rock-chips.com>
Change-Id: I6e0ee19de04dec87fd356a6f5cb046612bec3451
Since the PDM mic has dc signal, the signal will be recorded as 0
when gain is too large. The dc and voice signals will be enlarge
to maximum value and they will be filtered to zero by high pass filter.
Change-Id: I4973da38a28028dff502e3bc7f97030a3bde7b8f
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Kernel-6.1 add new api drm_edid_connector_update
can parse hdmi2.1 edid information. Kernel-5.10 old
drm_add_edid_modes in kernel-6.1 is limited to parse
hdmi2.0 edid information. So we must use drm_edid_connector_update
instead of drm_add_edid_modes.
Change-Id: I421049f38ffdec1cb136a02d9100eafd92c1f0a6
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This is the 6.1.99 stable release
* tag 'v6.1.99': (1975 commits)
Linux 6.1.99
Revert "usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRB"
Linux 6.1.98
nilfs2: fix incorrect inode allocation from reserved inodes
null_blk: Do not allow runt zone with zone capacity smaller then zone size
spi: cadence: Ensure data lines set to low during dummy-cycle period
nfc/nci: Add the inconsistency check between the input data length and count
kbuild: fix short log for AS in link-vmlinux.sh
nvmet: fix a possible leak when destroy a ctrl during qp establishment
platform/x86: touchscreen_dmi: Add info for the EZpad 6s Pro
platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6" tablet
regmap-i2c: Subtract reg size from max_write
nvme: adjust multiples of NVME_CTRL_PAGE_SIZE in offset
dma-mapping: benchmark: avoid needless copy_to_user if benchmark fails
nvme-multipath: find NUMA path only for online numa-node
ALSA: hda/realtek: Enable headset mic of JP-IK LEAP W502 with ALC897
fs/ntfs3: Mark volume as dirty if xattr is broken
i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
clk: mediatek: mt8183: Only enable runtime PM on mt8183-mfgcfg
clk: mediatek: clk-mtk: Register MFG notifier in mtk_clk_simple_probe()
...
Change-Id: Ibf9c2caa3bbffb7a960e82ec6c2b0b497753778c
Conflicts:
arch/arm64/boot/dts/rockchip/rk3328.dtsi
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
drivers/phy/rockchip/phy-rockchip-snps-pcie3.c
drivers/pinctrl/pinctrl-rockchip.c
drivers/usb/gadget/function/u_audio.c
include/linux/usb/quirks.h
mm/cma.c
sound/soc/rockchip/rockchip_i2s_tdm.c
If not sync regcache when dsm resume, the dsm card occur error
since the value in cache is same with what we set. So that the
value will not sync to dsm registers.
error log:
aplay: pcm_write:2178: write error: Input/output error
rockchip-sai 2a640000.sai: Failed to clear 1
Change-Id: Ia6318dedf12ae696cf05ae59055427932b1638ea
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
vp->mask must initialize correctly, otherwise after suspend and
resume, the software state[vp->mask] maybe different with hardware
state and lead to close win error or timeout.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Icc605878b6ac74b24dde44f7933bc761ccdcd526
Because I2STX_CKE has been set to disable in rk817_codec_shutdown,
then I2STX_CKE_EN should be set when recording.
Change-Id: If1201ad12e33dca21eb443bd32750a73c1fa9f67
Signed-off-by: Binyuan Lan <lby@rock-chips.com>
Some devices like FPGA or AI cards need a long period of time
after powering up and releasing #PERST. This is due to the slow
firmware loading process happened inside the devices. Without this
support, link will be failed during the limitation.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I01ecb64ca1b1a1917eb5434c374517387ab11ffc
implicit declaration of function ‘random_ether_addr’
Change-Id: Ibf8c391b43f25b638062686a5e4f396bf79223f0
Signed-off-by: Jianlong Wang <jianlong.wang@rock-chips.com>