[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1374306488.8385.56.camel@cumari.coelho.fi>
Date: Sat, 20 Jul 2013 10:48:08 +0300
From: Luciano Coelho <coelho@...com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>
CC: <mturquette@...aro.org>, Mark Rutland <mark.rutland@....com>,
<balbi@...com>,
"grant.likely@...aro.org" <grant.likely@...aro.org>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
"devicetree-discuss@...ts.ozlabs.org"
<devicetree-discuss@...ts.ozlabs.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>,
"linux-arm@...r.kernel.org" <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] Documentation: dt: bindings: TI WiLink modules
On Thu, 2013-07-18 at 01:58 +0200, Laurent Pinchart wrote:
> Hi Luciano,
Hi Laurent,
> On Monday 01 July 2013 15:39:30 Luciano Coelho wrote:
> > The only thing I can come up with is to make a small clock driver (maybe
> > even inside the WiLink module itself) that registers a new type of
> > clock, "ti,wilink-clock" or something. But this would really be
> > overkill, wouldn't it?
> >
> > Any other ideas?
>
> One possibility would be to just call clk_get_rate() on the clock from the
> WiLink driver, which would return the fixed frequency specified in DT, and
> configure the WiLink hardware accordingly. This might be a bit hackish though.
The problem is not get the rate itself, the problem is knowing whether
the clock is XTAL or not. The WiLink chip uses the clock in a slightly
different way if it is XTAL, due to some stabilization time constraints.
--
Luca.
--
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