From patchwork Fri Sep 4 20:01:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758463 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 014D714F9 for ; Fri, 4 Sep 2020 20:03:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2E0020665 for ; Fri, 4 Sep 2020 20:03:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YgYVPwpK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ccG07K7M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2E0020665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mMBodlaxM4LcBRrr2LaqXE24lL68HUn2zIpWxUjiL/k=; b=YgYVPwpKez7JW/O5s6qkY3ZFkw 9O6i6WbRDt+5Rasg6ZwNRFgYeQ9Rn1zwTHepu4UfaCdVoRSrnQ7i/v12a+h1fMmGfwo6CQTDaMnj8 LTUeuyb1NVS1NxpAKQL1JdfGbIe0HubN7pYZGlak2AcRt9B3FVY73loAXKvr/4EKeQcBiTn4YIdWg pAHQ0Provr8SLIL9IAGP2uBpjn32ibJ4YlAOBlfD2mdsYKZaO9qq+vXBTN1WR/xFnT/eV+yY4PbPo eAb+P5h9C5BZ1aWWpTwA0h2/2nqMSkLRIfQ7SZj8D8hj897OfkEmpTdW+jmRZoWrZpFpXAva9LxDx m1lViuhA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuP-0008HR-MR; Fri, 04 Sep 2020 20:02:05 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuK-0008GE-E6 for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:02:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ACLfjKML1F1o+T/dawUEjkfwXCQc5GrM08jPEXndvFI=; b=ccG07K7M+RupOkgoDOENqS+xw1 tDfBQ0rym+/qYJoTYzSQPCoJya0s6NkxsPrGlO9efnr4l5i0NUqGlhXsXX1Gc+Nb6IjCe0co3FgEL NSD6C37Nqa6pEwUPI4B+UfkrcBJfQ2KOSRX8ovpBeHaJHaPwRzLQvYAAjNQ4hGYad8Odvl+Mb6zrV j5Px1VYAqymipv5M8vN4KzO2hundAHE4/IbTc9d9TlriwNL76NSIFOXfOR69jak6hMTt851My9Uqj grrBHIF2y4aXtvESUAwwbuhvtCpz5KvbKhl9W5e5qszxF9UxJWaevc7ru8h5SBOMyk5VvFHjtolaN mxIF8uMg==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHu9-00033x-TW for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:58 +0000 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 084K1Ed9002405; Fri, 4 Sep 2020 22:01:26 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 1/6] media: cedrus: Register all codecs as capability Date: Fri, 4 Sep 2020 22:01:07 +0200 Message-Id: <20200904200112.5563-2-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_375698_7D38E868 X-CRM114-Status: GOOD ( 12.53 ) X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org All codecs should have capabilities. For example "Allwinner V3s" does not support "MPEG2". Signed-off-by: Martin Cerveny --- drivers/staging/media/sunxi/cedrus/cedrus.c | 18 +++++++++++++++++- drivers/staging/media/sunxi/cedrus/cedrus.h | 2 ++ .../staging/media/sunxi/cedrus/cedrus_video.c | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c index bc27f9430..3fd9fd810 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -474,42 +474,58 @@ static int cedrus_remove(struct platform_device *pdev) } static const struct cedrus_variant sun4i_a10_cedrus_variant = { + .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC, .mod_rate = 320000000, }; static const struct cedrus_variant sun5i_a13_cedrus_variant = { + .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC, .mod_rate = 320000000, }; static const struct cedrus_variant sun7i_a20_cedrus_variant = { + .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC, .mod_rate = 320000000, }; static const struct cedrus_variant sun8i_a33_cedrus_variant = { - .capabilities = CEDRUS_CAPABILITY_UNTILED, + .capabilities = CEDRUS_CAPABILITY_UNTILED | + CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC, .mod_rate = 320000000, }; static const struct cedrus_variant sun8i_h3_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED | + CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC | CEDRUS_CAPABILITY_H265_DEC, .mod_rate = 402000000, }; static const struct cedrus_variant sun50i_a64_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED | + CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC | CEDRUS_CAPABILITY_H265_DEC, .mod_rate = 402000000, }; static const struct cedrus_variant sun50i_h5_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED | + CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC | CEDRUS_CAPABILITY_H265_DEC, .mod_rate = 402000000, }; static const struct cedrus_variant sun50i_h6_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED | + CEDRUS_CAPABILITY_MPEG2_DEC | + CEDRUS_CAPABILITY_H264_DEC | CEDRUS_CAPABILITY_H265_DEC, .quirks = CEDRUS_QUIRK_NO_DMA_OFFSET, .mod_rate = 600000000, diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.h b/drivers/staging/media/sunxi/cedrus/cedrus.h index 96765555a..b6032f40c 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.h +++ b/drivers/staging/media/sunxi/cedrus/cedrus.h @@ -28,6 +28,8 @@ #define CEDRUS_CAPABILITY_UNTILED BIT(0) #define CEDRUS_CAPABILITY_H265_DEC BIT(1) +#define CEDRUS_CAPABILITY_H264_DEC BIT(2) +#define CEDRUS_CAPABILITY_MPEG2_DEC BIT(3) #define CEDRUS_QUIRK_NO_DMA_OFFSET BIT(0) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus_video.c b/drivers/staging/media/sunxi/cedrus/cedrus_video.c index 16d82309e..cb4aca5be 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus_video.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus_video.c @@ -38,10 +38,12 @@ static struct cedrus_format cedrus_formats[] = { { .pixelformat = V4L2_PIX_FMT_MPEG2_SLICE, .directions = CEDRUS_DECODE_SRC, + .capabilities = CEDRUS_CAPABILITY_MPEG2_DEC, }, { .pixelformat = V4L2_PIX_FMT_H264_SLICE, .directions = CEDRUS_DECODE_SRC, + .capabilities = CEDRUS_CAPABILITY_H264_DEC, }, { .pixelformat = V4L2_PIX_FMT_HEVC_SLICE, From patchwork Fri Sep 4 20:01:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758459 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 72868925 for ; Fri, 4 Sep 2020 20:03:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4289D20665 for ; Fri, 4 Sep 2020 20:03:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jToZjcHO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="f0iGfRzn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4289D20665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jqhBwfoibcl1e4cPhN1OENBg4PpkpLoed6pdDpnLH1Y=; b=jToZjcHOffE4sKl9N0BxjtYkJl S05ekfzv/1Fne5sAJKlmOKHwL5rl8i5ieKT3ZNfys1BreRliDBsxb8d4M0k4G08kya7HrOjHlKvtH rlk9q7Z+eG0/m1xNLX8SnVQD1vHz+YI72KEr0++xXMOkwk2KJYq0LRyHdkzl8qLFugy4EpGJplQio 25CmJLUmJRMsUigIlmXsbINziZhFd7tXVwY+shOV5twbTBAKCJsnJJJM4d/jjJndmdmjXDmMtHs8m TRC2+ZmnDp32RcaVGuX0qvaVaEstu+c4UooJk1qfIfCTfY0o6xONfdZCLfrjaIMLTrxVSlenSkF2g UtBbhODg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuV-0008IQ-67; Fri, 04 Sep 2020 20:02:11 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuK-0008GH-F4 for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:02:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=cIaXdmbLXzhLrkqGDDwqYvWNLqewAORTVjyr6cg8TlE=; b=f0iGfRznObvS6unSmKUY+beW7A A4+tQ2q9V/QvQKteSQSyM3ouZrYilJonam9+/rbKJZlu2uPtCD2Q5hdc6nSX+XnhgB2CQda1wSdCs ap9rdPXC4jp4d8LuA6TI6XPLwt2jwMQT+S1LR0XpHqmpf0QAPFWCl2CkK1en2eSqvapNy8hXF+kRv 5YQDUSgAgxbs3wqwgDYKmohuuU/ELh52w7hetYGFfle5ERwf4GWSKacVyvbQ7/Fy9y5tksf9m7KNN d7Ncay8h7jBx9RiesxYX5lVyXKaY5lgiFS8UUpGOX/sJXnmVo4HHrSLIkIkt6jsMYbRI4255Iw57W PeVDLYoQ==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuA-00033u-2U for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:58 +0000 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 084K1EdA002405; Fri, 4 Sep 2020 22:01:27 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 2/6] dt-bindings: sram: allwinner, sun4i-a10-system-control: Add V3s compatibles Date: Fri, 4 Sep 2020 22:01:08 +0200 Message-Id: <20200904200112.5563-3-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_524121_34FE48C3 X-CRM114-Status: UNSURE ( 8.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Allwinner V3s has system control similar to that in H3. Add compatibles for system control with SRAM C1 region. Signed-off-by: Martin Cerveny --- .../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml index f5825935f..9577d6c14 100644 --- a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml +++ b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml @@ -33,6 +33,9 @@ properties: - const: allwinner,sun4i-a10-system-control - const: allwinner,sun8i-a23-system-control - const: allwinner,sun8i-h3-system-control + - items: + - const: allwinner,sun8i-v3s-system-control + - const: allwinner,sun8i-h3-system-control - const: allwinner,sun50i-a64-sram-controller deprecated: true - const: allwinner,sun50i-a64-system-control @@ -86,6 +89,9 @@ patternProperties: - items: - const: allwinner,sun8i-h3-sram-c1 - const: allwinner,sun4i-a10-sram-c1 + - items: + - const: allwinner,sun8i-v3s-sram-c1 + - const: allwinner,sun4i-a10-sram-c1 - items: - const: allwinner,sun50i-a64-sram-c1 - const: allwinner,sun4i-a10-sram-c1 From patchwork Fri Sep 4 20:01:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758453 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E42F11599 for ; Fri, 4 Sep 2020 20:02:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1259E2087C for ; Fri, 4 Sep 2020 20:02:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K7Ww0Nbm"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="EZ3JTZzu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1259E2087C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jWCpBp2ATGOTDYXMN6PVEyRsVxB5xvhQOfhwHJQCjCQ=; b=K7Ww0NbmSPynEUaVWAP7ay0nO/ mfb74CDEVjmQE3Eds3y6LWim7uoFrbh61/T1pORIy3tV0F8+olmSCm1CaL7jzqQEq9lyJZiK4T/NG NurUT4s0v1uCCiExK16aZ/5UVOaNiNIgTOnqrgtH5sBOW2M2CPS/4v3aO84wSvx1x5h7OeumvIe3L /77kAzhFJnOnfJCki8eeK9XzOud7VP9JVSA3+ba47gtI16ycRem+vo2HUTxANm5/ZGXzy/E9mka3Y 1r5m+yDL7dIcEnu9Azl706YeCMvyPzI4596enoqz9FHQKTq9ECExHWHafLxTmklZlSC+e4aNcQoB9 hPgsfZWQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuH-0008FT-Rn; Fri, 04 Sep 2020 20:01:57 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuF-0008FC-Dq for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:01:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=fbuuuJi2IAtuXNuL+r2WzwsAGs0tJLeezttyDaB3+z8=; b=EZ3JTZzuJRV+8BZmZd2fs7NxEZ TKGEfZm++xJ3BbJk3iKc6Sy178wRxT9IsMNBgSiNbhKWI50CUpT8zzVyvQRAItJj80lRz3l2u2R1O KLdQs/Gas4F88wGmVYN0g4RSPY59eauTruegu2ma3CuQ2mzpW3qahkRfXPxZUihiJcsYOKHwrbvpq sK4a/AuunmXa5hK+BSAQBPh7MfBvJM6D3e8K4iA4FKqZI1H6+P0ONfe3HC2Yu18wyJ6/pPntcY+kS hHMLAv0t1X5OY8k5KFaNJKnO9KS86EIz9v/KKsdQk3uGeg4wnPgCqWt1A1oypGSZxsnBp1Hr91j67 4C4CFBPw==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHu9-00033z-VI for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:54 +0000 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 084K1EdB002405; Fri, 4 Sep 2020 22:01:27 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 3/6] ARM: dts: sun8i: v3s: Add node for system control Date: Fri, 4 Sep 2020 22:01:09 +0200 Message-Id: <20200904200112.5563-4-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_506138_B21E4E48 X-CRM114-Status: UNSURE ( 9.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Allwinner V3s has system control and SRAM C1 region similar to H3. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index e5312869c..3f18866fb 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -138,6 +138,29 @@ }; }; + syscon: system-control@1c00000 { + compatible = "allwinner,sun8i-v3s-system-control", + "allwinner,sun8i-h3-system-control"; + reg = <0x01c00000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sram_c: sram@1d00000 { + compatible = "mmio-sram"; + reg = <0x01d00000 0x80000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x01d00000 0x80000>; + + ve_sram: sram-section@0 { + compatible = "allwinner,sun8i-v3s-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; + }; + tcon0: lcd-controller@1c0c000 { compatible = "allwinner,sun8i-v3s-tcon"; reg = <0x01c0c000 0x1000>; From patchwork Fri Sep 4 20:01:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758451 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54F1A925 for ; Fri, 4 Sep 2020 20:02:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A348420665 for ; Fri, 4 Sep 2020 20:02:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QR7pLQDz"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="vNktV4NV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A348420665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AcepV8JY5k48B/4iFBbeDh6UoVNQEptTNeJIPzlYo+g=; b=QR7pLQDzFH26zSISeuHBg/geR2 M9mShruqQ8l9b5eE7OWytec24rx85n9XC4fJ4KBPY8swloX+QlhfeRGSTJLnJSBx020mbOEgm9ah/ 9OlFHJqdFt91aJBWb2EwMxJwigGNcQ+OxuM0vz4dhaClAYBoDyDGEI5NvSjhbaNRC8KtIRFu28GyX lPxgxbSQEKs++McqRAGrPPPjuFyZjI8EVA116ciy5+oGpj6LCw2o4g2TYzqBgUClMtYNkrySLhVyq OwAwFpopclD0eFY8KJKeJGSDkrj/2ha0n0bziOPKiTjkaTJmPG+aOn+esa6rrRaCvtskXSv6sFrmU kNykr0ow==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuO-0008HD-7z; Fri, 04 Sep 2020 20:02:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuK-0008GF-E6 for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:02:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EPMzMJqQZsHr7o7e0b2q/sitCPS7PuaCujDRyyD5fL0=; b=vNktV4NVo3fsvI6UfhAeMZ/9pH gk+nm4a/XYaClAm8DtorKIwTsY8FRil0RIYMy6hMYfH+bmKW2ArpwU4IdaJYAh1oHzp9ydeEYtW8T v2uf5GtMLjjdnwLpKx3SxfA6q5I32+cw76PBX4DGYRwdhXP7YH0e3lJM4mNRzpU3HyPCblYR3stBj LqNyeLNT0oULMBn3CJ7CnIpzCY6BfObeiG+xSepn+ipbEvA28jZixeGIflh3v+rZ/d15ZWjTO2kuK 3DHrGz4mI5cAQQHqb7ltJqTo4hRG5Ha31OLLHWtsBPFg9mGtJr2wlnISAtGSZ4A6f28aqgGtogrj/ fqvJsk7A==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHu9-00033t-Sh for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:56 +0000 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 084K1EdC002405; Fri, 4 Sep 2020 22:01:28 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 4/6] media: cedrus: Add support for V3s Date: Fri, 4 Sep 2020 22:01:10 +0200 Message-Id: <20200904200112.5563-5-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_257287_A90EC043 X-CRM114-Status: GOOD ( 10.86 ) X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org V3s video engine runs at lower speed and support video decoder for H.264 and JPEG/MJPEG only. Signed-off-by: Martin Cerveny --- drivers/staging/media/sunxi/cedrus/cedrus.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c index 3fd9fd810..3c4fcef37 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -506,6 +506,12 @@ static const struct cedrus_variant sun8i_h3_cedrus_variant = { .mod_rate = 402000000, }; +static const struct cedrus_variant sun8i_v3s_cedrus_variant = { + .capabilities = CEDRUS_CAPABILITY_UNTILED | + CEDRUS_CAPABILITY_H264_DEC, + .mod_rate = 297000000, +}; + static const struct cedrus_variant sun50i_a64_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED | CEDRUS_CAPABILITY_MPEG2_DEC | @@ -552,6 +558,10 @@ static const struct of_device_id cedrus_dt_match[] = { .compatible = "allwinner,sun8i-h3-video-engine", .data = &sun8i_h3_cedrus_variant, }, + { + .compatible = "allwinner,sun8i-v3s-video-engine", + .data = &sun8i_v3s_cedrus_variant, + }, { .compatible = "allwinner,sun50i-a64-video-engine", .data = &sun50i_a64_cedrus_variant, From patchwork Fri Sep 4 20:01:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758461 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F57814F9 for ; Fri, 4 Sep 2020 20:03:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4CE352084D for ; Fri, 4 Sep 2020 20:03:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TLqr75l2"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="cB1I4N+Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4CE352084D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HI5r22GG8081WBqqybifVs21LVRqNWVM2j2m38ynNPs=; b=TLqr75l26QlwRX8IN47EI8ke0k Dv8tA0mFmZv1Hl4u3F+q6QMhmUfj5wxUI9P4coCpo8dG6Q2+J4NiisC3eyK6idc2KV9zLPrv5SqoS P4aDeoRWp5kuAx5FbSw+enR5QuhJxkgKiTA3XgMo0KxbdB6K8MKhiEA97jK9tsd5DBC6s3ipY8vBR 3jRDSinZBZw5bB2XKxtcWIO8k99a6rgc6QMDYaiA5aLgTtqW2pwbY5e7U0dCtaN6kir37jA85jsFU lAXgH3AwcG63vQKnC0/Wmx1rMVPLpNVPTPuYZEZ5u5+matf7hK/C5xVsDCH5aYqso4X7UGeNcLd0R 9xRZrV1A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuJ-0008Fz-LT; Fri, 04 Sep 2020 20:01:59 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuF-0008FD-Dp for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:01:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=dBv8aP8JoGNm5+WdbiyAj/wGfJV/R50pqtttaLgv1W4=; b=cB1I4N+Z5uHgrFIve8CZLjP27n GUGDNEPIBx+/uJG0W1iKvgvvvWF6cB+HWgYj8sB00A+p6NI5iUDzOcMVe3tfniaRah3blya8sypZO 7M85yy894B/s9nmGcArM+zbqzrjLhu5IDUTa6f4Rt8Gh0aBYdz69boFGKhJXRyjmGuPcGWMPvX4jE lfmJo8oEJf3gg8CeSf0mWOUREUe0IXoUVCCBWDEu0ShQRtDeIpdebNWJGktrg6Vtx7W99qkT8pF1T 99HT8cSEAD91Hr4hqAWVP2HYnQ7NN4oVIEeMdTFs28+I3pC1RZPqJ++tX/20SaKbU/48BI0Unn84G yE6EB7Tw==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHu9-00033r-UM for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:54 +0000 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 084K1EdD002405; Fri, 4 Sep 2020 22:01:29 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 5/6] media: allwinner, sun4i-a10-video-engine: Add V3s compatible Date: Fri, 4 Sep 2020 22:01:11 +0200 Message-Id: <20200904200112.5563-6-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_516023_F827AD81 X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Allwinner V3s SoC contains video engine. Add compatible for it. Signed-off-by: Martin Cerveny --- .../bindings/media/allwinner,sun4i-a10-video-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml index 4cc1a670c..08515c18c 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml @@ -18,6 +18,7 @@ properties: - allwinner,sun7i-a20-video-engine - allwinner,sun8i-a33-video-engine - allwinner,sun8i-h3-video-engine + - allwinner,sun8i-v3s-video-engine - allwinner,sun50i-a64-video-engine - allwinner,sun50i-h5-video-engine - allwinner,sun50i-h6-video-engine From patchwork Fri Sep 4 20:01:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11758455 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B9A68925 for ; Fri, 4 Sep 2020 20:02:18 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 39F532084D for ; Fri, 4 Sep 2020 20:02:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SA5lGT/k"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="thrUYMYB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39F532084D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SjFJjmTXxy8rJCHE7ccPcaBLpHBwDjnNNTFVZl3+uR0=; b=SA5lGT/kjTeWKoK2IT9U9Q3RRZ 4E2G8o6JBs542OqvUGoUf23+P/SLxjhJvwZBbTuQ2u5dEH/+bC7vfMycVl+3jpHuZfne+dPhGW0zB nF9zPvwu7aWeBrTChDZ106ElkwtIxQJjVLgdx1oRN+RhNFLyfBhVPF2PSvtXIHXbU2SvNOfKwdB+q fJfp5L0VxAk+OxQw9CCO+ECCDW4pSdZ7VED30PwcdPgxHbNoeyPhgJ8xEMa3lSSJ/JIk0Jma5Ic+O Qo+/jj/17oIPlvP/a7liO3vILlzaBfYkzl4aQuWBCfJTh1Ni2WznEAb1QbcbREk401Ykixbe7txFS xOEdLpLQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuL-0008Gl-GZ; Fri, 04 Sep 2020 20:02:01 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuH-0008FR-9U for linux-arm-kernel@merlin.infradead.org; Fri, 04 Sep 2020 20:01:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=WESDmOFJyfdaLqf20KoG7B6/wGFxTlaaZk9UCJCWOlM=; b=thrUYMYB3vDTgv7KXa69FIe2kK 8R/ydIUmn2pBVvHSfyQVF3XURf7nqPuoHGakxrb5xtuXLdfWWGreNN1nmbVVCHWBMsb+Ax9JGMgHL GFT+BXnKZH78qzTRMPLiHOo0wrOTDiKRCgYKc9DheIotSv9vUX+MqiataM0ZUGn5eWSw0RO+pWFfX am07kn1hzI8/3qEWUucNg70BA3z0NQjD0wVUoaGPc1YPHGkCPqzs91UO+L9KJURq7zYjueip4SHS3 YS0VJH0l2uID/xnkRAaMVPTYoZMcmyDgcYANuZAPq1bEswE+uJVtszVJ7qYGOtspCp4+1LHes1cC/ 3KWqrNxw==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kEHuA-000340-2W for linux-arm-kernel@lists.infradead.org; Fri, 04 Sep 2020 20:01:56 +0000 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 084K1EdE002405; Fri, 4 Sep 2020 22:01:30 +0200 (CEST) From: Martin Cerveny To: devicetree@vger.kernel.org Subject: [PATCH 6/6] ARM: dts: sun8i: v3s: Add video engine node Date: Fri, 4 Sep 2020 22:01:12 +0200 Message-Id: <20200904200112.5563-7-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200904200112.5563-1-m.cerveny@computer.org> References: <20200904200112.5563-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_210150_504821_E289C110 X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Maxime Ripard , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Martin Cerveny , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Allwinner V3S SoC has a video engine. Add a node for it. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index 3f18866fb..3fb01dc1a 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -195,6 +195,16 @@ }; }; + video-codec@1c0e000 { + compatible = "allwinner,sun8i-v3s-video-engine"; + reg = <0x01c0e000 0x1000>; + clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, + <&ccu CLK_DRAM_VE>; + clock-names = "ahb", "mod", "ram"; + resets = <&ccu RST_BUS_VE>; + interrupts = ; + allwinner,sram = <&ve_sram 1>; + }; mmc0: mmc@1c0f000 { compatible = "allwinner,sun7i-a20-mmc";