From: Uri Mashiach <uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
pawel.moll-5wv7dgnIgG8@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org,
igor.grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org
Subject: [PATCH 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight
Date: Tue, 27 Oct 2015 14:15:00 +0200 [thread overview]
Message-ID: <1445948100-16446-7-git-send-email-uri.mashiach@compulab.co.il> (raw)
In-Reply-To: <1445948100-16446-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
From: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
Add pinmux configuration for ECAP0 pin.
Add node for PWM backlight device.
Use PWM output from ecap0 as backlight source.
Acked-by: Igor Grinberg <grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
Signed-off-by: Ilya Ledvich <ilya-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
Signed-off-by: Uri Mashiach <uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
---
arch/arm/boot/dts/am335x-cm-t335.dts | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-cm-t335.dts b/arch/arm/boot/dts/am335x-cm-t335.dts
index 0296d3f..571a453 100644
--- a/arch/arm/boot/dts/am335x-cm-t335.dts
+++ b/arch/arm/boot/dts/am335x-cm-t335.dts
@@ -39,6 +39,13 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&ecap0 0 50000 0>;
+ brightness-levels = <0 51 53 56 62 75 101 152 255>;
+ default-brightness-level = <8>;
+ };
};
&am33xx_pinmux {
@@ -113,6 +120,13 @@
>;
};
+ ecap0_pins: pinmux_ecap0_pins {
+ pinctrl-single,pins = <
+ /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
+ 0x164 0x0
+ >;
+ };
+
cpsw_default: cpsw_default {
pinctrl-single,pins = <
/* Slave 1 */
@@ -222,6 +236,16 @@
};
};
+&epwmss0 {
+ status = "okay";
+
+ ecap0: ecap@48300100 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&ecap0_pins>;
+ };
+};
+
&gpmc {
status = "okay";
pinctrl-names = "default";
--
2.6.0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-10-27 12:15 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 12:14 [PATCH 0/6] ARM: OMAP2+: dts: cm-t335: initial support Uri Mashiach
[not found] ` <1445948100-16446-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-10-27 12:14 ` [PATCH 1/6] ARM: OMAP2+: dts: cm-t335: add " Uri Mashiach
[not found] ` <1445948100-16446-2-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-11 17:32 ` Uri Mashiach
2015-11-13 10:19 ` Igor Grinberg
2015-10-27 12:14 ` [PATCH 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C Uri Mashiach
[not found] ` <1445948100-16446-3-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-11 17:32 ` Uri Mashiach
2015-10-27 12:14 ` [PATCH 3/6] ARM: OMAP2+: dts: cm-t335: add support for NAND flash Uri Mashiach
[not found] ` <1445948100-16446-4-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-11 17:32 ` Uri Mashiach
2015-10-27 12:14 ` [PATCH 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Uri Mashiach
[not found] ` <1445948100-16446-5-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-11 17:33 ` Uri Mashiach
2015-10-27 12:14 ` [PATCH 5/6] ARM: OMAP2+: dts: cm-t335: add support for network device Uri Mashiach
[not found] ` <1445948100-16446-6-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-10-27 13:14 ` Mugunthan V N
2015-11-11 17:33 ` Uri Mashiach
2015-10-27 12:15 ` Uri Mashiach [this message]
[not found] ` <1445948100-16446-7-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-11 17:33 ` [PATCH 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight Uri Mashiach
2015-11-11 17:32 ` [PATCH 0/6] ARM: OMAP2+: dts: cm-t335: initial support Uri Mashiach
[not found] ` <56437BA1.8030807-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-11 17:50 ` Tony Lindgren
2015-11-24 14:02 ` [PATCH v2 " Uri Mashiach
[not found] ` <1448373733-5839-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-24 14:02 ` [PATCH v2 1/6] ARM: OMAP2+: dts: cm-t335: add " Uri Mashiach
[not found] ` <1448373733-5839-2-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-11-25 22:44 ` Rob Herring
2015-11-30 19:51 ` Tony Lindgren
[not found] ` <20151130195123.GP2517-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-12-02 10:44 ` Uri Mashiach
2015-11-24 14:02 ` [PATCH v2 2/6] ARM: OMAP2+: dts: cm-t335: add basic support for I2C Uri Mashiach
2015-11-24 14:02 ` [PATCH v2 3/6] ARM: OMAP2+: dts: cm-t335: add support for NAND flash Uri Mashiach
2015-11-24 14:02 ` [PATCH v2 4/6] ARM: OMAP2+: dts: cm-t335: add support for MMC Uri Mashiach
2015-11-24 14:02 ` [PATCH v2 5/6] ARM: OMAP2+: dts: cm-t335: add support for network device Uri Mashiach
2015-11-24 14:02 ` [PATCH v2 6/6] ARM: OMAP2+: dts: cm-t335: add support for PWM backlight Uri Mashiach
2015-12-13 8:55 ` [PATCH 0/5] ARM: dts: cm-t335: add peripheral support Uri Mashiach
[not found] ` <1449996939-13901-1-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-12-13 8:55 ` [PATCH 1/5] ARM: dts: cm-t335: add support for USB0 Uri Mashiach
2015-12-13 8:55 ` [PATCH 2/5] ARM: dts: cm-t335: add support for SBC-T335 Uri Mashiach
[not found] ` <1449996939-13901-3-git-send-email-uri.mashiach-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2015-12-14 1:25 ` Rob Herring
2015-12-17 18:05 ` Tony Lindgren
2015-12-13 8:55 ` [PATCH 3/5] ARM: dts: cm-t335: add support for I2C GPIO expander Uri Mashiach
2015-12-13 8:55 ` [PATCH 4/5] ARM: dts: cm-t335: add support for DVI/LCD Uri Mashiach
2015-12-13 8:55 ` [PATCH 5/5] ARM: dts: cm-t335: add support for bluetooth Uri Mashiach
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=1445948100-16446-7-git-send-email-uri.mashiach@compulab.co.il \
--to=uri.mashiach-utxizqzc01rs1mouv/rt9w@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=igor.grinberg-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@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).