All of lore.kernel.org
 help / color / mirror / Atom feed
From: yurovsky@gmail.com (Andrey Yurovsky)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] at91sam9g20.dtsi: set correct USB clock divisors
Date: Wed, 26 Oct 2016 10:43:31 -0700	[thread overview]
Message-ID: <1477503811-32697-1-git-send-email-yurovsky@gmail.com> (raw)

The AT91SAM9G20 has different clock divisors from the otherwise similar
AT91SAM9260. Set them in at91sam9g20.dtsi so that all AT91SAM9G20 users set up
the USB host controller clocks correctly.

Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
---
 arch/arm/boot/dts/at91sam9g20.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi
index f593016..6c4488c 100644
--- a/arch/arm/boot/dts/at91sam9g20.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20.dtsi
@@ -62,6 +62,10 @@
 					atmel,clk-output-range = <0 133000000>;
 					atmel,clk-divisors = <1 2 4 6>;
 				};
+
+				usb: usbck {
+					atmel,clk-divisors = <4 2 0 0>;
+				};
 			};
 		};
 	};
-- 
2.7.4

             reply	other threads:[~2016-10-26 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26 17:43 Andrey Yurovsky [this message]
2016-11-03 19:11 ` [PATCH] at91sam9g20.dtsi: set correct USB clock divisors Alexandre Belloni

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=1477503811-32697-1-git-send-email-yurovsky@gmail.com \
    --to=yurovsky@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.