From 0e17ac57bdb57944f5afdc506e65f1674c0f887b Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Wed, 19 Jul 2023 08:27:49 -0500 Subject: [PATCH] dt-bindings: reset: altr,modrst-offset is not required for arm64 SoCFPGA The property "altr,modrst-offset" is only applicable to arm32 SoCFPGA platforms, thus it not required for all platforms. While at it, update my email address. Signed-off-by: Dinh Nguyen Acked-by: Conor Dooley Link: https://lore.kernel.org/r/20230719132749.661914-1-dinguyen@kernel.org Signed-off-by: Rob Herring --- .../devicetree/bindings/reset/altr,rst-mgr.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml b/Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml index 4379cec6b35a8..761c70cf9ddfe 100644 --- a/Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml +++ b/Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml @@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Altera SOCFPGA Reset Manager maintainers: - - Dinh Nguyen + - Dinh Nguyen properties: compatible: @@ -32,9 +32,17 @@ properties: required: - compatible - reg - - altr,modrst-offset - '#reset-cells' +if: + properties: + compatible: + contains: + const: altr,stratix10-rst-mgr +then: + properties: + altr,modrst-offset: false + additionalProperties: false examples: -- 2.30.2