diff mbox series

dt-bindings: memory-controllers: exynos-srom: Remove unneeded type for reg-io-width

Message ID 20200406104554.29773-1-krzk@kernel.org (mailing list archive)
State Mainlined
Commit 88986987c76f0f832ee61e34ac95341dcef5a119
Headers show
Series dt-bindings: memory-controllers: exynos-srom: Remove unneeded type for reg-io-width | expand

Commit Message

Krzysztof Kozlowski April 6, 2020, 10:45 a.m. UTC
'reg-io-width' property is an enum so there is no need to specify its
type.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../devicetree/bindings/memory-controllers/exynos-srom.yaml   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Rob Herring April 14, 2020, 11:13 p.m. UTC | #1
On Mon,  6 Apr 2020 12:45:54 +0200, Krzysztof Kozlowski wrote:
> 'reg-io-width' property is an enum so there is no need to specify its
> type.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  .../devicetree/bindings/memory-controllers/exynos-srom.yaml   | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 

Applied, thanks.

Rob
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml
index cdfe3f7f0ea9..1250087b4ee6 100644
--- a/Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/exynos-srom.yaml
@@ -51,9 +51,7 @@  patternProperties:
         maxItems: 1
 
       reg-io-width:
-        allOf:
-          - $ref: /schemas/types.yaml#/definitions/uint32
-          - enum: [1, 2]
+        enum: [1, 2]
         description:
           Data width in bytes (1 or 2). If omitted, default of 1 is used.