devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gerhard Sittig <gsi-ynQEQJNshbs@public.gmane.org>
To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>
Subject: Re: [PATCH v1 1/1] dts: bindings: add mpc5121 clocks binding document
Date: Mon, 2 Dec 2013 17:55:20 +0100	[thread overview]
Message-ID: <20131202165520.GX2982@book.gsilab.sittig.org> (raw)
In-Reply-To: <1385994034-2513-1-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>

On Mon, Dec 02, 2013 at 15:20 +0100, Gerhard Sittig wrote:
> 
> add a clock bindings documentation file for Freescale MPC5121
> 
> this binding implements and uses existing common clock bindings,
> it does not introduce a new binding semantics but discusses the
> specific use on Freescale MPC5121 and provides examples
> 
> [ ... ]
> 
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/mpc5121-clock.txt
> @@ -0,0 +1,95 @@
> +Device Tree Clock bindings for Freescale MPC5121
> +
> [ ... ]
> +
> +Required properties:
> +- compatible:	shall contain "fsl,mpc5121-clock"
> +- reg:		shall specify the start address and length of the
> +		clock module's set of control registers
> +- #clock-cells:	shall be 1; defines the number of integer cells
> +		required for a clock specifier which references
> +		this clock provider

In hindsight the wording is not good (especially 'reg'), will see
how I can improve this.  And the layout may improve some more.

> +
> +Optional properties:
> +- clocks:	list of phandle and clock specifier pairs for the
> +		node's input clocks, following the common clock
> +		consumers binding; should be empty, or one XTAL/OSC
> +		clock reference
> +- clock-names:	list of clock input name strings sorted in the same
> +		order as the 'clocks' property

Mark, I very much like your suggestion to state that 'clocks'
should match 'clock-names' (and not vice versa, found in another
thread, after having sent this patch).

And noticed that 'clock-names' still does not say that the
XTAL/OSC should go by the name "osc".  And should not say that at
most one clock is accepted or how their order is.


So I will wait for more feedback, but can tell already that v1
needs an update before becoming acceptable.  Thank you for your
patience. :)


virtually yours
Gerhard Sittig
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office-ynQEQJNshbs@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-12-02 16:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-30 22:51 [PATCH v6 00/17] add COMMON_CLK support for PowerPC MPC512x Gerhard Sittig
     [not found] ` <1385851897-23475-1-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-11-30 22:51   ` [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header Gerhard Sittig
2013-12-02  9:46     ` Mark Rutland
     [not found]       ` <20131202094656.GA12952-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-12-02 14:20         ` [PATCH v1 1/1] dts: bindings: add mpc5121 clocks binding document Gerhard Sittig
     [not found]           ` <1385994034-2513-1-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-12-02 16:55             ` Gerhard Sittig [this message]
2013-12-02 14:25         ` [PATCH v6 02/17] dts: mpc512x: introduce dt-bindings/clock/ header Gerhard Sittig
     [not found]     ` <1385851897-23475-3-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-12-07  9:32       ` Anatolij Gustschin
2013-11-30 22:51   ` [PATCH v6 03/17] dts: mpc512x: add clock related device tree specs Gerhard Sittig
     [not found]     ` <1385851897-23475-4-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-12-07  9:34       ` Anatolij Gustschin
2013-11-30 22:51   ` [PATCH v6 06/17] dts: mpc512x: add clock specs for client lookups Gerhard Sittig
     [not found]     ` <1385851897-23475-7-git-send-email-gsi-ynQEQJNshbs@public.gmane.org>
2013-12-07  9:41       ` Anatolij Gustschin

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=20131202165520.GX2982@book.gsilab.sittig.org \
    --to=gsi-ynqeqjnshbs@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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).