Document the XMM6260 PHY used by various devices based on the Nvidia Tegra SoC, describing its usage Signed-off-by: Svyatoslav Ryhel --- .../bindings/phy/nvidia,tegra-xmm6260.yaml | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/nvidia,tegra-xmm6260.yaml diff --git a/Documentation/devicetree/bindings/phy/nvidia,tegra-xmm6260.yaml b/Documentation/devicetree/bindings/phy/nvidia,tegra-xmm6260.yaml new file mode 100644 index 000000000000..0346433c9772 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/nvidia,tegra-xmm6260.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/nvidia,tegra-xmm6260.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nvidia Tegra PHY for XMM6260 modem + +description: + A hardware configuration used in Tegra SoCs to provide proper interaction + between the application processor and the modem, as well as control over + one of the SoC's USB lines for the modem. + +maintainers: + - Svyatoslav Ryhel + +properties: + compatible: + const: nvidia,tegra-xmm6260 + + enable-gpios: + description: GPIO connected to the EINT1 pin + maxItems: 1 + + nvidia,usb-bus: + description: + Contains two phandles; the first is pointing to the Host's USB controller + and the second linking to the controller's PHY. + $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 2 + maxItems: 2 + + phy-supply: + description: Supply powering the PHY. + + "#phy-cells": + const: 0 + +required: + - compatible + - nvidia,usb-bus + - "#phy-cells" + +additionalProperties: false + +examples: + - | + #include + + phy { + compatible = "nvidia,tegra-xmm6260"; + + enable-gpios = <&gpio 165 GPIO_ACTIVE_HIGH>; + phy-supply = <&vdd_3v3_vbat>; + + nvidia,usb-bus = <&hsic_usb>, <&phy2>; + #phy-cells = <0>; + }; -- 2.51.0