linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: regulator: mt6315-regulator: fix invalid allowed mode
@ 2022-05-29 15:46 Fabien Parent
  2022-06-01 13:19 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fabien Parent @ 2022-05-29 15:46 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Matthias Brugger, Hsin-Hsiung Wang
  Cc: Fabien Parent, linux-kernel, devicetree, linux-arm-kernel,
	linux-mediatek

In the binding example, the regulator mode 4 is shown as a valid mode,
but the driver actually only support mode 0 to 2:

This generates an error in dmesg when copy/pasting the binding example:
[    0.306080] vbuck1: invalid regulator-allowed-modes element 4
[    0.307290] vbuck2: invalid regulator-allowed-modes element 4

This commit fixes this error by removing the invalid mode from the
examples.

Fixes: 977fb5b58469 ("regulator: document binding for MT6315 regulator")
Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
 .../devicetree/bindings/regulator/mt6315-regulator.yaml       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml
index 5d2d989de893..37402c370fbb 100644
--- a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml
@@ -55,7 +55,7 @@ examples:
           regulator-min-microvolt = <300000>;
           regulator-max-microvolt = <1193750>;
           regulator-enable-ramp-delay = <256>;
-          regulator-allowed-modes = <0 1 2 4>;
+          regulator-allowed-modes = <0 1 2>;
         };
 
         vbuck3 {
@@ -63,7 +63,7 @@ examples:
           regulator-min-microvolt = <300000>;
           regulator-max-microvolt = <1193750>;
           regulator-enable-ramp-delay = <256>;
-          regulator-allowed-modes = <0 1 2 4>;
+          regulator-allowed-modes = <0 1 2>;
         };
       };
     };
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: regulator: mt6315-regulator: fix invalid allowed mode
  2022-05-29 15:46 [PATCH] dt-bindings: regulator: mt6315-regulator: fix invalid allowed mode Fabien Parent
@ 2022-06-01 13:19 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-06-01 13:19 UTC (permalink / raw)
  To: hsin-hsiung.wang, robh+dt, krzysztof.kozlowski+dt, lgirdwood,
	matthias.bgg, fparent
  Cc: linux-mediatek, linux-kernel, linux-arm-kernel, devicetree

On Sun, 29 May 2022 17:46:13 +0200, Fabien Parent wrote:
> In the binding example, the regulator mode 4 is shown as a valid mode,
> but the driver actually only support mode 0 to 2:
> 
> This generates an error in dmesg when copy/pasting the binding example:
> [    0.306080] vbuck1: invalid regulator-allowed-modes element 4
> [    0.307290] vbuck2: invalid regulator-allowed-modes element 4
> 
> [...]

Applied to

   broonie/regulator.git for-linus

Thanks!

[1/1] dt-bindings: regulator: mt6315-regulator: fix invalid allowed mode
      commit: 28cbc2d4c54c09a427b18a1604740efb6b2cc2d6

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-01 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-29 15:46 [PATCH] dt-bindings: regulator: mt6315-regulator: fix invalid allowed mode Fabien Parent
2022-06-01 13:19 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).