From patchwork Thu Nov 15 14:49:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684497 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FBF013B5 for ; Thu, 15 Nov 2018 14:50:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F2D72C8C1 for ; Thu, 15 Nov 2018 14:50:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CEFF2C8E7; Thu, 15 Nov 2018 14:50:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E1882C8FC for ; Thu, 15 Nov 2018 14:50:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=N3saPbefrztEKyMFVFSHZISB+p6XxkD6i0SBf4QbQ8A=; b=T4JNb+0H6tusVv QeRW5A21GYMjB17ZCUcDPaOM2TdFA+ocelfrWR4IpYwXfhrkGsXLL+hmGQMLj4HLgoRKQSYePk80q MvxndVdLCZDyRWeL1yFyORbo+F7FBj+UF/qQD6yBJ2+rDYEl9J3OZ3WK0ArVQj2H2faAuKhamA4aN MfGiQqXTRsWuFVzXTo1apHWgtk8UFWCQ2veT63p/7jHgt41LGPd+Q19Dr8NpIHUB1Dwv1MClcoQ2Q lp9g1HwPUm4FoS8/liyYPyJwYQ8piDTLiZH78DLjLFFRdUhlzfaua4TToeLrtw1950dHg4SOtBJzi KfxiHkWLsXYcuINKSEYg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyr-00023c-5b; Thu, 15 Nov 2018 14:50:53 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyp-00023J-Qg for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:50:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ziz3HWzVOWqKh2WgNzd5q5ENK+nlgw8ATaj/j1DaxgA=; b=fn59uFnwkPxtpwes+3Y7HkLB63 PgRkAtBzkwJlU6F0XO2GEwp5zXkhoYWM1IRp8qx+2QM90pqV+JIOm1s7pHzVgLWWQWZpbTarRqkj6 xNrNW204kMiQILAAE2c6zjwTtkE3yFv7n5jFNyAXnl9ErjAEafbyaQyJZ/ytrjsE7lPRUooFMCuQC HYtLyuuxpOiGdEHEmqK6EKdORlTuQQaVguXb37aV0R/QJfb2dsqa0mrIeyGNBykXNRSmp61rvGChq a2v6J6StyQ5djez3SnHEB01qzOBumEHTfkhm7dkFwRr+m3Bpjas4dBBbp+axhgsbRfYwgvspcsBWJ tdZQnMRA==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyn-0003fO-A1 for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:50:49 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 3E29520DA8; Thu, 15 Nov 2018 15:50:37 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id D891F2074F; Thu, 15 Nov 2018 15:50:26 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 01/15] ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit address Date: Thu, 15 Nov 2018 15:49:59 +0100 Message-Id: <20181115145013.3378-2-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095049_463674_86578697 X-CRM114-Status: GOOD ( 12.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This cosmetic change removes the heading 0 in the video-codec unit address, as it's done for other nodes. Signed-off-by: Paul Kocialkowski Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index c1cc8f09dd9a..17f54bd1aee4 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -269,7 +269,7 @@ }; }; - video-codec@01c0e000 { + video-codec@1c0e000 { compatible = "allwinner,sun8i-a33-video-engine"; reg = <0x01c0e000 0x1000>; clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, From patchwork Thu Nov 15 14:50:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C6C01759 for ; Thu, 15 Nov 2018 14:51:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18AD72C8CC for ; Thu, 15 Nov 2018 14:51:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A5F62C8F0; Thu, 15 Nov 2018 14:51:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A06862C8F3 for ; Thu, 15 Nov 2018 14:51:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=I7ll5c///mJa5GUaKs+pT+t+djcTyzzVOfiFHTiDzgs=; b=kll2PYJHiPqvat Hwin2AKfWNI9YfajZn2ThpP4baPKTIpkWXXPJyMMia8QlLvIgJcB7IA3LFaE9kXHos78/+DSHo1BY ySVka88blQmoqRvZLTrJfpttOuFaiXxMPm+4X0b2eIe5vz9CEGavE/N+lYKkhx+0MjkRz/xhIjjKG OM/d/MCIxkA2P0aa+aPO1M1WWfx+pxHvvsIebNy3C/tIi/a6mFjBxucKenkukx15Ok888OpxWPLDm UClVNg6WqCASup9R3LrbZ0EJlWQIu7Ittp7mdP1Dop76+phuy1hJYfiUxKjDKiHiKNPLGnVe+D3rQ pXXJkkQzlNk1Ejtb9MoQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIzV-0002lL-KR; Thu, 15 Nov 2018 14:51:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0002Ap-Dy for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gd2bMf73LHxq6OXsigZniQ/+I38X129SVhbCv94a63c=; b=hiy3ecHyg7rp/Eqqw+lTZ+GWFJ 6c3HsT+VxLT6Zto+XchJ5dZ8WFPgs/rTyfphakygAR0y3Aq1rvV0UsdNOHeA7J7L6kj7qntVLO4jw PsveDq51VdD7KjUgnAFOvoHgpwWD+np4uF5XIv1r5RgAqOiIVoWsplZPydW4yk6splPhHRnoXxCwa jQhm7lYeF2Adld3/tgGiYJdW5s8eXyqvbDn6dvwEd3ZUXuGSpzkf3Rdt2C3HM/rqDkZAibfG+Xd6T Zj/bd7rE59Na/vAj1gcoBC/sJjDqptst8WL6lmUcpbsu2brLEwC/XNWLuSQiZlSf5j0sLW3Oydg35 ishDoXDg==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIym-0000TC-C4 for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:50:49 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 8FDCA2074F; Thu, 15 Nov 2018 15:50:37 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 2D694208BE; Thu, 15 Nov 2018 15:50:27 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 02/15] ARM: dts: sun8i-h3: Remove heading 0 in video-codec unit address Date: Thu, 15 Nov 2018 15:50:00 +0100 Message-Id: <20181115145013.3378-3-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_145048_411483_1B7A95A4 X-CRM114-Status: GOOD ( 15.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This cosmetic change removes the heading 0 in the video-codec unit address, as it's done for other nodes. Signed-off-by: Paul Kocialkowski Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 3ecfabb10151..35d025af7deb 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -156,7 +156,7 @@ }; }; - video-codec@01c0e000 { + video-codec@1c0e000 { compatible = "allwinner,sun8i-h3-video-engine"; reg = <0x01c0e000 0x1000>; clocks = <&ccu CLK_BUS_VE>, <&ccu CLK_VE>, From patchwork Thu Nov 15 14:50:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684547 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D2B8A13B5 for ; Thu, 15 Nov 2018 14:53:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C23D129DA2 for ; Thu, 15 Nov 2018 14:53:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD7902C932; Thu, 15 Nov 2018 14:53:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 484202C8BD for ; Thu, 15 Nov 2018 14:53:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=YRf9uSVqgAOfABImC9vGigVuSyNAK87rxiFNWujk9M8=; b=rpzsP8WnXb6kzl RTzKPltyaHL+GweT+lUuVFsXInjg8gu8EVjR/4l1CNL67131Eh/cloSdvAHcXsnLvAepVj33sfpAb KrnVIeN4bTUccWVooTlkWTQ/fc7VzYisa1HmIv0B1lKy1vZWNnwFWJEkzEzo6OYORQg3bHdqkORpl sTY2j/CnL2XhOgmpv8hV0/tX9SX9Cc80YCKR/LXTTfqln3v2dXR0hql75mppI992UzfRrOc1kuTFE xehmdZ6NgZYvsshKoWQqghB9s66MXYDRgo4B+qrdOYAGuvZH+CPQUtYdQMJALrgyUg9epgRF/SIgz T9jRdsfErf9Bcmd8JCbQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ1X-0004iR-AF; Thu, 15 Nov 2018 14:53:39 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz5-0002K9-3i for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=sdTpOrCy7BYUU8mnbiivdKE8WqtrJlSkUXpnksaOJ5Y=; b=Yfza2SJyau63m+48l8X+QUDeht nleM5jJ6os7UBtXtiYSVAui+R3VwxJ2U071ByDkxzXRoI7dkchouPJaTgMrVl/2+kU3sV49pcruQb rGlTb3m+dVosoDeeh/0+/hwmrbign1GFw+obHNHmRhA6MSxyDcF/REpweEz17A7exb8p4oxTaYttN fkFH7WdhH57HWQMLwON5x7Mt90DoLTY89WF8DzRT7DG+SzNnweG6xc0QHqgotjeuzdFToTQTVNgJC ajhwk3YeVlPCOXMU/bY5jOrbTDmMaCuppVvQd4eZ/vai9TiYn23iMQ8pFtTAQG099vjlod2BFfplp 1UTjZrmw==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIym-0000TD-C3 for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:50:51 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id DB8C620DB4; Thu, 15 Nov 2018 15:50:37 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 7F32D20D72; Thu, 15 Nov 2018 15:50:27 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 03/15] ARM: dts: sun8i-h3: Fix the system-control register range Date: Thu, 15 Nov 2018 15:50:01 +0100 Message-Id: <20181115145013.3378-4-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_145048_411925_9E995CA2 X-CRM114-Status: GOOD ( 16.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Unlike in previous generations, the system-control register range is not limited to a size of 0x30 on the H3. In particular, the EMAC clock configuration register (accessed through syscon) is at offset 0x30 in that range. Extend the register size to its full range (0x1000) as a result. Signed-off-by: Paul Kocialkowski Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 35d025af7deb..7157d954fb8c 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -136,7 +136,7 @@ soc { system-control@1c00000 { compatible = "allwinner,sun8i-h3-system-control"; - reg = <0x01c00000 0x30>; + reg = <0x01c00000 0x1000>; #address-cells = <1>; #size-cells = <1>; ranges; From patchwork Thu Nov 15 14:50:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BAC2113B5 for ; Thu, 15 Nov 2018 14:51:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB84A2C8CC for ; Thu, 15 Nov 2018 14:51:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C7982C8F0; Thu, 15 Nov 2018 14:51:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 419AF2C8FC for ; Thu, 15 Nov 2018 14:51:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=KT+2sPIK2Wa0y+cgR+63+hURczBSexNCdXo4Snq58Fg=; b=CIYvY09BVVETCU MfOhZLU+pDb5bf6FAynbrFoAjFCBHywrrSiM5FuElguwwHwV0M67jxxN+3qj8VOwcqf54+i4fA+EH av7IDkaKKEThrZkNSkPDIMd3hBFWyvDoG8rq/A+PVtyAt9y+oB/aLXtvk8jlLxfo54drvSnrIQLmo ppU6emEF8qEBCZNgHI1zIqoStdNGtUe2Irl8xQH/+oE4fRKP/p2uXaQCPuCApKvWnXB/UJ3bQV/HT 0ZVdXDQ5zDPDsfr3m4stpuPo615i3a+VE2FORZfWOdUOjdJbKzKfi3t8qeZrcXn9BLlJ4kzRHS/WP de2G7V3aXPUntUKX02gg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIzG-0002W4-E0; Thu, 15 Nov 2018 14:51:18 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyq-00023L-7H for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:50:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DmUkg7KjGMd+dITB+4MNkw0oWEGMjl+Db3QfGNP8324=; b=LhcP7y25+XhfpgQkYwFbBoyiKc VDOwwudVNRQyRRBJ/TPcdJpiwT3Ft34aDtsbWx0TnO7U0ZuTVf6k8L/wnJx/EnCxxkFEgX2ePcaOx A0RhOJY4PaKlVZVPZEgu+vxRYpbRHqAtfrK2Fl0DczFuZDoMITZRYK57xCmHvJExXcToglB4iP7kC OB8SkUS/EMaky5tujRGuK7A1prAm0fJz5sVLg66k9GPiCjwTyY7/lZXJVI7sWhkRI7FPOSXHK9gv2 VOhWfeMMe1Wb2MFSBYkGLC+viL8rnwosYgGu8Bk4zfJqB8VMWLo2tgQk4AUADkRlm4PovAzKOBIBs 6nUCk7mQ==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyn-0003fb-AI for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:50:50 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 159F420DE4; Thu, 15 Nov 2018 15:50:47 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id CB16C20D75; Thu, 15 Nov 2018 15:50:27 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 04/15] soc: sunxi: sram: Enable EMAC clock access for H3 variant Date: Thu, 15 Nov 2018 15:50:02 +0100 Message-Id: <20181115145013.3378-5-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095049_557970_DC3A623E X-CRM114-Status: GOOD ( 14.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Just like the A64 and H5, the H3 SoC uses the system control block to enable the EMAC clock. Add a variant structure definition for the H3 and use it over the A10 one. This will allow using the H3-specific binding for the syscon node attached to the EMAC instead of the generic syscon binding. Signed-off-by: Paul Kocialkowski Reviewed-by: Chen-Yu Tsai --- drivers/soc/sunxi/sunxi_sram.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index b4b0f3480bd3..afa86b5506eb 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -300,6 +300,10 @@ static const struct sunxi_sramc_variant sun4i_a10_sramc_variant = { /* Nothing special */ }; +static const struct sunxi_sramc_variant sun8i_h3_sramc_variant = { + .has_emac_clock = true, +}; + static const struct sunxi_sramc_variant sun50i_a64_sramc_variant = { .has_emac_clock = true, }; @@ -379,7 +383,7 @@ static const struct of_device_id sunxi_sram_dt_match[] = { }, { .compatible = "allwinner,sun8i-h3-system-control", - .data = &sun4i_a10_sramc_variant, + .data = &sun8i_h3_sramc_variant, }, { .compatible = "allwinner,sun50i-a64-sram-controller", From patchwork Thu Nov 15 14:50:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684537 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9212313B5 for ; Thu, 15 Nov 2018 14:52:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82C822C8DA for ; Thu, 15 Nov 2018 14:52:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 772402C901; Thu, 15 Nov 2018 14:52:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3A9A12C8F0 for ; Thu, 15 Nov 2018 14:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=IF2mpz0OnsAGA/CAO8bEf3d30PIiO8Zk5YAosP0rMqg=; b=VlSXPe/u/rYudK B6E0ZASGrLARejW+5l7AVdCjg+BqINkPa1GE2lEr0ZGl9rsQF2x+xzCK+IbstAuvT0xe6yxqBL2EO 8FV8JPu9Jo3CW01JIPS7DEK1ZZoAKMZuD1MXwIHUyRrCM39Sbxzt5IXK3fQ0I5kHEf9CtgXiVfOyW egnrs5dh6jjk3YCmPlJCaw512rNoMwxIt7OTSGmn1VrEyt+ElnxhbF6e4YIuA2cInhrspjiVneiaP bcxy6joqCqxvRGp0jtNzz7AtBdoXCmQ7M5NU6nwXm1586+IDgG01KWV/wIHqJdpMBPagwmwrJ9g2p SG2+m2Tm3P81hZnhFsJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ0B-0003N9-1c; Thu, 15 Nov 2018 14:52:15 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz2-0002Fc-Ce for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=K11K7QH6w6cVCGjdM2zaxdm/yDPhLHXFrXoG4b2hwKk=; b=kRf8eLsXicTisPgVsLtPafdjo5 UKKK+vaY2BwvkQ/kNf2s+igxGOnV2rMA3dm8j7zzSLPTLcAbu4gI7fmNCSSB7qadTe2esOPCYoaBA XRsRXDDDcxFtzTJaEcCxZo9THCRk4z4kYacEjfQW/KUfyJCb5b4h6XYXPgPhXOTcGUqoEWFwyaIJH FP9MJuTwok7GMRghPR1Li7A1MgLM8l45S/hOw4EPLDg/4uGVGeCrUCe+mGCW+TvoXpygqVPqOeDBi b0KG1Qr5H6Cy4BHhg0W+Nf5SuVurtg62WIobWJ8t6jC/YhgZ52+O/ofovGv2vHHoOzkKlN0u9rKn3 Px+etLDw==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0003gW-Kp for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:02 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 179B620D75; Thu, 15 Nov 2018 15:50:47 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 231FB20D7C; Thu, 15 Nov 2018 15:50:28 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 05/15] dt-bindings: sram: sunxi: Add bindings for the H5 with SRAM C1 Date: Thu, 15 Nov 2018 15:50:03 +0100 Message-Id: <20181115145013.3378-6-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095100_890237_91AE58DA X-CRM114-Status: GOOD ( 12.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This introduces new bindings for the H5 SoC in the SRAM controller. Because the SRAM layout is different from other SoCs, no backward compatibility is assumed with any of them. However, the C1 SRAM section alone looks similar to previous SoCs, so it is compatible with the initial A10 binding. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sram/sunxi-sram.txt b/Documentation/devicetree/bindings/sram/sunxi-sram.txt index 62dd0748f0ef..c043a6a4011e 100644 --- a/Documentation/devicetree/bindings/sram/sunxi-sram.txt +++ b/Documentation/devicetree/bindings/sram/sunxi-sram.txt @@ -18,6 +18,7 @@ Required properties: - "allwinner,sun8i-h3-system-control" - "allwinner,sun50i-a64-sram-controller" (deprecated) - "allwinner,sun50i-a64-system-control" + - "allwinner,sun50i-h5-system-control" - "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control" - reg : sram controller register offset + length @@ -55,6 +56,9 @@ The valid sections compatible for H3 are: The valid sections compatible for A64 are: - allwinner,sun50i-a64-sram-c +The valid sections compatible for H5 are: + - allwinner,sun50i-h5-sram-c1, allwinner,sun4i-a10-sram-c1 + The valid sections compatible for H6 are: - allwinner,sun50i-h6-sram-c, allwinner,sun50i-a64-sram-c From patchwork Thu Nov 15 14:50:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B6C313B5 for ; Thu, 15 Nov 2018 14:54:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B9FA2C93C for ; Thu, 15 Nov 2018 14:54:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F5C12C930; Thu, 15 Nov 2018 14:54:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2C1202C928 for ; Thu, 15 Nov 2018 14:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=KGcushdJlpm4k5PE/sUmpsBuoVT1JLwt0ORKaxB0MgQ=; b=qoXSZjdThp/u88 y2+nAkXUCbonxtxsALPFLkbz+/SwztnXXxuIY+1CYqC9igS6KB/Wzf+AWMxUmSFGh7xyO86g4NWiE E5gVzRgCdtWbFUORJxskJlefWfdjzWzKUdMhPDqE1FJNJfB2I2YjEDr2UFZXhrK+QVZkc0J+p7NFo CTlh2mY8UNOQ8m2Ral2q0/uw6T+IkX4v/TW/EOSIDC0CWUrX989FhJjhUWSvi5vQtT+jH5O95Kas6 pofJlXj18kTjBLzGeLBIXnHcSh6OPyFrS/dkc2vIdhYhUtK865eBm1ZNnz912myjNZEGyd1RXXSSJ 6wvKDUBzwzl5uYSjHn4w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ1o-0004xn-CR; Thu, 15 Nov 2018 14:53:56 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz3-0002Gj-M7 for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xdkmFeld6AWk13cFX1YfN2WsltE3gF1iYjcgzwT4Myg=; b=GQYgtYKYIJCvG35R0l2xbXT8PW 3L86cl9SemsLWPY3DIStinc5xt+dudMstPbfFdU0kDqlLg/lRVeUpe6qRAm8KgujpMUT1mSsRr0tr l//xXKSK7SYAzoL4iSagMyUQERVBLCSNxIvWAtb3tqC8I1mGInT3XHd+wl5oCpHDzR5POAoT4SAUj XoecMEfz5d+pO7e7QhOoNiz7KzCXhSIvixtTpQylaE+7+CA3h5SzYqyA9gOyl3HNzspx5Znl3Ep+b femhzUaNsqqQhpIUThwMV7LJ63NsrvZ2xydDdcu4sHlL27XAe+0I8Bal1h5M1oElUQ4KUKbV9N7BT Gs9+vakg==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0003gY-Kr for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:03 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 56AC220D7C; Thu, 15 Nov 2018 15:50:47 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 6B76E20D83; Thu, 15 Nov 2018 15:50:28 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 06/15] soc: sunxi: sram: Add support for the H5 SoC system control Date: Thu, 15 Nov 2018 15:50:04 +0100 Message-Id: <20181115145013.3378-7-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095100_890090_A9F17B10 X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the H5 SoC compatible to the list of device-tree matches for the SRAM driver. Since the variant is the same as the A64 (that precedes the H5), the same variant description is used. Signed-off-by: Paul Kocialkowski --- drivers/soc/sunxi/sunxi_sram.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c index afa86b5506eb..9df844dffffe 100644 --- a/drivers/soc/sunxi/sunxi_sram.c +++ b/drivers/soc/sunxi/sunxi_sram.c @@ -393,6 +393,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = { .compatible = "allwinner,sun50i-a64-system-control", .data = &sun50i_a64_sramc_variant, }, + { + .compatible = "allwinner,sun50i-h5-system-control", + .data = &sun50i_a64_sramc_variant, + }, { }, }; MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match); From patchwork Thu Nov 15 14:50:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684557 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 79616109C for ; Thu, 15 Nov 2018 14:55:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 698FA2C908 for ; Thu, 15 Nov 2018 14:55:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D78D2C932; Thu, 15 Nov 2018 14:55:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1060C2C93A for ; Thu, 15 Nov 2018 14:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=qeBdSYhFpWmKX1/gkqKhxtWion2yaiua6XVqf7CeXzY=; b=AsmA8dnlXOAYYt LrCW2h6csb7YgyMo4JX0xm929wWi24EoRJ5wFhFbJqVwoR7xRM69lsLC/hzTvC61MO3elDDItg+cp 5y1mbFDvo8q2fTp1PQNVZ11oVrRgH6puX/Ibi4y+lh0b1m+sDvEw0PxZMz9DO5c1zHpGUIBGXqwZm 7mIgxBCDBsu8Zx19ta5wewyBp1P40dM8Xp/Fxl3zSYMZPF7JOibThdoMFp0Cy5mLIqAchJZccxezY OpSFB+678TJdphcq0+jT9zevQ96vFxpsmUCNNE6uXAYhHvrgBX42z76D8DcWWbu13C23Ev2ohOEKv 0D5zuFiwO6VFAVMrjsOw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ36-00076I-J0; Thu, 15 Nov 2018 14:55:16 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIzJ-0002ZE-6R for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8yitWSVA17pP35OkaI3udKzYo3FJKcWxzuMQwZSBA+g=; b=VbfwyKSdcNnMU/SR4HtnB7wHtu Xc2oE6jZHdDNf2kIQOEDHI0z9oIvRKo44T2UqU2XtM3kgVAih6eQjwSTwexYKLbngSLNcSKAul55q C5+bhMp9uI3I6NvExSyvjrdmfVJdqDzTjnHQs1+8FRuOEdvLf4j2oop472j5lvVAWU2WcZqfK0i/0 zQhuVTGP4KjWPr+uUpmVvRbDJPsGb/3gW7yXNi0zSM7fYBOVWgpCpfp98jIm3JLX5eHPjgCfE1pLM +GWiOJZ5kt+PeFIRQjgkbRSsffa7hSZ80lw9+LvWg47qVa4v/O9c2KLTlETnOeeMuZPKimgJeYsR0 u5xQmZzg==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz3-0000Vg-BZ for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:17 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 547FB20DDE; Thu, 15 Nov 2018 15:50:47 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id B55F920D8A; Thu, 15 Nov 2018 15:50:28 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1 Date: Thu, 15 Nov 2018 15:50:05 +0100 Message-Id: <20181115145013.3378-8-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_145106_987468_D480E4D4 X-CRM114-Status: GOOD ( 14.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the H5-specific system control node description to its device-tree with support for the SRAM C1 section, that will be used by the video codec node later on. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index b41dc1aab67d..c2d14b22b8c1 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi @@ -94,6 +94,28 @@ }; soc { + system-control@1c00000 { + compatible = "allwinner,sun50i-h5-system-control"; + reg = <0x01c00000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + sram_c1: 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,sun50i-h5-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; + }; + mali: gpu@1e80000 { compatible = "allwinner,sun50i-h5-mali", "arm,mali-450"; reg = <0x01e80000 0x30000>; From patchwork Thu Nov 15 14:50:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684553 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A976E109C for ; Thu, 15 Nov 2018 14:54:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A2AE2C6F3 for ; Thu, 15 Nov 2018 14:54:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C6412C933; Thu, 15 Nov 2018 14:54:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 037DE2C6F3 for ; Thu, 15 Nov 2018 14:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=W1cvJSnFTZxh5p2SOqY8G2fOsNKqxHhkX6z5V9xzwrI=; b=kuqiy5eb7nSTB/ 0WgtQq5FsF+VPkb27ffy/f7FUAjPb6TpbENSWh3Y9ZB46pgqnHRvYrQB49KIExG5EAuIBPQ5bgngs 3QjcknAM6AeXVL6yakXEj9k72zroUG8aBtadNSjOgWZRJ7GhFFzIFEm1UlWtwFt+pSP5iku6Ux3Ew edEi/DFZpQwkDUmneTwIs+q48gvDiDWrAcFnmASedi+ysjYcZy56ru1UpbXvIpmSfwAsiFvt5DLMI umCnGnrYjsbpDkxTkoO3MtCOOe0CoQf+NEgUoE+++hl3vvmcxPX+uf8FUG+Q6++MobriPOErjvQLX 1XInGkRUCcYqWPk+oovQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ2N-0005ZG-DU; Thu, 15 Nov 2018 14:54:31 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz7-0002M4-HU for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tTfaAczikYcNVfWcYlZLo9/Q72rlXYiYf7dvUx6633Y=; b=H9TGNyv0vSHiLYvzfrhDEDdeRV 5wgEdv9P/o0lqZNeyNiYjqXvGUHngXW42d4fVtb6FKJjjzjOzINcv8UZbnJ/3aozwKjA5LEdmly5y TzJC1yOZXVBGNF+OUUmtkl0HXEKkbXoRw4xqNibym8d0+osC2UnF+c8RrB7jx9mCuj/lOeYZvo70I TGiXRid+3+1qd1Ee9cOBy8mAGg+vbGpJYk4XoJHk1d7qZsRx/CWaMfB8PkYvxOQFakATMz9ygA2F5 9BNo82Rz/dMZNBAWkAzf+WnH3CScieyqJEu5qM+VoBU5k3INWJbVGhmRDfKhNuvCiuxrWNvGwhgQn plQSnTGw==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0003gc-Ks for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:07 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id B06A820D83; Thu, 15 Nov 2018 15:50:47 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 0CB9E20D92; Thu, 15 Nov 2018 15:50:29 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 08/15] ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes Date: Thu, 15 Nov 2018 15:50:06 +0100 Message-Id: <20181115145013.3378-9-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095100_890013_B3D105E1 X-CRM114-Status: GOOD ( 13.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Now that we have specific nodes for the H3 and H5 system-controller that allow proper access to the EMAC clock configuration register, we no longer need a common dummy syscon node. Switch the syscon label over to each platform's dtsi file. Signed-off-by: Paul Kocialkowski --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 6 ------ arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 7157d954fb8c..b337a9282783 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -134,7 +134,7 @@ }; soc { - system-control@1c00000 { + syscon: system-control@1c00000 { compatible = "allwinner,sun8i-h3-system-control"; reg = <0x01c00000 0x1000>; #address-cells = <1>; diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi index 4b1530ebe427..9175ff0fb59a 100644 --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi @@ -152,12 +152,6 @@ }; }; - syscon: syscon@1c00000 { - compatible = "allwinner,sun8i-h3-system-controller", - "syscon"; - reg = <0x01c00000 0x1000>; - }; - dma: dma-controller@1c02000 { compatible = "allwinner,sun8i-h3-dma"; reg = <0x01c02000 0x1000>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index c2d14b22b8c1..4f0e2df875ba 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi @@ -94,7 +94,7 @@ }; soc { - system-control@1c00000 { + syscon: system-control@1c00000 { compatible = "allwinner,sun50i-h5-system-control"; reg = <0x01c00000 0x1000>; #address-cells = <1>; From patchwork Thu Nov 15 14:50:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684541 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B5F771759 for ; Thu, 15 Nov 2018 14:52:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A676A2C8C2 for ; Thu, 15 Nov 2018 14:52:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9AC4A2C936; Thu, 15 Nov 2018 14:52:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 43F5A2C928 for ; Thu, 15 Nov 2018 14:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=KyjOKohsg+n7A2mM6AZVuUagmMwkThNYnVhIt75k9WU=; b=DnPGhNoT2QnPpK v+fHfxhAKZxhDkf7BL78MU7h1ronmEWScssrk4gXTMp30uMe7C/htGwnpZa7Os0Hls5CZ5euSKc3G KeKeR5FRtlqC2xXoZhygflr0sqNVd/kr9HN+F/T9jYXDL24QLdLps2OMd605rbJDV8yt6M8acR87b 8rT7dB8zweMjtqR1/fWGmbDWZL8/Wv/ho8l4EzASX9yupVHpp+L54+pTthUf7cSY0S1Nj2sFgHZdV EomlyrD+MW46fg8/4HROAO06w4CEGGGqAuzLQqOKa/EZ8GtARJxGekvxRpl28h9oMIpXr1vilaeYO Ls+rgMHWLOLayNMeLP4w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ0i-0003vW-4J; Thu, 15 Nov 2018 14:52:48 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz1-0002Eb-JO for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5mYTz28uOE21dOpoFo8o2TYhNN4zshG8Yy1elVheQxY=; b=SLRaifAVCg67kVSN9wwa45DhAn v1BDjD8o0ENKeADu/zZAqcf1Rka/dEOX26/LimaZ97bnJe98M0CzRs3UPrIsOT3WEErQc0Lk6+5oo Tn7dHJ613H8A3wGL8QjEzLpr78BTwnGfFQ5kMU0R7zDULEJNH7zn70K7MiFS/H6G3motalhyF+0/n 9zcvWjilTwT+AICvbjWFcz3va700cf4ZBJxUbnnVAYbmmn5hkirAP32m6mjILu9ZVZ64dh9Jnraki de5PVAZsgHVj48d7DM5mvAQ5kZkxbEmtJ2rTm0k4yabZ4kbUnDqbc3r+MpBTmBLeGNgGK91FqXhKQ 3SdaZjxw==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0003gX-Kq for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:01 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id ADD3E20D8A; Thu, 15 Nov 2018 15:50:47 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 56A8C20D98; Thu, 15 Nov 2018 15:50:29 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 09/15] dt-bindings: sram: sunxi: Add compatible for the A64 SRAM C1 Date: Thu, 15 Nov 2018 15:50:07 +0100 Message-Id: <20181115145013.3378-10-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095100_884910_20C77D55 X-CRM114-Status: GOOD ( 12.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This introduces a new compatible for the A64 SRAM C1 section, that is compatible with the SRAM C1 section as found on the A10. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sram/sunxi-sram.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sram/sunxi-sram.txt b/Documentation/devicetree/bindings/sram/sunxi-sram.txt index c043a6a4011e..cf221d299a8f 100644 --- a/Documentation/devicetree/bindings/sram/sunxi-sram.txt +++ b/Documentation/devicetree/bindings/sram/sunxi-sram.txt @@ -55,6 +55,7 @@ The valid sections compatible for H3 are: The valid sections compatible for A64 are: - allwinner,sun50i-a64-sram-c + - allwinner,sun50i-a64-sram-c1, allwinner,sun4i-a10-sram-c1 The valid sections compatible for H5 are: - allwinner,sun50i-h5-sram-c1, allwinner,sun4i-a10-sram-c1 From patchwork Thu Nov 15 14:50:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684523 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D09F41759 for ; Thu, 15 Nov 2018 14:52:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C14212C8DA for ; Thu, 15 Nov 2018 14:52:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B5EE32C908; Thu, 15 Nov 2018 14:52:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 047192C8DA for ; Thu, 15 Nov 2018 14:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=2CKrCIvBempO+yqXcV+K1lhyMKC3M91mujPOnF7GjtE=; b=NRZUX1QlJUzv0F 0kZggR03qAeLcP+JmZFQdzKiWGj84efN8HXT/TE4ShzoE1iGEG862BD0OxpmPPlkZ4tMLsOGBdnhN NcwO7iBEbaAB5LKWKS88hb0J4N0fzhMZFM8rLFiw3VI4FW+/AwNddlJK0kQqxYXnVgzVcrOofOx+3 D1TItI4TI38B5l8h0OGqz3/xPL3LFBefS0PjsZ2UPcNORnL04aG0rbwIeGI7HUE/t07QHGuP1Y3vx yQfbaGQatMXjb2Pmw8VPXFSvP9CM0YWLOdy7YJnAfRhsevD0KONIMb2Y2pStRkqrN8xci15IZ6N+r OnobhtKRPol4fYjxuoaA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIzw-00039g-T1; Thu, 15 Nov 2018 14:52:00 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz2-0002Fb-D4 for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zGM3gnEW9XUTG374iZk0b4ze22mDM05SnDNW0InLRpo=; b=FTj1iTbTqLf7hjmwVJFY91tWhI O0YCd+kg+somQlFuTOYe4reuRKHkkkHxhYBOzRlwhBN9YsIpdbxJpIruBk7hLAyyQ4Ear7JmAnvUX duynz3XeHZf6wNQjt2JbkbWF53O8yMlXymdjK0rIbPHvfvC4IGNAhdfWVwwCzevxYKVwCu0U4T6B9 MUzge8e0hZ07r/tarmAQKIVLYRdQw7fbM0LMBSK237WCBfH06WyBC6JtbTPkQ48io5wEG5fTFILDV 7Sb5q/vQ3u48aLDea+LbyX40ju1uSgXHyYqNRkgZITmMtduiGlzapQeJejXAlKmFid0yA9NkVFHTV u+P+BVnA==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0003gf-Kt for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:02 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 0863220DE1; Thu, 15 Nov 2018 15:50:48 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id A02B220D9B; Thu, 15 Nov 2018 15:50:29 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 10/15] arm64: dts: allwinner: a64: Add support for the SRAM C1 section Date: Thu, 15 Nov 2018 15:50:08 +0100 Message-Id: <20181115145013.3378-11-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095100_889134_02810E46 X-CRM114-Status: GOOD ( 11.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the description for the SRAM C1 section to the A64 device-tree. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index f3a66f888205..88b3e9110833 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -277,6 +277,20 @@ reg = <0x0000 0x28000>; }; }; + + sram_c1: 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,sun50i-a64-sram-c1", + "allwinner,sun4i-a10-sram-c1"; + reg = <0x000000 0x80000>; + }; + }; }; dma: dma-controller@1c02000 { From patchwork Thu Nov 15 14:50:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684539 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF07813B5 for ; Thu, 15 Nov 2018 14:52:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF5FF2C8C1 for ; Thu, 15 Nov 2018 14:52:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3BCE2C91C; Thu, 15 Nov 2018 14:52:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 47FB82C8C1 for ; Thu, 15 Nov 2018 14:52:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=iS5dexPIiDiwmdoCyikhD260bw6Fx2Mi3tiypGkq3es=; b=D/VSV+TBoQibR8 ZA48hCMSVohQmisUB6+BVMoZRIccSmfDM6B54PvjP2FMNa7063OmL/YCAsp6bQj1aTIVAsOkfnuGV UeND9ZpdtPFofoOfyC5ZTmc90A9A4snvDl1+UHCd7KUiX77nOdyxhNad6pKVXPp4Ona0p1Am9cokc q3+sxrzKiN4l3jO7ADTZlL4WuIL897NslWo7MIYya3wGTIN4MNRk7nh4Gw4/MDxkhZG8oLVD4J6NN ctbfMdotqU1eXW0aEDpSGOfQ9FLVMl9lFTouk5/0w7EQhthF+I5aUom+w/1xzvXIDxf/bshiYSeaj zFmwoh7hxVX/+MaushIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ0S-0003fU-2w; Thu, 15 Nov 2018 14:52:32 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz1-0002Ed-JB for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7n+s4rtl+tS2FlshNUa+42S+ZAU6ZwSutdd0r8IHeAo=; b=uOB83xngYEGJgJVmms2527Bgou cw0/yrxz+VE38kxxPbfGIwTofsIHICYbQqOwuj5zTkgCw/44ama7x0vEttYiN9F5KIUgTjLtL36Yh mKKDeDfnUd43jw0ztpK9jw8fzg4zO4qOlOZLcal5n3vm3KW6s9SWspEkNE+EBbad3iSK4t0WVshXZ pB/w3l0lw2qMRzfLnTwUGKJLKjA8+nZWa0nXo5gaBExJE6aPlpp6G6M6DAZbeDzaclUjdTiDP3siQ tQQGRwGuzWGYakEW9NjsjRxtlTUYgfeUOu/chJ4/zas1U55q4U/0LCk3/zR0ft6nJ1c171ZzxAi0a hQ0ELLqQ==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyy-0003gd-Kt for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:01 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 0571620DE5; Thu, 15 Nov 2018 15:50:48 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id EAD2020D9D; Thu, 15 Nov 2018 15:50:29 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 11/15] dt-bindings: media: cedrus: Add compatibles for the A64 and H5 Date: Thu, 15 Nov 2018 15:50:09 +0100 Message-Id: <20181115145013.3378-12-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095100_886000_BCDE9020 X-CRM114-Status: GOOD ( 12.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This introduces two new compatibles for the cedrus driver, for the A64 and H5 platforms. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/media/cedrus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/media/cedrus.txt b/Documentation/devicetree/bindings/media/cedrus.txt index a089a0c1ff05..b3c0635dcd0e 100644 --- a/Documentation/devicetree/bindings/media/cedrus.txt +++ b/Documentation/devicetree/bindings/media/cedrus.txt @@ -11,6 +11,8 @@ Required properties: - "allwinner,sun7i-a20-video-engine" - "allwinner,sun8i-a33-video-engine" - "allwinner,sun8i-h3-video-engine" + - "allwinner,sun50i-a64-video-engine" + - "allwinner,sun50i-h5-video-engine" - reg : register base and length of VE; - clocks : list of clock specifiers, corresponding to entries in the clock-names property; From patchwork Thu Nov 15 14:50:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684555 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 65B22109C for ; Thu, 15 Nov 2018 14:54:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 561042C6D7 for ; Thu, 15 Nov 2018 14:54:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4997B2C908; Thu, 15 Nov 2018 14:54:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 245AC2C928 for ; Thu, 15 Nov 2018 14:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=co8vszktlbkHsA2Fe3Q+6MHGUMfk3loi4hmNMmkLt0Q=; b=AqLkQcBKuxVRwc /srYWRakSc7VZ3xFsiS2GJF5JdNAm43tgss81i60lHp7RWUMGjfn1qIMUdXSylb++K+A3xT/548b2 EIIIIIZQZyu6fj43NVlf9KsYVNkPQExFSRMsISx7RtLxuuV9D2gBCJ06u4XRhN2lPo8b9JSX+4LFe OG8dlnWB3WaomuCpKKZcvFVeeCRuN4tJHiAfNki2SEVFUXy8KLnY6D9BgpTzv08BPJ82GVH+zeHMK zAPefGNYUZRC2M7xRDOaCvxm9AnF1J4XOmYqqVrjFiRiH9xLQyNKzHcOA5PZVruN5gsGMefUMCkFk 12Gxob1iPJyL0npHbTHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ2j-0005uh-51; Thu, 15 Nov 2018 14:54:53 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIzJ-0002Zb-HT for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=l0cvrKo3ne+NYXtKqVcg43dWS4MiJop7Yh60FvnaP6E=; b=W/dryDOlLtFsUz1UrgT0zzjJjN eq+UzrG8GCl0gvhaJEkd3HCrywiUck0vlilkNxud0y6ifC9oCEW67EVhduTSAZBtvEWjMTMduvQdB 5orfJTSNQ96hDpsfGPjhwQa7IP6OZu1iToujRGmjnXeGj5Ew+OZ7Iyaofphqlt4JiILBnXYWKgIRV OjcsreyPX/yf/cwAfho8lPBIbibbY25pEW2QxAQRPJgyh+C1zdw29xE7N9d74sH62kZgEeM4yku5/ sTAaNAIqY4GRIfwJytWotfa+mklrTK8zs0dF/cMmjjfUCxbnfakZX60vUR+yk0jhhCASxHCVM892O NmVGyYaA==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz3-0000Vl-Ba for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:17 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 35AE9212EC; Thu, 15 Nov 2018 15:50:57 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 4133820D9E; Thu, 15 Nov 2018 15:50:30 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 12/15] media: cedrus: Add device-tree compatible and variant for H5 support Date: Thu, 15 Nov 2018 15:50:10 +0100 Message-Id: <20181115145013.3378-13-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_145106_994126_2C2346C0 X-CRM114-Status: GOOD ( 16.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the necessary compatible for supporting the H5 SoC along with a description of the capabilities of this variant. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c index 82558455384a..f04b9bf23774 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -388,6 +388,10 @@ static const struct cedrus_variant sun8i_h3_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED, }; +static const struct cedrus_variant sun50i_h5_cedrus_variant = { + .capabilities = CEDRUS_CAPABILITY_UNTILED, +}; + static const struct of_device_id cedrus_dt_match[] = { { .compatible = "allwinner,sun4i-a10-video-engine", @@ -409,6 +413,10 @@ static const struct of_device_id cedrus_dt_match[] = { .compatible = "allwinner,sun8i-h3-video-engine", .data = &sun8i_h3_cedrus_variant, }, + { + .compatible = "allwinner,sun50i-h5-video-engine", + .data = &sun50i_h5_cedrus_variant, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, cedrus_dt_match); From patchwork Thu Nov 15 14:50:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684545 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5909013B5 for ; Thu, 15 Nov 2018 14:53:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A7222C8BD for ; Thu, 15 Nov 2018 14:53:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EE8A2C925; Thu, 15 Nov 2018 14:53:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 74E872C8BD for ; Thu, 15 Nov 2018 14:53:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=NDmFFKaL6eLqToHIU+SbhdforuMNmXs39lZzysO5I6Y=; b=o2aZhsp9cBvaAd tEoQPaWzCecE9+WszRz0TjQZDa+M2iJcmGZvzMMhtq9Twg2QgHKgCvmszlADuDdIuQ8P5edEyhkPF F4OcjVhxcWEw59JBFE/fP/dyojO+o428Z0W4nX/jJU8JFp/QEBJUKIj80d21gZViACsbcbhaWQiDC cXBDlYKEhmsdfTMomTlMOKXdFlD6OkfxEQ5cYM1vPrh+OpicL5BPn7Z09y4WG/bqX3C+c62Op3w0p n5fzOgqEjLbfIrqRg9e0SvRHHaGldiW1Km7ckOs3NkrfynMzGpRMuDj/VxuAan9JTREPJli2HsHy7 vAISzD8WNN8AtNzAWbhA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ1D-0004Rs-MD; Thu, 15 Nov 2018 14:53:19 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz3-0002H7-K3 for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RGGpXRsD+x/BTMT0pw7HgY2Ogm4YH7npdCnqm+Sffz4=; b=wWZyDiNTZkZLejayhZnHCSyKMA cxjF8DJauq1CKxefCn24QO/E/P3Bb+pA8E9ViiipT0A/Uy/Zi6JEi6ykBpOwDkTGgNpA1diAOLQSc S/CbvpPvFnAWWiOGiWu2RNXiMYW16tI91e9/LAIXVt9rA0yZ20pwMUdQ45Op4L/WYVwWi5QKllYME bn+K0vboay40qcxevccKHzJQrbXi779oqa4n5cMkwOXNsFWWUpPbIj5estYCfeb4rEpgONVL4gU6K oazlD76sh6BOkBSwnvwgUgJHZceNhdtI3Lz5SQW9m+5dkG6ThPmctvYtNCmr0MzYiueHDfnSIYqPm 9zrmKViA==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz0-0003gf-TX for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:03 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 4618E20DA2; Thu, 15 Nov 2018 15:50:57 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 8C21120DA1; Thu, 15 Nov 2018 15:50:30 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 13/15] media: cedrus: Add device-tree compatible and variant for A64 support Date: Thu, 15 Nov 2018 15:50:11 +0100 Message-Id: <20181115145013.3378-14-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095103_075965_8945FE2E X-CRM114-Status: GOOD ( 13.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the necessary compatible for supporting the A64 SoC along with a description of the capabilities of this variant. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/staging/media/sunxi/cedrus/cedrus.c b/drivers/staging/media/sunxi/cedrus/cedrus.c index f04b9bf23774..a71d8b659f8d 100644 --- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -388,6 +388,10 @@ static const struct cedrus_variant sun8i_h3_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED, }; +static const struct cedrus_variant sun50i_a64_cedrus_variant = { + .capabilities = CEDRUS_CAPABILITY_UNTILED, +}; + static const struct cedrus_variant sun50i_h5_cedrus_variant = { .capabilities = CEDRUS_CAPABILITY_UNTILED, }; @@ -413,6 +417,10 @@ static const struct of_device_id cedrus_dt_match[] = { .compatible = "allwinner,sun8i-h3-video-engine", .data = &sun8i_h3_cedrus_variant, }, + { + .compatible = "allwinner,sun50i-a64-video-engine", + .data = &sun50i_a64_cedrus_variant, + }, { .compatible = "allwinner,sun50i-h5-video-engine", .data = &sun50i_h5_cedrus_variant, From patchwork Thu Nov 15 14:50:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 55C6E1759 for ; Thu, 15 Nov 2018 14:54:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 457EE2C8DA for ; Thu, 15 Nov 2018 14:54:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 399882C924; Thu, 15 Nov 2018 14:54:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2C7B2C8DA for ; Thu, 15 Nov 2018 14:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=Y0zIlzaiVUuW11+Z1oGkHmHrktyA9q1wwjCkHdF+XnA=; b=eFzmJrWw5ja0sV N7hVGZGEBHrgkinXICDDDJ+xJhfn4WDE0mdvY0KNHCS/kYp2WgSgN0dFrTGj3aOdOMwaauMSNWYBm 08Jw0CE9Ssp8jCnQpYbMbxD9siMmpTYZMWvjskpkBCZMBcoA2fdqACOhU7M+IVLIz5MGYnLZGiQHZ wqwayrgexPU64tciq6sxC/rd2rQ/Cs5tXYFm8qwZD7ZNkEC770Dhk50RnigBFyIMQvJIdDCPd5ICP 7dxeKawx2Mhr5rOn9+kGptIz9jPBRI+rzHxIDOQN/CZinAlUbhj8YFnUJ1iZxAXmr3/2z1uCyFBQz wPHr9n59dwh00VDm/Jlg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ25-0005Dr-Tx; Thu, 15 Nov 2018 14:54:13 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz7-0002M9-HF for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ipBzaefFlSIEaOu9QwNcKwoA3TGahMVL5/Tq5MhFxM=; b=eWghTEwpZnf/Xd8++mZdpGSafS bIiDXCXzkSmru2W6dqe6qDs8GgY7sLcsJA6xXxlWv7C+/owpE2a2oVFUmbLjWLCOfUGGm6zm4QDXB 888KKthOdDu0yi6ZZloyBS8rgArgFRabjk4846QWbt7s+hanb9P3nOZnufPhgz78tNPLt6eXb4E4+ b8xHvBs64o1DRwDbk5RfKjE20ybI06KxNkiiXz2H5ZkE9JBgQgfVChdl12cn1/iOSsmQgukqQzkR3 bp+K9mRH67NS2YTVfoKlUz6KXfslyWOIjmvjrX4PS18Sh6GgouuadltugbFmlnzHlSHSf3EmYPq7a mXSOG6OQ==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyz-0003gd-ST for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:07 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 3EF7B20DA1; Thu, 15 Nov 2018 15:50:57 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id D425720DA2; Thu, 15 Nov 2018 15:50:30 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 14/15] arm64: dts: allwinner: h5: Add Video Engine and reserved memory node Date: Thu, 15 Nov 2018 15:50:12 +0100 Message-Id: <20181115145013.3378-15-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095102_056982_23A409B1 X-CRM114-Status: GOOD ( 14.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds nodes for the Video Engine and the associated reserved memory for the H5. Up to 96 MiB of memory are dedicated to the CMA pool. The pool is located at the end of the first 256 MiB of RAM so that the VPU can access it. It is unclear whether this is still a hard requirement for this platform, but it seems safer that way. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi index 4f0e2df875ba..6cc9698cab49 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi @@ -93,6 +93,20 @@ (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + cma_pool: cma@4a000000 { + compatible = "shared-dma-pool"; + size = <0x6000000>; + alloc-ranges = <0x4a000000 0x6000000>; + reusable; + linux,cma-default; + }; + }; + soc { syscon: system-control@1c00000 { compatible = "allwinner,sun50i-h5-system-control"; @@ -116,6 +130,17 @@ }; }; + video-codec@1c0e000 { + compatible = "allwinner,sun50i-h5-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>; + }; + mali: gpu@1e80000 { compatible = "allwinner,sun50i-h5-mali", "arm,mali-450"; reg = <0x01e80000 0x30000>; From patchwork Thu Nov 15 14:50:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10684543 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4DC7E13B5 for ; Thu, 15 Nov 2018 14:53:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E5612C923 for ; Thu, 15 Nov 2018 14:53:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32AB62C92A; Thu, 15 Nov 2018 14:53:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B1CD22C924 for ; Thu, 15 Nov 2018 14:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=YRRQnv7mLF+a3KSai0WLnjIpMyXe1pF0qFdcBErG/Cs=; b=mE+qso4E9D/9pM ilJjyte986T53rn8Ep5Ynoo7h7giZZHuYZ+ioy8IPPIQcWrS0kuDufmay6yU7zo7Bl0hzmqbiWdXQ 1NgqK82UFfg2THLnzz6hjOeMxLuf7+IXxkYb9HL2jlR5DonNTMX4pWZHg1Ip4u6Jrf8vALBE13fRS 6CB7LrytgycbDg5voeVRwCO3AYHrk9xs3qYJvHJ6KJyhyerh3/clmkPvjuRLl0vjBFqIGpEZ6/xGJ ZWEpwX3VIzyn373tXSt4whhfeqgR/j+6g516MUzyZyX5NFTTUFKA2LGyI+UR3Sqth1zu4iOmbeJDc jUpGizNn4Oh/9AvX7juA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNJ0x-0004Aq-5L; Thu, 15 Nov 2018 14:53:03 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIz2-0002G5-Pn for linux-arm-kernel@bombadil.infradead.org; Thu, 15 Nov 2018 14:51:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=lvbgPXJ9LQJSBew0PChBIvH2QMEaQ9VkL8kvJRz5MeY=; b=Ca7/Rxn+AcFQ4do0of7SfxYbTb vYWVjDnlqewHwEMdhZH7a+LSdrrIGRNBX0iEVzEkS1fz0REgqgwloWlSB3eZsd1XYl88NkoVC+FxC N0uO0AcZIvqb6cMobLYMLOCCG09WnsEw5gBfTFNFJQSVP+wMFqyrv/ZjwWxoI45Go1EZ6IntxnG17 LkLebIeWiQCW9TxREf7FPdFCC4us3gW222nfh9ArXNgf78aX8ss4lxJDat9rU+hB6tBybZtph3XBm VTcfsalU8Xqpb/qbFU39RTYrvK0tfxUEO6GZym2cBefNitXovHPEPp4NGkJ9MlHfL65lDimMGFI1R 57sd3Mjg==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNIyz-0003gX-RC for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 14:51:02 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 37CA920D9E; Thu, 15 Nov 2018 15:50:57 +0100 (CET) Received: from localhost.localdomain (aaubervilliers-681-1-13-146.w90-88.abo.wanadoo.fr [90.88.134.146]) by mail.bootlin.com (Postfix) with ESMTPSA id 278AF20DA7; Thu, 15 Nov 2018 15:50:31 +0100 (CET) From: Paul Kocialkowski To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 15/15] arm64: dts: allwinner: a64: Add Video Engine and reserved memory node Date: Thu, 15 Nov 2018 15:50:13 +0100 Message-Id: <20181115145013.3378-16-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> References: <20181115145013.3378-1-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181115_095102_043157_A9C53847 X-CRM114-Status: GOOD ( 14.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Hans Verkuil , Thomas Petazzoni , Maxime Ripard , Greg Kroah-Hartman , linux-sunxi@googlegroups.com, Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Sakari Ailus , Mauro Carvalho Chehab Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds nodes for the Video Engine and the associated reserved memory for the A64. Up to 96 MiB of memory are dedicated to the CMA pool. The pool is located at the end of the first 256 MiB of RAM so that the VPU can access it. It is unclear whether this is still a hard requirement for this platform, but it seems safer that way. Signed-off-by: Paul Kocialkowski --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 88b3e9110833..a35a5c9ffbbe 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -185,6 +185,20 @@ (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + cma_pool: cma@4a000000 { + compatible = "shared-dma-pool"; + size = <0x6000000>; + alloc-ranges = <0x4a000000 0x6000000>; + reusable; + linux,cma-default; + }; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; @@ -373,6 +387,17 @@ }; }; + video-codec@1c0e000 { + compatible = "allwinner,sun50i-h5-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,sun50i-a64-mmc"; reg = <0x01c0f000 0x1000>;