Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1000577pxk; Sat, 12 Sep 2020 07:32:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwExaxCORDiA1lfu8cWniD45OmwT1zYAoOrlQSHOByMMW6y9mv1dxBlqu16MBPxCMPpgNay X-Received: by 2002:a17:906:3495:: with SMTP id g21mr6097734ejb.121.1599921155494; Sat, 12 Sep 2020 07:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599921155; cv=none; d=google.com; s=arc-20160816; b=0RIJztPRVmtoPJtfSD3Ddx6Gj9c7vOVC2LdoSpVrMA4hCw+80Y+TcDSRzqtDTdUSBK yTus6qfQITBWJhSSImLzs1i5hEw3C3iLEQE8+Ez+cAbGA0HMjRxFi7G5kySsuZnZmgwS hOWWvQusUItJk4w3kcyafX/5KY3YZuk+bNmE6Aenoyu0VTLiGHM1q35JI9bdUwN+Ywxp OLBx4FbiU491En6TPoz+VYNborkx9b0mQwpQCgdn2652/xGF7/6Ebk35bPMy3zLlAoM/ t9rTs2kWw8HUXOZvLFH3uT3E+6ykIAcMNGKRFPj7yHzIRxagwJ7rMuVNMavY6Ir0BoaU /v8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ovtqQOMJGGWQfb2O95/HtAquM2cUy0+G+45S7PFlOOU=; b=PleOCXgSLbK0FBILwgmZZuVoBT82xmJZHgvKfdTgxLNSvbgmLyvuh1A1ddx7KpFi65 6DOgsDIjWIhI4f17cSFVYU2HX1qHsRrxKCvblqDnW9WynhSuOrbwO27QeTVKTPAD5pb6 qeRbtyPNZpW+9GU6K1f390uCk4xOqXdoqZSJuqHXQE2vaS6x90N72Pu92Haw76FaRA3p IRWI2ROV5O6Kp57SZhNcygt+b7ZYX/wNX6A8ZEqj93W6fJZHz6TxXy1Mx4pEekHULYaS E8nikpSFy3Gcgq2hpGQqSJzFudAuGammvzzHbnd/3amAatSsKdzzgkXmDfU/V8Cfe+hc rE/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si3348973ejd.289.2020.09.12.07.32.10; Sat, 12 Sep 2020 07:32:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725869AbgILObW (ORCPT + 99 others); Sat, 12 Sep 2020 10:31:22 -0400 Received: from gw.c-home.cz ([89.24.150.100]:33021 "EHLO dmz.c-home.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725846AbgILObT (ORCPT ); Sat, 12 Sep 2020 10:31:19 -0400 Received: from ubuntu1804.c-home.cz (unifi.c-home.cz [192.168.1.239]) by dmz.c-home.cz (8.14.4+Sun/8.14.4) with ESMTP id 08CEUtMx007223; Sat, 12 Sep 2020 16:31:01 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Cc: Martin Cerveny , Chen-Yu Tsai , devel@driverdev.osuosl.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Mauro Carvalho Chehab , Paul Kocialkowski , Rob Herring Subject: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder Date: Sat, 12 Sep 2020 16:30:46 +0200 Message-Id: <20200912143052.30952-1-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org First patch extends cedrus capability to all decoders because V3s missing MPEG2 decoder. Next two patches add system control node (SRAM C1) and next three patches add support for Cedrus VPU. Tested on "Lichee Zero" V3s platform with testing LCD patch ( https://github.com/mcerveny/linux/tree/v3s_videocodec_v4 ) and V4L2 raw API testing utility ( https://github.com/mcerveny/v4l2-request-test ): - enabled LCD (DRM dual VI and sigle UI planes) - added RGB panel - enabled PWM There is low memory on V3s (64MB) and maximum must be available to CMA: - CONFIG_CMA_SIZE_MBYTES=28 - add swap to swapout other processes - decrease buffers in v4l2-request-test (.buffers_count from 16 to 6) Only H.264 decoder working - MPEG and H.265 unsupported by V3s, JPEG/MJPEG still unimplemented, encoder unimplemented best regards, Martin Changes since v1: - patch 0005 rename - added testing description Martin Cerveny (6): media: cedrus: Register all codecs as capability dt-bindings: sram: allwinner,sun4i-a10-system-control: Add V3s compatibles ARM: dts: sun8i: v3s: Add node for system control media: cedrus: Add support for V3s dt-bindings: media: cedrus: Add V3s compatible ARM: dts: sun8i: v3s: Add video engine node .../allwinner,sun4i-a10-video-engine.yaml | 1 + .../allwinner,sun4i-a10-system-control.yaml | 6 ++++ arch/arm/boot/dts/sun8i-v3s.dtsi | 33 +++++++++++++++++++ drivers/staging/media/sunxi/cedrus/cedrus.c | 28 +++++++++++++++- drivers/staging/media/sunxi/cedrus/cedrus.h | 2 ++ .../staging/media/sunxi/cedrus/cedrus_video.c | 2 ++ 6 files changed, 71 insertions(+), 1 deletion(-) -- 2.17.1