From: Alain Volmat <alain.volmat@foss.st.com>
To: Conor Dooley <conor@kernel.org>
Cc: Hugues Fruchet <hugues.fruchet@foss.st.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Dan Scally <dan.scally@ideasonboard.com>,
<linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 1/5] dt-bindings: media: add bindings for dcmipp driver
Date: Fri, 1 Sep 2023 16:43:18 +0200 [thread overview]
Message-ID: <20230901144318.GA248638@gnbcxd0016.gnb.st.com> (raw)
In-Reply-To: <20230829-juror-decathlon-f7b252a330bf@spud>
Hi Conor,
thanks for the review. I've taken into account your comment and
will push this into the v3.
On Tue, Aug 29, 2023 at 04:00:06PM +0100, Conor Dooley wrote:
> Hey,
>
> On Tue, Aug 29, 2023 at 03:23:45PM +0200, Alain Volmat wrote:
> > Add the yaml binding for the DCMIPP driver.
>
> Please drop all mentions of drivers, bindings are for hardware.
Ok
>
> >
> > Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
> > ---
> > .../bindings/media/st,stm32-dcmipp.yaml | 95 +++++++++++++++++++
> > 1 file changed, 95 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml b/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml
> > new file mode 100644
> > index 000000000000..63f03a1c42b6
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/media/st,stm32-dcmipp.yaml
> > @@ -0,0 +1,95 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/media/st,stm32-dcmipp.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: STMicroelectronics STM32 DCMIPP Digital Camera Memory Interface Pixel Processor binding
>
> s/binding// to appease the bot.
Ok
>
> > +
> > +maintainers:
> > + - Hugues Fruchet <hugues.fruchet@foss.st.com>
> > + - Alain Volmat <alain.volmat@foss.st.com>
> > +
> > +properties:
> > + compatible:
> > + const: st,stm32mp13-dcmipp
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + interrupts:
> > + maxItems: 1
> > +
> > + clocks:
> > + maxItems: 1
> > +
> > + clock-names:
> > + items:
> > + - const: kclk
>
> Can drop the items: here since you only have one. The name is also
> pretty pointless when you only have one...
Ok, I removed clock-names (from required as well).
>
> > +
> > + resets:
> > + maxItems: 1
> > +
> > + port:
> > + $ref: /schemas/graph.yaml#/$defs/port-base
> > + unevaluatedProperties: false
> > + description:
> > + DCMIPP supports a single port node with parallel bus.
> > +
> > + properties:
> > + endpoint:
> > + $ref: video-interfaces.yaml#
> > + unevaluatedProperties: false
> > +
> > + properties:
> > + bus-type:
> > + enum: [5, 6]
> > + default: 5
> > +
> > + bus-width:
> > + enum: [8, 10, 12, 14]
> > + default: 8
> > +
> > + pclk-sample: true
> > + hsync-active: true
> > + vsync-active: true
> > +
> > + required:
> > + - pclk-sample
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - interrupts
> > + - clocks
> > + - clock-names
> > + - resets
> > + - port
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/interrupt-controller/arm-gic.h>
> > + #include <dt-bindings/clock/stm32mp13-clks.h>
> > + #include <dt-bindings/reset/stm32mp13-resets.h>
> > + dcmipp: dcmipp@5a000000 {
>
> Neither of the labels here are used AFAICT, please remove them.
Done
Regards,
Alain
next prev parent reply other threads:[~2023-09-01 14:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 13:23 [PATCH v2 0/5] Add support for DCMIPP camera interface of STMicroelectronics STM32 SoC series Alain Volmat
2023-08-29 13:23 ` [PATCH v2 1/5] dt-bindings: media: add bindings for dcmipp driver Alain Volmat
2023-08-29 14:35 ` Rob Herring
2023-08-29 15:00 ` Conor Dooley
2023-09-01 14:43 ` Alain Volmat [this message]
2023-08-29 13:23 ` [PATCH v2 2/5] media: MAINTAINERS: add entry for STM32 DCMIPP driver Alain Volmat
2023-08-29 13:23 ` [PATCH v2 3/5] media: stm32-dcmipp: STM32 DCMIPP camera interface driver Alain Volmat
2023-08-29 13:23 ` [PATCH v2 4/5] ARM: dts: stm32: add dcmipp support to stm32mp135 Alain Volmat
2023-08-29 13:33 ` [PATCH v2 5/5] ARM: multi_v7_defconfig: enable STM32 DCMIPP media support Alain Volmat
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=20230901144318.GA248638@gnbcxd0016.gnb.st.com \
--to=alain.volmat@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=hugues.fruchet@foss.st.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mchehab@kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/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
all inboxes | Powered by JetHome®