Thread (13 messages) flat view 13 messages, 4 authors, 2021-03-25

Re: [PATCH net-next 1/2] dt-bindings: ethernet-controller: create a type for PHY interface modes

From: Rob Herring <robh@kernel.org>
Date: 2021-03-24 20:08:07
Also in: linux-devicetree

On Wed, Mar 24, 2021 at 11:35:55AM +0100, Marek Behún wrote:
In order to be able to define a property describing an array of PHY
interface modes, we need to change the current scalar
`phy-connection-type`, which lists the possible PHY interface modes, to
an array of length 1 (otherwise we would need to define the same list at
two different places).

Moreover Rob Herring says that we cannot reuse the values of a property;
we need to $ref a type.

Move the definition of possible PHY interface modes from the
`phy-connection-type` property to an array type definition
`phy-connection-type-array`, and simply reference this type in the
original property.
Why not just extend phy-connection-type to support more than 1 entry?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help