Documentation/devicetree/bindings/phy/motorola,mapphone-mdm6600.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/phy/motorola,mapphone-mdm6600.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/phy/motorola,mapphone-mdm6600.yaml
Extension
.yaml
Size
2325 bytes
Lines
82
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/motorola,mapphone-mdm6600.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Motorola Mapphone MDM6600 USB PHY

maintainers:
  - Tony Lindgren <tony@atomide.com>

properties:
  compatible:
    items:
      - const: motorola,mapphone-mdm6600

  enable-gpios:
    description: GPIO to enable the USB PHY
    maxItems: 1

  power-gpios:
    description: GPIO to power on the device
    maxItems: 1

  reset-gpios:
    description: GPIO to reset the device
    maxItems: 1

  motorola,mode-gpios:
    description: Two GPIOs to configure MDM6600 USB start-up mode for normal mode versus USB flashing mode
    items:
      - description: normal mode select GPIO
      - description: USB flashing mode select GPIO

  motorola,cmd-gpios:
    description: Three GPIOs to control the power state of the MDM6600
    items:
      - description: power state control GPIO 0
      - description: power state control GPIO 1
      - description: power state control GPIO 2

  motorola,status-gpios:
    description: Three GPIOs to read the power state of the MDM6600
    items:
      - description: power state read GPIO 0
      - description: power state read GPIO 1
      - description: power state read GPIO 2

  '#phy-cells':
    const: 0

required:
  - compatible
  - enable-gpios
  - power-gpios
  - reset-gpios
  - motorola,mode-gpios
  - motorola,cmd-gpios
  - motorola,status-gpios

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    usb-phy {
        compatible = "motorola,mapphone-mdm6600";
        enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>;
        power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;

Annotation

Implementation Notes