From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: Jacek Anaszewski <j.anaszewski@samsung.com>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
"andrzej.p@samsung.com" <andrzej.p@samsung.com>,
Kyungmin Park <kyungmin.park@samsung.com>,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <Pawel.Moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v2 8/9] Documentation: devicetree: Document sclk-jpeg clock for exynos3250 SoC
Date: Tue, 22 Jul 2014 13:42:00 +0200 [thread overview]
Message-ID: <53CE4E08.2030407@samsung.com> (raw)
In-Reply-To: <20140714095640.GC4980@leverpostej>
On 14/07/14 11:56, Mark Rutland wrote:
>> diff --git a/Documentation/devicetree/bindings/media/exynos-jpeg-codec.txt b/Documentation/devicetree/bindings/media/exynos-jpeg-codec.txt
>> > index 937b755..3142745 100644
>> > --- a/Documentation/devicetree/bindings/media/exynos-jpeg-codec.txt
>> > +++ b/Documentation/devicetree/bindings/media/exynos-jpeg-codec.txt
>> > @@ -3,9 +3,12 @@ Samsung S5P/EXYNOS SoC series JPEG codec
>> > Required properties:
>> >
>> > - compatible : should be one of:
>> > - "samsung,s5pv210-jpeg", "samsung,exynos4210-jpeg";
>> > + "samsung,s5pv210-jpeg", "samsung,exynos4210-jpeg",
>> > + "samsung,exynos3250-jpeg";
>> > - reg : address and length of the JPEG codec IP register set;
>> > - interrupts : specifies the JPEG codec IP interrupt;
>> > -- clocks : should contain the JPEG codec IP gate clock specifier, from the
>> > +- clocks : should contain the JPEG codec IP gate clock specifier and
>> > + for the Exynos3250 SoC additionally the SCLK_JPEG entry; from the
>> > common clock bindings;
>> > -- clock-names : should contain "jpeg" entry.
>> > +- clock-names : should contain "jpeg" entry and additionally "sclk-jpeg" entry
>> > + for Exynos3250 SoC
>
> Please turn this into a list for easier reading, e.g.
>
> - clock-names: should contain:
> * "jpeg" for the gate clock.
> * "sclk-jpeg" for the SCLK_JPEG clock (only for Exynos3250).
>
> You could also define clocks in terms of clock-names to avoid
> redundancy.
>
> The SCLK_JPEG name sounds like a global name for the clock. Is there a
> name for the input line on the JPEG block this is plugged into?
There is unfortunately no such name for SCLK_JPEG clock in the IP's block
documentation. For most of the multimedia IPs clocks are documented
only in the clock controller chapter, hence the names may appear global.
Probably "gate", "sclk" would be good names, rather than "<IP_NAME>",
"<IP_NAME>-sclk". But people kept using the latter convention and now
it's spread all over and it's hard to change it.
Since now we can't rename "jpeg" and other IPs I'd assume it's best
to stay with "jpeg", "sclk-jpeg".
--
Regards,
Sylwester
next prev parent reply other threads:[~2014-07-22 11:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 15:19 [PATCH v2 0/9] Add support for Exynos3250 SoC to the s5p-jpeg driver Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 1/9] s5p-jpeg: Add support for Exynos3250 SoC Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 2/9] s5p-jpeg: return error immediately after get_byte fails Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 3/9] s5p-jpeg: Adjust jpeg_bound_align_image to Exynos3250 needs Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 4/9] s5p-jpeg: fix g_selection op Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 5/9] s5p-jpeg: Assure proper crop rectangle initialization Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 6/9] s5p-jpeg: Prevent erroneous downscaling for Exynos3250 SoC Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 7/9] s5p-jpeg: add chroma subsampling adjustment for Exynos3250 Jacek Anaszewski
2014-07-11 15:19 ` [PATCH v2 8/9] Documentation: devicetree: Document sclk-jpeg clock for exynos3250 SoC Jacek Anaszewski
2014-07-14 9:56 ` Mark Rutland
2014-07-22 11:42 ` Sylwester Nawrocki [this message]
2014-07-22 11:48 ` Arnd Bergmann
2014-07-22 14:18 ` Sylwester Nawrocki
2014-07-22 14:44 ` Arnd Bergmann
2014-07-22 14:55 ` Sylwester Nawrocki
2014-07-11 15:19 ` [PATCH v2 9/9] ARM: dts: exynos3250: add JPEG codec device node Jacek Anaszewski
2014-07-11 16:40 ` [PATCH v2 0/9] Add support for Exynos3250 SoC to the s5p-jpeg driver Sylwester Nawrocki
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=53CE4E08.2030407@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=Pawel.Moll@arm.com \
--cc=andrzej.p@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=j.anaszewski@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.