Message ID | 20230112-imx-pxp-v2-8-e2281da1db55@pengutronix.de (mailing list archive) |
---|---|
State | New |
Delegated to: | Laurent Pinchart |
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1pGGob-00GQEz-AQ; Fri, 13 Jan 2023 09:57:37 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241316AbjAMJ5f (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Fri, 13 Jan 2023 04:57:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240906AbjAMJ5A (ORCPT <rfc822;linux-media@vger.kernel.org>); Fri, 13 Jan 2023 04:57:00 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB37A671A8 for <linux-media@vger.kernel.org>; Fri, 13 Jan 2023 01:54:16 -0800 (PST) Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from <m.tretter@pengutronix.de>) id 1pGGlK-0003cp-BO; Fri, 13 Jan 2023 10:54:14 +0100 From: Michael Tretter <m.tretter@pengutronix.de> Date: Fri, 13 Jan 2023 10:54:14 +0100 Subject: [PATCH v2 08/16] ARM: dts: imx7d: add node for PXP MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230112-imx-pxp-v2-8-e2281da1db55@pengutronix.de> References: <20230112-imx-pxp-v2-0-e2281da1db55@pengutronix.de> In-Reply-To: <20230112-imx-pxp-v2-0-e2281da1db55@pengutronix.de> To: linux-media@vger.kernel.org, devicetree@vger.kernel.org, Philipp Zabel <p.zabel@pengutronix.de>, Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Michael Tretter <m.tretter@pengutronix.de>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Fabio Estevam <festevam@gmail.com>, Alexander Stein <alexander.stein@ew.tq-group.com>, kernel@pengutronix.de, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.11.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::54 X-SA-Exim-Mail-From: m.tretter@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-media@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Series |
media: imx-pxp: add support for i.MX7D
|
|
Commit Message
Michael Tretter
Jan. 13, 2023, 9:54 a.m. UTC
The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree
node to make it available.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Changelog
v2:
- fix alignment
---
arch/arm/boot/dts/imx7d.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
On Fr, 2023-01-13 at 10:54 +0100, Michael Tretter wrote: > The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree > node to make it available. > > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> regards Philipp
Hi Michael, (CC'ing Shawn) On Fri, Jan 13, 2023 at 10:54:14AM +0100, Michael Tretter wrote: > The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree > node to make it available. > > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Should this go through Shawn's tree ? If so, how would you like to handle the dependency on the DT bindings in patch 01/16 ? > --- > Changelog > > v2: > > - fix alignment > --- > arch/arm/boot/dts/imx7d.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi > index 7ceb7c09f7ad..4b94b8afb55d 100644 > --- a/arch/arm/boot/dts/imx7d.dtsi > +++ b/arch/arm/boot/dts/imx7d.dtsi > @@ -165,6 +165,15 @@ pcie_phy: pcie-phy@306d0000 { > reg = <0x306d0000 0x10000>; > status = "disabled"; > }; > + > + pxp: pxp@30700000 { > + compatible = "fsl,imx7d-pxp"; > + reg = <0x30700000 0x10000>; > + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&clks IMX7D_PXP_CLK>; > + clock-names = "axi"; > + }; > }; > > &aips3 {
On Mon, 16 Jan 2023 18:26:49 +0200, Laurent Pinchart wrote: > On Fri, Jan 13, 2023 at 10:54:14AM +0100, Michael Tretter wrote: > > The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree > > node to make it available. > > > > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> > > Should this go through Shawn's tree ? If so, how would you like to > handle the dependency on the DT bindings in patch 01/16 ? There is no actual dependency. The binding was already specified as a txt, just not as a yaml, and the added node matches both. Michael > > > --- > > Changelog > > > > v2: > > > > - fix alignment > > --- > > arch/arm/boot/dts/imx7d.dtsi | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi > > index 7ceb7c09f7ad..4b94b8afb55d 100644 > > --- a/arch/arm/boot/dts/imx7d.dtsi > > +++ b/arch/arm/boot/dts/imx7d.dtsi > > @@ -165,6 +165,15 @@ pcie_phy: pcie-phy@306d0000 { > > reg = <0x306d0000 0x10000>; > > status = "disabled"; > > }; > > + > > + pxp: pxp@30700000 { > > + compatible = "fsl,imx7d-pxp"; > > + reg = <0x30700000 0x10000>; > > + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, > > + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; > > + clocks = <&clks IMX7D_PXP_CLK>; > > + clock-names = "axi"; > > + }; > > }; > > > > &aips3 {
On Fri, Jan 20, 2023 at 10:06:09AM +0100, Michael Tretter wrote: > On Mon, 16 Jan 2023 18:26:49 +0200, Laurent Pinchart wrote: > > On Fri, Jan 13, 2023 at 10:54:14AM +0100, Michael Tretter wrote: > > > The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree > > > node to make it available. > > > > > > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> > > > > Should this go through Shawn's tree ? If so, how would you like to > > handle the dependency on the DT bindings in patch 01/16 ? > > There is no actual dependency. The binding was already specified as a txt, > just not as a yaml, and the added node matches both. Good point. I'll send a pull request for the series then, without this patch, which can be picked by Shawn separately. > > > --- > > > Changelog > > > > > > v2: > > > > > > - fix alignment > > > --- > > > arch/arm/boot/dts/imx7d.dtsi | 9 +++++++++ > > > 1 file changed, 9 insertions(+) > > > > > > diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi > > > index 7ceb7c09f7ad..4b94b8afb55d 100644 > > > --- a/arch/arm/boot/dts/imx7d.dtsi > > > +++ b/arch/arm/boot/dts/imx7d.dtsi > > > @@ -165,6 +165,15 @@ pcie_phy: pcie-phy@306d0000 { > > > reg = <0x306d0000 0x10000>; > > > status = "disabled"; > > > }; > > > + > > > + pxp: pxp@30700000 { > > > + compatible = "fsl,imx7d-pxp"; > > > + reg = <0x30700000 0x10000>; > > > + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, > > > + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; > > > + clocks = <&clks IMX7D_PXP_CLK>; > > > + clock-names = "axi"; > > > + }; > > > }; > > > > > > &aips3 {
Hi Shawn, On Fri, 20 Jan 2023 11:20:24 +0200, Laurent Pinchart wrote: > On Fri, Jan 20, 2023 at 10:06:09AM +0100, Michael Tretter wrote: > > On Mon, 16 Jan 2023 18:26:49 +0200, Laurent Pinchart wrote: > > > On Fri, Jan 13, 2023 at 10:54:14AM +0100, Michael Tretter wrote: > > > > The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree > > > > node to make it available. > > > > > > > > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> > > > > > > Should this go through Shawn's tree ? If so, how would you like to > > > handle the dependency on the DT bindings in patch 01/16 ? > > > > There is no actual dependency. The binding was already specified as a txt, > > just not as a yaml, and the added node matches both. > > Good point. I'll send a pull request for the series then, without this > patch, which can be picked by Shawn separately. Can you pick this patch or should I resend it as a separate series? Michael > > > > > --- > > > > Changelog > > > > > > > > v2: > > > > > > > > - fix alignment > > > > --- > > > > arch/arm/boot/dts/imx7d.dtsi | 9 +++++++++ > > > > 1 file changed, 9 insertions(+) > > > > > > > > diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi > > > > index 7ceb7c09f7ad..4b94b8afb55d 100644 > > > > --- a/arch/arm/boot/dts/imx7d.dtsi > > > > +++ b/arch/arm/boot/dts/imx7d.dtsi > > > > @@ -165,6 +165,15 @@ pcie_phy: pcie-phy@306d0000 { > > > > reg = <0x306d0000 0x10000>; > > > > status = "disabled"; > > > > }; > > > > + > > > > + pxp: pxp@30700000 { > > > > + compatible = "fsl,imx7d-pxp"; > > > > + reg = <0x30700000 0x10000>; > > > > + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, > > > > + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; > > > > + clocks = <&clks IMX7D_PXP_CLK>; > > > > + clock-names = "axi"; > > > > + }; > > > > }; > > > > > > > > &aips3 {
On Thu, Feb 09, 2023 at 03:02:25PM +0100, Michael Tretter wrote: > Hi Shawn, > > On Fri, 20 Jan 2023 11:20:24 +0200, Laurent Pinchart wrote: > > On Fri, Jan 20, 2023 at 10:06:09AM +0100, Michael Tretter wrote: > > > On Mon, 16 Jan 2023 18:26:49 +0200, Laurent Pinchart wrote: > > > > On Fri, Jan 13, 2023 at 10:54:14AM +0100, Michael Tretter wrote: > > > > > The i.MX7d contains a Pixel Pipeline in version 3.0. Add the device tree > > > > > node to make it available. > > > > > > > > > > Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> > > > > > > > > Should this go through Shawn's tree ? If so, how would you like to > > > > handle the dependency on the DT bindings in patch 01/16 ? > > > > > > There is no actual dependency. The binding was already specified as a txt, > > > just not as a yaml, and the added node matches both. > > > > Good point. I'll send a pull request for the series then, without this > > patch, which can be picked by Shawn separately. > > Can you pick this patch or should I resend it as a separate series? Applied, thanks!
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index 7ceb7c09f7ad..4b94b8afb55d 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/boot/dts/imx7d.dtsi @@ -165,6 +165,15 @@ pcie_phy: pcie-phy@306d0000 { reg = <0x306d0000 0x10000>; status = "disabled"; }; + + pxp: pxp@30700000 { + compatible = "fsl,imx7d-pxp"; + reg = <0x30700000 0x10000>; + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX7D_PXP_CLK>; + clock-names = "axi"; + }; }; &aips3 {