2021-11-15 04:20:42

by James Lo

[permalink] [raw]
Subject: [PATCH v15 1/4] dt-bindings: spmi: remove the constraint of reg property

'reg' is controller specific so we shouldn't even be specifying it here.
Just remove it.

Signed-off-by: James Lo <[email protected]>
Signed-off-by: Hsin-Hsiung Wang <[email protected]>
---
Documentation/devicetree/bindings/spmi/spmi.yaml | 3 ---
1 file changed, 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
index 1d243faef2f8..c1b06fa5c631 100644
--- a/Documentation/devicetree/bindings/spmi/spmi.yaml
+++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
@@ -24,9 +24,6 @@ properties:
$nodename:
pattern: "^spmi@.*"

- reg:
- maxItems: 1
-
"#address-cells":
const: 2

--
2.18.0



2021-11-18 22:43:58

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v15 1/4] dt-bindings: spmi: remove the constraint of reg property

On Mon, Nov 15, 2021 at 12:20:27PM +0800, James Lo wrote:
> 'reg' is controller specific so we shouldn't even be specifying it here.
> Just remove it.
>
> Signed-off-by: James Lo <[email protected]>
> Signed-off-by: Hsin-Hsiung Wang <[email protected]>
> ---
> Documentation/devicetree/bindings/spmi/spmi.yaml | 3 ---
> 1 file changed, 3 deletions(-)

Reviewed-by: Rob Herring <[email protected]>