summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend35
1 files changed, 32 insertions, 3 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend
index c7c7f96..b35a8e1 100644
--- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas_4.9.bbappend
@@ -9,6 +9,8 @@ COMPATIBLE_MACHINE_v3hsk = "v3hsk"
SRC_URI_append = " \
${@bb.utils.contains('MACHINE_FEATURES', 'h3ulcb-had', ' file://hyperflash.cfg', '', d)} \
${@base_conditional("SDHI_SEQ", "1", " file://sdhi_seq.cfg", "", d)} \
+ file://qspi.cfg \
+ file://imr.cfg \
file://0001-spi-sh-msiof-fixes.patch \
file://0002-spi-spidev-add-spi-gpio-into-spidev.patch \
file://0003-spi-spi-gpio-fix-CPOL-mode.patch \
@@ -87,7 +89,28 @@ SRC_URI_append = " \
file://0107-V3H-device-tree-Add-VIP-devices-IRQs.patch \
file://0108-can-mcp251x-add-reset-gpio-support.patch \
file://0109-ASoC-R-Car-fix-incorrect-behavior-with-PulseAudio.patch \
- file://0112-ARM64-dts-renesas-ulcb-Make-AK4613-sound-device-name.patch \
+ file://0110-Renesas-clk-Add-RPC-clock-source.patch \
+ file://0111-Renesas-r8a7798-Add-RPC-clock.patch \
+ file://0112-Renesas-r8a7798-pinctrl-Add-RPC-pin-control.patch \
+ file://0113-Renesas-RPC-Add-RPC-driver.patch \
+ file://0114-R8A7798-dtsi-Add-RPC-node-to-dtsi.patch \
+ file://0115-R8A7798-condor-dts-Add-qspi-flash.patch \
+ file://0116-spi-nor-Add-s25fs512-flash-support.patch \
+ file://0117-spi-nor-Add-flash-array-support.patch \
+ file://0118-r8a7797-clk-Add-rpc-clock.patch \
+ file://0119-r8a7797-pinctrl-Add-qspi-pins.patch \
+ file://0120-r8a7797-dtsi-Add-rpc-node.patch \
+ file://0121-r8a7797-eagle-dts-Add-spi-flash-node.patch \
+ file://0122-r8a7797-v3msk-r8a7797-v3mzf-dts-Add-spi-flash-s25fs5.patch \
+ file://0123-V3HSK-dts-Add-qspi-node.patch \
+ file://0124-RPC-Hyperflash-Add-devicetree-support.patch \
+ file://0125-r8a7797-pinctrl-Add-pin-function-for-hyperflash.patch \
+ file://0126-r8a7798-pinctrl-Add-pin-function-for-hyperflash.patch \
+ file://0127-IMR-UIO-Driver-initial-version.patch \
+ file://0128-rcar_imr-v4l2-driver-Fix-module-support.patch \
+ file://0129-Add-cropping-handling-to-VSP-alpha-planes.patch \
+ file://0130-Add-RAW-sensors-MBUS-formats.patch \
+ file://0131-ARM64-dts-renesas-ulcb-Make-AK4613-sound-device-name.patch \
"
SRC_URI_append_h3ulcb = " file://ulcb.cfg"
@@ -163,7 +186,13 @@ KERNEL_DEVICETREE_append_v3hsk = " \
renesas/r8a7798-v3hsk-vbm-v2-isp.dtb \
"
+# Prefer V4L2 rcar_imr driver over UIO uio_imr
+KERNEL_MODULE_AUTOLOAD += "rcar_imr"
+KERNEL_MODULE_PROBECONF += "rcar_imr"
+KERNEL_MODULE_PROBECONF += "uio_imr"
+module_conf_uio_imr = 'blacklist uio_imr'
+
# V3H VIP devices
-KERNEL_MODULE_AUTOLOAD_r8a7798 += "uio_pdrv_genirq"
-KERNEL_MODULE_PROBECONF_r8a7798 += "uio_pdrv_genirq"
+KERNEL_MODULE_AUTOLOAD_append_r8a7798 += " uio_pdrv_genirq"
+KERNEL_MODULE_PROBECONF_append_r8a7798 += " uio_pdrv_genirq"
module_conf_uio_pdrv_genirq_r8a7798 = 'options uio_pdrv_genirq of_id="generic-uio"'