From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 4/4] arm64: Add APM X-Gene SoC SATA host controller DTS entries
Date: Fri, 3 Jan 2014 16:33:17 +0100 [thread overview]
Message-ID: <201401031633.18110.arnd@arndb.de> (raw)
In-Reply-To: <1388708539-333-5-git-send-email-lho@apm.com>
On Friday 03 January 2014, Loc Ho wrote:
> + sata23clk: sata23clk at 1f22c000 {
> + compatible = "apm,xgene-device-clock";
> + #clock-cells = <1>;
> + clocks = <&socplldiv2 0>;
> + clock-names = "sata23clk";
> + };
> +
> + sata45clk: sata45clk at 1f23c000 {
> + compatible = "apm,xgene-device-clock";
> + #clock-cells = <1>;
> + clocks = <&socplldiv2 0>;
> + clock-names = "sata45clk";
Something is wrong here: You have two devices with the same "compatible"
string but using different "clock-names" strings. The binding document
lists this as an optional property with the description "shall be
the name of the device clock. If missing, use the device name", which
doesn't seem to make any sense.
Please fix the binding and the existing users of this, and don't introduce
any more broken instances. Since each device clock is documented to
have only one parent anyway, please just make it an anonymous clock.
Arnd
next prev parent reply other threads:[~2014-01-03 15:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 0:22 [PATCH v7 0/4] ata: Add APM X-Gene SoC SATA host controller support Loc Ho
2014-01-03 0:22 ` [PATCH v7 1/4] ata: Export required functions by APM X-Gene SATA driver Loc Ho
2014-01-03 0:22 ` [PATCH v7 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding Loc Ho
2014-01-03 0:22 ` [PATCH v7 3/4] ata: Add APM X-Gene SoC SATA host controller driver Loc Ho
2014-01-03 0:22 ` [PATCH v7 4/4] arm64: Add APM X-Gene SoC SATA host controller DTS entries Loc Ho
2014-01-03 15:33 ` Arnd Bergmann [this message]
2014-01-03 17:23 ` Loc Ho
2014-01-03 19:28 ` Arnd Bergmann
2014-01-03 15:52 ` [PATCH v7 3/4] ata: Add APM X-Gene SoC SATA host controller driver Arnd Bergmann
2014-01-03 19:59 ` Loc Ho
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=201401031633.18110.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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 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).