Fix compilation errors when building as modules:
ERROR: modpost: module midgard_kbase uses symbol dma_buf_end_cpu_access from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_mmap from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_begin_cpu_access from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_get from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_put from namespace DMA_BUF, but does not import it.
ERROR: modpost: module midgard_kbase uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it.
Change-Id: I36b1f2bb0f1c9018a795d9640f64656a275bfb28
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
* commit '7f71d2776b12d75dababf4dc1a98ca0d8a3205f4':
PCI: rockchip: dw: Support IRQ user
misc: rockchip: pcie-rkep: Change to use pci_request_irq apis.
arm64: dts: rockchip: Covert ciu-drv to ciu-drive for matching the driver
media: i2c: imx415: fix issues for thunderboot
Change-Id: I9f617a032a1c14ec377c93e05bb63fca5376d584
Merge made by the 'ours' strategy.
* commit 'bf10d7edd82707add9e4fdc5328c50ee6c196820':
ASoC: codecs: add rockchip-spi-codec driver support
Change-Id: I1e68b227660bbc85f560d20da3449806b0e047da
Introduce a codec driver to control a remote audio dsp chip by spi.
This patch is running on a rk3588 board with rk3308 adsp board, while the
rk3308 actually is a SoC without a slave spi controller, so the rk3588
needs connect to rk3308 by spi.
Currently, the host(rk3588) uses the audiocontrol to set volume to the
adsp.
Change-Id: Ia07e9def78cfe7441dc03c97124f0532bc9d72bc
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Jun Zeng <jun.zeng@rock-chips.com>
Merge made by the 'ours' strategy.
* commit 'a2d5817390691327851904d86c2a194e5b51030f':
spi: rockchip-slave: Add code
Change-Id: Idbac27af62b858cb2c77f35d05801e317096ec94
1.Implement one msg mechanism
2.Support SRAM extension by dts rockchip,sram property
Change-Id: I0fccc5d4347294488b5382ad3ba5ae72b35610f2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
In order to expand the number of interrupts and achieve independent
services, a specific IRQ USER concept is proposed.
For user:
ioctl PCIE_EP_RAISE_IRQ_USER to raise a dedicated IRQ event
ioctl PCIE_EP_POLL_IRQ_USER to check IRQ event status
Change-Id: I2dd5792a6245d3918dc3d555fccd1601fb9fb22e
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
The driver is using ciu-drive instead of ciu-drv.
They were converted by:
sed -i "s/ciu-drv;/ciu-drive;/g" `grep ciu-drv -rl arch/arm64/boot/dts/rockchip/*`
Change-Id: I7e5be98a46d7eb5d29b5b0fe0280ea8b91c60406
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Merge made by the 'ours' strategy.
* commit '967ccfd802e649563fc1f8cbdf28da65c4e7b354':
ARM: configs: rk3308_linux_aarch32_defconfig: sync from savedefconfig
Change-Id: Ifa1c36d9d227392f1814f6d634932a79152db0fc
Merge made by the 'ours' strategy.
* commit '5525a9cc48ab35c4fdb9905ee7c07137fb756078':
arm64: dts: rockchip: Remove unused quirk for usb dwc3 controller
Change-Id: I5c355249827459dd102ea6b27ad36db0f48b8900
This patch remove unused property "snps,xhci-trb-ent-quirk"
for rockchip platforms.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I34212099c21764dfdd2e42d03f91dbf449e3b0c9
In RK3288/RK3399, there is a problem with the definition of the
`fmt_10` field in the VOP WIN register. The original `fmt_10`
definition conflicts with the `lb_mode` definition.
This will cause the `lb_mode` function to be affected, there may be
problems with incorrect colors displayed, incorrect window sizes,
image flickering, etc.
This patch correct `fmt_10` field to the expected value in TRM.
Change-Id: I0f9f23c459dc5870532e28b74053a9b4dc606de0
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
Introduce a codec driver to control a remote audio dsp chip by spi.
This patch is running on a rk3588 board with rk3308 adsp board, while the
rk3308 actually is a SoC without a slave spi controller, so the rk3588
needs connect to rk3308 by spi.
Currently, the host(rk3588) uses the audiocontrol to set volume to the
adsp.
Change-Id: Ia07e9def78cfe7441dc03c97124f0532bc9d72bc
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Jun Zeng <jun.zeng@rock-chips.com>
Change to use a spi-codec driver for the remote adsp, instead of the old
dummy codec driver.
Change-Id: I44a41dbdfe8a7489cc94d9a8f83a5b5f0d99a4c8
Signed-off-by: Jun Zeng <jun.zeng@rock-chips.com>
For RK356X/RK3588, the VP plane_mask be 0 will have the following two case:
1. The VP is disabled;
2. For some mistake, the VP is enabled but the plane_mask is 0;
This will lead to this crtc register be ignored, So add a few reminders log.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: Ia49db3051e651095350aeba9c2a27ac7086fe06b
Add binding documentation for the spi-rockchip-slave driver. This
allows a rockchip SPI to be used to slave interface.
Change-Id: I5bafd86a96f605b97c89b90f647a1bcac0e5f8a9
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
1.Implement one msg mechanism
2.Support SRAM extension by dts rockchip,sram property
Change-Id: I0fccc5d4347294488b5382ad3ba5ae72b35610f2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This patch remove unused property "snps,xhci-trb-ent-quirk"
for rockchip platforms.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I34212099c21764dfdd2e42d03f91dbf449e3b0c9
This reverts commit fdc8aea2c0.
This patch remove unused property "snps,xhci-trb-ent-quirk"
for rockchip platforms.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I849019919feecd1a35a26e5d668e53a8d8bcae2e
This patch remove unused property "snps,xhci-trb-ent-quirk"
for rv1126 usb controller.
Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: Ic6a713261219cb75b7739f2db8ff5dddfafe67b1
The PCIe dbi base is accessible in userspace by mmap, then the
elbi_data and bar0 physical address is visible from dbi base mmap
space.
Change-Id: I5abd5921d2c7fd361e098ded568a470ff1b67ad2
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
It's recommended to use internal pulldown, so we enable it via FW.
However commit 8b5c2b45b8 ("phy: rockchip: set pulldown for strobe line in dts")
disabled the pulldown settings if no dts property available. This
breaks all the existing RK3399 boards without external strobe pulldown
resistor. Fix is by adding rockchip,enable-strobe-pulldown to
rk3399.dtsi
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I510614e2029de293dfce48c78b1928244370b921