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


Groups > linux.kernel > #1734671 > unrolled thread

[RESEND PATCH 0/3] K2G: Add support for PWM ECAP

Started byVignesh R <vigneshr@ti.com>
First post2017-09-19 08:20 +0200
Last post2017-09-19 08:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [RESEND PATCH 0/3] K2G: Add support for PWM ECAP Vignesh R <vigneshr@ti.com> - 2017-09-19 08:20 +0200
    [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Vignesh R <vigneshr@ti.com> - 2017-09-19 08:20 +0200

#1734671 — [RESEND PATCH 0/3] K2G: Add support for PWM ECAP

FromVignesh R <vigneshr@ti.com>
Date2017-09-19 08:20 +0200
Subject[RESEND PATCH 0/3] K2G: Add support for PWM ECAP
Message-ID<urk2Z-rX-3@gated-at.bofh.it>
This series adds support for TI ECAP PWM IP present in 66AK2G SoC.
Resending based on today's linux-next.


Vignesh R (3):
  ARM: dts: keystone-k2g: Add ECAP PWM DT nodes
  ARM: dts: keystone-k2g-evm: Enable PWM ECAP0
  ARM: configs: keystone: Enable TIECAP PWM driver

 arch/arm/boot/dts/keystone-k2g-evm.dts | 12 ++++++++++++
 arch/arm/boot/dts/keystone-k2g.dtsi    | 20 ++++++++++++++++++++
 arch/arm/configs/keystone_defconfig    |  2 ++
 3 files changed, 34 insertions(+)

-- 
2.14.1

[toc] | [next] | [standalone]


#1734674 — [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0

FromVignesh R <vigneshr@ti.com>
Date2017-09-19 08:20 +0200
Subject[RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0
Message-ID<urk30-rX-19@gated-at.bofh.it>
In reply to#1734671
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 f462f1043531..808618e747eb 100644
--- a/arch/arm/boot/dts/keystone-k2g-evm.dts
+++ b/arch/arm/boot/dts/keystone-k2g-evm.dts
@@ -81,6 +81,12 @@
 			K2G_CORE_IOPAD(0x1110) (BUFFER_CLASS_B | PIN_PULLUP | MUX_MODE0)	/* mmc1_cmd.mmc1_cmd */
 		>;
 	};
+
+	ecap0_pins: ecap0_pins {
+		pinctrl-single,pins = <
+			K2G_CORE_IOPAD(0x1374) (BUFFER_CLASS_B | MUX_MODE4)	/* pr1_mdio_data.ecap0_in_apwm0_out */
+		>;
+	};
 };
 
 &uart0 {
@@ -112,3 +118,9 @@
 	memory-region = <&dsp_common_memory>;
 	status = "okay";
 };
+
+&ecap0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&ecap0_pins>;
+};
-- 
2.14.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web