From: Stephen Warren <swarren@wwwdotorg.org>
To: Sebastian Reichel <sre@debian.org>
Cc: "Sebastian Reichel" <sre@ring0.de>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Shubhrajyoti Datta" <omaplinuxkernel@gmail.com>,
"Carlos Chinea" <cch.devel@gmail.com>,
"Paul Walmsley" <paul@pwsan.com>,
"Kevin Hilman" <khilman@deeprootsystems.com>,
"Tony Lindgren" <tony@atomide.com>,
"Russell King" <linux@arm.linux.org.uk>,
"Grant Likely" <grant.likely@linaro.org>,
"Rob Herring" <rob.herring@calxeda.com>,
"Pawel Moll" <pawel.moll@arm.com>,
"Mark Rutland" <mark.rutland@arm.com>,
"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
"Rob Landley" <rob@landley.net>,
"'Benoît Cousson'" <bcousson@baylibre.com>,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org
Subject: Re: [RFCv2 3/3] ARM: dts: N900: Add SSI information
Date: Mon, 23 Sep 2013 14:35:35 -0600 [thread overview]
Message-ID: <5240A617.1010208@wwwdotorg.org> (raw)
In-Reply-To: <1379277856-24571-4-git-send-email-sre@debian.org>
On 09/15/2013 02:44 PM, Sebastian Reichel wrote:
> Add SSI device tree data for OMAP34xx and Nokia N900.
What is an "SSI" device, ...
> diff --git a/Documentation/devicetree/bindings/hsi/omap_ssi.txt b/Documentation/devicetree/bindings/hsi/omap_ssi.txt
... and what is the "HSI" subsystem?
> +OMAP SSI controller bindings
> +
> +Required properties:
> +- compatible: Should be set to the following value
> + ti,omap3-ssi (applicable to OMAP34xx devices)
I think that'd be better phrased as:
Should include "ti,omap3-ssi".
The binding should not preclude other compatibel values being present
(e.g. a SoC-specific compatible value, to allow SoC-specific quirks to
be enabled later).
> +- ti,hwmods: Name of the hwmod associated to the controller, which
> + is "ssi".
I don't think we should add any more of that, for new bindings.
> +- reg: Contains SSI register address range (base address and
> + length).
> +- reg-names: Contains the names of the address ranges. It's
> + expected, that "sys" and "gdd" address ranges are
> + provided.
Why two entries in reg-names but only one in reg?
I think it'd be better to write:
reg-names: Contains the values "sys" and "gdd".
reg: Contains a register specifier for each entry in
reg-names.
A similar re-ordering/-wording would apply to interrupts/interrupt-names.
> +- ranges Required as an empty node
s/node/property/
Why must ranges be empty? As long as the content correctly represents
the bus setup, why does the content matter at all. How about:
ranges Represents the bus address mapping between the main
controller node and the child nodes below.
> +Each port is represented as a sub-node of the ti,omap3-ssi device.
> +
> +Required Port sub-node properties:
> +- compatible: Should be set to the following value
> + ti,omap3-ssi-port (applicable to OMAP34xx devices)
Hmm. Is it really the case that there is 1 controller with n ports? Are
the ports really dependent upon some shared resource? Couldn't the ports
be represented as separate top-level SSI controllers?
> +- interrupts: Contains the interrupt information for the port.
> +- interrupt-names: Contains the names of the interrupts. It's expected,
> + that "mpu_irq0" and "mpu_irq1" are provided.
What exactly are those interrupts? "MPU" sounds like an external
micro-controller/processor...
> +- ti,ssi-cawake-gpio: Defines which GPIO pin is used to signify CAWAKE
> + events for the port. This is an optional board-specific
> + property. If it's missing the port will not be
> + enabled.
That also sounds like something that's a higher-level protocol, rather
than whatever low-level transport "SSI" implements. Should this be part
of a child node that represents the device attached to the SSI controller?
Does the SSI controller (or its ports) not need any clocks, resets,
regulators, ...?
next prev parent reply other threads:[~2013-09-23 20:35 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-15 20:44 [RFCv2 0/3] OMAP SSI driver Sebastian Reichel
2013-09-15 20:44 ` [RFCv2 2/3] ARM: OMAP2+: HSI: Introduce " Sebastian Reichel
[not found] ` <1379277856-24571-3-git-send-email-sre-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2013-09-18 19:23 ` Tony Lindgren
[not found] ` <1379277856-24571-1-git-send-email-sre-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2013-09-15 20:44 ` [RFCv2 1/3] ARM: OMAP2+: hwmod-data: Add SSI information Sebastian Reichel
2013-09-15 20:44 ` [RFCv2 3/3] ARM: dts: N900: " Sebastian Reichel
2013-09-16 13:05 ` Javier Martinez Canillas
2013-09-16 15:01 ` Sebastian Reichel
2013-09-16 17:25 ` Javier Martinez Canillas
[not found] ` <20130916150147.GA14047-SfvFxonMDyemK9LvCR3Hrw@public.gmane.org>
2013-09-16 18:10 ` Aaro Koskinen
[not found] ` <20130916181032.GB30568-R3WNPi76c83LsdW6vOPryG4HOFkwEHDbMR2xtNvyitY@public.gmane.org>
2013-09-16 19:27 ` Sebastian Reichel
2013-09-16 13:11 ` Nishanth Menon
2013-09-23 20:35 ` Stephen Warren [this message]
[not found] ` <5240A617.1010208-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-09-23 23:46 ` Sebastian Reichel
[not found] ` <20130923234656.GB24781-SfvFxonMDyemK9LvCR3Hrw@public.gmane.org>
2013-09-24 19:55 ` Stephen Warren
2013-09-24 20:10 ` Tony Lindgren
2013-11-21 1:38 ` Tony Lindgren
2013-11-21 2:21 ` Sebastian Reichel
2013-11-21 20:46 ` Tony Lindgren
2013-11-21 23:38 ` Sebastian Reichel
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=5240A617.1010208@wwwdotorg.org \
--to=swarren@wwwdotorg.org \
--cc=bcousson@baylibre.com \
--cc=cch.devel@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=khilman@deeprootsystems.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=omaplinuxkernel@gmail.com \
--cc=paul@pwsan.com \
--cc=pawel.moll@arm.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=sre@debian.org \
--cc=sre@ring0.de \
--cc=tony@atomide.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).