Re: [PATCH v4 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2018-07-03 at 17:32 -0600, Rob Herring wrote:

Hi Rob,

> > +- reg: Should contain location and length for GPT register.
> > +- clocks: GPT is drived by system clock.
> 
> s/drived/driven/

Will be fixed in v5.

> 
> >  
> >  Examples:
> >  
> > @@ -21,5 +29,23 @@ Examples:
> >  		compatible = "mediatek,mt6577-timer";
> >  		reg = <0x10008000 0x80>;
> >  		interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
> > -		clocks = <&system_clk>, <&rtc_clk>;
> > +		clocks = <&system_clk>;
> > +	};
> > +
> > +
> > +** System Timer (SYST)
> > +
> > +Required properties:
> > +- compatible: Should contain
> > +	* "mediatek,mt6765-timer" for MT6765 compatible timers
> > +- reg: Should contain the location and length for system timer registers.
> > +- clocks: System timer is drived by system clock.
> 
> These look the same. Can't you just add the compatible string and note 
> in the description it is the system timer. Or make the compatible 
> "mediatek,mt6765-systimer"
> 

OK! We will simplify it and just use the same compatible string.

> > +
> > +Examples:
> > +
> > +	systimer@10017000 {
> 
> timer@

As above, will be fixed in v5.

> 
> > +		compatible = "mediatek,mt6765-timer";
> > +		reg = <0 0x10017000 0 0x1000>;
> > +		interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>;
> > +		clocks = <&system_clk>;
> >  	};
> > -- 
> > 1.7.9.5
> > 

Thanks.
Stanley Chu


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux