Thread (20 messages) 20 messages, 4 authors, 2016-06-28

Re: [PATCH v3 5/8] rtc: ac100: Add clk output support

From: Chen-Yu Tsai <hidden>
Date: 2016-06-28 02:28:09
Also in: linux-arm-kernel, linux-clk, linux-rtc, lkml

On Tue, Jun 28, 2016 at 3:23 AM, Maxime Ripard
[off-list ref] wrote:
On Wed, Jun 22, 2016 at 06:11:55PM +0800, Chen-Yu Tsai wrote:
quoted
On Wed, Jun 22, 2016 at 6:02 PM, Maxime Ripard
[off-list ref] wrote:
quoted
Hi,

On Mon, Jun 20, 2016 at 10:52:15AM +0800, Chen-Yu Tsai wrote:
quoted
+     /*
+      * The ADDA 4 MHz clock is from the codec side of the AC100,
+      * which is likely a different power domain. However, boards
+      * always have both sides powered on, so it is impossible to
+      * test this.
+      */
If that ADDA clock is exposed by the codec, why are you putting it in
the RTC?
The thing is it's not entirely clear that it's from the codec side.
I'm just inferring this from the name. (I'll make the comment clearer.)
The codec parts of the datasheet don't mention this clock at all.

Allwinner's SDK puts all the clocks under the RTC module. And the
are always on, so I can't really turn off the codec and see what
happens. That and I don't have an oscilloscope or logic analyzer.
Why not just create a separate clock driver then?
That would mean a separate device node as well. I'd like to keep
the bindings close to how the hardware is organized.

I can move the ADDA clock over to the codec side.

ChenYu

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help