Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: Convert Northstar 2 PCIe PHY to YAML

Convert the Broadcom Northstar 2 PCIe PHY Device Tree binding to YAML
and rename it accordingly in the process since it had nothing to do with
a MDIO mux on the PCI(e) bus. This is a pre-requisite to updating
another binding file to YAML.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211206180049.2086907-8-f.fainelli@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Florian Fainelli and committed by
Rob Herring
1fefc8e7 3a470447

+41 -27
-27
Documentation/devicetree/bindings/phy/brcm,mdio-mux-bus-pci.txt
··· 1 - * Broadcom NS2 PCIe PHY binding document 2 - 3 - Required bus properties: 4 - - reg: MDIO Bus number for the MDIO interface 5 - - #address-cells: must be 1 6 - - #size-cells: must be 0 7 - 8 - Required PHY properties: 9 - - compatible: should be "brcm,ns2-pcie-phy" 10 - - reg: MDIO Phy ID for the MDIO interface 11 - - #phy-cells: must be 0 12 - 13 - This is a child bus node of "brcm,mdio-mux-iproc" node. 14 - 15 - Example: 16 - 17 - mdio@0 { 18 - reg = <0x0>; 19 - #address-cells = <1>; 20 - #size-cells = <0>; 21 - 22 - pci_phy0: pci-phy@0 { 23 - compatible = "brcm,ns2-pcie-phy"; 24 - reg = <0x0>; 25 - #phy-cells = <0>; 26 - }; 27 - };
+41
Documentation/devicetree/bindings/phy/brcm,ns2-pcie-phy.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/phy/brcm,ns2-pcie-phy.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Broadcom NS2 PCIe PHY binding document 8 + 9 + maintainers: 10 + - Ray Jui <ray.jui@broadcom.com> 11 + - Scott Branden <scott.branden@broadcom.com> 12 + 13 + properties: 14 + compatible: 15 + const: brcm,ns2-pcie-phy 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + "#phy-cells": 21 + const: 0 22 + 23 + required: 24 + - compatible 25 + - reg 26 + - "#phy-cells" 27 + 28 + additionalProperties: false 29 + 30 + examples: 31 + - | 32 + mdio { 33 + #address-cells = <1>; 34 + #size-cells = <0>; 35 + 36 + pci-phy@0 { 37 + compatible = "brcm,ns2-pcie-phy"; 38 + reg = <0x0>; 39 + #phy-cells = <0>; 40 + }; 41 + };