[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9831838.T0biTLFe1N@wuerfel>
Date: Wed, 28 Jan 2015 12:23:48 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
Cc: Guenter Roeck <linux@...ck-us.net>, wim@...ana.be,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-watchdog@...r.kernel.org, paul@...pouillou.net
Subject: Re: [PATCH 1/2] dt: watchdog: Add DT binding documentation for jz47xx watchdog timer
On Wednesday 28 January 2015 10:27:00 Zubair Lutfullah Kakakhel wrote:
>
> There is on-going work to fix jz4740, add jz4780 and shake the entire clock tree as well.
>
> Patch 14 onwards in this series
> http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/
Right, that looks good.
> Instead of lumping things out in huge changesets, I intended to push out the minor patches that are disjoint.
>
> That was the purpose of sending these two patches.
>
> Current binding requires the clock-name to be "rtc". Hence the name at the moment.
The problem with the binding is that once you've established it, it
is very hard to change. One possible solution would be to try
'of_clk_get(dev->of_node, 0)' in the driver first, and only then
call clk_get(dev, "rtc"). Doing that, you can have an anonymous clock
in the DT without waiting for the clock driver to get merged first
or breaking the existing setup.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists