From patchwork Sat Sep 12 14:30:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11771927 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 BDD1F6CA for ; Sat, 12 Sep 2020 14:33:12 +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 8ADC620855 for ; Sat, 12 Sep 2020 14:33:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="REKcvgRc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ReUQkpTN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8ADC620855 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=5YhNX08/Y1weIW61vX5aPx1+I1yyaspx/PHXzoWjgEE=; b=REKcvgRcwimkM6kc5rigjm/2z3 qyHUZfGYAN3EwnIk92f5/33XvszK75NGVlriY3Le9Repez1U0OuHKRBILBh9drDM+iY2cKidIJj2M 5jP5CG4lf6sdHQ2kPeJLrDbB7mBMVsl74JAVrjxjXoR6626RYJTezVH0cVFbYuYYenelM8Q4dG9je P3tg7RxQvxPjJZtMSVDJJx8bwidLQfxFS5vYpKImszRdTXYoFULwIyIPV6P2b4p5sT0+a9ia233SX V3p7k5rV0Ww4dUnStiHXO97LaUWS7td8malzzAhJvi+v9YSxCBODU4pchb+vvbLjrU0bDOLUCJ2Zn dn7A2bWw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kH6Yy-0001cd-Fj; Sat, 12 Sep 2020 14:31:36 +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 1kH6Yt-0001bc-Ic for linux-arm-kernel@merlin.infradead.org; Sat, 12 Sep 2020 14:31:31 +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=EotNEZyPnocLQvffVJeTyQgSkkUTg+DvHnBsPQ9i22s=; b=ReUQkpTNSeGfygmVpJo4x3eY6j gVmdM+7tGj4tqTahiFFDNkYOVRpUJ81w/L1jGe8lQLEVcwhKeBY0eZ8+tu5mnX6bbimS+oglwfIUQ IKRsys2yp3IGO5/AMehW07cx+YFNSuCQT3TLl6J4j++AQo0xg4enmUvr7VGT2oPd/TiMok2UmuEir ZE+chcbB69BOe53Oohjm0USMguVhMH3Cdw57OdadzW+K1JHBTH5ayzVR0IARqTvDPY8kW4SydXwyy y7EYL0apsX93LGUVpSRk0RgpY2ImmMKWknTGAnddKhCcPI/7+9D+rduC5ZHWYMrrnUWAntWuVP8cp fa/Zi2Tg==; 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 1kH6Yp-0006jI-63 for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 14:31:30 +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 08CEUtN0007223; Sat, 12 Sep 2020 16:31:01 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v2 1/6] media: cedrus: Register all codecs as capability Date: Sat, 12 Sep 2020 16:30:47 +0200 Message-Id: <20200912143052.30952-2-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200912143052.30952-1-m.cerveny@computer.org> References: <20200912143052.30952-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_153127_572254_3C09482C X-CRM114-Status: GOOD ( 13.06 ) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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 7c6b91f0e780..ae7e154eca9f 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -479,42 +479,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 96765555ab8a..b6032f40cde8 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 16d82309e7b6..cb4aca5be415 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 Sat Sep 12 14:30:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11771925 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 9DAB2112E for ; Sat, 12 Sep 2020 14:33:11 +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 6DEA020855 for ; Sat, 12 Sep 2020 14:33:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BqU/fY/Q"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="uqdGWftf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6DEA020855 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=xIwBsw+AILtHEG1i/nne9nuKM41n0143WhlQKV3p8no=; b=BqU/fY/Qsy9ub9EiUbcGQCxacI J8vVDQHPHm/nPwbwsz98uIQm72Ly/hrbrN0eECn4dSsFwhuuqBzCCJee6i+3yDeRkIC4fz1qR9N34 qTMGqPuxdEhFloUTJ2wLaKHd/zmqyZ5OPYw9eBLr7riWMCQC0YBj6Jp8i0tiDDqAp5nOmnQWKfOMC 48a5M4aRXAxxN2mrD4H+pnGWADElixRg6CtGFtLGvzAH0+5traZ3V58ETtG21rfhZFeUo41noKJuq SE+d8PSH1Hfd9QvSuIxo7kT1FG5mm9GchGQQwwGFaImB6jyMDNOL8akQRbdvrbiU6BKfkhlrI1FjW DEe/BO3w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kH6Z6-0001dc-33; Sat, 12 Sep 2020 14:31:44 +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 1kH6Yw-0001c1-6i for linux-arm-kernel@merlin.infradead.org; Sat, 12 Sep 2020 14:31:34 +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=mQWgC7N5wa/9rulPq3A8fgyxwhXIhpdGlW2hV9HT6AE=; b=uqdGWftf+rHT6bvJ/ti9gjnd1i KW5TWl4P59ET9qidl74fjfqqBD7k1Fu3+H9raKD9Uf178VmhxnQq6ekvKMJwE3hP8UoIG6bJqaEzV iGfyxGFWFEU7E82NiV1BoDDsMYvQn1co002BDwFDUXcvuDyuUfxr4NMO2BviKjW35qMHdUx5Xrw7M nyBqQrfAkcTqpppm7Rh0nSV2X5cfaYqV769V8E/MsfaQkUPN64LM1VJlmGIrOywTrXdiDuWW8X/hE +ryyabe7qvgtMhavHZHbybqv6BrgaP7I3PCM4yZkI8THzKsIa3W66VQyizFs90ftoW/lqlKadp1Kz 7CVaCffQ==; 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 1kH6Yp-0006iN-77 for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 14:31:33 +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 08CEUtN1007223; Sat, 12 Sep 2020 16:31:01 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v2 2/6] dt-bindings: sram: allwinner, sun4i-a10-system-control: Add V3s compatibles Date: Sat, 12 Sep 2020 16:30:48 +0200 Message-Id: <20200912143052.30952-3-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200912143052.30952-1-m.cerveny@computer.org> References: <20200912143052.30952-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_153127_756836_CA4741BB X-CRM114-Status: UNSURE ( 8.49 ) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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 Acked-by: Rob Herring --- .../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 f5825935fd22..9577d6c1494a 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 Sat Sep 12 14:30:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11771913 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 9BF2E112E for ; Sat, 12 Sep 2020 14:31:59 +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 6AC7B20855 for ; Sat, 12 Sep 2020 14:31:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KsTVlVd7"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="HacG4DKW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6AC7B20855 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=U3cxQGXwQBPIq/CF6psjOgBZUOADdBYr6+nS9xWuVa4=; b=KsTVlVd7hy5ztzF7hkcwX4+O3p fJ3Ggm3vlu4aFDjZyRqEjIMqwUjxkdLaS8LZRaJvUg7K3w/ZbJJ2xEaX9r9w7HoHjWUy4KqKay/MY dW47YCwPf3xtgGf9dRn88aFWo+fFDqiTxeYaKPODppi/XGW3ZCFqRjYs++dn0a6WTa4OMmhUfQlTs a25nnCiA8cF0hmiyxY+58VcWkuLBG6ZHcbC7RxMK3MSsDTV6YlD4i30nFRgidtPkSzzel/f4IJrua WlIL4WBRIzOFPyg3+zAky73FIpj1NECF7l2pCUTEDWF7+4LHtJVqLD5WRdkeJogjtxVSnJWqMDqcY LrfIVZiw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kH6Yv-0001bs-Ub; Sat, 12 Sep 2020 14:31:33 +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 1kH6Yt-0001bb-Ib for linux-arm-kernel@merlin.infradead.org; Sat, 12 Sep 2020 14:31:31 +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=s80V7lwA+N0WHnN4Ny1k7SSGrWQnWQdYO+ZKq8+oX5w=; b=HacG4DKWqt/Nf2+Th3dEw4f+Xy klAqwaXQz29GIDrHv9AX+edxObT6VHmpr8eWtbo83wdSr04TSuaknZ1C9j0ZVZGv8CiqdoFGwyrCh zJUdScyuzBYVmHISt9Y8TWMQ9xSRbDSTBIa/8pI6MThuxNAlL61pdRhwPYU5xSfAVOEJ5zK4v9YSd qPq+5M9enqBI19zd+BDVSMaZK3VPjQRWljgAT7iib4/fRZqIbFTp3Rpa0UqvaGZxfBPs+nrEIG2MA Wv5lDvDYf5DHa5nC72KCLCo5w8SoPAB5r/MObymtcKcw8Sox/mOTGblpmCjkEnZF9N7D/pyrBgweP J+VskmMw==; 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 1kH6Yp-0006iQ-5V for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 14:31:30 +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 08CEUtN2007223; Sat, 12 Sep 2020 16:31:01 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v2 3/6] ARM: dts: sun8i: v3s: Add node for system control Date: Sat, 12 Sep 2020 16:30:49 +0200 Message-Id: <20200912143052.30952-4-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200912143052.30952-1-m.cerveny@computer.org> References: <20200912143052.30952-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_153127_543864_38B76BB5 X-CRM114-Status: UNSURE ( 9.65 ) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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 e5312869c0d2..3f18866fb37b 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 Sat Sep 12 14:30:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11771909 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 B96996CA for ; Sat, 12 Sep 2020 14:31:58 +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 37A9720855 for ; Sat, 12 Sep 2020 14:31:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HdGVZSEw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="hfaTT6Qa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 37A9720855 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=rX4fcc27NQQ1EPeADjnYuAU8M6mNMY+Jf7Q6MpaBxvw=; b=HdGVZSEwCJ21nyYNbsKqYD3mgg sUpyCIqfCLpmVyemiGmR4JBhJ3yBz6x2OtTbhA3rQofEDnJuvo0TAhPd8EzIoX2eLckL+5NWBZzQK sd36SEg4iVXsts/51EtChq64p0wPH7T7nM6RUttguQ9+UewDU/b+DjokOazFttTTme4g1G6fYMBUw kP4jWN6CHWRKpOnVo73qzFjS4lX0rRWUb0dZmD9FWBI5rhxa3v3JgPiP87+9Em92+mbMEipTsSXzM SnJtCX0fPk32+VXBDo6WBOunsAHIAS/dUyu+MUAt7OJC/SuqaOKLYn8uy8i56k4HaFe8PLjNoxWcc QrzpFfEQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kH6Z4-0001dO-8n; Sat, 12 Sep 2020 14:31:42 +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 1kH6Yw-0001bz-48 for linux-arm-kernel@merlin.infradead.org; Sat, 12 Sep 2020 14:31:34 +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=lLT0gYvvI6AyxrfPwtdOp5wm51Pea9LS6uOgi36TNCs=; b=hfaTT6QaRAM3bSwzKOleYSo4AX WoM9a0Wx6dS7FyfAMq62VOqNvMsZJa1cu975fVQTWX/X0AN5pwdQ6fWrJe1cDwJdQW4+L6ROOggGu +X1lBaf2AzD/emorsmgN5KzoLCoqa9ih4Vmh0H1g++p/QTnc7J1248QzHcWVVdhBoIxCOu2P7IolE e1+YrtkMVcmXkEJKi15NbkTog1oMlBXreij7G5RPxe3XIzSePsedZkvd3m9TAaBODOy5rSQkJIGha LWOesub+Q3h4w0lp1/pH9i4LrlPCFAe0mGWJevk8+IoToC57MoB/9agN2lnkiiKeNHcShuOSu63Tz wdrCv1Ag==; 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 1kH6Yp-0006iM-7f for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 14:31:33 +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 08CEUtN3007223; Sat, 12 Sep 2020 16:31:01 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v2 4/6] media: cedrus: Add support for V3s Date: Sat, 12 Sep 2020 16:30:50 +0200 Message-Id: <20200912143052.30952-5-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200912143052.30952-1-m.cerveny@computer.org> References: <20200912143052.30952-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_153127_696486_9ED3C048 X-CRM114-Status: GOOD ( 11.33 ) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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 ae7e154eca9f..79ec5e07b416 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -511,6 +511,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 | @@ -557,6 +563,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 Sat Sep 12 14:30:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11771929 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 7B0CA13B1 for ; Sat, 12 Sep 2020 14:33:13 +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 4A09620855 for ; Sat, 12 Sep 2020 14:33:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Kd80m2ag"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="M7WTGfrV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A09620855 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=uS+8evPB3VzKfst5KIIvrYxohIwL1VQN05wf9ujnjpw=; b=Kd80m2agrrZyLUr+82rgjQjhrc NfpmuI7Vg6cN6Mxw6MogP1zajuA6SpwaQjIMn8glQnBUdo359vckfvD4cNIeT4gq6S+kVl1HFLcHk 4Dg6pFB3+Gg5P8o9cDcHMOUCGwTEGPXcPsnpjNYnaa72FAeT+3qnCE7wa+kGkC67V/1w5xwkflcSC j4CeB5xLMC+jLWhciDSrgZWjm+hGnOQR/DTYfr3DsEDEXonW+8aR24YBRO//OG5zHm06xXPPahIR7 TJGCTyLFiogvGa1KQBnpVBMK/lpIrFU9UdKFoJta71+TvaPxa9SctuZllc1Ef2VaV4mtn2a54JraI QTGtAL0w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kH6Z2-0001d6-Hi; Sat, 12 Sep 2020 14:31:40 +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 1kH6Yv-0001br-SQ for linux-arm-kernel@merlin.infradead.org; Sat, 12 Sep 2020 14:31:33 +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=3pe2J4D9VRrDrSiDNmAkSCCpZtiOacSYg351GgIY/6M=; b=M7WTGfrVYA4rxhzhxrpo58QdPN FPqltRsV9ql7dAtl8TUHcPSU+B5l0H9IafwtP+gWCbPda4lTd1aqGvQd09q1ZGLhM4SX0rKPdNpvQ EfsKG8sCWkXUFYOxz6plpYkbIXKZTazhQg7UaarRFUkYrXZJF4baBlAi46IWzDwnpXITp6vzV+DeK LjpqE6aQ9gxDE2Kz+y+O++iXXJb/CrwQf5wmXuGFPdpVK5cNZ8KfsWyt08GJar8k2ybf/w8hvFcUN qKDOoLU4jLl/fg9ph6RCQ5VVYPXHgWu4hNtUASUvWSua/8R3CZ8vKwL9M2pRfNCMT8vMyPUukqu8N qMhdnMbA==; 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 1kH6Yp-0006jJ-8C for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 14:31:32 +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 08CEUtN4007223; Sat, 12 Sep 2020 16:31:02 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v2 5/6] dt-bindings: media: cedrus: Add V3s compatible Date: Sat, 12 Sep 2020 16:30:51 +0200 Message-Id: <20200912143052.30952-6-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200912143052.30952-1-m.cerveny@computer.org> References: <20200912143052.30952-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_153127_674670_75F7B84B X-CRM114-Status: UNSURE ( 8.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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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 Acked-by: Rob Herring --- .../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 4cc1a670c986..08515c18cbb7 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 Sat Sep 12 14:30:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11771911 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 0570B13B1 for ; Sat, 12 Sep 2020 14:31:59 +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 859EE208B3 for ; Sat, 12 Sep 2020 14:31:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CWlri0Pc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="qQPziMOz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 859EE208B3 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=pIxvy2vMQhcgxW/N/Yx4RbYOM1mhaNDr8ItLX+JGlSM=; b=CWlri0Pc8Mbinkrx3lrhkrBdlj uvRmrDxT39A8a6UcMah3+jCU/gbvPGNMAqi+rGXTaSEjMpz6UbxVmw25xofJi0ZzBzN0U71PwvUC7 8RPysBPDL8gkXKD+h/828YWHMOoAQMQGTTby4wVAJ899qcOCdsGJEei047UEnaLfNszRNpSDyFHYU UaXlBEgDaz66tgKtKx/vfFKPG4uHUwSB8nPg16D97F8w7nHU4PRzWbv5aBi3EwRxSknuNEmHSx074 H43CJVNT/6wiw/FmlW0vKIY/UX6lXc4kIW3qJfvUrmCciHCrXq3VOtXjaY8LI1JI1o4GzkhUtRxFK qJXYYfSg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kH6Z1-0001cs-1F; Sat, 12 Sep 2020 14:31:39 +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 1kH6Yv-0001bq-CF for linux-arm-kernel@merlin.infradead.org; Sat, 12 Sep 2020 14:31:33 +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=kS1KLEAl2Uk2RkSnFzfC+wj0TeLecDxUU61B1CEoOM0=; b=qQPziMOz3j+UlaNR3xLrER9a5j 5QpJQMOhM971jUdAa+myExLBHZ54Dj++oRk/WOqSm4u2znja/QC4rC0T/wvy5rDMXlwJBXElfmp/V 6Bjqe8VajbhSyVkX2rOqrlIwA7kE88RsdWB8TqS2m3Xxh+ij7wKI+Dlm5ZNoucGUcasbmC8ykB9Mh YO50XIhvve/B0ztxI6PKioUsN4j3EXM1SA0K2W8n6rhmx73oDMldi0U4yynEcWxUBtfBSdDwEbg70 bbGgtrzi1NDnZmOCvKgsG5pLiADIaZ/VduLXXbMIKyWmTA4g8+JCRThFROvbb8aX5AfquxxGReev/ GwjiuOSQ==; 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 1kH6Yp-0006iP-6d for linux-arm-kernel@lists.infradead.org; Sat, 12 Sep 2020 14:31:32 +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 08CEUtN5007223; Sat, 12 Sep 2020 16:31:03 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v2 6/6] ARM: dts: sun8i: v3s: Add video engine node Date: Sat, 12 Sep 2020 16:30:52 +0200 Message-Id: <20200912143052.30952-7-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200912143052.30952-1-m.cerveny@computer.org> References: <20200912143052.30952-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200912_153127_647673_52B9CC83 X-CRM114-Status: GOOD ( 10.08 ) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, devicetree@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, 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 3f18866fb37b..3fb01dc1a9ba 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";