Message ID | 20240308-net-v10-6-3684df40897e@outlook.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: hisi-femac: add support for Hi3798MV200, remove unmaintained compatibles | expand |
On 08/03/2024 09:39, Yang Xiwen via B4 Relay wrote: > From: Yang Xiwen <forbidden405@outlook.com> > > HiSilicon FEMAC core is also found on Hi3798MV200 SoC. Document it in > binding. While at it, make "hisilicon,hi3516cv200-femac" as the fallback > compatible. > > Signed-off-by: Yang Xiwen <forbidden405@outlook.com> > --- > Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml > index 5cd2331668bc..cee10d263d0b 100644 > --- a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml > +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml > @@ -14,8 +14,12 @@ allOf: > > properties: > compatible: > - enum: > - - hisilicon,hi3516cv300-femac If you do not intend to keep it enum, this could be const in the first place. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml index 5cd2331668bc..cee10d263d0b 100644 --- a/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml +++ b/Documentation/devicetree/bindings/net/hisilicon,hisi-femac.yaml @@ -14,8 +14,12 @@ allOf: properties: compatible: - enum: - - hisilicon,hi3516cv300-femac + oneOf: + - items: + - enum: + - hisilicon,hi3798mv200-femac + - const: hisilicon,hi3516cv300-femac + - const: hisilicon,hi3516cv300-femac reg: items: