.../bindings/regulator/maxim,max77826.yaml | 4 +- .../bindings/regulator/maxim,max77838.yaml | 4 +- .../bindings/regulator/mps,mp5416.yaml | 38 +++++++-------- .../bindings/regulator/mps,mp886x.yaml | 14 +++--- .../bindings/regulator/mps,mpq7920.yaml | 46 +++++++++---------- .../bindings/regulator/nxp,pf0900.yaml | 2 +- .../bindings/regulator/onnn,fan53880.yaml | 4 +- .../bindings/regulator/pwm-regulator.yaml | 2 +- .../regulator/richtek,rtmv20-regulator.yaml | 6 +-- .../bindings/regulator/silergy,sy8824x.yaml | 8 ++-- .../bindings/regulator/silergy,sy8827n.yaml | 4 +- 11 files changed, 66 insertions(+), 66 deletions(-)
Correct indentation in the examples to consistent 2- or 4-spaces
indentation to fix dt-check-style warnings ("example 0
[indent-consistent] indent mismatch ..."). Preferred is 4-spaces, but
re-indenting entire example just for that is too much churn.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
.../bindings/regulator/maxim,max77826.yaml | 4 +-
.../bindings/regulator/maxim,max77838.yaml | 4 +-
.../bindings/regulator/mps,mp5416.yaml | 38 +++++++--------
.../bindings/regulator/mps,mp886x.yaml | 14 +++---
.../bindings/regulator/mps,mpq7920.yaml | 46 +++++++++----------
.../bindings/regulator/nxp,pf0900.yaml | 2 +-
.../bindings/regulator/onnn,fan53880.yaml | 4 +-
.../bindings/regulator/pwm-regulator.yaml | 2 +-
.../regulator/richtek,rtmv20-regulator.yaml | 6 +--
.../bindings/regulator/silergy,sy8824x.yaml | 8 ++--
.../bindings/regulator/silergy,sy8827n.yaml | 4 +-
11 files changed, 66 insertions(+), 66 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml b/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
index 6d6bbfbd26d4..3c02f98a38e9 100644
--- a/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
+++ b/Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
@@ -62,6 +62,6 @@ examples:
regulator-max-microvolt = <3587500>;
};
};
- };
- };
+ };
+ };
...
diff --git a/Documentation/devicetree/bindings/regulator/maxim,max77838.yaml b/Documentation/devicetree/bindings/regulator/maxim,max77838.yaml
index bed36af5493d..bbfc06fbf547 100644
--- a/Documentation/devicetree/bindings/regulator/maxim,max77838.yaml
+++ b/Documentation/devicetree/bindings/regulator/maxim,max77838.yaml
@@ -63,6 +63,6 @@ examples:
regulator-max-microvolt = <1800000>;
};
};
- };
- };
+ };
+ };
...
diff --git a/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml b/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
index f825ee9efd81..4b05e07f5537 100644
--- a/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
+++ b/Documentation/devicetree/bindings/regulator/mps,mp5416.yaml
@@ -53,26 +53,26 @@ examples:
#size-cells = <0>;
pmic@69 {
- compatible = "mps,mp5416";
- reg = <0x69>;
+ compatible = "mps,mp5416";
+ reg = <0x69>;
- regulators {
+ regulators {
- buck1 {
- regulator-name = "buck1";
- regulator-min-microvolt = <600000>;
- regulator-max-microvolt = <2187500>;
- regulator-min-microamp = <3800000>;
- regulator-max-microamp = <6800000>;
- regulator-boot-on;
+ buck1 {
+ regulator-name = "buck1";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <2187500>;
+ regulator-min-microamp = <3800000>;
+ regulator-max-microamp = <6800000>;
+ regulator-boot-on;
+ };
+
+ ldo2 {
+ regulator-name = "ldo2";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <3975000>;
+ };
};
-
- ldo2 {
- regulator-name = "ldo2";
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <3975000>;
- };
- };
- };
- };
+ };
+ };
...
diff --git a/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml b/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml
index 374a4f6b1e23..a7a26c4d75b4 100644
--- a/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml
+++ b/Documentation/devicetree/bindings/regulator/mps,mp886x.yaml
@@ -50,13 +50,13 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
regulator@62 {
- compatible = "mps,mp8869";
- regulator-name = "vcpu";
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <1150000>;
- enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>;
- mps,fb-voltage-divider = <80 240>;
- reg = <0x62>;
+ compatible = "mps,mp8869";
+ regulator-name = "vcpu";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1150000>;
+ enable-gpios = <&porta 1 GPIO_ACTIVE_LOW>;
+ mps,fb-voltage-divider = <80 240>;
+ reg = <0x62>;
};
};
diff --git a/Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml b/Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml
index 0d34af98403f..726aaeac054e 100644
--- a/Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml
+++ b/Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml
@@ -88,30 +88,30 @@ examples:
#size-cells = <0>;
pmic@69 {
- compatible = "mps,mpq7920";
- reg = <0x69>;
+ compatible = "mps,mpq7920";
+ reg = <0x69>;
- regulators {
- mps,switch-freq = /bits/ 8 <1>;
+ regulators {
+ mps,switch-freq = /bits/ 8 <1>;
- buck1 {
- regulator-name = "buck1";
- regulator-min-microvolt = <400000>;
- regulator-max-microvolt = <3587500>;
- regulator-min-microamp = <460000>;
- regulator-max-microamp = <7600000>;
- regulator-boot-on;
- mps,buck-ovp-disable;
- mps,buck-phase-delay = /bits/ 8 <2>;
- mps,buck-softstart = /bits/ 8 <1>;
+ buck1 {
+ regulator-name = "buck1";
+ regulator-min-microvolt = <400000>;
+ regulator-max-microvolt = <3587500>;
+ regulator-min-microamp = <460000>;
+ regulator-max-microamp = <7600000>;
+ regulator-boot-on;
+ mps,buck-ovp-disable;
+ mps,buck-phase-delay = /bits/ 8 <2>;
+ mps,buck-softstart = /bits/ 8 <1>;
+ };
+
+ ldo2 {
+ regulator-name = "ldo2";
+ regulator-min-microvolt = <650000>;
+ regulator-max-microvolt = <3587500>;
+ };
};
-
- ldo2 {
- regulator-name = "ldo2";
- regulator-min-microvolt = <650000>;
- regulator-max-microvolt = <3587500>;
- };
- };
- };
- };
+ };
+ };
...
diff --git a/Documentation/devicetree/bindings/regulator/nxp,pf0900.yaml b/Documentation/devicetree/bindings/regulator/nxp,pf0900.yaml
index 8c8fc2cd4ced..38fe80749c3c 100644
--- a/Documentation/devicetree/bindings/regulator/nxp,pf0900.yaml
+++ b/Documentation/devicetree/bindings/regulator/nxp,pf0900.yaml
@@ -160,4 +160,4 @@ examples:
};
};
};
- };
+ };
diff --git a/Documentation/devicetree/bindings/regulator/onnn,fan53880.yaml b/Documentation/devicetree/bindings/regulator/onnn,fan53880.yaml
index b5181719daa1..1618e8f1c4c4 100644
--- a/Documentation/devicetree/bindings/regulator/onnn,fan53880.yaml
+++ b/Documentation/devicetree/bindings/regulator/onnn,fan53880.yaml
@@ -82,6 +82,6 @@ examples:
regulator-max-microvolt = <1200000>;
};
};
- };
- };
+ };
+ };
...
diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.yaml b/Documentation/devicetree/bindings/regulator/pwm-regulator.yaml
index 80ecf938b749..a7f48d33bad5 100644
--- a/Documentation/devicetree/bindings/regulator/pwm-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.yaml
@@ -116,7 +116,7 @@ examples:
regulator-max-microvolt = <1114000>;
regulator-name = "vdd_logic";
- /* Voltage Duty-Cycle */
+ /* Voltage Duty-Cycle */
voltage-table = <1114000 0>,
<1095000 10>,
<1076000 20>,
diff --git a/Documentation/devicetree/bindings/regulator/richtek,rtmv20-regulator.yaml b/Documentation/devicetree/bindings/regulator/richtek,rtmv20-regulator.yaml
index fec3d396ca50..1526cd071b61 100644
--- a/Documentation/devicetree/bindings/regulator/richtek,rtmv20-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/richtek,rtmv20-regulator.yaml
@@ -151,9 +151,9 @@ examples:
richtek,vsync-polarity-high;
lsw {
- regulator-name = "rtmv20,lsw";
- regulator-min-microamp = <0>;
- regulator-max-microamp = <6000000>;
+ regulator-name = "rtmv20,lsw";
+ regulator-min-microamp = <0>;
+ regulator-max-microamp = <6000000>;
};
};
};
diff --git a/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml b/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml
index 82af4d656177..0da920f84f89 100644
--- a/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml
+++ b/Documentation/devicetree/bindings/regulator/silergy,sy8824x.yaml
@@ -35,10 +35,10 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
regulator@60 {
- compatible = "silergy,sy8824c";
- regulator-min-microvolt = <800000>;
- regulator-max-microvolt = <1150000>;
- reg = <0x60>;
+ compatible = "silergy,sy8824c";
+ regulator-min-microvolt = <800000>;
+ regulator-max-microvolt = <1150000>;
+ reg = <0x60>;
};
};
diff --git a/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml b/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml
index b222adabc7b4..77da91c28c19 100644
--- a/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml
+++ b/Documentation/devicetree/bindings/regulator/silergy,sy8827n.yaml
@@ -39,8 +39,8 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
regulator@60 {
- compatible = "silergy,sy8827n";
- reg = <0x60>;
+ compatible = "silergy,sy8827n";
+ reg = <0x60>;
};
};
--
2.53.0
On Sun, 13 Sep 2026 14:32:13 +0200, Krzysztof Kozlowski wrote:
> regulator: dt-bindings: Use consistent indentation in the example
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.4
Thanks!
[1/1] regulator: dt-bindings: Use consistent indentation in the example
https://git.kernel.org/broonie/regulator/c/b89f8972f754
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
© 2016 - 2026 Red Hat, Inc.