Thread (10 messages) 10 messages, 2 authors, 2014-04-30
DORMANTno replies
Revisions (3)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 current

[PATCH 2/3] arm: dts: imx6* Add clock-names for all ssi nodes

From: Markus Pargmann <hidden>
Date: 2014-04-30 07:10:44

On Wed, Apr 30, 2014 at 02:41:06PM +0800, Shawn Guo wrote:
On Mon, Apr 28, 2014 at 04:12:35PM +0200, Markus Pargmann wrote:
quoted
There are two possible clocks now, baud and ipg. To avoid any issues,
add clock-names to all ssi device nodes.

Signed-off-by: Markus Pargmann <redacted>
---
 arch/arm/boot/dts/imx6qdl.dtsi | 3 +++
 arch/arm/boot/dts/imx6sl.dtsi  | 3 +++
 2 files changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index b230c09..288c76e 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -257,6 +257,7 @@
 					reg = <0x02028000 0x4000>;
 					interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>;
 					clocks = <&clks 178>;
+					clock-names = "ipg";
I'd like to make such change at the time when we have multiple clocks to
define here.
Currently the fsl-ssi code acquires the clock using
"devm_clk_get(dev, NULL)" and later another clock using a clock name
"baud". I would like to have a clock-names property so that it does not
depend on the order of the clocks in the "clocks" property.

However I will have a look at the clocks and add a correct baudclock and
send a new version.

Thanks,

Markus

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140430/2fdeb098/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help