From: Rob Herring <robh@kernel.org>
To: Conor Dooley <conor@kernel.org>
Cc: Dan Scally <dan.scally@ideasonboard.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
jacopo.mondi@ideasonboard.com, nayden.kanchev@arm.com,
mchehab@kernel.org, krzysztof.kozlowski+dt@linaro.org,
conor+dt@kernel.org, jerome.forissier@linaro.org,
kieran.bingham@ideasonboard.com
Subject: Re: [PATCH v2 2/5] dt-bindings: media: Add bindings for ARM mali-c55
Date: Thu, 22 Feb 2024 11:07:47 -0700 [thread overview]
Message-ID: <20240222180747.GA3518860-robh@kernel.org> (raw)
In-Reply-To: <20240216-caboose-poison-3052a4bb9eaf@spud>
On Fri, Feb 16, 2024 at 07:07:58PM +0000, Conor Dooley wrote:
> On Fri, Feb 16, 2024 at 02:45:31PM +0000, Dan Scally wrote:
>
> > > > > > > > + - description: ISP AXI clock
> > > > > > > > + - description: ISP AHB-lite clock
> > > > > > > These two other clocks look good to me.
> > > > > > >
> > > > > > > > +
> > > > > > > > + clock-names:
> > > > > > > > + items:
> > > > > > > > + - const: vclk
> > > > > > > > + - const: aclk
> > > > > > > > + - const: hclk
> > > > > > Why not "video" "axi" "ahb-lite"? There's 3 useful letters between the
> > > > > > tree clock names you've provided - they're all clocks, so having "clk"
> > > > > > in them is just noise :)
> > > > > As far as I understand, the names proposed by Dan come directly from the
> > > > > IP core documentation.
> > > > This is the case, but I do take Conor's point that more descriptive names might be nicer - if I'm
> > > > honest I just didn't think about it particularly given "Xclk" is such a common name for them
> > > > already, but having been poked into thinking about it I do agree.
> > > Isn't the usual practice in DT bindings is to name GPIOs, clocks and reset
> > > signals based on the hardware documentation ?
> >
> >
> > Ah - I don't know honestly. If that's so then yeah - these are the names the documentation prescribes.
>
> If a direct doc match is what you're going for, then sure, keep it.
pclk, aclk, and hclk are generally the names used for APB, AXI, and AHB
bus clocks, so I'd stick with them. Though we also have cases of the bus
names used...
Rob
next prev parent reply other threads:[~2024-02-22 18:07 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-14 14:19 [PATCH v2 0/5] Add Arm Mali-C55 Image Signal Processor Driver Daniel Scally
2024-02-14 14:19 ` [PATCH v2 1/5] media: uapi: Add MEDIA_BUS_FMT_RGB202020_1X60 format code Daniel Scally
2024-02-14 14:19 ` [PATCH v2 2/5] dt-bindings: media: Add bindings for ARM mali-c55 Daniel Scally
2024-02-14 14:28 ` Laurent Pinchart
2024-02-14 17:37 ` Conor Dooley
2024-02-15 11:02 ` Laurent Pinchart
2024-02-16 13:09 ` Dan Scally
2024-02-16 13:27 ` Laurent Pinchart
2024-02-16 14:45 ` Dan Scally
2024-02-16 19:07 ` Conor Dooley
2024-02-22 18:07 ` Rob Herring [this message]
2024-02-26 11:54 ` Sakari Ailus
2024-02-26 12:04 ` Laurent Pinchart
2024-02-26 12:20 ` Sakari Ailus
2024-02-26 12:58 ` Laurent Pinchart
2024-02-26 13:37 ` Sakari Ailus
2024-02-26 13:42 ` Dan Scally
2024-02-14 14:19 ` [PATCH v2 3/5] media: mali-c55: Add Mali-C55 ISP driver Daniel Scally
2024-02-26 11:03 ` Sakari Ailus
2024-02-28 12:50 ` Jacopo Mondi
2024-02-28 13:11 ` Sakari Ailus
2024-02-28 13:29 ` Kieran Bingham
2024-02-28 13:38 ` Laurent Pinchart
2024-03-01 15:15 ` Dan Scally
2024-03-01 16:21 ` Dan Scally
2024-02-14 14:19 ` [PATCH v2 4/5] media: Documentation: Add Mali-C55 ISP Documentation Daniel Scally
2024-02-25 21:22 ` Kieran Bingham
2024-02-26 7:48 ` Dan Scally
2024-02-26 9:12 ` Kieran Bingham
2024-02-14 14:19 ` [PATCH v2 5/5] MAINTAINERS: Add entry for mali-c55 driver Daniel Scally
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=20240222180747.GA3518860-robh@kernel.org \
--to=robh@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor@kernel.org \
--cc=dan.scally@ideasonboard.com \
--cc=devicetree@vger.kernel.org \
--cc=jacopo.mondi@ideasonboard.com \
--cc=jerome.forissier@linaro.org \
--cc=kieran.bingham@ideasonboard.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=nayden.kanchev@arm.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;
as well as URLs for NNTP newsgroup(s).