Message ID | 20201224114250.1083-2-kishon@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | AM64: Add SERDES bindings and driver support | expand |
On Thu, Dec 24, 2020 at 05:12:44PM +0530, Kishon Vijay Abraham I wrote: > Add bindings for AM64 SERDES Wrapper. > > Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> > --- > .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml > index c33e9bc79521..4a1f9c27b5f0 100644 > --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml > +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml > @@ -12,9 +12,13 @@ maintainers: > > properties: > compatible: > - enum: > - - ti,j721e-wiz-16g > - - ti,j721e-wiz-10g > + oneOf: > + - const: ti,j721e-wiz-16g > + - const: ti,j721e-wiz-10g Pick one. This: > + - const: ti,am64-wiz-10g Or this: > + - items: > + - const: ti,am64-wiz-10g > + - const: ti,j721e-wiz-10g No reason to support both for ti,am64-wiz-10g. > > power-domains: > maxItems: 1 > -- > 2.17.1 >
diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml index c33e9bc79521..4a1f9c27b5f0 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml @@ -12,9 +12,13 @@ maintainers: properties: compatible: - enum: - - ti,j721e-wiz-16g - - ti,j721e-wiz-10g + oneOf: + - const: ti,j721e-wiz-16g + - const: ti,j721e-wiz-10g + - const: ti,am64-wiz-10g + - items: + - const: ti,am64-wiz-10g + - const: ti,j721e-wiz-10g power-domains: maxItems: 1
Add bindings for AM64 SERDES Wrapper. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> --- .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)