On 08/01/2020 18:49, Suman Anna wrote:
Hi Tero,
On 1/2/20 7:25 AM, Tero Kristo wrote:
From: Suman Anna <s-anna@xxxxxx>
Add the device tree bindings document for the IPU and DSP
remote processor devices on OMAP4+ SoCs.
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: devicetree@xxxxxxxxxxxxxxx
Signed-off-by: Suman Anna <s-anna@xxxxxx>
[t-kristo@xxxxxx: converted to schema]
Signed-off-by: Tero Kristo <t-kristo@xxxxxx>
---
v4: added ti,bootreg-shift and ti,autosuspend-delay properties
You missed out on my v3 comment on the firmware-name on Example 2. Can
you please address it when you post the next version?
I don't think I missed it, but you never told what is the actual name to use there. Firmware name generally does not matter, as user can provide whatever he wants via DT now.
 .../remoteproc/ti,omap-remoteproc.yaml | 329 ++++++++++++++++++
 1 file changed, 329 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml
diff --git a/Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml b/Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml
new file mode 100644
index 000000000000..f53d58efaae3
--- /dev/null
+++ b/Documentation/devicetree/bindings/remoteproc/ti,omap-remoteproc.yaml
[snip]
+Â - |+
+
+ÂÂÂ //Example 2: OMAP5 IPU
+
+ÂÂÂ /* IPU Reserved Memory node */
+ÂÂÂ #include <dt-bindings/clock/omap5.h>
+ÂÂÂ reserved-memory {
+ÂÂÂÂÂÂÂ #address-cells = <2>;
+ÂÂÂÂÂÂÂ #size-cells = <2>;
+
+ÂÂÂÂÂÂÂ ipu_memory_region: ipu-memory@95800000 {
+ÂÂÂÂÂÂÂÂÂÂÂ compatible = "shared-dma-pool";
+ÂÂÂÂÂÂÂÂÂÂÂ reg = <0 0x95800000 0 0x3800000>;
+ÂÂÂÂÂÂÂÂÂÂÂ reusable;
+ÂÂÂÂÂÂÂ };
+ÂÂÂ };
+
+ÂÂÂ /* IPU node */
+ÂÂÂ ocp {
+ÂÂÂÂÂÂÂ #address-cells = <1>;
+ÂÂÂÂÂÂÂ #size-cells = <1>;
+
+ÂÂÂÂÂÂÂ ipu: ipu@55020000 {
+ÂÂÂÂÂÂÂÂÂÂÂ compatible = "ti,omap5-ipu";
+ÂÂÂÂÂÂÂÂÂÂÂ reg = <0x55020000 0x10000>;
+ÂÂÂÂÂÂÂÂÂÂÂ reg-names = "l2ram";
+ÂÂÂÂÂÂÂÂÂÂÂ iommus = <&mmu_ipu>;
+ÂÂÂÂÂÂÂÂÂÂÂ mboxes = <&mailbox &mbox_ipu>;
+ÂÂÂÂÂÂÂÂÂÂÂ memory-region = <&ipu_memory_region>;
+ÂÂÂÂÂÂÂÂÂÂÂ ti,timers = <&timer3>, <&timer4>;
+ÂÂÂÂÂÂÂÂÂÂÂ ti,watchdog-timers = <&timer9>, <&timer11>;
+ÂÂÂÂÂÂÂÂÂÂÂ clocks = <&ipu_clkctrl OMAP5_MMU_IPU_CLKCTRL 0>;
+ÂÂÂÂÂÂÂÂÂÂÂ resets = <&prm_core 2>;
+ÂÂÂÂÂÂÂÂÂÂÂ firmware-name = "omap5-ipu-fw.xem";
+ÂÂÂÂÂÂÂ };
+ÂÂÂ };
regards
Suman