From: Chen-Yu Tsai <wens@csie.org>
To: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: devicetree@vger.kernel.org, Chen-Yu Tsai <wens@csie.org>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] ARM: dts: sun5i: Add backlight GPIO for reference design tablet
Date: Sun, 27 Jan 2019 22:48:34 +0800 [thread overview]
Message-ID: <20190127144838.3578-2-wens@csie.org> (raw)
In-Reply-To: <20190127144838.3578-1-wens@csie.org>
Now that we support the GPIOs on the AXP209, we can control the LCD
backlight with them.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi b/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi
index 6202aabedbfe..5b1f0e198eb6 100644
--- a/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi
+++ b/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi
@@ -54,7 +54,7 @@
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
default-brightness-level = <8>;
- /* TODO: backlight uses axp gpio1 as enable pin */
+ enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */
};
chosen {
--
2.20.1
next prev parent reply other threads:[~2019-01-27 14:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-27 14:48 [PATCH 0/5] ARM: dts: sun5i: q8-tablet: Complete LCD panel description Chen-Yu Tsai
2019-01-27 14:48 ` Chen-Yu Tsai [this message]
2019-01-28 10:51 ` [PATCH 1/5] ARM: dts: sun5i: Add backlight GPIO for reference design tablet Maxime Ripard
2019-01-27 14:48 ` [PATCH 2/5] ARM: dts: sun5i: q8-tablet: Move panel properties to correct node level Chen-Yu Tsai
2019-01-28 10:52 ` Maxime Ripard
2019-01-27 14:48 ` [PATCH 3/5] ARM: dts: sun5i: q8-tablet: Add LCD Panel enable GPIO Chen-Yu Tsai
2019-01-28 10:52 ` Maxime Ripard
2019-01-27 14:48 ` [PATCH 4/5] ARM: dts: sun5i: q8-tablet: Add LCD Panel power supply Chen-Yu Tsai
2019-01-28 10:53 ` Maxime Ripard
2019-01-27 14:48 ` [PATCH 5/5] ARM: dts: sun5i: q8-tablet: Use bananapi,s070wv20-ct16 panel compatible Chen-Yu Tsai
2019-01-28 10:53 ` 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=20190127144838.3578-2-wens@csie.org \
--to=wens@csie.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maxime.ripard@bootlin.com \
/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).