From f43970daf2ba60180a120df01c4b9dcdbdbed254 Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Tue, 2 Nov 2021 16:46:28 +0000 Subject: [PATCH] ANDROID: dt-bindings: iommu: Add Google S2MPU Add DeviceTree bindings for Google S2MPU. Test: n/a Bug: 190463801 Signed-off-by: David Brazdil Change-Id: I002b5df1cac73766179d73ed56fe4945e8e7c2e6 --- .../bindings/iommu/google,s2mpu.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/iommu/google,s2mpu.yaml diff --git a/Documentation/devicetree/bindings/iommu/google,s2mpu.yaml b/Documentation/devicetree/bindings/iommu/google,s2mpu.yaml new file mode 100644 index 000000000000..18bc10032ecf --- /dev/null +++ b/Documentation/devicetree/bindings/iommu/google,s2mpu.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iommu/google,s2mpu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: S2MPU device tree bindings + +maintainers: + - David Brazdil + +properties: + reg: + maxItems: 1 + + compatible: + contains: + const: google,s2mpu + + power-domain-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + ID of the power domain that the S2MPU belongs to. If not specified, + the device is assumed to be always powered. + +required: + - compatible + - reg + +additionalProperties: true