On Wed, 01 Sep 2021 11:18:05 +0200, Maxime Ripard wrote:
The Reserved Memory mechanism is supported by Linux thanks to its device
tree binding.
Now that we have the DT validation in place, let's convert the device
tree bindings for that driver over to a YAML schema.
Cc: Mailing List <redacted>
Signed-off-by: Maxime Ripard <redacted>
---
Changes from v1:
- Fixed the license
- Added a mention that the file has moved
- Added a documentation for memory-region
- Split the reserved-memory binding in two: one for the generic part
and one for shared-dma-pool
---
.../reserved-memory/memory-region.yaml | 40 ++++
.../reserved-memory/reserved-memory.txt | 172 +-----------------
.../reserved-memory/reserved-memory.yaml | 96 ++++++++++
.../reserved-memory/shared-dma-pool.yaml | 87 +++++++++
4 files changed, 224 insertions(+), 171 deletions(-)
create mode 100644 Documentation/devicetree/bindings/reserved-memory/memory-region.yaml
create mode 100644 Documentation/devicetree/bindings/reserved-memory/reserved-memory.yaml
create mode 100644 Documentation/devicetree/bindings/reserved-memory/shared-dma-pool.yaml
I reworked the commit msg and a couple of nits, and applied, thanks!