From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] mfd: axp20x: Add dtsi for axp20x
Date: Mon, 10 Feb 2014 20:08:50 +0000 [thread overview]
Message-ID: <20140210200850.GB32042@lee--X1> (raw)
In-Reply-To: <1391875428-6281-3-git-send-email-carlo@caione.org>
On Sat, 08 Feb 2014, Carlo Caione wrote:
> This patch adds a new dtsi for supporting axp20x.
>
> Signed-off-by: Carlo Caione <carlo@caione.org>
> ---
> arch/arm/boot/dts/axp20x.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
> create mode 100644 arch/arm/boot/dts/axp20x.dtsi
>
> diff --git a/arch/arm/boot/dts/axp20x.dtsi b/arch/arm/boot/dts/axp20x.dtsi
> new file mode 100644
> index 0000000..98d4c7c
> --- /dev/null
> +++ b/arch/arm/boot/dts/axp20x.dtsi
> @@ -0,0 +1,9 @@
> +/*
> +* Integrated Power Management Chip AXP209
> +*/
> +
> +&axp {
> + compatible = "x-powers,axp20x";
> + interrupt-controller;
> + #interrupt-cells = <1>;
> +};
I's suggest not doing it this way. Having a .dtsi file for every
device is not the way Device Tree has been designed. This snippet
should be copied directly into device's .dts(i) files.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2014-02-10 20:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-08 16:03 [PATCH 0/3] mfd: axp20x: Add support for PMIC axp202 and axp209 Carlo Caione
2014-02-08 16:03 ` [PATCH 1/3] mfd: axp20x: Add mfd driver for axp20x PMIC Carlo Caione
2014-02-10 20:02 ` Maxime Ripard
2014-02-10 20:25 ` [linux-sunxi] " Carlo Caione
2014-02-10 21:19 ` Lee Jones
2014-02-10 22:34 ` [linux-sunxi] " Carlo Caione
2014-02-11 6:58 ` Carlo Caione
2014-02-11 9:15 ` Lee Jones
2014-02-11 9:33 ` Carlo Caione
2014-02-11 10:08 ` Lee Jones
2014-02-08 16:03 ` [PATCH 2/3] mfd: axp20x: Add dtsi for axp20x Carlo Caione
2014-02-10 19:59 ` Maxime Ripard
2014-02-10 20:09 ` [linux-sunxi] " Carlo Caione
2014-02-10 20:08 ` Lee Jones [this message]
2014-02-10 20:10 ` Carlo Caione
2014-02-08 16:03 ` [PATCH 3/3] mfd: axp20x: Add bindings documentation Carlo Caione
2014-02-10 20:05 ` Lee Jones
2014-02-10 20:12 ` Maxime Ripard
2014-02-10 20:37 ` [linux-sunxi] " Carlo Caione
2014-02-10 22:01 ` Maxime Ripard
2014-02-10 22:38 ` Carlo Caione
2014-02-12 17:16 ` Mark Brown
2014-02-12 17:12 ` Mark Brown
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=20140210200850.GB32042@lee--X1 \
--to=lee.jones@linaro.org \
--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