dt-bindings: reset: altr,modrst-offset is not required for arm64 SoCFPGA
Subsystems (2)
PATCH v2 1/1 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.
---
v2: remove the need for else statement since "altr,modrst-offset" is
already allowed
--- .../devicetree/bindings/reset/altr,rst-mgr.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml +10 -2
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Altera SOCFPGA Reset Manager maintainers: - - Dinh Nguyen <[email protected]> + - Dinh Nguyen <[email protected]> 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:
Signature · 1 line
2.25.1
Quoted 6 lines · Dinh Nguyen
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 <[email protected]>
Thanks,
Conor.
Quoted 42 lines
---
v2: remove the need for else statement since "altr,modrst-offset" is
already allowed--- .../devicetree/bindings/reset/altr,rst-mgr.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/reset/altr,rst-mgr.yaml +10
-2@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: Altera SOCFPGA Reset Manager maintainers: - - Dinh Nguyen <[email protected]> + - Dinh Nguyen <[email protected]> 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:Signature · 1 line
2.25.1
Quoted 5 lines · Dinh Nguyen
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.
Quoted 8 lines
Signed-off-by Dinh Nguyen <[email protected]>---
v2: remove the need for else statement since "altr,modrst-offset" is
already allowed--- .../devicetree/bindings/reset/altr,rst-mgr.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
Applied, thanks!