From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 1/6] mfd: AXP20x: Add bindings documentation
Date: Mon, 30 Jun 2014 10:48:54 +0100 [thread overview]
Message-ID: <20140630094854.GY7262@leverpostej> (raw)
In-Reply-To: <1404066237-20234-2-git-send-email-carlo@caione.org>
On Sun, Jun 29, 2014 at 07:23:52PM +0100, Carlo Caione wrote:
> Bindings documentation for the AXP20x driver. In this file also
> sub-nodes are documented.
>
> Signed-off-by: Carlo Caione <carlo@caione.org>
> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
> Documentation/devicetree/bindings/mfd/axp20x.txt | 93 ++++++++++++++++++++++++
> 1 file changed, 93 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mfd/axp20x.txt
>
> diff --git a/Documentation/devicetree/bindings/mfd/axp20x.txt b/Documentation/devicetree/bindings/mfd/axp20x.txt
> new file mode 100644
> index 0000000..cc9e01b
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/axp20x.txt
> @@ -0,0 +1,93 @@
> +AXP202/AXP209 device tree bindings
> +
> +The axp20x family current members :-
> +axp202 (X-Powers)
> +axp209 (X-Powers)
> +
> +Required properties:
> +- compatible: "x-powers,axp202" or "x-powers,axp209"
> +- reg: The I2C slave address for the AXP chip
> +- interrupt-parent: The parent interrupt controller
> +- interrupts: Interrupt specifiers for interrupt sources
How many, what are they?
> +- interrupt-controller: axp20x has its own internal IRQs
> +- #interrupt-cells: Should be set to 1
> +- acin-supply: The input supply for LDO1
> +- vin2-supply: The input supply for DCDC2
> +- vin3-supply: The input supply for DCDC3
> +- ldo24in-supply: The input supply for LDO2, LDO4
> +- ldo3in-supply: The input supply for LDO3
> +- ldo5in-supply: The input supply for LDO5
> +
> +- regulators: A node that houses a sub-node for each regulator. The regulators are
> + bound using their name as listed here: dcdc2, dcdc3, ldo1, ldo2,
> + ldo3, ldo4, ldo5. The bindings details of individual regulator
> + device can be found in:
> + Documentation/devicetree/bindings/regulator/regulator.txt with
> + the exception of x-powers,dcdc-freq
> +- x-powers,dcdc-freq: defines the work frequency of DC-DC in KHz
> + (range: 750-1875). Default: 1.5MHz
> +
> +Optional properties for DCDCs:
> +- x-powers,dcdc-workmode: 1 for PWM mode, 0 for AUTO mode
> + Default: AUTO mode
When would I want to select PWM mode, and why should this be in the DT?
Thanks,
Mark.
next prev parent reply other threads:[~2014-06-30 9:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 18:23 [PATCH v7 0/6] mfd: AXP20x: Add support for AXP202 and AXP209 Carlo Caione
2014-06-29 18:23 ` [PATCH v7 1/6] mfd: AXP20x: Add bindings documentation Carlo Caione
2014-06-30 9:48 ` Mark Rutland [this message]
2014-12-03 10:05 ` [linux-sunxi] " Chen-Yu Tsai
2014-06-29 18:23 ` [PATCH v7 2/6] dt-bindings: add vendor-prefix for X-Powers Carlo Caione
2014-06-29 18:23 ` [PATCH v7 3/6] input: misc: Add driver for AXP20x Power Enable Key Carlo Caione
2014-06-30 9:47 ` Mark Rutland
2014-06-30 17:43 ` Carlo Caione
2014-06-29 18:23 ` [PATCH v7 4/6] input: misc: Add ABI docs for AXP20x PEK Carlo Caione
2014-06-29 18:23 ` [PATCH v7 5/6] ARM: sunxi: Add AXP20x support in defconfig Carlo Caione
2014-06-29 18:23 ` [PATCH v7 6/6] ARM: sunxi: Add AXP20x support multi_v7_defconfig Carlo Caione
2014-10-22 6:28 ` [PATCH v7 0/6] mfd: AXP20x: Add support for AXP202 and AXP209 Bruno Prémont
2014-10-22 7:59 ` Maxime Ripard
2014-10-22 10:22 ` [linux-sunxi] " Carlo Caione
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=20140630094854.GY7262@leverpostej \
--to=mark.rutland@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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).