From: Arnd Bergmann <arnd@arndb.de>
To: Loc Ho <lho@apm.com>
Cc: devicetree@vger.kernel.org, Suman Tripathi <stripathi@apm.com>,
linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org,
jcm@redhat.com, patches@apm.com, tj@kernel.org,
ddutile@redhat.com, olof@lixom.net, Tuan Phan <tphan@apm.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v17 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries
Date: Fri, 14 Mar 2014 12:08:53 +0100 [thread overview]
Message-ID: <201403141208.53772.arnd@arndb.de> (raw)
In-Reply-To: <1394655573-32645-2-git-send-email-lho@apm.com>
On Wednesday 12 March 2014, Loc Ho wrote:
> + sataphy1clk: sataphy1clk@1f21c000 {
> + compatible = "apm,xgene-device-clock";
> + #clock-cells = <1>;
> + clocks = <&socplldiv2 0>;
> + clock-names = "socplldiv2";
I think we still need to resolve the question regarding the
"clock-names" properties in your clock provider nodes. I've commented
on this in the past, since it shows up in all the x-gene drivers,
but it's very inconsistent.
The binding says
+- clock-names : shall be the name of the device clock. If missing, use the
+ device name.
which to me makes no sense. What will "use the device name", and
which device? Your clock driver doesn't actually use these strings,
so could you please fix the binding to remove this, and stop adding
the strings to any clock nodes?
Since nothing ever used these and they are marked "optional"
in the binding, I don't think there is a chance of breaking
anything by changing it now.
Arnd
WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v17 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries
Date: Fri, 14 Mar 2014 12:08:53 +0100 [thread overview]
Message-ID: <201403141208.53772.arnd@arndb.de> (raw)
In-Reply-To: <1394655573-32645-2-git-send-email-lho@apm.com>
On Wednesday 12 March 2014, Loc Ho wrote:
> + sataphy1clk: sataphy1clk at 1f21c000 {
> + compatible = "apm,xgene-device-clock";
> + #clock-cells = <1>;
> + clocks = <&socplldiv2 0>;
> + clock-names = "socplldiv2";
I think we still need to resolve the question regarding the
"clock-names" properties in your clock provider nodes. I've commented
on this in the past, since it shows up in all the x-gene drivers,
but it's very inconsistent.
The binding says
+- clock-names : shall be the name of the device clock. If missing, use the
+ device name.
which to me makes no sense. What will "use the device name", and
which device? Your clock driver doesn't actually use these strings,
so could you please fix the binding to remove this, and stop adding
the strings to any clock nodes?
Since nothing ever used these and they are marked "optional"
in the binding, I don't think there is a chance of breaking
anything by changing it now.
Arnd
next prev parent reply other threads:[~2014-03-14 11:08 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 20:19 [PATCH v17 0/4] ata: Add APM X-Gene SoC AHCI SATA host controller support Loc Ho
2014-03-12 20:19 ` Loc Ho
2014-03-12 20:19 ` [PATCH v17 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries Loc Ho
2014-03-12 20:19 ` Loc Ho
2014-03-12 20:19 ` [PATCH v17 2/4] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding Loc Ho
2014-03-12 20:19 ` Loc Ho
2014-03-12 20:19 ` [PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver Loc Ho
2014-03-12 20:19 ` Loc Ho
2014-03-12 20:19 ` [PATCH v17 4/4] arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries Loc Ho
2014-03-12 20:19 ` Loc Ho
2014-03-14 11:42 ` Arnd Bergmann
2014-03-14 11:42 ` Arnd Bergmann
2014-03-13 17:01 ` [PATCH v17 3/4] ata: Add APM X-Gene SoC AHCI SATA host controller driver Bartlomiej Zolnierkiewicz
2014-03-13 17:01 ` Bartlomiej Zolnierkiewicz
2014-03-14 11:41 ` Arnd Bergmann
2014-03-14 11:41 ` Arnd Bergmann
2014-03-14 18:49 ` Loc Ho
2014-03-14 18:49 ` Loc Ho
2014-03-14 19:05 ` Arnd Bergmann
2014-03-14 19:05 ` Arnd Bergmann
2014-03-14 20:27 ` Loc Ho
2014-03-14 20:27 ` Loc Ho
[not found] ` <CAPw-ZT=1KWEowD_i=qoWwg372XdzC4p227rpNo7ov+NwOYFUDA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-14 21:06 ` Arnd Bergmann
2014-03-14 21:06 ` Arnd Bergmann
2014-03-14 21:38 ` Loc Ho
2014-03-14 21:38 ` Loc Ho
2014-03-15 9:01 ` Arnd Bergmann
2014-03-15 9:01 ` Arnd Bergmann
2014-03-14 11:11 ` [PATCH v17 2/4] Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding Arnd Bergmann
2014-03-14 11:11 ` Arnd Bergmann
2014-03-14 11:08 ` Arnd Bergmann [this message]
2014-03-14 11:08 ` [PATCH v17 1/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries Arnd Bergmann
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=201403141208.53772.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=ddutile@redhat.com \
--cc=devicetree@vger.kernel.org \
--cc=jcm@redhat.com \
--cc=lho@apm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=olof@lixom.net \
--cc=patches@apm.com \
--cc=stripathi@apm.com \
--cc=tj@kernel.org \
--cc=tphan@apm.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 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.