Message ID | 20231208210230.8191-1-kamal.dasu@broadcom.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [V2,1/2] dt-bindings: mmc: brcm,sdhci-brcmstb: Add support for 74165b0 | expand |
On 08/12/2023 22:02, Kamal Dasu wrote: > From: Kamal Dasu <kdasu@broadcom.com> > > With newer sdio controller core used for 74165b0 we need to update > the compatibility with "brcm,bcm74165b0-sdhci". > > Signed-off-by: Kamal Dasu <kdasu@broadcom.com> > --- > Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > index c028039bc477..178d47ed65ca 100644 > --- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > +++ b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > @@ -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
diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml index c028039bc477..178d47ed65ca 100644 --- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml +++ b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml @@ -13,6 +13,10 @@ maintainers: properties: compatible: oneOf: + - items: + - enum: + - brcm,bcm74165b0-sdhci + - const: brcm,sdhci-brcmstb - items: - enum: - brcm,bcm7216-sdhci