brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 1725037 Raw
94 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/anatop-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale Anatop Voltage Regulators8 9maintainers:10  - Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>11 12allOf:13  - $ref: regulator.yaml#14 15properties:16  compatible:17    const: fsl,anatop-regulator18 19  regulator-name: true20 21  anatop-reg-offset:22    $ref: /schemas/types.yaml#/definitions/uint3223    description: u32 value representing the anatop MFD register offset.24 25  anatop-vol-bit-shift:26    $ref: /schemas/types.yaml#/definitions/uint3227    description: u32 value representing the bit shift for the register.28 29  anatop-vol-bit-width:30    $ref: /schemas/types.yaml#/definitions/uint3231    description: u32 value representing the number of bits used in the register.32 33  anatop-min-bit-val:34    $ref: /schemas/types.yaml#/definitions/uint3235    description: u32 value representing the minimum value of this register.36 37  anatop-min-voltage:38    $ref: /schemas/types.yaml#/definitions/uint3239    description: u32 value representing the minimum voltage of this regulator.40 41  anatop-max-voltage:42    $ref: /schemas/types.yaml#/definitions/uint3243    description: u32 value representing the maximum voltage of this regulator.44 45  anatop-delay-reg-offset:46    $ref: /schemas/types.yaml#/definitions/uint3247    description: u32 value representing the anatop MFD step time register offset.48 49  anatop-delay-bit-shift:50    $ref: /schemas/types.yaml#/definitions/uint3251    description: u32 value representing the bit shift for the step time register.52 53  anatop-delay-bit-width:54    $ref: /schemas/types.yaml#/definitions/uint3255    description: u32 value representing the number of bits used in the step time register.56 57  anatop-enable-bit:58    $ref: /schemas/types.yaml#/definitions/uint3259    description: u32 value representing regulator enable bit offset.60 61  vin-supply:62    description: input supply phandle.63 64required:65  - compatible66  - regulator-name67  - anatop-reg-offset68  - anatop-vol-bit-shift69  - anatop-vol-bit-width70  - anatop-min-bit-val71  - anatop-min-voltage72  - anatop-max-voltage73 74unevaluatedProperties: false75 76examples:77  - |78    regulator-vddpu {79        compatible = "fsl,anatop-regulator";80        regulator-name = "vddpu";81        regulator-min-microvolt = <725000>;82        regulator-max-microvolt = <1300000>;83        regulator-always-on;84        anatop-reg-offset = <0x140>;85        anatop-vol-bit-shift = <9>;86        anatop-vol-bit-width = <5>;87        anatop-delay-reg-offset = <0x170>;88        anatop-delay-bit-shift = <24>;89        anatop-delay-bit-width = <2>;90        anatop-min-bit-val = <1>;91        anatop-min-voltage = <725000>;92        anatop-max-voltage = <1300000>;93    };94