devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH 2/4] ARM: dts: sun7i: Enable PWM controller on Wexler TAB7200 tablet
Date: Fri, 18 Dec 2015 11:52:08 +0300	[thread overview]
Message-ID: <1450428728-5695-1-git-send-email-mamlinav@gmail.com> (raw)
In-Reply-To: <1450428591-5597-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Wexler TAB7200 tablet use channel 0 of the PWM controller for backlight dimming

Signed-off-by: Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
index ec3b837..1dc9079 100644
--- a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
+++ b/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts
@@ -173,6 +173,12 @@
 	};
 };
 
+&pwm {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pwm0_pins_a>;
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
-- 
2.4.10

  parent reply	other threads:[~2015-12-18  8:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18  8:49 [PATCH 0/4] ARM: dts: sun7i: Devicetree improvements for the Wexler TAB7200 Aleksei Mamlin
     [not found] ` <1450428591-5597-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-12-18  8:51   ` [PATCH 1/4] ARM: dts: sun7i: Enable touchscreen on Wexler TAB7200 tablet Aleksei Mamlin
     [not found]     ` <1450428710-5653-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-12-18 21:25       ` Maxime Ripard
2015-12-19 15:11         ` Aleksei Mamlin
     [not found]           ` <CAF==cZWcY=FH9Sr8RY4j4Ob8iuiYrBGkajZDWpNQzS-t4d074Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-21 15:43             ` Maxime Ripard
2015-12-19 15:49         ` [linux-sunxi] " Karsten Merker
2015-12-21 15:44       ` Maxime Ripard
2015-12-18  8:52   ` Aleksei Mamlin [this message]
     [not found]     ` <1450428728-5695-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-12-18 21:25       ` [PATCH 2/4] ARM: dts: sun7i: Enable PWM controller " Maxime Ripard
2015-12-18  8:52   ` [PATCH 3/4] ARM: dts: sun7i: Add backlight node to " Aleksei Mamlin
     [not found]     ` <1450428742-5737-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-12-18 21:27       ` Maxime Ripard
2015-12-21 15:45       ` Maxime Ripard
2015-12-18  8:52   ` [PATCH 4/4] ARM: dts: sun7i: Add PA gpio pin " Aleksei Mamlin
     [not found]     ` <1450428765-5779-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-12-21 15:45       ` Maxime Ripard

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=1450428728-5695-1-git-send-email-mamlinav@gmail.com \
    --to=mamlinav-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.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).