From: shawn.guo@linaro.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: imx: apf51dev: add gpio-backlight support
Date: Mon, 5 Jan 2015 21:08:31 +0800 [thread overview]
Message-ID: <20150105130829.GB24511@dragon> (raw)
In-Reply-To: <1418728857-21070-1-git-send-email-gwenhael.goavec-merou@armadeus.com>
On Tue, Dec 16, 2014 at 12:20:57PM +0100, Gwenhael Goavec-Merou wrote:
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Applied, thanks.
Shawn
> ---
> arch/arm/boot/dts/imx51-apf51dev.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/imx51-apf51dev.dts b/arch/arm/boot/dts/imx51-apf51dev.dts
> index c5a9a24..93d3ea1 100644
> --- a/arch/arm/boot/dts/imx51-apf51dev.dts
> +++ b/arch/arm/boot/dts/imx51-apf51dev.dts
> @@ -16,6 +16,14 @@
> model = "Armadeus Systems APF51Dev docking/development board";
> compatible = "armadeus,imx51-apf51dev", "armadeus,imx51-apf51", "fsl,imx51";
>
> + backlight at bl1{
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_backlight>;
> + compatible = "gpio-backlight";
> + gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
> + default-on;
> + };
> +
> display at di1 {
> compatible = "fsl,imx-parallel-display";
> interface-pix-fmt = "bgr666";
> @@ -114,6 +122,12 @@
> pinctrl-0 = <&pinctrl_hog>;
>
> imx51-apf51dev {
> + pinctrl_backlight: bl1grp {
> + fsl,pins = <
> + MX51_PAD_DI1_D1_CS__GPIO3_4 0x1F5
> + >;
> + };
> +
> pinctrl_hog: hoggrp {
> fsl,pins = <
> MX51_PAD_EIM_EB2__GPIO2_22 0x0C5
> --
> 2.0.4
>
prev parent reply other threads:[~2015-01-05 13:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 11:20 [PATCH] ARM: imx: apf51dev: add gpio-backlight support Gwenhael Goavec-Merou
2015-01-05 13:08 ` Shawn Guo [this message]
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=20150105130829.GB24511@dragon \
--to=shawn.guo@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