lkml.org 
[lkml]   [2016]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] ARM: at91: Document new TCB bindings
On 04/07/2016 at 12:24:52 +0200, Boris Brezillon wrote :
> On Fri, 1 Jul 2016 23:52:05 +0200
> Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote:
> > +One interrupt per TC block:
> > + tcb0: timer@fff7c000 {
> > + compatible = "atmel,at91rm9200-tcb", "simple-mfd", "syscon";
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + reg = <0xfff7c000 0x100>;
> > + interrupts = <18 4>;
> > + clocks = <&tcb0_clk>, <&clk32k>;
> > + clock-names = "t0_clk", "slow_clk";
> > +
> > + timer@0 {
> > + compatible = "atmel,tcb-timer";
> > + reg = <0>, <1>;
> > + };
> > +
> > + timer@2 {
> > + compatible = "atmel,tcb-timer";
> > + reg = <2>;
> > + };
>
> And how can you differentiate the clocksource from the clkevent?
>

It doesn't really matter actually, I'll do the selection in the driver,
as suggested by Rob.

--
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

\
 
 \ /
  Last update: 2016-07-04 13:21    [W:0.046 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site