dt-bindings: i2c: brcm,iproc-i2c: Allow 2 reg entries for brcm,iproc-nic-i2c
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: i2c: brcm,iproc-i2c: Allow 2 reg entries for brcm,iproc-nic-i2c
The brcm,iproc-nic-i2c variant has 2 reg entries.
The second one is related to the brcm,ape-hsls-addr-mask property, but it's not clear what a proper description would be.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../devicetree/bindings/i2c/brcm,iproc-i2c.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.yaml +9 -1
@@ -16,7 +16,8 @@ properties: - brcm,iproc-nic-i2c reg: - maxItems: 1 + minItems: 1 + maxItems: 2 clock-frequency: enum: [ 100000, 400000 ]
@@ -41,8 +42,15 @@ allOf: contains: const: brcm,iproc-nic-i2c then: + properties: + reg: + minItems: 2 required: - brcm,ape-hsls-addr-mask + else: + properties: + reg: + maxItems: 1 unevaluatedProperties: false
Signature · 1 line
2.51.0
Quoted 6 lines · Rob Herring (Arm)' via BCM-KERNEL-FEEDBACK-LIST,PDL
The brcm,iproc-nic-i2c variant has 2 reg entries.
The second one is related to the brcm,ape-hsls-addr-mask property, but it's not clear what a proper description would be.
Signed-off-by Rob Herring (Arm) <[email protected]>
Reviewed-by Florian Fainelli <[email protected]>
Signature · 1 line
Florian
Wolfram Sang
AppliedQuoted 7 lines · Rob Herring (Arm)
The brcm,iproc-nic-i2c variant has 2 reg entries.
The second one is related to the brcm,ape-hsls-addr-mask property, but it's not clear what a proper description would be.
Signed-off-by Rob Herring (Arm) <[email protected]>Reviewed-by Florian Fainelli <[email protected]>
Applied to for-current, thanks!