enable the lt7911d DP/type-c to MIPI-CSI2 bridge driver used for
rk3588s-evb ExtBoard
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I1a48f1f4c375e1d32992ba104fd6a5619486b08c
TRNG_V1_STAT_GENERATING is generated abnormally, but the
corresponding TRNG_V1_ISTAT_RAND_RDY flag cannot be triggered
in sometimes.
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Change-Id: I446b8d521075057d07f842041f790075aec402a1
combophy relies on rockchip,pcie1ln-sel-bits to specify
lane mux for each devices. During system PM, genpd will
be turned off, so lane mux information will lost. So we'd
better move it to rockchip_combphy_pcie_init() as it will
be called both for probing and resuming.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I69a0754d7f67a95d97bde71ef629135a59a2c64b
only disable capture_en may cause memory access error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Ia3c7e5a07b3d95c762735e1b73170fb1911f48da
make ARCH=arm64 rockchip_linux_defconfig rk3588_nvr.config
Signed-off-by: Mark Huang <huangjc@rock-chips.com>
Change-Id: I94f8a89aff5795817690b8d6b8796f9cb9c0b70a
Fixes: ca885383eb ("drm/rockchip: dw-dp: support dynamic binding to different vp port")
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I94654e6eb916d688d9fe46544f60bd02e8d8cb7b
ACR located at Packet Scheduler which belongs to VIDQPCLK domain.
So, the related clk should be enabled before register access.
Actually, There are three CLK domain (AUDCLK, VIDQPCLK, LINKQPCLK)
related to Audio. So, do check clk status before config audio.
Maybe the better way should be spliting hdmi regmap into several parts
which managed by related clk domain in future.
e.g.
devm_regmap_init_mmio_clk(dev, "aud", regs, AUD_REGBANK);
devm_regmap_init_mmio_clk(dev, "vidqp", regs, VIDQP_REGBANK);
devm_regmap_init_mmio_clk(dev, "linkqp", regs, LINKQP_REGBANK);
...
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ib497d92a73d99d9f38c4617f615f02c705b82ae7
We move all the probe stuff to kthread so that it won't block
the system to go on probing other drivers. But that introduced
a bug that PM calls would not be removed by driver core. As each
platform driver uses the same PM callbacks for all device instances.
So add device_release_driver if it fails to probe devices.
Fixes: 79ac46bdea ("PCI: rockchip: dw: Add kthread to probe PCIe devices")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I9d6ba448a87defa8d924927f1bfcff51c889e1a0
When phy status is none, it mean that the power off
process is already be run. if the phy power off
function is called again before power on, ignore it.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I34c3f2b92076f7c27a1537d3c78000781de61179
when we set mode change flag and the phy is idle, here
will not clear the mode change flag when power on, we
need clear it.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: I900d5c37a2e83212eb6461d714a653c93da923c7
Enable lt6911uxc HDMI to MIPI CSI-2 bridge driver for hdmi-in
application. Which found on rk3568-evb2-lp4x-v10.
Signed-off-by: Dingxian Wen <shawn.wen@rock-chips.com>
Change-Id: I4ce22f3040dbe55c3236ac3d0ac62f7821011c8d
v0.01.01: fix if plugin_gpio was not used
v0.01.02: modify driver init level to late_initcall
Signed-off-by: Jianwei Fan <jianwei.fan@rock-chips.com>
Change-Id: I3b15bed365552aa0dbaf8a8126400597caa96ed6
Add add heap - "system-dma32" to allocate pages with GFP_DMA32, support cache,
and add heap - "system-uncached-dma32" to allocate pages with GFP_DMA32, but
unsupport cache
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I93bb7c17fc038f52940ddc4facf836637c917bea
rkvenc2 encoder need rcb buffer for H.264 above 4K.
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: Ic1b9b5fafa3e4488d8e993e21335ca8bd7cd5c6f
To classify errors:
RX/TX error count < 128 is CAN_STATE_ERROR_WARNING,
An error frame is sent, enters the active error state.
RX/TX error count < 256 is CAN_STATE_ERROR_PASSIVE,
An error frame is sent, enter passive error state.
RX/TX error count >= 256 is CAN_STATE_BUS_OFF,
can bus off need to restart.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I4a85af3c86c5dfd14e4274832b0fb55ac09c98f7