Skip to content

Commit

Permalink
dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser
Browse files Browse the repository at this point in the history
Add YAML binding for Qualcomm Shared Memory (SMEM) Flash partition
parser.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210104041137.113075-2-manivannan.sadhasivam@linaro.org
  • Loading branch information
Manivannan Sadhasivam authored and Miquel Raynal committed Jan 4, 2021
1 parent 63f559d commit 5f327f0
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm SMEM NAND flash partition parser binding

maintainers:
- Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

description: |
The Qualcomm SoCs supporting the NAND controller interface features a Shared
Memory (SMEM) based partition table scheme. The maximum partitions supported
varies between partition table revisions. V3 supports maximum 16 partitions
and V4 supports 48 partitions.
properties:
compatible:
const: qcom,smem-part

required:
- compatible

additionalProperties: false

examples:
- |
flash {
partitions {
compatible = "qcom,smem-part";
};
};

0 comments on commit 5f327f0

Please sign in to comment.