diff mbox series

regulator: fixed: Mark regulator-fixed-domain as deprecated

Message ID 20210705133441.11344-1-ulf.hansson@linaro.org
State Accepted
Commit c9cd752d8f3a6b13afc5332a60bea3e68f141738
Headers show
Series regulator: fixed: Mark regulator-fixed-domain as deprecated | expand

Commit Message

Ulf Hansson July 5, 2021, 1:34 p.m. UTC
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(+)

Comments

Mark Brown July 7, 2021, 5:52 p.m. UTC | #1
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
diff mbox series

Patch

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