From: Eric Jeong <eric.jeong.opensource@diasemi.com>
To: DEVICETREE <devicetree@vger.kernel.org>,
LINUX-KERNEL <linux-kernel@vger.kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Rob Herring <robh+dt@kernel.org>
Cc: Alexandre Courbot <gnurou@gmail.com>,
LINUX-GPIO <linux-gpio@vger.kernel.org>,
Lee Jones <lee.jones@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Linus Walleij <linus.walleij@linaro.org>,
Mark Brown <broonie@kernel.org>,
Support Opensource <support.opensource@diasemi.com>
Subject: [PATCH V3 1/4] Documentation: pv88080: Move binding document
Date: Fri, 18 Nov 2016 09:35:46 +0900 [thread overview]
Message-ID: <8d6dc516374bf2c1cf0841aa68a888bca33413a0.1479429347.git.eric.jeong@diasemi.com> (raw)
In-Reply-To: <cover.1479429347.git.eric.jeong@diasemi.com>
From: Eric Jeong <eric.jeong.opensource@diasemi.com>
The change is to move pv88080 binding document
from the regulator directory to mfd binding directory
for PV88080 PMIC MFD support.
And, GPIO properties are added.
Signed-off-by: Eric Jeong <eric.jeong.opensource@diasemi.com>
---
This patch applies against linux-next and next-20161117
Hi,
Change since PATCH V2
- Added property and description for gpio
Change since PATCH V1
- Patch separated from PATCH V1
Regards,
Eric Jeong, Dialog Semiconductor Ltd.
.../bindings/{regulator => mfd}/pv88080.txt | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
rename Documentation/devicetree/bindings/{regulator => mfd}/pv88080.txt (79%)
diff --git a/Documentation/devicetree/bindings/regulator/pv88080.txt b/Documentation/devicetree/bindings/mfd/pv88080.txt
similarity index 79%
rename from Documentation/devicetree/bindings/regulator/pv88080.txt
rename to Documentation/devicetree/bindings/mfd/pv88080.txt
index e6e4b9c8..7e24f95 100644
--- a/Documentation/devicetree/bindings/regulator/pv88080.txt
+++ b/Documentation/devicetree/bindings/mfd/pv88080.txt
@@ -1,4 +1,4 @@
-* Powerventure Semiconductor PV88080 Voltage Regulator
+* Powerventure Semiconductor PV88080 PMIC
Required properties:
- compatible: Must be one of the following, depending on the
@@ -16,8 +16,15 @@ Required properties:
standard binding for regulators; see regulator.txt.
BUCK1, BUCK2, BUCK3 and HVBUCK.
+- gpio-controller: Marks the device node as a GPIO controller.
+- #gpio-cells: Should be 2. See gpio.txt in this directory
+ for a description of the cells format.
+
Optional properties:
+- ngpios : Number of in-use slots of available slots for GPIO.
+ Maximum is 2.
- Any optional property defined in regulator.txt
+ and gpio.txt for more information.
Example:
@@ -27,6 +34,13 @@ Example:
interrupt-parent = <&gpio>;
interrupts = <24 24>;
+ gpioex {
+ compatible = "pvs,pv88080-gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ ngpios = <2>;
+ };
+
regulators {
BUCK1 {
regulator-name = "buck1";
--
end-of-patch for PATCH V3
next prev parent reply other threads:[~2016-11-18 0:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-18 0:35 [PATCH V3 0/4] pv88080: PV88080 driver submission Eric Jeong
2016-11-18 0:35 ` [PATCH V3 2/4] mfd: pv88080: MFD core support Eric Jeong
2016-11-21 13:09 ` Lee Jones
2016-11-25 6:03 ` Eric Hyeung Dong Jeong
2016-11-25 8:34 ` Lee Jones
2016-11-18 0:35 ` [PATCH V3 3/4] regulator: pv88080: Update Regulator driver for MFD support Eric Jeong
2016-11-18 12:00 ` Mark Brown
2016-11-18 0:35 ` Eric Jeong [this message]
2016-11-18 15:38 ` [PATCH V3 1/4] Documentation: pv88080: Move binding document Rob Herring
2016-11-22 9:20 ` Eric Hyeung Dong Jeong
2016-11-18 0:35 ` [PATCH V3 4/4] gpio: pv88080: Add GPIO function support Eric Jeong
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=8d6dc516374bf2c1cf0841aa68a888bca33413a0.1479429347.git.eric.jeong@diasemi.com \
--to=eric.jeong.opensource@diasemi.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gnurou@gmail.com \
--cc=lee.jones@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=support.opensource@diasemi.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).