devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Subject: [PATCH 1/6] dt-bindings: usb: add #phy-cells to usb-nop-xceiv
Date: Thu,  9 Nov 2017 16:26:09 -0600	[thread overview]
Message-ID: <20171109222614.5719-1-robh@kernel.org> (raw)

Consumers of usb-nop-xceiv use the phy binding, but #phy-cells is missing
from the binding. This is probably because this binding predates the
common phy binding. So add #phy-cells as a required property. This should
not break any users as missing should be treated as 0 cells.

Signed-off-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
I'll apply to DT tree.

 Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
index 5be01c859b7a..4dc6a8ee3071 100644
--- a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
+++ b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
@@ -2,6 +2,7 @@ USB NOP PHY
 
 Required properties:
 - compatible: should be usb-nop-xceiv
+- #phy-cells: Must be 0
 
 Optional properties:
 - clocks: phandle to the PHY clock. Use as per Documentation/devicetree
@@ -33,6 +34,7 @@ Example:
 		reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
 		vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
 		vbus-regulator = <&vbus_regulator>;
+		#phy-cells = <0>;
 	};
 
 hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator
-- 
2.14.1

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

             reply	other threads:[~2017-11-09 22:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09 22:26 Rob Herring [this message]
     [not found] ` <20171109222614.5719-1-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-09 22:26   ` [PATCH 2/6] arm: dts: imx: Add missing #phy-cells to usb-nop-xceiv Rob Herring
     [not found]     ` <20171109222614.5719-2-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-16 11:10       ` Shawn Guo
2017-11-09 22:26   ` [PATCH 3/6] arm: dts: marvell: " Rob Herring
     [not found]     ` <20171109222614.5719-3-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-21 18:29       ` Rob Herring
     [not found]         ` <CAL_JsqJhq7TqdaS+i8yk8rRJM0hH2hyk8eybXsnR0D8QoncXZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-21 20:09           ` Andrew Lunn
     [not found]             ` <20171121200922.GD30040-g2DYL2Zd6BY@public.gmane.org>
2017-11-21 20:45               ` Arnd Bergmann
     [not found]                 ` <CAK8P3a1x7mnpvfgsnwVJdX4OFwJZn0GpTE9ATfoLuQPB5ev=gg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-22 16:59                   ` Gregory CLEMENT
     [not found]                     ` <87po8az1uc.fsf-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-11-28 19:38                       ` Rob Herring
2017-11-21 20:56       ` Andrew Lunn
     [not found]         ` <20171121205622.GE30040-g2DYL2Zd6BY@public.gmane.org>
2017-12-03  0:49           ` Olof Johansson
2017-11-09 22:26   ` [PATCH 4/6] arm: dts: nspire: " Rob Herring
     [not found]     ` <20171109222614.5719-4-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-12-07 14:44       ` Arnd Bergmann
2017-11-09 22:26   ` [PATCH 5/6] arm: dts: omap: " Rob Herring
     [not found]     ` <20171109222614.5719-5-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-10 16:25       ` Tony Lindgren
2017-11-09 22:26   ` [PATCH 6/6] arm: dts: am33xx: Add missing #phy-cells to ti,am335x-usb-phy Rob Herring
     [not found]     ` <20171109222614.5719-6-robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-10 16:26       ` Tony Lindgren

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=20171109222614.5719-1-robh@kernel.org \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@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).