devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
To: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Florian Fainelli
	<f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Ray Jui <rjui-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>,
	Scott Branden <sbranden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>,
	Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
	Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell <ijc-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org,
	Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
Subject: [PATCH V3 1/5] ARM: dts: bcm283x: Add missing USB clock
Date: Sun, 21 Aug 2016 15:09:59 +0000	[thread overview]
Message-ID: <1471792204-21908-2-git-send-email-stefan.wahren@i2se.com> (raw)
In-Reply-To: <1471792204-21908-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>

According to the DWC2 binding an appropriate clock is required.
This clock isn't handled by bcm2835 clock driver, so add a fixed
clock to the bcm283x DT.

Signed-off-by: Stefan Wahren <stefan.wahren-eS4NqCHxEME@public.gmane.org>
Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
 arch/arm/boot/dts/bcm283x.dtsi |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 445624a..46d46d8 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -290,6 +290,8 @@
 			interrupts = <1 9>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+			clocks = <&clk_usb>;
+			clock-names = "otg";
 		};
 
 		v3d: v3d@7ec00000 {
@@ -317,5 +319,12 @@
 			clock-frequency = <19200000>;
 		};
 
+		clk_usb: clock@4 {
+			compatible = "fixed-clock";
+			reg = <4>;
+			#clock-cells = <0>;
+			clock-output-names = "otg";
+			clock-frequency = <480000000>;
+		};
 	};
 };
-- 
1.7.9.5

--
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:[~2016-08-21 15:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21 15:09 [PATCH V3 0/5] ARM: dts: bcm2835: Add Raspberry Pi Zero Stefan Wahren
     [not found] ` <1471792204-21908-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2016-08-21 15:09   ` Stefan Wahren [this message]
2016-08-21 15:10   ` [PATCH V3 2/5] ARM: dts: bcm283x: Add dtsi for USB host mode Stefan Wahren
     [not found]     ` <1471792204-21908-3-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2016-08-22 17:57       ` Eric Anholt
     [not found]         ` <87fupw4rgm.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2016-08-22 20:18           ` Stefan Wahren
2016-08-21 15:10   ` [PATCH V3 RFT 3/5] ARM64: dts: bcm283x: Use " Stefan Wahren
     [not found]     ` <1471792204-21908-4-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2016-08-31  7:59       ` Stefan Wahren
     [not found]         ` <bb073ea3-2f89-4fc5-e3af-2e27c54f221e-eS4NqCHxEME@public.gmane.org>
2016-09-07 10:59           ` Gerd Hoffmann
     [not found]             ` <1473245956.28663.50.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-07 12:02               ` Stefan Wahren
     [not found]                 ` <18641a83-ddd7-1689-535a-c5a15b8a54f9-eS4NqCHxEME@public.gmane.org>
2016-09-07 14:17                   ` Gerd Hoffmann
     [not found]                     ` <1473257837.28663.80.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-23  7:33                       ` Stefan Wahren
     [not found]                         ` <aeba1434-3903-3ec4-1a94-e5c8229f4e5f-eS4NqCHxEME@public.gmane.org>
2016-09-23  8:15                           ` Eric Anholt
     [not found]                             ` <87zimz821m.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2016-09-23  8:23                               ` Stefan Wahren
     [not found]                                 ` <4cda98b0-03a6-f43d-0eee-29b7702eac8c-eS4NqCHxEME@public.gmane.org>
2016-09-23 11:55                                   ` Eric Anholt
2016-10-17 17:29       ` Eric Anholt
2016-08-21 15:10   ` [PATCH V3 4/5] DT: bindings: bcm: Add Raspberry Pi Zero Stefan Wahren
2016-08-21 15:10   ` [PATCH V3 5/5] ARM: dts: bcm2835: " Stefan Wahren
2016-08-25 22:45   ` [PATCH V3 0/5] " Eric Anholt
2016-08-22 16:21 ` Stephen Warren

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=1471792204-21908-2-git-send-email-stefan.wahren@i2se.com \
    --to=stefan.wahren-es4nqchxeme@public.gmane.org \
    --cc=bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org \
    --cc=f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=ijc-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=rjui-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=sbranden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=will.deacon-5wv7dgnIgG8@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).