Commit cff5c895 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown

regulator: dt-bindings: Drop unneeded quotes

Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230317233616.3968003-1-robh@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 691c1fcd
...@@ -10,7 +10,7 @@ maintainers: ...@@ -10,7 +10,7 @@ maintainers:
- Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> - Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
...@@ -19,43 +19,43 @@ properties: ...@@ -19,43 +19,43 @@ properties:
regulator-name: true regulator-name: true
anatop-reg-offset: anatop-reg-offset:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the anatop MFD register offset. description: u32 value representing the anatop MFD register offset.
anatop-vol-bit-shift: anatop-vol-bit-shift:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the bit shift for the register. description: u32 value representing the bit shift for the register.
anatop-vol-bit-width: anatop-vol-bit-width:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the number of bits used in the register. description: u32 value representing the number of bits used in the register.
anatop-min-bit-val: anatop-min-bit-val:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the minimum value of this register. description: u32 value representing the minimum value of this register.
anatop-min-voltage: anatop-min-voltage:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the minimum voltage of this regulator. description: u32 value representing the minimum voltage of this regulator.
anatop-max-voltage: anatop-max-voltage:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the maximum voltage of this regulator. description: u32 value representing the maximum voltage of this regulator.
anatop-delay-reg-offset: anatop-delay-reg-offset:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the anatop MFD step time register offset. description: u32 value representing the anatop MFD step time register offset.
anatop-delay-bit-shift: anatop-delay-bit-shift:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the bit shift for the step time register. description: u32 value representing the bit shift for the step time register.
anatop-delay-bit-width: anatop-delay-bit-width:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing the number of bits used in the step time register. description: u32 value representing the number of bits used in the step time register.
anatop-enable-bit: anatop-enable-bit:
$ref: '/schemas/types.yaml#/definitions/uint32' $ref: /schemas/types.yaml#/definitions/uint32
description: u32 value representing regulator enable bit offset. description: u32 value representing regulator enable bit offset.
vin-supply: vin-supply:
......
...@@ -109,7 +109,7 @@ properties: ...@@ -109,7 +109,7 @@ properties:
description: Specify a valid GPIO for platform control of the regulator description: Specify a valid GPIO for platform control of the regulator
dlg,ripple-cancel: dlg,ripple-cancel:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
enum: [ 0, 1, 2, 3 ] enum: [ 0, 1, 2, 3 ]
description: | description: |
Defined in include/dt-bindings/regulator/dlg,da9121-regulator.h Defined in include/dt-bindings/regulator/dlg,da9121-regulator.h
......
...@@ -17,7 +17,7 @@ description: ...@@ -17,7 +17,7 @@ description:
to be the same. to be the same.
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -14,7 +14,7 @@ description: ...@@ -14,7 +14,7 @@ description:
regulator.yaml, can also be used. regulator.yaml, can also be used.
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
......
...@@ -15,7 +15,7 @@ description: ...@@ -15,7 +15,7 @@ description:
regulator.txt, can also be used. regulator.txt, can also be used.
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
......
...@@ -25,7 +25,7 @@ properties: ...@@ -25,7 +25,7 @@ properties:
patternProperties: patternProperties:
"^regulator-(ldo|sbb[0-2])$": "^regulator-(ldo|sbb[0-2])$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
unevaluatedProperties: false unevaluatedProperties: false
required: required:
......
...@@ -25,7 +25,7 @@ properties: ...@@ -25,7 +25,7 @@ properties:
patternProperties: patternProperties:
"^regulator-.+$": "^regulator-.+$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
unevaluatedProperties: false unevaluatedProperties: false
additionalProperties: false additionalProperties: false
......
...@@ -25,7 +25,7 @@ properties: ...@@ -25,7 +25,7 @@ properties:
patternProperties: patternProperties:
"^(ldo[1-5]|buck)$": "^(ldo[1-5]|buck)$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
additionalProperties: false additionalProperties: false
......
...@@ -18,7 +18,7 @@ description: | ...@@ -18,7 +18,7 @@ description: |
patternProperties: patternProperties:
"^buck-v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$": "^buck-v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -28,7 +28,7 @@ patternProperties: ...@@ -28,7 +28,7 @@ patternProperties:
"^ldo-v(avdd32aud|auxa32)$": "^ldo-v(avdd32aud|auxa32)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -38,7 +38,7 @@ patternProperties: ...@@ -38,7 +38,7 @@ patternProperties:
"^ldo-v(dig18|emc33|ibr|mc|mch|mipi|rtc|sram|usb10)$": "^ldo-v(dig18|emc33|ibr|mc|mch|mipi|rtc|sram|usb10)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -48,7 +48,7 @@ patternProperties: ...@@ -48,7 +48,7 @@ patternProperties:
"^ldo-vcam(a|af|d|io)$": "^ldo-vcam(a|af|d|io)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -58,7 +58,7 @@ patternProperties: ...@@ -58,7 +58,7 @@ patternProperties:
"^ldo-vtcxo[12]$": "^ldo-vtcxo[12]$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -71,7 +71,7 @@ patternProperties: ...@@ -71,7 +71,7 @@ patternProperties:
"^ldo-vgp[1234]$": "^ldo-vgp[1234]$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
......
...@@ -18,7 +18,7 @@ description: | ...@@ -18,7 +18,7 @@ description: |
patternProperties: patternProperties:
"^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$": "^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -28,7 +28,7 @@ patternProperties: ...@@ -28,7 +28,7 @@ patternProperties:
"^ldo-v(bif28|dig18|sram|usb33)$": "^ldo-v(bif28|dig18|sram|usb33)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
......
...@@ -28,11 +28,11 @@ properties: ...@@ -28,11 +28,11 @@ properties:
patternProperties: patternProperties:
"^buck[1-4]$": "^buck[1-4]$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
"^ldo[1-4]$": "^ldo[1-4]$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
additionalProperties: false additionalProperties: false
......
...@@ -28,7 +28,7 @@ properties: ...@@ -28,7 +28,7 @@ properties:
mps,fb-voltage-divider: mps,fb-voltage-divider:
description: An array of two integers containing the resistor description: An array of two integers containing the resistor
values R1 and R2 of the feedback voltage divider in kilo ohms. values R1 and R2 of the feedback voltage divider in kilo ohms.
$ref: "/schemas/types.yaml#/definitions/uint32-array" $ref: /schemas/types.yaml#/definitions/uint32-array
maxItems: 2 maxItems: 2
mps,switch-frequency-hz: mps,switch-frequency-hz:
......
...@@ -29,7 +29,7 @@ properties: ...@@ -29,7 +29,7 @@ properties:
properties: properties:
mps,switch-freq: mps,switch-freq:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
default: 2 default: 2
description: | description: |
...@@ -51,14 +51,14 @@ properties: ...@@ -51,14 +51,14 @@ properties:
properties: properties:
mps,buck-softstart: mps,buck-softstart:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
description: | description: |
defines the soft start time of this buck, must be one of the following defines the soft start time of this buck, must be one of the following
corresponding values 150us, 300us, 610us, 920us corresponding values 150us, 300us, 610us, 920us
mps,buck-phase-delay: mps,buck-phase-delay:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
description: | description: |
defines the phase delay of this buck, must be one of the following defines the phase delay of this buck, must be one of the following
......
...@@ -28,7 +28,7 @@ properties: ...@@ -28,7 +28,7 @@ properties:
patternProperties: patternProperties:
"^vbuck[1-4]$": "^vbuck[1-4]$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
unevaluatedProperties: false unevaluatedProperties: false
properties: properties:
......
...@@ -17,7 +17,7 @@ description: | ...@@ -17,7 +17,7 @@ description: |
patternProperties: patternProperties:
"^buck_v(s1|gpu11|modem|pu|core|s2|pa|proc2|proc1|core_sshub)$": "^buck_v(s1|gpu11|modem|pu|core|s2|pa|proc2|proc1|core_sshub)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -27,7 +27,7 @@ patternProperties: ...@@ -27,7 +27,7 @@ patternProperties:
"^ldo_v(ibr|rf12|usb|camio|efuse|xo22)$": "^ldo_v(ibr|rf12|usb|camio|efuse|xo22)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -37,7 +37,7 @@ patternProperties: ...@@ -37,7 +37,7 @@ patternProperties:
"^ldo_v(rfck|emc|a12|a09|ufs|bbck)$": "^ldo_v(rfck|emc|a12|a09|ufs|bbck)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -47,7 +47,7 @@ patternProperties: ...@@ -47,7 +47,7 @@ patternProperties:
"^ldo_vcn(18|13|33_1_bt|13_1_wifi|33_2_bt|33_2_wifi)$": "^ldo_vcn(18|13|33_1_bt|13_1_wifi|33_2_bt|33_2_wifi)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -57,7 +57,7 @@ patternProperties: ...@@ -57,7 +57,7 @@ patternProperties:
"^ldo_vsram_(proc2|others|md|proc1|others_sshub)$": "^ldo_vsram_(proc2|others|md|proc1|others_sshub)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -67,7 +67,7 @@ patternProperties: ...@@ -67,7 +67,7 @@ patternProperties:
"^ldo_v(fe|bif|io)28$": "^ldo_v(fe|bif|io)28$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -77,7 +77,7 @@ patternProperties: ...@@ -77,7 +77,7 @@ patternProperties:
"^ldo_v(aud|io|aux|rf|m)18$": "^ldo_v(aud|io|aux|rf|m)18$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
...@@ -87,7 +87,7 @@ patternProperties: ...@@ -87,7 +87,7 @@ patternProperties:
"^ldo_vsim[12]$": "^ldo_vsim[12]$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
regulator-name: regulator-name:
......
...@@ -26,11 +26,11 @@ properties: ...@@ -26,11 +26,11 @@ properties:
patternProperties: patternProperties:
"^buck[12]$": "^buck[12]$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
unevaluatedProperties: false unevaluatedProperties: false
"^ldo[123567]$": "^ldo[123567]$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
unevaluatedProperties: false unevaluatedProperties: false
required: required:
......
...@@ -57,7 +57,7 @@ properties: ...@@ -57,7 +57,7 @@ properties:
properties: properties:
nxp,dvs-run-voltage: nxp,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 600000 minimum: 600000
maximum: 2187500 maximum: 2187500
description: description:
...@@ -65,7 +65,7 @@ properties: ...@@ -65,7 +65,7 @@ properties:
dvs(dynamic voltage scaling) property. dvs(dynamic voltage scaling) property.
nxp,dvs-standby-voltage: nxp,dvs-standby-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 600000 minimum: 600000
maximum: 2187500 maximum: 2187500
description: description:
......
...@@ -59,7 +59,7 @@ properties: ...@@ -59,7 +59,7 @@ properties:
should be "buck1", ..., "buck7" should be "buck1", ..., "buck7"
nxp,ilim-ma: nxp,ilim-ma:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 2100 minimum: 2100
maximum: 4500 maximum: 4500
deprecated: true deprecated: true
...@@ -75,7 +75,7 @@ properties: ...@@ -75,7 +75,7 @@ properties:
4500 4500
nxp,phase-shift: nxp,phase-shift:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
default: 0 default: 0
enum: [ 0, 45, 90, 135, 180, 225, 270, 315 ] enum: [ 0, 45, 90, 135, 180, 225, 270, 315 ]
description: description:
......
...@@ -63,19 +63,19 @@ properties: ...@@ -63,19 +63,19 @@ properties:
patternProperties: patternProperties:
"^sw([1-4]|[1-4][a-c]|[1-4][a-c][a-c])$": "^sw([1-4]|[1-4][a-c]|[1-4][a-c][a-c])$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
"^vgen[1-6]$": "^vgen[1-6]$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
"^vldo[1-4]$": "^vldo[1-4]$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
"^(vsnvs|vref|vrefddr|swbst|coin|v33|vccsd)$": "^(vsnvs|vref|vrefddr|swbst|coin|v33|vccsd)$":
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
additionalProperties: false additionalProperties: false
......
...@@ -105,18 +105,18 @@ properties: ...@@ -105,18 +105,18 @@ properties:
bob: bob:
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
description: BOB regulator node. description: BOB regulator node.
dependencies: dependencies:
regulator-allow-set-load: ["regulator-allowed-modes"] regulator-allow-set-load: [ regulator-allowed-modes ]
patternProperties: patternProperties:
"^(smps|ldo|lvs|bob)[0-9]+$": "^(smps|ldo|lvs|bob)[0-9]+$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
description: smps/ldo regulator nodes(s). description: smps/ldo regulator nodes(s).
dependencies: dependencies:
regulator-allow-set-load: ["regulator-allowed-modes"] regulator-allow-set-load: [ regulator-allowed-modes ]
required: required:
- compatible - compatible
......
...@@ -15,7 +15,7 @@ description: | ...@@ -15,7 +15,7 @@ description: |
and control the backlight. and control the backlight.
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
......
...@@ -13,7 +13,7 @@ maintainers: ...@@ -13,7 +13,7 @@ maintainers:
properties: properties:
regulator-name: regulator-name:
description: A string used as a descriptive name for regulator outputs description: A string used as a descriptive name for regulator outputs
$ref: "/schemas/types.yaml#/definitions/string" $ref: /schemas/types.yaml#/definitions/string
regulator-min-microvolt: regulator-min-microvolt:
description: smallest voltage consumers may set description: smallest voltage consumers may set
...@@ -23,7 +23,7 @@ properties: ...@@ -23,7 +23,7 @@ properties:
regulator-microvolt-offset: regulator-microvolt-offset:
description: Offset applied to voltages to compensate for voltage drops description: Offset applied to voltages to compensate for voltage drops
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
regulator-min-microamp: regulator-min-microamp:
description: smallest current consumers may set description: smallest current consumers may set
...@@ -59,7 +59,7 @@ properties: ...@@ -59,7 +59,7 @@ properties:
description: ramp delay for regulator(in uV/us) For hardware which supports description: ramp delay for regulator(in uV/us) For hardware which supports
disabling ramp rate, it should be explicitly initialised to zero (regulator-ramp-delay disabling ramp rate, it should be explicitly initialised to zero (regulator-ramp-delay
= <0>) for disabling ramp delay. = <0>) for disabling ramp delay.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
regulator-enable-ramp-delay: regulator-enable-ramp-delay:
description: The time taken, in microseconds, for the supply rail to description: The time taken, in microseconds, for the supply rail to
...@@ -68,7 +68,7 @@ properties: ...@@ -68,7 +68,7 @@ properties:
required due to the combination of internal ramping of the regulator required due to the combination of internal ramping of the regulator
itself, and board design issues such as trace capacitance and load itself, and board design issues such as trace capacitance and load
on the supply. on the supply.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
regulator-settling-time-us: regulator-settling-time-us:
description: Settling time, in microseconds, for voltage change if regulator description: Settling time, in microseconds, for voltage change if regulator
...@@ -95,7 +95,7 @@ properties: ...@@ -95,7 +95,7 @@ properties:
description: initial operating mode. The set of possible operating modes description: initial operating mode. The set of possible operating modes
depends on the capabilities of every hardware so each device binding depends on the capabilities of every hardware so each device binding
documentation explains which values the regulator supports. documentation explains which values the regulator supports.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
regulator-allowed-modes: regulator-allowed-modes:
description: list of operating modes that software is allowed to configure description: list of operating modes that software is allowed to configure
...@@ -103,12 +103,12 @@ properties: ...@@ -103,12 +103,12 @@ properties:
The set of possible operating modes depends on the capabilities of The set of possible operating modes depends on the capabilities of
every hardware so each device binding document explains which values every hardware so each device binding document explains which values
the regulator supports. the regulator supports.
$ref: "/schemas/types.yaml#/definitions/uint32-array" $ref: /schemas/types.yaml#/definitions/uint32-array
regulator-system-load: regulator-system-load:
description: Load in uA present on regulator that is not captured by description: Load in uA present on regulator that is not captured by
any consumer request. any consumer request.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
regulator-pull-down: regulator-pull-down:
description: Enable pull down resistor when the regulator is disabled. description: Enable pull down resistor when the regulator is disabled.
...@@ -206,14 +206,14 @@ properties: ...@@ -206,14 +206,14 @@ properties:
0: Disable active discharge. 0: Disable active discharge.
1: Enable active discharge. 1: Enable active discharge.
Absence of this property will leave configuration to default. Absence of this property will leave configuration to default.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
enum: [0, 1] enum: [0, 1]
regulator-coupled-with: regulator-coupled-with:
description: Regulators with which the regulator is coupled. The linkage description: Regulators with which the regulator is coupled. The linkage
is 2-way - all coupled regulators should be linked with each other. is 2-way - all coupled regulators should be linked with each other.
A regulator should not be coupled with its supplier. A regulator should not be coupled with its supplier.
$ref: "/schemas/types.yaml#/definitions/phandle-array" $ref: /schemas/types.yaml#/definitions/phandle-array
items: items:
maxItems: 1 maxItems: 1
...@@ -221,7 +221,7 @@ properties: ...@@ -221,7 +221,7 @@ properties:
description: Array of maximum spread between voltages of coupled regulators description: Array of maximum spread between voltages of coupled regulators
in microvolts, each value in the array relates to the corresponding in microvolts, each value in the array relates to the corresponding
couple specified by the regulator-coupled-with property. couple specified by the regulator-coupled-with property.
$ref: "/schemas/types.yaml#/definitions/uint32-array" $ref: /schemas/types.yaml#/definitions/uint32-array
regulator-max-step-microvolt: regulator-max-step-microvolt:
description: Maximum difference between current and target voltages description: Maximum difference between current and target voltages
...@@ -269,7 +269,7 @@ patternProperties: ...@@ -269,7 +269,7 @@ patternProperties:
of possible operating modes depends on the capabilities of every of possible operating modes depends on the capabilities of every
hardware so the valid modes are documented on each regulator device hardware so the valid modes are documented on each regulator device
tree binding document. tree binding document.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
additionalProperties: false additionalProperties: false
......
...@@ -32,7 +32,7 @@ properties: ...@@ -32,7 +32,7 @@ properties:
maxItems: 1 maxItems: 1
richtek,oc-level-select: richtek,oc-level-select:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
description: | description: |
Over current level selection. Each respective value means the current Over current level selection. Each respective value means the current
...@@ -40,7 +40,7 @@ properties: ...@@ -40,7 +40,7 @@ properties:
in chip default. in chip default.
richtek,ot-level-select: richtek,ot-level-select:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2] enum: [0, 1, 2]
description: | description: |
Over temperature level selection. Each respective value means the degree Over temperature level selection. Each respective value means the degree
...@@ -48,7 +48,7 @@ properties: ...@@ -48,7 +48,7 @@ properties:
default. default.
richtek,pgdly-time-select: richtek,pgdly-time-select:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2, 3] enum: [0, 1, 2, 3]
description: | description: |
Power good signal delay time selection. Each respective value means the Power good signal delay time selection. Each respective value means the
...@@ -57,7 +57,7 @@ properties: ...@@ -57,7 +57,7 @@ properties:
richtek,switch-freq-select: richtek,switch-freq-select:
$ref: "/schemas/types.yaml#/definitions/uint8" $ref: /schemas/types.yaml#/definitions/uint8
enum: [0, 1, 2] enum: [0, 1, 2]
description: | description: |
Buck switch frequency selection. Each respective value means 400KHz, Buck switch frequency selection. Each respective value means 400KHz,
......
...@@ -120,7 +120,7 @@ properties: ...@@ -120,7 +120,7 @@ properties:
lsw: lsw:
description: load switch current regulator description. description: load switch current regulator description.
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
required: required:
- compatible - compatible
......
...@@ -56,7 +56,7 @@ patternProperties: ...@@ -56,7 +56,7 @@ patternProperties:
PMIC "RUN" state voltage in uV when PMIC HW states are used. See PMIC "RUN" state voltage in uV when PMIC HW states are used. See
comments below for bucks/LDOs which support this. 0 means comments below for bucks/LDOs which support this. 0 means
regulator should be disabled at RUN state. regulator should be disabled at RUN state.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
...@@ -67,7 +67,7 @@ patternProperties: ...@@ -67,7 +67,7 @@ patternProperties:
keeps regulator enabled. BD71815 does not change voltage level keeps regulator enabled. BD71815 does not change voltage level
when PMIC transitions to SNVS.SNVS voltage depends on the previous when PMIC transitions to SNVS.SNVS voltage depends on the previous
state (from which the PMIC transitioned to SNVS). state (from which the PMIC transitioned to SNVS).
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
...@@ -76,7 +76,7 @@ patternProperties: ...@@ -76,7 +76,7 @@ patternProperties:
PMIC "SUSPEND" state voltage in uV when PMIC HW states are used. See PMIC "SUSPEND" state voltage in uV when PMIC HW states are used. See
comments below for bucks/LDOs which support this. 0 means comments below for bucks/LDOs which support this. 0 means
regulator should be disabled at SUSPEND state. regulator should be disabled at SUSPEND state.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
...@@ -85,7 +85,7 @@ patternProperties: ...@@ -85,7 +85,7 @@ patternProperties:
PMIC "LPSR" state voltage in uV when PMIC HW states are used. See PMIC "LPSR" state voltage in uV when PMIC HW states are used. See
comments below for bucks/LDOs which support this. 0 means comments below for bucks/LDOs which support this. 0 means
regulator should be disabled at LPSR state. regulator should be disabled at LPSR state.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
......
...@@ -52,7 +52,7 @@ patternProperties: ...@@ -52,7 +52,7 @@ patternProperties:
description: description:
PMIC default "RUN" state voltage in uV. See below table for PMIC default "RUN" state voltage in uV. See below table for
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
...@@ -60,7 +60,7 @@ patternProperties: ...@@ -60,7 +60,7 @@ patternProperties:
description: description:
PMIC default "IDLE" state voltage in uV. See below table for PMIC default "IDLE" state voltage in uV. See below table for
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
...@@ -68,7 +68,7 @@ patternProperties: ...@@ -68,7 +68,7 @@ patternProperties:
description: description:
PMIC default "SUSPEND" state voltage in uV. See below table for PMIC default "SUSPEND" state voltage in uV. See below table for
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
...@@ -76,7 +76,7 @@ patternProperties: ...@@ -76,7 +76,7 @@ patternProperties:
description: description:
PMIC default "LPSR" state voltage in uV. See below table for PMIC default "LPSR" state voltage in uV. See below table for
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 3300000 maximum: 3300000
......
...@@ -55,7 +55,7 @@ patternProperties: ...@@ -55,7 +55,7 @@ patternProperties:
should be "buck1", ..., "buck8" should be "buck1", ..., "buck8"
rohm,dvs-run-voltage: rohm,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1300000 maximum: 1300000
description: description:
...@@ -63,7 +63,7 @@ patternProperties: ...@@ -63,7 +63,7 @@ patternProperties:
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
rohm,dvs-idle-voltage: rohm,dvs-idle-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1300000 maximum: 1300000
description: description:
...@@ -71,7 +71,7 @@ patternProperties: ...@@ -71,7 +71,7 @@ patternProperties:
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
rohm,dvs-suspend-voltage: rohm,dvs-suspend-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1300000 maximum: 1300000
description: description:
......
...@@ -54,7 +54,7 @@ patternProperties: ...@@ -54,7 +54,7 @@ patternProperties:
should be "buck1", ..., "buck6" should be "buck1", ..., "buck6"
rohm,dvs-run-voltage: rohm,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1300000 maximum: 1300000
description: description:
...@@ -62,7 +62,7 @@ patternProperties: ...@@ -62,7 +62,7 @@ patternProperties:
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
rohm,dvs-idle-voltage: rohm,dvs-idle-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1300000 maximum: 1300000
description: description:
...@@ -70,7 +70,7 @@ patternProperties: ...@@ -70,7 +70,7 @@ patternProperties:
bucks which support this. 0 means disabled. bucks which support this. 0 means disabled.
rohm,dvs-suspend-voltage: rohm,dvs-suspend-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32" $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0 minimum: 0
maximum: 1300000 maximum: 1300000
description: description:
......
...@@ -25,7 +25,7 @@ patternProperties: ...@@ -25,7 +25,7 @@ patternProperties:
type: object type: object
description: description:
Properties for single regulator. Properties for single regulator.
$ref: "regulator.yaml#" $ref: regulator.yaml#
properties: properties:
rohm,ocw-fet-ron-micro-ohms: rohm,ocw-fet-ron-micro-ohms:
......
...@@ -42,7 +42,7 @@ properties: ...@@ -42,7 +42,7 @@ properties:
reset-names: true reset-names: true
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
- if: - if:
properties: properties:
compatible: compatible:
......
...@@ -14,7 +14,7 @@ description: | ...@@ -14,7 +14,7 @@ description: |
to supply ADC analog input switches. to supply ADC analog input switches.
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
...@@ -23,7 +23,7 @@ properties: ...@@ -23,7 +23,7 @@ properties:
- st,stm32mp1-booster - st,stm32mp1-booster
st,syscfg: st,syscfg:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: /schemas/types.yaml#/definitions/phandle
description: phandle to system configuration controller. description: phandle to system configuration controller.
vdda-supply: vdda-supply:
......
...@@ -15,7 +15,7 @@ maintainers: ...@@ -15,7 +15,7 @@ maintainers:
- Fabrice Gasnier <fabrice.gasnier@foss.st.com> - Fabrice Gasnier <fabrice.gasnier@foss.st.com>
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
......
...@@ -26,7 +26,7 @@ patternProperties: ...@@ -26,7 +26,7 @@ patternProperties:
"^(reg11|reg18|usb33)$": "^(reg11|reg18|usb33)$":
type: object type: object
$ref: "regulator.yaml#" $ref: regulator.yaml#
required: required:
- compatible - compatible
......
...@@ -19,7 +19,7 @@ description: | ...@@ -19,7 +19,7 @@ description: |
https://www.ti.com/lit/gpn/tps62360 https://www.ti.com/lit/gpn/tps62360
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
......
...@@ -15,7 +15,7 @@ description: | ...@@ -15,7 +15,7 @@ description: |
controller is also embedded. controller is also embedded.
allOf: allOf:
- $ref: "regulator.yaml#" - $ref: regulator.yaml#
properties: properties:
compatible: compatible:
......
...@@ -21,19 +21,19 @@ properties: ...@@ -21,19 +21,19 @@ properties:
wlf,ldoena: wlf,ldoena:
description: description:
GPIO specifier for the GPIO controlling LDOENA. GPIO specifier for the GPIO controlling LDOENA.
$ref: "/schemas/types.yaml#/definitions/phandle-array" $ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1 maxItems: 1
ldo1: ldo1:
description: description:
Initial data for the LDO1 regulator. Initial data for the LDO1 regulator.
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
micvdd: micvdd:
description: description:
Initial data for the MICVDD regulator. Initial data for the MICVDD regulator.
$ref: "regulator.yaml#" $ref: regulator.yaml#
type: object type: object
additionalProperties: true additionalProperties: true
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment