linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] regulator: fixed: Mark regulator-fixed-domain as deprecated
@ 2021-07-05 13:34 Ulf Hansson
  2021-07-07 17:52 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Hansson @ 2021-07-05 13:34 UTC (permalink / raw)
  To: Rob Herring, Mark Brown, Liam Girdwood, Dmitry Baryshkov
  Cc: Bjorn Andersson, Rajendra Nayak, Ulf Hansson, linux-arm-msm,
	linux-kernel, devicetree

A power domain should not be modelled as a regulator, not even for the
simplest case as recent discussions have concluded around the existing
regulator-fixed-domain DT binding.

Fortunately, there is only one user of the binding that was recently added.
Therefore, let's mark the binding as deprecated to prevent it from being
further used.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 .../devicetree/bindings/regulator/fixed-regulator.yaml          | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index 8850c01bd470..9b131c6facbc 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -57,12 +57,14 @@ properties:
     maxItems: 1
 
   power-domains:
+    deprecated: true
     description:
       Power domain to use for enable control. This binding is only
       available if the compatible is chosen to regulator-fixed-domain.
     maxItems: 1
 
   required-opps:
+    deprecated: true
     description:
       Performance state to use for enable control. This binding is only
       available if the compatible is chosen to regulator-fixed-domain. The
-- 
2.25.1


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

* Re: [PATCH] regulator: fixed: Mark regulator-fixed-domain as deprecated
  2021-07-05 13:34 [PATCH] regulator: fixed: Mark regulator-fixed-domain as deprecated Ulf Hansson
@ 2021-07-07 17:52 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2021-07-07 17:52 UTC (permalink / raw)
  To: Dmitry Baryshkov, Rob Herring, Liam Girdwood, Ulf Hansson
  Cc: Mark Brown, Rajendra Nayak, Bjorn Andersson, linux-kernel,
	linux-arm-msm, devicetree

On Mon, 5 Jul 2021 15:34:41 +0200, Ulf Hansson wrote:
> A power domain should not be modelled as a regulator, not even for the
> simplest case as recent discussions have concluded around the existing
> regulator-fixed-domain DT binding.
> 
> Fortunately, there is only one user of the binding that was recently added.
> Therefore, let's mark the binding as deprecated to prevent it from being
> further used.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: fixed: Mark regulator-fixed-domain as deprecated
      commit: c9cd752d8f3a6b13afc5332a60bea3e68f141738

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:[~2021-07-07 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05 13:34 [PATCH] regulator: fixed: Mark regulator-fixed-domain as deprecated Ulf Hansson
2021-07-07 17:52 ` 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).