dt-bindings: soc: smem: Make indirection optional
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Sep 2021 18:21:09 +0000 (11:21 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Oct 2021 00:57:16 +0000 (19:57 -0500)
commit7a99e87e2e6bce689d77185c1a127b777b2b20f4
tree8abba53a3a9f84fe128718c9ba9e18fd22107718
parentd0fe6491ddd2232e53d7fd8ee56e37d2c0a511be
dt-bindings: soc: smem: Make indirection optional

In the olden days the Qualcomm shared memory (SMEM) region consisted of
multiple chunks of memory, so SMEM was described as a standalone node
with references to its various memory regions.

But practically all modern Qualcomm platforms has a single reserved memory
region used for SMEM. So rather than having to use two nodes to describe
the one SMEM region, update the binding to allow the reserved-memory
region alone to describe SMEM.

The olden format is preserved as valid, as this is widely used already.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Link: https://lore.kernel.org/r/20210930182111.57353-3-bjorn.andersson@linaro.org
Documentation/devicetree/bindings/soc/qcom/qcom,smem.yaml