dt-bindings: mailbox: ti,secure-proxy: Convert to json schema
authorNishanth Menon <nm@ti.com>
Fri, 16 Apr 2021 00:59:53 +0000 (19:59 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Sun, 18 Apr 2021 17:12:15 +0000 (12:12 -0500)
commit93fb0c8df6d2f24957c441bbba52e5efc9aa0b03
treee661f8b8b6d1e241576175901687bd78aa89df51
parenta683246a069b13bb661033b8cda0355686b85443
dt-bindings: mailbox: ti,secure-proxy: Convert to json schema

Convert the ti,secure-proxy to yaml for better checks and documentation.
Differences being mostly in the examples:
- Dropped the example usage of mailbox client, it is better done in
  tisci node definition.
- Switched reg usage for address-cells and size-cells 1 - aligned with
  schema checks as well.
- included header in example for a buildable example.

While at this, lets make sure to support upto 100 rx threads even though
typically upto 1 threads is practically in use.

NOTE: The following checkpatch warning is generated since we do include the header
in the example, but this is a false positive warning.
  WARNING: DT binding docs and includes should be a separate patch. See:
  Documentation/devicetree/bindings/submitting-patches.rst

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Documentation/devicetree/bindings/mailbox/ti,secure-proxy.txt [deleted file]
Documentation/devicetree/bindings/mailbox/ti,secure-proxy.yaml [new file with mode: 0644]