ARM: shmobile: defconfig: Enable HDMI input
Subsystems (2)
cover ARM: shmobile: defconfig: Enable HDMI input
Hi,
Now that the DT updates for HDMI in are in renesas-drivers I think it's a good time to enable the configuration needed to use HDMI input with shmobile_defconifg.
Niklas Söderlund (2):
ARM: shmobile: defconfig: Enable CONFIG_VIDEO_ADV7604
ARM: shmobile: defconfig: Enable CMA for DMA
arch/arm/configs/shmobile_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
Signature · 1 line
2.10.2
PATCH 1/2 ARM: shmobile: defconfig: Enable CONFIG_VIDEO_ADV7604
The adv7612 is used on Gen2 boards (Lager, Koelsch and Gose) for HDMI input. Enable support for this chip in shmobile_defconfig.
--- arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/shmobile_defconfig +1 -0
@@ -144,6 +144,7 @@ CONFIG_VIDEO_RENESAS_JPU=y CONFIG_VIDEO_RENESAS_VSP1=y # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set CONFIG_VIDEO_ADV7180=y +CONFIG_VIDEO_ADV7604=y CONFIG_VIDEO_ML86V7667=y CONFIG_DRM=y CONFIG_DRM_I2C_ADV7511=y
Signature · 1 line
2.10.2
PATCH 2/2 ARM: shmobile: defconfig: Enable CMA for DMA
In reply to Niklas SöderlundTo be able to use VIN with larger frame sizes CMA memory are needed for DMA. If this is not enabled trying to capture large frames can result in errors such as:
rcar-vin e6ef0000.video: dma_alloc_coherent of size 8388608 failed
A CMA area of 64MB are needed for v4l2-compliance to pass on all formats on the largest possible frame size of 2048x2048.
--- arch/arm/configs/shmobile_defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm/configs/shmobile_defconfig +3 -0
@@ -32,6 +32,7 @@ CONFIG_HAVE_ARM_ARCH_TIMER=y CONFIG_NR_CPUS=8 CONFIG_AEABI=y CONFIG_HIGHMEM=y +CONFIG_CMA=y CONFIG_ZBOOT_ROM_TEXT=0x0 CONFIG_ZBOOT_ROM_BSS=0x0 CONFIG_ARM_APPENDED_DTB=y
@@ -57,6 +58,8 @@ CONFIG_CAN_RCAR=y CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=64 CONFIG_SIMPLE_PM_BUS=y CONFIG_MTD=y CONFIG_MTD_BLOCK=y
Signature · 1 line
2.10.2
Quoted 5 lines · Niklas Söderlund
Hi,
Now that the DT updates for HDMI in are in renesas-drivers I think it's a good time to enable the configuration needed to use HDMI input with
shmobile_defconifg.
Thanks, I have queued these up for v4.11.