Re: [RESEND PATCH net-next 3/5] dt-bindings: net: Add Realtek MDIO controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Feb 2025 08:52:14 +1300, Chris Packham wrote:
> Add dtschema for the MDIO controller found in the RTL9300 Ethernet
> switch. The controller is slightly unusual in that direct MDIO
> communication is not possible. We model the MDIO controller with the
> MDIO buses as child nodes and the PHYs as children of the buses. The
> mapping of switch port number to MDIO bus/addr requires the
> ethernet-ports sibling to provide the mapping via the phy-handle
> property.
> 
> Signed-off-by: Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
> ---
> 
> Notes:
>     This is technically v7 of [1] and [2] which are combined now that
>     rtl9301-switch.yaml under net/ the only change from those is that the
>     $ref: in rtl9301-switch.yaml can now use a relative path
> 
>     I could technically do away with the reg property on the mdio-controller
>     node. I don't currently need to use it in my driver and it looks like
>     the register offsets are the same between the RTL9300 and RTL9310.
> 
>     [1] - https://lore.kernel.org/lkml/20250204030249.1965444-6-chris.packham@xxxxxxxxxxxxxxxxxxx/
>     [2] - https://lore.kernel.org/lkml/20250204030249.1965444-4-chris.packham@xxxxxxxxxxxxxxxxxxx/
> 
>  .../bindings/net/realtek,rtl9301-mdio.yaml    | 86 +++++++++++++++++++
>  .../bindings/net/realtek,rtl9301-switch.yaml  | 31 +++++++
>  2 files changed, 117 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
> 


Please add Acked-by/Reviewed-by tags when posting new versions. However,
there's no need to repost patches *only* to add the tags. The upstream
maintainer will do that for acks received on the version they apply.

If a tag was not added on purpose, please state why and what changed.

Missing tags:

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>







[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux