All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory
@ 2017-03-17 12:58 Thomas Petazzoni
  2017-03-24 13:52 ` Rob Herring
  2017-03-24 14:13 ` Herbert Xu
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2017-03-17 12:58 UTC (permalink / raw)
  To: devicetree, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland,
	Kumar Gala
  Cc: Herbert Xu, linux-crypto, romain.perier, Nadav Haklai,
	Hanna Hawa, Yehuda Yitschak, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, Thomas Petazzoni, stable

Commit 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76
device variant") update the omap_rng Device Tree binding to add support
for the IP-76 variation of the IP. As part of this change, a "clocks"
property was added, but is indicated as "Required", without indicated
it's actually only required for some compatible strings.

This commit fixes that, by explicitly stating that the clocks property
is only required with the inside-secure,safexcel-eip76 compatible
string.

Fixes: 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76 device variant")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v1:
 - Instead of indicating the property as optional, indicate it as
   mandatory for the inside-secure,safexcel-eip76 compatible string, as
   suggested by Rob Herring.
---
 Documentation/devicetree/bindings/rng/omap_rng.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rng/omap_rng.txt b/Documentation/devicetree/bindings/rng/omap_rng.txt
index 4714772..9cf7876 100644
--- a/Documentation/devicetree/bindings/rng/omap_rng.txt
+++ b/Documentation/devicetree/bindings/rng/omap_rng.txt
@@ -12,7 +12,8 @@ Required properties:
 - reg : Offset and length of the register set for the module
 - interrupts : the interrupt number for the RNG module.
 		Used for "ti,omap4-rng" and "inside-secure,safexcel-eip76"
-- clocks: the trng clock source
+- clocks: the trng clock source. Only mandatory for the
+  "inside-secure,safexcel-eip76" compatible.
 
 Example:
 /* AM335x */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory
  2017-03-17 12:58 [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory Thomas Petazzoni
@ 2017-03-24 13:52 ` Rob Herring
  2017-03-24 14:19     ` Rob Herring
  2017-03-24 14:13 ` Herbert Xu
  1 sibling, 1 reply; 6+ messages in thread
From: Rob Herring @ 2017-03-24 13:52 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: devicetree, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala,
	Herbert Xu, linux-crypto, romain.perier, Nadav Haklai,
	Hanna Hawa, Yehuda Yitschak, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, stable

On Fri, Mar 17, 2017 at 01:58:39PM +0100, Thomas Petazzoni wrote:
> Commit 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76
> device variant") update the omap_rng Device Tree binding to add support
> for the IP-76 variation of the IP. As part of this change, a "clocks"
> property was added, but is indicated as "Required", without indicated
> it's actually only required for some compatible strings.
> 
> This commit fixes that, by explicitly stating that the clocks property
> is only required with the inside-secure,safexcel-eip76 compatible
> string.
> 
> Fixes: 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76 device variant")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> Changes since v1:
>  - Instead of indicating the property as optional, indicate it as
>    mandatory for the inside-secure,safexcel-eip76 compatible string, as
>    suggested by Rob Herring.
> ---
>  Documentation/devicetree/bindings/rng/omap_rng.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory
  2017-03-17 12:58 [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory Thomas Petazzoni
  2017-03-24 13:52 ` Rob Herring
@ 2017-03-24 14:13 ` Herbert Xu
  1 sibling, 0 replies; 6+ messages in thread
From: Herbert Xu @ 2017-03-24 14:13 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: devicetree, Rob Herring, Ian Campbell, Pawel Moll, Mark Rutland,
	Kumar Gala, linux-crypto, romain.perier, Nadav Haklai,
	Hanna Hawa, Yehuda Yitschak, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, stable

On Fri, Mar 17, 2017 at 01:58:39PM +0100, Thomas Petazzoni wrote:
> Commit 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76
> device variant") update the omap_rng Device Tree binding to add support
> for the IP-76 variation of the IP. As part of this change, a "clocks"
> property was added, but is indicated as "Required", without indicated
> it's actually only required for some compatible strings.
> 
> This commit fixes that, by explicitly stating that the clocks property
> is only required with the inside-secure,safexcel-eip76 compatible
> string.
> 
> Fixes: 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76 device variant")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory
  2017-03-24 13:52 ` Rob Herring
@ 2017-03-24 14:19     ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2017-03-24 14:19 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Ian Campbell, Pawel Moll,
	Mark Rutland, Kumar Gala, Herbert Xu,
	linux-crypto-u79uwXL29TY76Z2rM5mHXA,
	romain.perier-ZGY8ohtN/8qB+jHODAdFcQ, Nadav Haklai, Hanna Hawa,
	Yehuda Yitschak, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement,
	stable-u79uwXL29TY76Z2rM5mHXA

On Fri, Mar 24, 2017 at 08:52:00AM -0500, Rob Herring wrote:
> On Fri, Mar 17, 2017 at 01:58:39PM +0100, Thomas Petazzoni wrote:
> > Commit 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76
> > device variant") update the omap_rng Device Tree binding to add support
> > for the IP-76 variation of the IP. As part of this change, a "clocks"
> > property was added, but is indicated as "Required", without indicated
> > it's actually only required for some compatible strings.
> > 
> > This commit fixes that, by explicitly stating that the clocks property
> > is only required with the inside-secure,safexcel-eip76 compatible
> > string.
> > 
> > Fixes: 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76 device variant")
> > Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> > ---
> > Changes since v1:
> >  - Instead of indicating the property as optional, indicate it as
> >    mandatory for the inside-secure,safexcel-eip76 compatible string, as
> >    suggested by Rob Herring.
> > ---
> >  Documentation/devicetree/bindings/rng/omap_rng.txt | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

And applied.

Rob
--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory
@ 2017-03-24 14:19     ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2017-03-24 14:19 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: devicetree, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala,
	Herbert Xu, linux-crypto, romain.perier, Nadav Haklai,
	Hanna Hawa, Yehuda Yitschak, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, stable

On Fri, Mar 24, 2017 at 08:52:00AM -0500, Rob Herring wrote:
> On Fri, Mar 17, 2017 at 01:58:39PM +0100, Thomas Petazzoni wrote:
> > Commit 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76
> > device variant") update the omap_rng Device Tree binding to add support
> > for the IP-76 variation of the IP. As part of this change, a "clocks"
> > property was added, but is indicated as "Required", without indicated
> > it's actually only required for some compatible strings.
> > 
> > This commit fixes that, by explicitly stating that the clocks property
> > is only required with the inside-secure,safexcel-eip76 compatible
> > string.
> > 
> > Fixes: 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76 device variant")
> > Cc: <stable@vger.kernel.org>
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > ---
> > Changes since v1:
> >  - Instead of indicating the property as optional, indicate it as
> >    mandatory for the inside-secure,safexcel-eip76 compatible string, as
> >    suggested by Rob Herring.
> > ---
> >  Documentation/devicetree/bindings/rng/omap_rng.txt | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> Acked-by: Rob Herring <robh@kernel.org>

And applied.

Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory
  2017-03-24 14:19     ` Rob Herring
  (?)
@ 2017-03-24 14:20     ` Rob Herring
  -1 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2017-03-24 14:20 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: devicetree, Ian Campbell, Pawel Moll, Mark Rutland, Kumar Gala,
	Herbert Xu, linux-crypto, romain.perier, Nadav Haklai,
	Hanna Hawa, Yehuda Yitschak, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Gregory Clement, stable

On Fri, Mar 24, 2017 at 09:19:05AM -0500, Rob Herring wrote:
> On Fri, Mar 24, 2017 at 08:52:00AM -0500, Rob Herring wrote:
> > On Fri, Mar 17, 2017 at 01:58:39PM +0100, Thomas Petazzoni wrote:
> > > Commit 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76
> > > device variant") update the omap_rng Device Tree binding to add support
> > > for the IP-76 variation of the IP. As part of this change, a "clocks"
> > > property was added, but is indicated as "Required", without indicated
> > > it's actually only required for some compatible strings.
> > > 
> > > This commit fixes that, by explicitly stating that the clocks property
> > > is only required with the inside-secure,safexcel-eip76 compatible
> > > string.
> > > 
> > > Fixes: 52060836f79 ("dt-bindings: omap-rng: Document SafeXcel IP-76 device variant")
> > > Cc: <stable@vger.kernel.org>
> > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > ---
> > > Changes since v1:
> > >  - Instead of indicating the property as optional, indicate it as
> > >    mandatory for the inside-secure,safexcel-eip76 compatible string, as
> > >    suggested by Rob Herring.
> > > ---
> > >  Documentation/devicetree/bindings/rng/omap_rng.txt | 3 ++-
> > >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > Acked-by: Rob Herring <robh@kernel.org>
> 
> And applied.

Ah, I see Herbert applied it, so I've dropped it.

Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-24 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17 12:58 [PATCH v2] dt-bindings: rng: clocks property on omap_rng not always mandatory Thomas Petazzoni
2017-03-24 13:52 ` Rob Herring
2017-03-24 14:19   ` Rob Herring
2017-03-24 14:19     ` Rob Herring
2017-03-24 14:20     ` Rob Herring
2017-03-24 14:13 ` Herbert Xu

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.