From: Frieder Schrempf <frieder@fris.de>
To: devicetree@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
linux-kernel@vger.kernel.org, Mark Brown <broonie@kernel.org>,
Rob Herring <robh+dt@kernel.org>, Robin Gong <yibin.gong@nxp.com>
Cc: Fabio Estevam <festevam@gmail.com>,
linux-arm-kernel@lists.infradead.org,
Frieder Schrempf <frieder.schrempf@kontron.de>,
Per-Daniel Olsson <perdo@axis.com>,
Rickard x Andersson <rickaran@axis.com>
Subject: [PATCH v2 2/8] dt-bindings: regulator: pca9450: Allow arbitrary regulator names
Date: Mon, 1 Aug 2022 15:15:46 +0200 [thread overview]
Message-ID: <20220801131554.116795-3-frieder@fris.de> (raw)
In-Reply-To: <20220801131554.116795-1-frieder@fris.de>
From: Frieder Schrempf <frieder.schrempf@kontron.de>
Instead of restricting regulator-name to non-descriptive names, allow
to use arbitrary strings. This enables us to use the name of the
voltage rail that is powered by the regulator as some board DTs
already do.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
Changes in v2:
* new patch
---
.../bindings/regulator/nxp,pca9450-regulator.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
index b539781e39aa..b1e4fd09928b 100644
--- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
@@ -49,9 +49,9 @@ properties:
properties:
regulator-name:
- pattern: "^LDO[1-5]$"
description:
- should be "LDO1", ..., "LDO5"
+ Should be "LDO1", ..., "LDO5" or whatever the name of the boards
+ voltage rail powered by this regulator is.
unevaluatedProperties: false
@@ -63,9 +63,9 @@ properties:
properties:
regulator-name:
- pattern: "^BUCK[1-6]$"
description:
- should be "BUCK1", ..., "BUCK6"
+ Should be "BUCK1", ..., "BUCK6" or whatever the name of the boards
+ voltage rail powered by this regulator is.
nxp,dvs-run-voltage:
$ref: "/schemas/types.yaml#/definitions/uint32"
--
2.37.1
next prev parent reply other threads:[~2022-08-01 13:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-01 13:15 [PATCH v2 0/8] arm64: dts: imx8mm-kontron: Improvements and OSM board support Frieder Schrempf
2022-08-01 13:15 ` [PATCH v2 1/8] dt-bindings: arm: fsl: Add Kontron BL i.MX8MM OSM-S board Frieder Schrempf
2022-08-01 13:15 ` Frieder Schrempf [this message]
2022-08-01 13:21 ` [PATCH v2 2/8] dt-bindings: regulator: pca9450: Allow arbitrary regulator names Mark Brown
2022-08-01 13:45 ` Frieder Schrempf
2022-08-01 15:16 ` Mark Brown
2022-08-01 13:15 ` [PATCH v2 3/8] arm64: dts: imx8mm-kontron: Adjust board and SoM model strings Frieder Schrempf
2022-08-01 13:15 ` [PATCH v2 4/8] arm64: dts: imx8mm-kontron: Use the VSELECT signal to switch SD card IO voltage Frieder Schrempf
2022-08-01 13:15 ` [PATCH v2 5/8] arm64: dts: imx8mm-kontron: Remove low DDRC operating point Frieder Schrempf
2022-08-01 13:15 ` [PATCH v2 6/8] arm64: dts: imx8mm-kontron: Use voltage rail names from schematic for PMIC regulator-names Frieder Schrempf
2022-08-01 13:15 ` [PATCH v2 7/8] arm64: dts: imx8mm-kontron: Add SPI NOR partition layout Frieder Schrempf
2022-08-01 13:15 ` [PATCH v2 8/8] arm64: dts: Add support for Kontron SL/BL i.MX8MM OSM-S Frieder Schrempf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220801131554.116795-3-frieder@fris.de \
--to=frieder@fris.de \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perdo@axis.com \
--cc=rickaran@axis.com \
--cc=robh+dt@kernel.org \
--cc=yibin.gong@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®