From: Andre Przywara <andre.przywara@arm.com>
To: Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
Chen-Yu Tsai <wens@csie.org>, Mark Brown <broonie@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Rob Herring <robh+dt@kernel.org>
Cc: Martin Botka <martin.botka@somainline.org>,
martin.botka1@gmail.com, Shengyu Qu <wiagn233@outlook.com>,
Samuel Holland <samuel@sholland.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: [PATCH v10 1/3] dt-bindings: mfd: x-powers,axp152: Document the AXP313a variant
Date: Sat, 1 Apr 2023 01:18:48 +0100 [thread overview]
Message-ID: <20230401001850.4988-2-andre.przywara@arm.com> (raw)
In-Reply-To: <20230401001850.4988-1-andre.przywara@arm.com>
From: Martin Botka <martin.botka@somainline.org>
The X-Powers AXP313a is a PMIC used on some devices with the Allwinner
H616 or H313 SoC.
According to the datasheet, the DC/DC converter PWM frequency is fixed
(to 3 MHz), so disallow the property that lets us set this frequency
for the other PMICs.
Signed-off-by: Martin Botka <martin.botka@somainline.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
.../devicetree/bindings/mfd/x-powers,axp152.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
index 2691ac08f5362..ed76b1c58cdf4 100644
--- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
+++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml
@@ -73,6 +73,16 @@ allOf:
required:
- interrupts
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: x-powers,axp313a
+
+ then:
+ properties:
+ x-powers,dcdc-freq: false
+
properties:
compatible:
oneOf:
@@ -82,6 +92,7 @@ properties:
- x-powers,axp209
- x-powers,axp221
- x-powers,axp223
+ - x-powers,axp313a
- x-powers,axp803
- x-powers,axp806
- x-powers,axp809
--
2.35.7
next prev parent reply other threads:[~2023-04-01 0:19 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-01 0:18 [PATCH v10 0/3] regulator: Add X-Powers AXP313a PMIC support Andre Przywara
2023-04-01 0:18 ` Andre Przywara [this message]
2023-04-01 19:22 ` [PATCH v10 1/3] dt-bindings: mfd: x-powers,axp152: Document the AXP313a variant Krzysztof Kozlowski
2023-04-02 6:09 ` Chen-Yu Tsai
2023-04-21 7:30 ` Lee Jones
2023-04-01 0:18 ` [PATCH v10 2/3] mfd: axp20x: Add support for AXP313a PMIC Andre Przywara
2023-04-02 6:10 ` Chen-Yu Tsai
2023-04-21 7:31 ` Lee Jones
2023-04-21 9:35 ` Shengyu Qu
2023-04-24 9:57 ` Lee Jones
2023-04-01 0:18 ` [PATCH v10 3/3] regulator: axp20x: Add support for AXP313a variant Andre Przywara
2023-04-02 6:13 ` Chen-Yu Tsai
2023-04-05 14:21 ` Lee Jones
2023-04-05 15:07 ` Mark Brown
2023-04-05 15:36 ` Lee Jones
2023-04-05 16:15 ` Mark Brown
2023-04-05 16:39 ` Lee Jones
2023-04-05 17:07 ` Mark Brown
2023-04-05 18:03 ` Lee Jones
2023-04-05 18:38 ` Mark Brown
2023-04-06 13:49 ` Mark Brown
2023-04-14 10:32 ` Andre Przywara
2023-04-19 15:49 ` Lee Jones
2023-04-19 16:39 ` Andre Przywara
2023-04-21 7:32 ` [PATCH v10 0/3] regulator: Add X-Powers AXP313a PMIC support Lee Jones
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=20230401001850.4988-2-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=martin.botka1@gmail.com \
--cc=martin.botka@somainline.org \
--cc=robh+dt@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@csie.org \
--cc=wiagn233@outlook.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