Skip to content

Commit c5589c4

Browse files
committed
Merge tag 'regulator-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator updates from Mark Brown: "Quite a quiet release for regulator, the diffstat is dominated by the I2C migration to probe_new() and the newly added MT6357 driver. We've just one framework addition and the rest is all new device support, fixes and cleanups. The framework addition is an API for requesting all regulators defined in DT, this isn't great practice but has reasonable applications when there is generic code handling devices on buses where the bus specification doesn't include power. The immediate application is MDIO but I believe there's others, it's another API that'll need an eye keeping on it for undesirable usage. Summary: - An API for requesting all regulators defined in DT - Conversion of lots of drivers to the I2C probe_new() API - Support for Mediatek MT6357, Qualcomm PM8550, PMR735a and Richtek RT6190" * tag 'regulator-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (56 commits) regulator: core: Use different devices for resource allocation and DT lookup dt-bindings: Add missing 'unevaluatedProperties' to regulator nodes regulator: qcom-labibb: Fix missing of_node_put() in qcom_labibb_regulator_probe() regulator: add mt6357 regulator regulator: dt-bindings: Add binding schema for mt6357 regulators regulator: core: fix resource leak in regulator_register() regulator: core: fix module refcount leak in set_supply() regulator: core: fix use_count leakage when handling boot-on regulator: rk808: Use dev_err_probe regulator: rk808: reduce 'struct rk808' usage regulator: Drop obsolete dependencies on COMPILE_TEST regulator: pv88080-regulator: Convert to i2c's .probe_new() regulator: pfuze100-regulator: Convert to i2c's .probe_new() regulator: isl6271a-regulator: Convert to i2c's .probe_new() regulator: fan53555: Convert to i2c's .probe_new() regulator: act8865-regulator: Convert to i2c's .probe_new() regulator: qcom-rpmh: Add support for PM8550 regulators regulator: dt-bindings: qcom,rpmh: Add compatible for PM8550 regulator: tps65023-regulator: Convert to i2c's .probe_new() regulator: tps62360-regulator: Convert to i2c's .probe_new() ...
2 parents b8cc917 + 8f3cbcd commit c5589c4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1998
-288
lines changed

Documentation/devicetree/bindings/mfd/max77650.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,12 @@ examples:
100100
compatible = "maxim,max77650-regulator";
101101
102102
max77650_ldo: regulator-ldo {
103-
regulator-compatible = "ldo";
104103
regulator-name = "max77650-ldo";
105104
regulator-min-microvolt = <1350000>;
106105
regulator-max-microvolt = <2937500>;
107106
};
108107
109108
max77650_sbb0: regulator-sbb0 {
110-
regulator-compatible = "sbb0";
111109
regulator-name = "max77650-sbb0";
112110
regulator-min-microvolt = <800000>;
113111
regulator-max-microvolt = <1587500>;

Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ examples:
8383
richtek,vinovp-microvolt = <14500000>;
8484
8585
otg_vbus_regulator: usb-otg-vbus-regulator {
86-
regulator-compatible = "usb-otg-vbus";
8786
regulator-name = "usb-otg-vbus";
8887
regulator-min-microvolt = <4425000>;
8988
regulator-max-microvolt = <5825000>;
@@ -145,7 +144,6 @@ examples:
145144
compatible = "mediatek,mt6360-regulator";
146145
LDO_VIN3-supply = <&BUCK2>;
147146
buck1 {
148-
regulator-compatible = "BUCK1";
149147
regulator-name = "mt6360,buck1";
150148
regulator-min-microvolt = <300000>;
151149
regulator-max-microvolt = <1300000>;
@@ -154,7 +152,6 @@ examples:
154152
MT6360_OPMODE_ULP>;
155153
};
156154
BUCK2: buck2 {
157-
regulator-compatible = "BUCK2";
158155
regulator-name = "mt6360,buck2";
159156
regulator-min-microvolt = <300000>;
160157
regulator-max-microvolt = <1300000>;
@@ -163,47 +160,41 @@ examples:
163160
MT6360_OPMODE_ULP>;
164161
};
165162
ldo6 {
166-
regulator-compatible = "LDO6";
167163
regulator-name = "mt6360,ldo6";
168164
regulator-min-microvolt = <500000>;
169165
regulator-max-microvolt = <2100000>;
170166
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
171167
MT6360_OPMODE_LP>;
172168
};
173169
ldo7 {
174-
regulator-compatible = "LDO7";
175170
regulator-name = "mt6360,ldo7";
176171
regulator-min-microvolt = <500000>;
177172
regulator-max-microvolt = <2100000>;
178173
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
179174
MT6360_OPMODE_LP>;
180175
};
181176
ldo1 {
182-
regulator-compatible = "LDO1";
183177
regulator-name = "mt6360,ldo1";
184178
regulator-min-microvolt = <1200000>;
185179
regulator-max-microvolt = <3600000>;
186180
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
187181
MT6360_OPMODE_LP>;
188182
};
189183
ldo2 {
190-
regulator-compatible = "LDO2";
191184
regulator-name = "mt6360,ldo2";
192185
regulator-min-microvolt = <1200000>;
193186
regulator-max-microvolt = <3600000>;
194187
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
195188
MT6360_OPMODE_LP>;
196189
};
197190
ldo3 {
198-
regulator-compatible = "LDO3";
199191
regulator-name = "mt6360,ldo3";
200192
regulator-min-microvolt = <1200000>;
201193
regulator-max-microvolt = <3600000>;
202194
regulator-allowed-modes = <MT6360_OPMODE_NORMAL
203195
MT6360_OPMODE_LP>;
204196
};
205197
ldo5 {
206-
regulator-compatible = "LDO5";
207198
regulator-name = "mt6360,ldo5";
208199
regulator-min-microvolt = <2700000>;
209200
regulator-max-microvolt = <3600000>;

Documentation/devicetree/bindings/power/supply/mt6360_charger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
type: object
2727
description: OTG boost regulator.
2828
$ref: /schemas/regulator/regulator.yaml#
29+
unevaluatedProperties: false
2930

3031
required:
3132
- compatible
@@ -39,7 +40,6 @@ examples:
3940
richtek,vinovp-microvolt = <14500000>;
4041
4142
otg_vbus_regulator: usb-otg-vbus-regulator {
42-
regulator-compatible = "usb-otg-vbus";
4343
regulator-name = "usb-otg-vbus";
4444
regulator-min-microvolt = <4425000>;
4545
regulator-max-microvolt = <5825000>;

Documentation/devicetree/bindings/regulator/max77650-regulator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
patternProperties:
2727
"^regulator-(ldo|sbb[0-2])$":
2828
$ref: "regulator.yaml#"
29+
unevaluatedProperties: false
2930

3031
required:
3132
- compatible

Documentation/devicetree/bindings/regulator/max8660.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
patternProperties:
2727
"regulator-.+":
2828
$ref: "regulator.yaml#"
29+
unevaluatedProperties: false
2930

3031
additionalProperties: false
3132

@@ -43,31 +44,26 @@ examples:
4344
4445
regulators {
4546
regulator-V3 {
46-
regulator-compatible= "V3(DCDC)";
4747
regulator-min-microvolt = <725000>;
4848
regulator-max-microvolt = <1800000>;
4949
};
5050
5151
regulator-V4 {
52-
regulator-compatible= "V4(DCDC)";
5352
regulator-min-microvolt = <725000>;
5453
regulator-max-microvolt = <1800000>;
5554
};
5655
5756
regulator-V5 {
58-
regulator-compatible= "V5(LDO)";
5957
regulator-min-microvolt = <1700000>;
6058
regulator-max-microvolt = <2000000>;
6159
};
6260
6361
regulator-V6 {
64-
regulator-compatible= "V6(LDO)";
6562
regulator-min-microvolt = <1800000>;
6663
regulator-max-microvolt = <3300000>;
6764
};
6865
6966
regulator-V7 {
70-
regulator-compatible= "V7(LDO)";
7167
regulator-min-microvolt = <1800000>;
7268
regulator-max-microvolt = <3300000>;
7369
};

0 commit comments

Comments
 (0)