From: Aisheng Dong <aisheng.dong@nxp.com>
To: "Mirela Rabulea (OSS)" <mirela.rabulea@oss.nxp.com>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"G.n. Zhou" <guoniu.zhou@nxp.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"mchehab@kernel.org" <mchehab@kernel.org>
Cc: Peng Fan <peng.fan@nxp.com>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
dl-linux-imx <linux-imx@nxp.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"hverkuil-cisco@xs4all.nl" <hverkuil-cisco@xs4all.nl>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"paul.kocialkowski@bootlin.com" <paul.kocialkowski@bootlin.com>,
Daniel Baluta <daniel.baluta@nxp.com>,
Robert Chiras <robert.chiras@nxp.com>,
Laurentiu Palcu <laurentiu.palcu@nxp.com>,
"p.zabel@pengutronix.de" <p.zabel@pengutronix.de>,
"ezequiel@collabora.com" <ezequiel@collabora.com>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
Mirela Rabulea <mirela.rabulea@nxp.com>
Subject: RE: [PATCH v14 1/2] media: dt-bindings: imx-jpeg: Add compatible for i.MX8QM JPEG codec
Date: Mon, 21 Jun 2021 03:46:37 +0000 [thread overview]
Message-ID: <DB9PR04MB8477C40976C1936E61EBF094800A9@DB9PR04MB8477.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20210619143611.17280-2-mirela.rabulea@oss.nxp.com>
> From: Mirela Rabulea (OSS) <mirela.rabulea@oss.nxp.com>
> Sent: Saturday, June 19, 2021 10:36 PM
> Subject: [PATCH v14 1/2] media: dt-bindings: imx-jpeg: Add compatible for
> i.MX8QM JPEG codec
Nitpick: we usually put dt-bindings first.
e.g.
dt-bindings: media: xxx
Anyway it's small problem, so:
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Regards
Aisheng
>
> Add two more compatibles: "nxp,imx8qm-jpgdec" and " nxp,imx8qm-jpgenc".
> Also update the compatible property to ensure mutually exclusive usage of
> encoder and decoder compatibles.
> Update examples.
>
> Signed-off-by: Mirela Rabulea <mirela.rabulea@nxp.com>
> ---
> Changes in v14:
> Address feedback from Aisheng Dong, do not use anyOf
>
> .../bindings/media/nxp,imx8-jpeg.yaml | 19 ++++++++++++-------
> 1 file changed, 12 insertions(+), 7 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml
> b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml
> index 5d13cbb5251b..3cc6f42aeb76 100644
> --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml
> +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml
> @@ -16,12 +16,17 @@ description: |-
>
> properties:
> compatible:
> - items:
> - - enum:
> - # JPEG decoder
> - - nxp,imx8qxp-jpgdec
> - # JPEG encoder
> - - nxp,imx8qxp-jpgenc
> + oneOf:
> + - items:
> + enum:
> + - nxp,imx8qxp-jpgdec
> + - nxp,imx8qxp-jpgenc
> + - items:
> + - const: nxp,imx8qm-jpgdec
> + - const: nxp,imx8qxp-jpgdec
> + - items:
> + - const: nxp,imx8qm-jpgenc
> + - const: nxp,imx8qxp-jpgenc
>
> reg:
> maxItems: 1
> @@ -69,7 +74,7 @@ examples:
> };
>
> jpegenc: jpegenc@58450000 {
> - compatible = "nxp,imx8qxp-jpgenc";
> + compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc";
> reg = <0x58450000 0x00050000 >;
> interrupts = <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>,
> <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>,
> --
> 2.17.1
next prev parent reply other threads:[~2021-06-21 3:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-19 14:36 [PATCH v14 0/2] Add dts and bindings update for i.MX8QM/QXP JPEG codec Mirela Rabulea (OSS)
2021-06-19 14:36 ` [PATCH v14 1/2] media: dt-bindings: imx-jpeg: Add compatible for i.MX8QM " Mirela Rabulea (OSS)
2021-06-21 3:46 ` Aisheng Dong [this message]
2021-07-12 20:13 ` Rob Herring
2021-06-19 14:36 ` [PATCH v14 2/2] arm64: dts: imx8: Add jpeg encoder/decoder nodes Mirela Rabulea (OSS)
2021-06-21 3:50 ` Aisheng Dong
2021-09-14 7:11 ` Hans Verkuil
2021-09-14 10:42 ` [EXT] " Mirela Rabulea
2021-09-14 10:44 ` Hans Verkuil
2021-07-14 7:45 ` [PATCH v14 0/2] Add dts and bindings update for i.MX8QM/QXP JPEG codec Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB9PR04MB8477C40976C1936E61EBF094800A9@DB9PR04MB8477.eurprd04.prod.outlook.com \
--to=aisheng.dong@nxp.com \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel@collabora.com \
--cc=guoniu.zhou@nxp.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kernel@pengutronix.de \
--cc=laurentiu.palcu@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mirela.rabulea@nxp.com \
--cc=mirela.rabulea@oss.nxp.com \
--cc=p.zabel@pengutronix.de \
--cc=paul.kocialkowski@bootlin.com \
--cc=peng.fan@nxp.com \
--cc=robert.chiras@nxp.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).