Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705409

[PATCH 3/4] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0

From Vignesh R <vigneshr@ti.com>
Newsgroups linux.kernel
Subject [PATCH 3/4] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0
Date 2017-08-07 14:00 +0200
Message-ID <ubORt-7Id-45@gated-at.bofh.it> (permalink)
References <ubORr-7Id-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Enable PWM ECAP0 which will be used for display backlight.

Signed-off-by: Vignesh R <vigneshr@ti.com>
---
 arch/arm/boot/dts/keystone-k2g-evm.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2g-evm.dts b/arch/arm/boot/dts/keystone-k2g-evm.dts
index 61883cb969d2..3ce8010622ff 100644
--- a/arch/arm/boot/dts/keystone-k2g-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2g-evm.dts
@@ -34,6 +34,12 @@
 			K2G_CORE_IOPAD(0x11d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0)	/* uart0_txd.uart0_txd */
 		>;
 	};
+
+	ecap0_pins: ecap0_pins {
+		pinctrl-single,pins = <
+			K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | MUX_MODE4)	/* pr1_mdio_data.ecap0_in_apwm0_out */
+		>;
+	};
 };
 
 &uart0 {
@@ -41,3 +47,9 @@
 	pinctrl-0 = <&uart0_pins>;
 	status = "okay";
 };
+
+&ecap0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&ecap0_pins>;
+};
-- 
2.13.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] K2G: Add support for PWM ECAP Vignesh R <vigneshr@ti.com> - 2017-08-07 14:00 +0200
  [PATCH 3/4] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Vignesh R <vigneshr@ti.com> - 2017-08-07 14:00 +0200
  [PATCH 4/4] ARM: configs: keystone: Enable TIECAP PWM driver Vignesh R <vigneshr@ti.com> - 2017-08-07 14:00 +0200
  [PATCH 1/4] pwm: pwm-tiecap: Add TI 66AK2G SoC specific compatible Vignesh R <vigneshr@ti.com> - 2017-08-07 14:00 +0200
    Re: [PATCH 1/4] pwm: pwm-tiecap: Add TI 66AK2G SoC specific  compatible Rob Herring <robh@kernel.org> - 2017-08-10 23:00 +0200

csiph-web