Message ID | 20221231164628.19688-5-samuel@sholland.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3421916wrt; Sat, 31 Dec 2022 08:48:35 -0800 (PST) X-Google-Smtp-Source: AMrXdXux/BArs2rJoz7rharPbSMmwB0o+SbM61zQISwHfTddqtRJr4XqGXOjXoohEJwm4DkL1Z61 X-Received: by 2002:a17:90a:4005:b0:223:aa36:9580 with SMTP id u5-20020a17090a400500b00223aa369580mr39097532pjc.25.1672505315591; Sat, 31 Dec 2022 08:48:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672505315; cv=none; d=google.com; s=arc-20160816; b=yt2+qvS+eDj8+GYANltGPTr4QVD0aKrnDJWSWwHdMxtwWLc0NBbEO74JhoBf9Ndg5u BaT2p/XL3u3ezhRXxkcOuPNgoKW8PO4ihjEMYn0CyhjemUBJdIIzzWo/4hRXqHfaDx7V ttPNScC4Kj50stHRtHmqqZaeT6+VqmgDAOVwsx4n5e78LYwuUdraNwyLhI/Q9MZFZ1Sn quNRmy6H66TePbXGfV3dilftgq4YUQUtQqEgFNIwG848qAse1lezZDnLHNLGs45UOYi/ FFBZYyxTmy1j9K/4/8sAjBkVuAr1DagHnrJDdXUasFyMkQdnAoiAdKTWq5fLg/CrSZ1D Tkew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :feedback-id:dkim-signature:dkim-signature; bh=7uQYAURCHALofBgFqai+eJUuH83j/8j81wXB1dd11us=; b=mjgeCYwEfjuN86tsE2j3NtUnne96A/h1ym5BIy7a8Gks2UZrzZLw+oHsLF3l9MtNDF QTYKO3WdzdeW0JoMsCFvgSGFplWFwZbLhz++q2kZ6hkyrJUWyKkTT9H8GdZcHP9ecVtT akYNywaodJJgwuhZp9cV/qytUrJGhL+2kGnKE6eUCjFQwPHZAOoQ+SwcrTWbb9LujIqW zIIZbHYMwt0Y9K6Qgdc2QoUhps0Ww83JLgdcULlDtSQNCDHtW5d1vG7XYApSfDNO1Brq xRECNXbLOIqv6gW+LBUzcrMJ1IBa0n6hGR1OIRFKM2b4eDFeLDn6DeRSPDRNrDKWrcCW Tx/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="Z1Lc/Kce"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=uEtyUlqW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m72-20020a633f4b000000b0046b121a3246si26843500pga.842.2022.12.31.08.48.24; Sat, 31 Dec 2022 08:48:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b="Z1Lc/Kce"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=uEtyUlqW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235702AbiLaQqy (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Sat, 31 Dec 2022 11:46:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232199AbiLaQqi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 31 Dec 2022 11:46:38 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6212F60D0; Sat, 31 Dec 2022 08:46:37 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D038F5C009F; Sat, 31 Dec 2022 11:46:36 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 31 Dec 2022 11:46:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1672505196; x=1672591596; bh=7u QYAURCHALofBgFqai+eJUuH83j/8j81wXB1dd11us=; b=Z1Lc/KcetaEibwX0dY JySItRjpdvUAyueivr0diViUBCr7DukMgltIDO350pBO8e2zlGGPBi1ZM5K6g8RI ijpH54flxMKeCD+p9jAfaJ0FAmyxb53KCENakMz5YEBliQNhlEMIkDhuoeu8S9Kx 0ZU71TiJ9ihY5p3RqTU5E1eGPmsbGRQIlPSmy5UfBDioxvFyWAcw+ymVNPuhdUg7 PlhhqSmJXojzy2B9WJQhvC4fp0yiCVFGchz+ncWlPl8EUYzI4b2wx83efps03v1q /ebkfvz+wTjFkm6Th29cL1rBogtMpAm/l97JaaA9UCqyrd+y46LkuxUpOVdqEarR grCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1672505196; x=1672591596; bh=7uQYAURCHALof BgFqai+eJUuH83j/8j81wXB1dd11us=; b=uEtyUlqWQIP6KQnLbF7xCXwWgQnnI Q+68oZS1Q2BfaaSRj05sI6nC5Gb98mtUISzPKUuxFMVcN17GMeOmU8Qd1avNLwXE REPaCDhAB8os+3Zt19Ni0I+jAO3e4xjy5AStkBwIPX/DmINi5N9eDEw5jXvcp9R9 lEofGkOsxzCviMJZVT7Tl5PXJMx0wiBedsC2ME82wRjhU6iTbs/AncZErANh/bj/ olZlQlAyZmcBe19ZbWsPh4FRGOjndpg0dlmHmFR29vttM6Tnfumyyi93OIuFdcsp 9/5Vs+lk2WeZrkPAv/GTX5DlC3Vh56lMiOBCblzOfkcm1jf+WrZq6ShuQ== X-ME-Sender: <xms:bGewY2YyJsoB9GYtcd0Y7RbeHn6f28O36fil5Bk07AXHPEc4tVYFPQ> <xme:bGewY5Y1iZVeifPFRNJqGQbS80D47FmmWiyWe_osuVhTIcbTeXCMOlLIegRGwuQN5 SlrDz-VkV3i3kJ2gw> X-ME-Received: <xmr:bGewYw_tOGNGkqnPQfb69c_rE2IQtIqo0DZAH4GgJtnlcw5BupJRS1bI5t6IFkpGd1HRlFKtTt8L8aMgT-qMaeR53ovVSK0Rlor8EoRQ1mquSpfLdd3BZkjE3I6f4j5rqi_d7Q> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieekgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpedukeetueduhedtleetvefguddvvdejhfefudelgfduveeggeehgfdu feeitdevteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: <xmx:bGewY4rV7zQaxG2__glQcVtFLQp82ebxc280fvp_8943ZTBp1AxmZw> <xmx:bGewYxqsc8d2IjOpXGlF5GEy2pJwTFaUISDLQeg3uPNPOTj7y7QEQA> <xmx:bGewY2Q_vo2xQr8FYEHn3nEa79tQoZzMt4Qrus7v3zUGF5dpgZ4loQ> <xmx:bGewY2if-Uz-np-3MUQ1eFvqDpKhjalu6n3Z6JZ2ftPjoU-txNTSHA> Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 11:46:35 -0500 (EST) From: Samuel Holland <samuel@sholland.org> To: Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Samuel Holland <samuel@sholland.org>, Albert Ou <aou@eecs.berkeley.edu>, Conor Dooley <conor@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Maxime Ripard <mripard@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-riscv@lists.infradead.org, linux-staging@lists.linux.dev, linux-sunxi@lists.linux.dev Subject: [PATCH 4/4] riscv: dts: allwinner: d1: Add video engine node Date: Sat, 31 Dec 2022 10:46:27 -0600 Message-Id: <20221231164628.19688-5-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221231164628.19688-1-samuel@sholland.org> References: <20221231164628.19688-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753748933857826318?= X-GMAIL-MSGID: =?utf-8?q?1753748933857826318?= |
Series |
Allwinner D1 video engine support
|
|
Commit Message
Samuel Holland
Dec. 31, 2022, 4:46 p.m. UTC
D1 contains a video engine which is supported by the Cedrus driver.
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
Comments
Hi Samuel, On Sat 31 Dec 22, 10:46, Samuel Holland wrote: > D1 contains a video engine which is supported by the Cedrus driver. Does it work "outside the box" without power domain management? If not, it might be a bit confusing to add the node at this point. Cheers, Paul > Signed-off-by: Samuel Holland <samuel@sholland.org> > --- > > arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > index dff363a3c934..4bd374279155 100644 > --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > @@ -34,6 +34,17 @@ soc { > #address-cells = <1>; > #size-cells = <1>; > > + ve: video-codec@1c0e000 { > + compatible = "allwinner,sun20i-d1-video-engine"; > + reg = <0x1c0e000 0x2000>; > + interrupts = <SOC_PERIPHERAL_IRQ(66) IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&ccu CLK_BUS_VE>, > + <&ccu CLK_VE>, > + <&ccu CLK_MBUS_VE>; > + clock-names = "ahb", "mod", "ram"; > + resets = <&ccu RST_BUS_VE>; > + }; > + > pio: pinctrl@2000000 { > compatible = "allwinner,sun20i-d1-pinctrl"; > reg = <0x2000000 0x800>; > -- > 2.37.4 >
Hi Paul, On 1/5/23 04:11, Paul Kocialkowski wrote: > On Sat 31 Dec 22, 10:46, Samuel Holland wrote: >> D1 contains a video engine which is supported by the Cedrus driver. > > Does it work "outside the box" without power domain management? > If not, it might be a bit confusing to add the node at this point. Yes, it does. All of the power domains are enabled by default. However, if the PPU series is merged first, I will respin this to include the power-domains property from the beginning. Regards, Samuel >> Signed-off-by: Samuel Holland <samuel@sholland.org> >> --- >> >> arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi >> index dff363a3c934..4bd374279155 100644 >> --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi >> +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi >> @@ -34,6 +34,17 @@ soc { >> #address-cells = <1>; >> #size-cells = <1>; >> >> + ve: video-codec@1c0e000 { >> + compatible = "allwinner,sun20i-d1-video-engine"; >> + reg = <0x1c0e000 0x2000>; >> + interrupts = <SOC_PERIPHERAL_IRQ(66) IRQ_TYPE_LEVEL_HIGH>; >> + clocks = <&ccu CLK_BUS_VE>, >> + <&ccu CLK_VE>, >> + <&ccu CLK_MBUS_VE>; >> + clock-names = "ahb", "mod", "ram"; >> + resets = <&ccu RST_BUS_VE>; >> + }; >> + >> pio: pinctrl@2000000 { >> compatible = "allwinner,sun20i-d1-pinctrl"; >> reg = <0x2000000 0x800>; >> -- >> 2.37.4 >> >
Dne četrtek, 05. januar 2023 ob 15:38:36 CET je Samuel Holland napisal(a): > Hi Paul, > > On 1/5/23 04:11, Paul Kocialkowski wrote: > > On Sat 31 Dec 22, 10:46, Samuel Holland wrote: > >> D1 contains a video engine which is supported by the Cedrus driver. > > > > Does it work "outside the box" without power domain management? > > If not, it might be a bit confusing to add the node at this point. > > Yes, it does. All of the power domains are enabled by default. However, > if the PPU series is merged first, I will respin this to include the > power-domains property from the beginning. I would rather see that merged before and having complete node right away. I've been away, but I'll merge everything that's ready for sunxi tree until end of the weekend. Best regards, Jernej > > Regards, > Samuel > > >> Signed-off-by: Samuel Holland <samuel@sholland.org> > >> --- > >> > >> arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 11 +++++++++++ > >> 1 file changed, 11 insertions(+) > >> > >> diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > >> b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi index > >> dff363a3c934..4bd374279155 100644 > >> --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > >> +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi > >> @@ -34,6 +34,17 @@ soc { > >> > >> #address-cells = <1>; > >> #size-cells = <1>; > >> > >> + ve: video-codec@1c0e000 { > >> + compatible = "allwinner,sun20i-d1-video- engine"; > >> + reg = <0x1c0e000 0x2000>; > >> + interrupts = <SOC_PERIPHERAL_IRQ(66) IRQ_TYPE_LEVEL_HIGH>; > >> + clocks = <&ccu CLK_BUS_VE>, > >> + <&ccu CLK_VE>, > >> + <&ccu CLK_MBUS_VE>; > >> + clock-names = "ahb", "mod", "ram"; > >> + resets = <&ccu RST_BUS_VE>; > >> + }; > >> + > >> > >> pio: pinctrl@2000000 { > >> > >> compatible = "allwinner,sun20i-d1-pinctrl"; > >> reg = <0x2000000 0x800>;
On Thu, 05 Jan 2023 08:21:58 PST (-0800), jernej.skrabec@gmail.com wrote: > Dne četrtek, 05. januar 2023 ob 15:38:36 CET je Samuel Holland napisal(a): >> Hi Paul, >> >> On 1/5/23 04:11, Paul Kocialkowski wrote: >> > On Sat 31 Dec 22, 10:46, Samuel Holland wrote: >> >> D1 contains a video engine which is supported by the Cedrus driver. >> > >> > Does it work "outside the box" without power domain management? >> > If not, it might be a bit confusing to add the node at this point. >> >> Yes, it does. All of the power domains are enabled by default. However, >> if the PPU series is merged first, I will respin this to include the >> power-domains property from the beginning. > > I would rather see that merged before and having complete node right away. > > I've been away, but I'll merge everything that's ready for sunxi tree until > end of the weekend. Just checking up on this one, as it's still in the RISC-V patchwork but I don't see it in linux-next. No big deal on my end, I just don't want to be dropping the ball here. Acked-by: Palmer Dabbelt <palmer@rivosinc.com> In case you were waiting for it (in which case sorry). > > Best regards, > Jernej > >> >> Regards, >> Samuel >> >> >> Signed-off-by: Samuel Holland <samuel@sholland.org> >> >> --- >> >> >> >> arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 11 +++++++++++ >> >> 1 file changed, 11 insertions(+) >> >> >> >> diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi >> >> b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi index >> >> dff363a3c934..4bd374279155 100644 >> >> --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi >> >> +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi >> >> @@ -34,6 +34,17 @@ soc { >> >> >> >> #address-cells = <1>; >> >> #size-cells = <1>; >> >> >> >> + ve: video-codec@1c0e000 { >> >> + compatible = "allwinner,sun20i-d1-video- > engine"; >> >> + reg = <0x1c0e000 0x2000>; >> >> + interrupts = <SOC_PERIPHERAL_IRQ(66) > IRQ_TYPE_LEVEL_HIGH>; >> >> + clocks = <&ccu CLK_BUS_VE>, >> >> + <&ccu CLK_VE>, >> >> + <&ccu CLK_MBUS_VE>; >> >> + clock-names = "ahb", "mod", "ram"; >> >> + resets = <&ccu RST_BUS_VE>; >> >> + }; >> >> + >> >> >> >> pio: pinctrl@2000000 { >> >> >> >> compatible = "allwinner,sun20i-d1-pinctrl"; >> >> reg = <0x2000000 0x800>;
diff --git a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi index dff363a3c934..4bd374279155 100644 --- a/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi +++ b/arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi @@ -34,6 +34,17 @@ soc { #address-cells = <1>; #size-cells = <1>; + ve: video-codec@1c0e000 { + compatible = "allwinner,sun20i-d1-video-engine"; + reg = <0x1c0e000 0x2000>; + interrupts = <SOC_PERIPHERAL_IRQ(66) IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_VE>, + <&ccu CLK_VE>, + <&ccu CLK_MBUS_VE>; + clock-names = "ahb", "mod", "ram"; + resets = <&ccu RST_BUS_VE>; + }; + pio: pinctrl@2000000 { compatible = "allwinner,sun20i-d1-pinctrl"; reg = <0x2000000 0x800>;