Message ID | 20241118104735.3741749-2-jacky_chou@aspeedtech.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Add Aspeed G7 MDIO support | expand |
On Mon, Nov 18, 2024 at 06:47:33PM +0800, Jacky Chou wrote: > The AST2700 is the 7th generation SoC from Aspeed. > Add compatible support for AST2700 in yaml. "Add compatible..." is obvious from the diff. Add something about why the diff is how it is. For example, it is not compatible with AST2600 because... > > Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com> > --- > .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml > index d6ef468495c5..6dadca099875 100644 > --- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml > +++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml > @@ -19,7 +19,9 @@ allOf: > > properties: > compatible: > - const: aspeed,ast2600-mdio > + enum: > + - aspeed,ast2600-mdio > + - aspeed,ast2700-mdio > > reg: > maxItems: 1 > -- > 2.25.1 >
Hi Rob, Thank you for your replay. > > The AST2700 is the 7th generation SoC from Aspeed. > > Add compatible support for AST2700 in yaml. > > "Add compatible..." is obvious from the diff. Add something about why the diff > is how it is. For example, it is not compatible with AST2600 because... > I understand what you mean. We will continue to use compatible ast2600 in 7th generation. Thanks, Jacky
diff --git a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml index d6ef468495c5..6dadca099875 100644 --- a/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml +++ b/Documentation/devicetree/bindings/net/aspeed,ast2600-mdio.yaml @@ -19,7 +19,9 @@ allOf: properties: compatible: - const: aspeed,ast2600-mdio + enum: + - aspeed,ast2600-mdio + - aspeed,ast2700-mdio reg: maxItems: 1
The AST2700 is the 7th generation SoC from Aspeed. Add compatible support for AST2700 in yaml. Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com> --- .../devicetree/bindings/net/aspeed,ast2600-mdio.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)