Skip to contentSkip to conversation

dt-bindings: mmc: brcm,sdhci-brcmstb: Add support for 74165b0

PATCH Superseded Kamal Dasu 2 participants 2 messages Dec 8, 2023 – Dec 9, 2023

Subsystems (3)

v2 of 8 Superseded Latest is v8 →

lore
Share & tools
lore

Kamal Dasu

author
#0 lore raw

PATCH v2 1/2 dt-bindings: mmc: brcm,sdhci-brcmstb: Add support for 74165b0

From: Kamal Dasu <[email protected]>

With newer sdio controller core used for 74165b0 we need to update the compatibility with "brcm,bcm74165b0-sdhci".

---
 Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml +4 -0
index c028039bc477..178d47ed65ca 100644
@@ -13,6 +13,10 @@ maintainers:
 properties:
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - brcm,bcm74165b0-sdhci
+          - const: brcm,sdhci-brcmstb
       - items:
           - enum:
               - brcm,bcm7216-sdhci
Signature · 1 line
2.17.1
#1 lore raw
Quoted 15 lines · Kamal Dasu

From: Kamal Dasu <[email protected]>

With newer sdio controller core used for 74165b0 we need to update the compatibility with "brcm,bcm74165b0-sdhci".

---
 Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml +0 -0
index c028039bc477..178d47ed65ca 100644

Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml maintainers: · line 18

Quoted 6 lines
Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml +3 -0
@@ -13,6 +13,10 @@ maintainers:
 properties:
   compatible:
     oneOf:
+      - items:
+          - enum:
+              - brcm,bcm74165b0-sdhci

If this is enum, then it should be combined with other enums like that. Someone already duplicated this once, so don't make it third time. One enum for all your variants with the same fallback.

Best regards,
Krzysztof