From: Mike Turquette <mturquette@linaro.org>
To: Kukjin Kim <kgene.kim@samsung.com>, linux-kernel@vger.kernel.org
Cc: 'Rob Herring' <robh+dt@kernel.org>,
'Pawel Moll' <pawel.moll@arm.com>,
'Mark Rutland' <mark.rutland@arm.com>,
'Ian Campbell' <ijc+devicetree@hellion.org.uk>,
'Kumar Gala' <galak@codeaurora.org>,
'Rob Landley' <rob@landley.net>,
'Russell King' <linux@arm.linux.org.uk>,
'Ben Dooks' <ben-linux@fluff.org>,
'Tomasz Figa' <t.figa@samsung.com>,
'Vyacheslav Tyrtov' <v.tyrtov@samsung.com>,
'Thomas Abraham' <thomas.abraham@linaro.org>,
'Kyungmin Park' <kyungmin.park@samsung.com>,
'Heiko Stuebner' <heiko@sntech.de>,
'Romain Naour' <romain.naour@openwide.fr>,
'Chander Kashyap' <chander.kashyap@linaro.org>,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org,
'Tarek Dakhran' <t.dakhran@gmail.com>,
'Tarek Dakhran' <t.dakhran@samsung.com>,
'Jonghwan Choi' <jhbird.choi@s>
Subject: RE: [PATCH v11 2/3] clk: exynos5410: register clocks using common clock framework
Date: Wed, 28 May 2014 00:22:40 -0700 [thread overview]
Message-ID: <20140528072240.10062.16890@quantum> (raw)
In-Reply-To: <01a201cf7a30$41ecca90$c5c65fb0$@samsung.com>
Quoting Kukjin Kim (2014-05-27 21:49:49)
> Mike Turquette wrote:
> >
> > Quoting Tarek Dakhran (2014-05-25 20:23:32)
> > > The EXYNOS5410 clocks are statically listed and registered
> > > using the Samsung specific common clock helper functions.
> > >
> > > Signed-off-by: Tarek Dakhran <t.dakhran@samsung.com>
> > > Signed-off-by: Vyacheslav Tyrtov <v.tyrtov@samsung.com>
> > > ---
> > > .../devicetree/bindings/clock/exynos5410-clock.txt | 45 +++++
> > > drivers/clk/samsung/Makefile | 1 +
> > > drivers/clk/samsung/clk-exynos5410.c | 209
> > ++++++++++++++++++++
> > > include/dt-bindings/clock/exynos5410.h | 33 ++++
> > > 4 files changed, 288 insertions(+)
> > > create mode 100644 Documentation/devicetree/bindings/clock/exynos5410-
> > clock.txt
> > > create mode 100644 drivers/clk/samsung/clk-exynos5410.c
> > > create mode 100644 include/dt-bindings/clock/exynos5410.h
> > >
> > > diff --git a/Documentation/devicetree/bindings/clock/exynos5410-
> > clock.txt b/Documentation/devicetree/bindings/clock/exynos5410-clock.txt
> > > new file mode 100644
> > > index 0000000..aeab635
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/clock/exynos5410-clock.txt
> > > @@ -0,0 +1,45 @@
> > > +* Samsung Exynos5410 Clock Controller
> > > +
> > > +The Exynos5410 clock controller generates and supplies clock to various
> > > +controllers within the Exynos5410 SoC.
> > > +
> > > +Required Properties:
> > > +
> > > +- compatible: should be "samsung,exynos5410-clock"
> > > +
> > > +- reg: physical base address of the controller and length of memory
> > mapped
> > > + region.
> > > +
> > > +- #clock-cells: should be 1.
> > > +
> > > +All available clocks are defined as preprocessor macros in
> > > +dt-bindings/clock/exynos5410.h header and can be used in device
> > > +tree sources.
> > > +
> > > +External clock:
> > > +
> > > +There is clock that is generated outside the SoC. It
> > > +is expected that it is defined using standard clock bindings
> > > +with following clock-output-name:
> > > +
> > > + - "fin_pll" - PLL input clock from XXTI
> >
> > Does fin_pll feed into the exynos5410-clock controller? If so, should
> > the example clock-controller node below have a clocks and clock-names
> > property?
> >
> Well, it is fixed clocks and generated outside of the SoC...so maybe the properties are not required?
I guess the fin_pll parts of the binding description are not needed
then. This isn't a big issue, but I think that someone reading that
binding (like myself) might conclude that there is some relationship
between the clock controller and the external clock, which seems not to
be the case.
>
> BTW, I've applied this series with Tomasz Figa's reviewed tag and sent out to arm-soc today so if any concerns on this, please let me know immediately.
As far as I can tell the fin_pll paragraph can be removed at a later
date. It isn't part of any real DT binding description such as a
property or definition. So no need to cause havoc for your existing pull
request.
Regards,
Mike
>
> > Otherwise patch looks good.
> >
>
> Thanks,
> Kukjin
>
next prev parent reply other threads:[~2014-05-28 7:22 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-26 3:23 [PATCH v11 0/3] Exynos 5410 support Tarek Dakhran
2014-05-26 3:23 ` [PATCH v11 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC Tarek Dakhran
2014-05-26 3:23 ` [PATCH v11 2/3] clk: exynos5410: register clocks using common clock framework Tarek Dakhran
2014-05-28 0:41 ` Mike Turquette
2014-05-28 2:20 ` Tarek Dakhran
2014-05-28 4:49 ` Kukjin Kim
2014-05-28 7:22 ` Mike Turquette [this message]
2014-05-26 3:23 ` [PATCH v11 3/3] ARM: dts: Add initial device tree support for EXYNOS5410 Tarek Dakhran
2014-05-26 11:11 ` [PATCH v11 0/3] Exynos 5410 support Tomasz Figa
2014-05-26 22:08 ` Kukjin Kim
2014-05-27 17:06 ` Kevin Hilman
2014-05-27 17:44 ` Kevin Hilman
2014-05-27 20:17 ` Tarek Dakhran
2014-05-27 20:37 ` Tomasz Figa
2014-05-27 20:44 ` Kevin Hilman
2014-05-29 13:36 ` Andreas Färber
2014-05-29 14:46 ` Tarek Dakhran
2014-05-29 18:00 ` Andreas Färber
2014-05-30 3:41 ` Tushar Behera
2014-05-30 19:07 ` Tarek Dakhran
[not found] ` <CANhyOUeq1MMHHn9t+Fy5gpkb43y_rS9F_OAoJ_KFyM1pL4ZJ4w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-02 15:05 ` Kevin Hilman
[not found] ` <CAK9yfHwatFrQ9ssjJXi=eR3mz95xWQeRJ4-vkteR_Npksa3+tg@mail.gmail.com>
2014-05-30 19:15 ` Tarek Dakhran
[not found] ` <538775AB.3000604-l3A5Bk7waGM@public.gmane.org>
2014-05-30 5:10 ` Tomasz Figa
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=20140528072240.10062.16890@quantum \
--to=mturquette@linaro.org \
--cc=ben-linux@fluff.org \
--cc=chander.kashyap@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=heiko@sntech.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jhbird.choi@s \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=rob@landley.net \
--cc=robh+dt@kernel.org \
--cc=romain.naour@openwide.fr \
--cc=t.dakhran@gmail.com \
--cc=t.dakhran@samsung.com \
--cc=t.figa@samsung.com \
--cc=thomas.abraham@linaro.org \
--cc=v.tyrtov@samsung.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).