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

Commit 02b68e6c authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

dt-bindings: soc: qcom: Add dt-bindings for the IPCC test driver



The dt-bindings describes the self-ping test that it conducts
and all the properties that are required to configure the
test driver's DT node.

Change-Id: I3e4b3dd0ef32f6c05ca566ecdb062799f448addf
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 31b10e8d
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
The document describes the device tree binding for testing the IPCC
(Inter-Processor Communication Controller) driver. The test driver triggers a
self-ping onto itself. The expected behavior would be the driver raising
an interrupt using the mailbox interface onto the IPCC driver, which in turn
raises an interrupt on the IPCC hardware. Since the test driver is configured
as loopback, the interrupt generated should come back and hit the APPS
(Application Processor Subsystem). The IPCC driver would hear this interrupt
and forwards it to the IPCC test driver. Hence, the test exercises the inbound
and outbound paths of the driver.

For details on the IPCC driver, please see qcom,ipcc.txt

- compatible:
  Usage: required
  Value type: <string>
  Definition: Must be "qcom,ipcc-self-ping"

- interrupts-extended:
  Usage: required
  Value type: <prop-encoded-array>
  Definition: One entry specifying the phandle to the IPCC protocol, the APPS'
		client-id, signal-id and IRQ type.

- mboxes:
  Usage: required
  Value type: <prop-encoded-array>
  Definition: One entry specifying the phandle to the IPCC protocol, the APPS'
		client-id and the signal-id (same as interrupts-extended).

Example
-------
	ipcc_self_ping: ipcc-self-ping {
		compatible = "qcom,ipcc-self-ping";
		interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
				IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
		mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
	};