From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: lee.jones@linaro.org, lgirdwood@gmail.com, broonie@kernel.org,
robh+dt@kernel.org
Cc: afaerber@suse.de, linux-actions@lists.infradead.org,
linux-kernel@vger.kernel.org, thomas.liau@actions-semi.com,
devicetree@vger.kernel.org, linus.walleij@linaro.org,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH 1/4] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding
Date: Mon, 17 Jun 2019 21:20:08 +0530 [thread overview]
Message-ID: <20190617155011.15376-2-manivannan.sadhasivam@linaro.org> (raw)
In-Reply-To: <20190617155011.15376-1-manivannan.sadhasivam@linaro.org>
Add devicetree binding for Actions Semi ATC260x PMICs.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
.../devicetree/bindings/mfd/atc260x.txt | 162 ++++++++++++++++++
1 file changed, 162 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/atc260x.txt
diff --git a/Documentation/devicetree/bindings/mfd/atc260x.txt b/Documentation/devicetree/bindings/mfd/atc260x.txt
new file mode 100644
index 000000000000..c72790132ed7
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/atc260x.txt
@@ -0,0 +1,162 @@
+Actions Semi ATC260X PMIC
+
+The atc260x family current members:
+atc2609a
+
+Required properties:
+- compatible: "actions,atc2609a"
+- reg: I2C slave address
+- interrupts: The interrupt line the IRQ signal for the device is connected to
+
+Optional ATC2609A properties:
+- vcc0-supply: The input supply for DCDC_REG0
+- vcc1-supply: The input supply for DCDC_REG1
+- vcc2-supply: The input supply for DCDC_REG2
+- vcc3-supply: The input supply for DCDC_REG3
+- vcc4-supply: The input supply for DCDC_REG4
+- vcc5-supply: The input supply for LDO_REG0
+- vcc6-supply: The input supply for LDO_REG1
+- vcc7-supply: The input supply for LDO_REG2
+- vcc8-supply: The input supply for LDO_REG3
+- vcc9-supply: The input supply for LDO_REG4
+- vcc10-supply: The input supply for LDO_REG5
+- vcc11-supply: The input supply for LDO_REG6
+- vcc12-supply: The input supply for LDO_REG7
+- vcc13-supply: The input supply for LDO_REG8
+- vcc14-supply: The input supply for LDO_REG9
+
+Regulators: All the regulators of ATC260X to be instantiated shall be
+listed in a child node named 'regulators'. Each regulator is represented
+by a child node of the 'regulators' node.
+
+ regulator-name {
+ /* standard regulator bindings here */
+ };
+
+Following regulators of the ATC2609A PMIC regulators are supported. Note that
+the 'n' in regulator name, as in DCDC_REGn or LDOn, represents the DCDC or LDO
+number as described in ATC2609A datasheet.
+
+ - DCDC_REGn
+ - valid values for n are 0 to 4.
+ - LDO_REGn
+ - valid values for n are 0 to 9
+
+Standard regulator bindings are used inside regulator subnodes. Check
+ Documentation/devicetree/bindings/regulator/regulator.txt
+for more details
+
+Example:
+ atc260x: pmic@65 {
+ compatible = "actions,atc2609a";
+ reg = <0x65>;
+ interrupt-parent = <&sirq>;
+ interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
+
+ vcc0-supply = <®_5v0>;
+ vcc1-supply = <®_5v0>;
+ vcc2-supply = <®_5v0>;
+ vcc3-supply = <®_5v0>;
+ vcc4-supply = <®_5v0>;
+ vcc5-supply = <®_3v1>;
+ vcc6-supply = <®_5v0>;
+ vcc7-supply = <®_5v0>;
+ vcc9-supply = <®_5v0>;
+ vcc10-supply = <®_5v0>;
+ vcc11-supply = <®_3v1>;
+ vcc12-supply = <®_3v1>;
+ vcc13-supply = <®_5v0>;
+ vddio-supply = <®_3v1>;
+
+ regulators {
+ vdd_core: DCDC_REG0 {
+ regulator-name = "vdd_core";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vdd_cpu: DCDC_REG1 {
+ regulator-name = "vdd_cpu";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vddq_1v2: DCDC_REG2 {
+ regulator-name = "vddq_1v2";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <1350000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vcc_3v1: DCDC_REG3 {
+ regulator-name = "vcc_3v1";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <3500000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vdd_cpum: DCDC_REG4 {
+ regulator-name = "vdd_cpum";
+ regulator-min-microvolt = <600000>;
+ regulator-max-microvolt = <1300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ sd_vcc: LDO_REG0 {
+ regulator-name = "sd_vcc";
+ regulator-min-microvolt = <2300000>;
+ regulator-max-microvolt = <3400000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ wifi_3v3: LDO_REG1 {
+ regulator-name = "wifi_3v3";
+ regulator-min-microvolt = <2300000>;
+ regulator-max-microvolt = <3400000>;
+ };
+
+ avcc_3v1: LDO_REG2 {
+ regulator-name = "avcc_3v1";
+ regulator-min-microvolt = <2300000>;
+ regulator-max-microvolt = <3400000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ avcc_1v8: LDO_REG4 {
+ regulator-name = "avcc_1v8";
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <2200000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ avcc_1v0: LDO_REG6 {
+ regulator-name = "avcc_1v0";
+ regulator-min-microvolt = <850000>;
+ regulator-max-microvolt = <2200000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vcc1v8_io: LDO_REG7 {
+ regulator-name = "vcc1v8_io";
+ regulator-min-microvolt = <700000>;
+ regulator-max-microvolt = <2200000>;
+ };
+
+ tpvcc_3v1: LDO_REG8 {
+ regulator-name = "tpvcc_3v1";
+ regulator-min-microvolt = <2100000>;
+ regulator-max-microvolt = <3300000>;
+ };
+ };
+ };
--
2.17.1
next prev parent reply other threads:[~2019-06-17 15:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-17 15:50 [PATCH 0/4] Add MFD/Regulator support for ATC260x PMICs Manivannan Sadhasivam
2019-06-17 15:50 ` Manivannan Sadhasivam [this message]
2019-07-09 16:48 ` [PATCH 1/4] dt-bindings: mfd: Add Actions Semi ATC260x PMIC binding Rob Herring
2019-06-17 15:50 ` [PATCH 2/4] mfd: Add initial MFD driver for ATC260x PMICs Manivannan Sadhasivam
2019-06-26 6:56 ` Lee Jones
2019-06-17 15:50 ` [PATCH 3/4] regulator: Add regulator " Manivannan Sadhasivam
2019-06-17 16:30 ` Mark Brown
2019-06-17 16:34 ` Manivannan Sadhasivam
2019-06-17 16:38 ` Andreas Färber
2019-06-17 16:54 ` Mark Brown
2019-06-17 20:30 ` Greg Kroah-Hartman
2019-06-17 17:03 ` Mark Brown
2019-06-17 17:24 ` Manivannan Sadhasivam
2019-06-18 8:13 ` Lee Jones
2019-06-18 10:44 ` Mark Brown
2019-06-17 15:50 ` [PATCH 4/4] MAINTAINERS: Add entry for ATC260x PMIC Manivannan Sadhasivam
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=20190617155011.15376-2-manivannan.sadhasivam@linaro.org \
--to=manivannan.sadhasivam@linaro.org \
--cc=afaerber@suse.de \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-actions@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=thomas.liau@actions-semi.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;
as well as URLs for NNTP newsgroup(s).