Skip to content

Commit 0175ec3

Browse files
committed
Merge tag 'regulator-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator updates from Mark Brown: "This has been a very quiet release for the regulator API: there's one new driver for the Maxim MAX20411, some DT schema conversions and some small tweaks and improvements but really nothing major at all" * tag 'regulator-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (22 commits) regulator: max597x: Align for simple_mfd_i2c driver regulator: max20411: Fix off-by-one for n_voltages setting regulator: max597x: Remove unused variable regulator: tps65219: use generic set_bypass() regulator: s5m8767: Bounds check id indexing into arrays regulator: max77802: Bounds check regulator id against opmode regulator: max20411: Convert to i2c's .probe_new() regulator: scmi: Allow for zero voltage domains regulator: max20411: Directly include bitfield.h regulator: Introduce Maxim MAX20411 Step-Down converter regulator: dt-bindings: Describe Maxim MAX20411 regulator: dt-bindings: qcom-labibb: Allow regulator-common properties regulator: dt-bindings: fixed-regulator: allow gpios property regulator: tps65219: use IS_ERR() to detect an error pointer regulator: mcp16502: add enum MCP16502_REG_HPM description regulator: fixed-helper: use the correct function name in comment regulator: act8945a: fix non-kernel-doc comments dt-bindings: regulators: convert non-smd RPM Regulators bindings to dt-schema regulator: dt-bindings: Convert Fairchild FAN53555 to DT schema regulator: dt-bindings: qcom,usb-vbus-regulator: change node name ...
2 parents 603ac53 + 7f62cb8 commit 0175ec3

24 files changed

+1269
-323
lines changed

Documentation/devicetree/bindings/regulator/act8865-regulator.txt

Lines changed: 0 additions & 117 deletions
This file was deleted.

Documentation/devicetree/bindings/regulator/act8945a-regulator.txt

Lines changed: 0 additions & 113 deletions
This file was deleted.
Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/regulator/active-semi,act8600.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Active-semi ACT8600 regulator
8+
9+
maintainers:
10+
- Paul Cercueil <[email protected]>
11+
12+
properties:
13+
compatible:
14+
const: active-semi,act8600
15+
16+
reg:
17+
maxItems: 1
18+
19+
system-power-controller:
20+
description:
21+
Indicates that the ACT8600 is responsible for powering OFF
22+
the system.
23+
type: boolean
24+
25+
active-semi,vsel-high:
26+
description:
27+
Indicates the VSEL pin is high. If this property is missing,
28+
the VSEL pin is assumed to be low.
29+
type: boolean
30+
31+
regulators:
32+
type: object
33+
additionalProperties: false
34+
35+
properties:
36+
DCDC1:
37+
type: object
38+
$ref: /schemas/regulator/regulator.yaml#
39+
unevaluatedProperties: false
40+
41+
properties:
42+
vp1-supply:
43+
description: Handle to the VP1 input supply
44+
45+
DCDC2:
46+
type: object
47+
$ref: /schemas/regulator/regulator.yaml#
48+
unevaluatedProperties: false
49+
50+
properties:
51+
vp2-supply:
52+
description: Handle to the VP2 input supply
53+
54+
DCDC3:
55+
type: object
56+
$ref: /schemas/regulator/regulator.yaml#
57+
unevaluatedProperties: false
58+
59+
properties:
60+
vp3-supply:
61+
description: Handle to the VP3 input supply
62+
63+
patternProperties:
64+
"^(SUDCDC_REG4|LDO_REG9|LDO_REG10)$":
65+
type: object
66+
$ref: /schemas/regulator/regulator.yaml#
67+
unevaluatedProperties: false
68+
69+
"^LDO[5-8]$":
70+
type: object
71+
$ref: /schemas/regulator/regulator.yaml#
72+
unevaluatedProperties: false
73+
74+
properties:
75+
inl-supply:
76+
description: Handle to the INL input supply
77+
78+
additionalProperties: false
79+
80+
required:
81+
- reg
82+
- compatible
83+
- regulators
84+
85+
examples:
86+
- |
87+
i2c {
88+
#address-cells = <1>;
89+
#size-cells = <0>;
90+
91+
pmic@5a {
92+
compatible = "active-semi,act8600";
93+
reg = <0x5a>;
94+
95+
regulators {
96+
SUDCDC_REG4 {
97+
regulator-min-microvolt = <5300000>;
98+
regulator-max-microvolt = <5300000>;
99+
inl-supply = <&vcc>;
100+
};
101+
102+
LDO5 {
103+
regulator-min-microvolt = <2500000>;
104+
regulator-max-microvolt = <2500000>;
105+
inl-supply = <&vcc>;
106+
};
107+
108+
LDO6 {
109+
regulator-min-microvolt = <3300000>;
110+
regulator-max-microvolt = <3300000>;
111+
inl-supply = <&vcc>;
112+
};
113+
114+
LDO7 {
115+
regulator-min-microvolt = <3300000>;
116+
regulator-max-microvolt = <3300000>;
117+
inl-supply = <&vcc>;
118+
};
119+
120+
LDO8 {
121+
regulator-min-microvolt = <1800000>;
122+
regulator-max-microvolt = <1800000>;
123+
regulator-always-on;
124+
inl-supply = <&vcc>;
125+
};
126+
127+
LDO_REG9 {
128+
regulator-min-microvolt = <3300000>;
129+
regulator-max-microvolt = <3300000>;
130+
regulator-always-on;
131+
inl-supply = <&vcc>;
132+
};
133+
134+
LDO_REG10 {
135+
inl-supply = <&vcc>;
136+
};
137+
};
138+
};
139+
};

0 commit comments

Comments
 (0)