Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3169f303 authored by Kuirong Wang's avatar Kuirong Wang
Browse files

platform: msm: Add avtimer device tree documentation



avtimer is used for synchronization of audio and video
during the playback/capture usecase. Add device tree
documentation for avtimer to explain the device tree
node information.

Change-Id: I625a8970e800487746d458c8f51f63c1b371f08c
Signed-off-by: default avatarKuirong Wang <kuirongw@codeaurora.org>
parent 861a4ae9
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
* avtimer

Avtimer provides an interface for clients to enable avtimer block
on qdsp6. 64 bit AVtimer exposed by qdsp6 is used for audio and video
stream synchronization during capture and playback usecases.

Required properties:
- reg : physical address and length of avtimer register
- reg-names : AVtimer register name
  Required register resource entries are:
  "avtimer_lsb_addr" : AVtimer lsb physical address
  "avtimer_msb_addr" : AVtimer msb physical address
- compatible : Must be "qcom,avtimer"

Optional properties:
- clk-div : The clk is at 27MHz and hence ticks are to be
 divided by 27 to achive the msec value.

Example:
	qcom,avtimer@90f7000 {
		compatible = "qcom,avtimer";
		reg = <0x90f700c 0x4>,
		      <0x90f7010 0x4>;
		reg-names = "avtimer_lsb_addr", "avtimer_msb_addr";
		qcom,clk-div = <27>;
	};