Documentation / devicetree / bindings / regulator / ti,pbias-omap.yaml


Based on kernel version 7.3. Page generated on 2026-10-19 13:17 EDT.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/ti,pbias-omap.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments PBIAS internal regulator

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

properties:
  compatible:
    items:
      - enum:
          - ti,pbias-dra7
          - ti,pbias-omap2
          - ti,pbias-omap3
          - ti,pbias-omap4
          - ti,pbias-omap5
      - const: ti,pbias-omap

  reg:
    maxItems: 1

  syscon:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: phandle of the system control module

  pbias_mmc_omap2430:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

    required:
      - regulator-name

  pbias_sim_omap3:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

    required:
      - regulator-name

  pbias_mmc_omap4:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

    required:
      - regulator-name

  pbias_mmc_omap5:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

    required:
      - regulator-name

required:
  - compatible
  - reg
  - syscon

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: ti,pbias-omap2
    then:
      required:
        - pbias_mmc_omap2430
      properties:
        pbias_sim_omap3: false
        pbias_mmc_omap4: false
        pbias_mmc_omap5: false

  - if:
      properties:
        compatible:
          contains:
            const: ti,pbias-omap3
    then:
      anyOf:
        - required:
            - pbias_mmc_omap2430
        - required:
            - pbias_sim_omap3
      properties:
        pbias_mmc_omap4: false
        pbias_mmc_omap5: false

  - if:
      properties:
        compatible:
          contains:
            const: ti,pbias-omap4
    then:
      required:
        - pbias_mmc_omap4
      properties:
        pbias_mmc_omap2430: false
        pbias_sim_omap3: false
        pbias_mmc_omap5: false

  - if:
      properties:
        compatible:
          contains:
            enum:
              - ti,pbias-omap5
              - ti,pbias-dra7
    then:
      required:
        - pbias_mmc_omap5
      properties:
        pbias_mmc_omap2430: false
        pbias_sim_omap3: false
        pbias_mmc_omap4: false

additionalProperties: false

examples:
  - |
    pbias_regulator@0 {
        compatible = "ti,pbias-omap5", "ti,pbias-omap";
        reg = <0 0x4>;
        syscon = <&omap5_padconf_global>;
        pbias_mmc_omap5 {
            regulator-name = "pbias_mmc_omap5";
            regulator-min-microvolt = <1800000>;
            regulator-max-microvolt = <3000000>;
        };
    };