Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1705406 > unrolled thread
| Started by | Vignesh R <vigneshr@ti.com> |
|---|---|
| First post | 2017-08-07 14:00 +0200 |
| Last post | 2017-08-10 23:00 +0200 |
| Articles | 5 — 2 participants |
Back to article view | Back to linux.kernel
[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
| From | Vignesh R <vigneshr@ti.com> |
|---|---|
| Date | 2017-08-07 14:00 +0200 |
| Subject | [PATCH 0/4] K2G: Add support for PWM ECAP |
| Message-ID | <ubORr-7Id-7@gated-at.bofh.it> |
This series adds support for TI ECAP PWM IP present in 66AK2G SoC. Based on linux-next. Vignesh R (4): pwm: pwm-tiecap: Add TI 66AK2G SoC specific compatible ARM: dts: keystone-k2g: Add ECAP PWM DT nodes ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 ARM: configs: keystone: Enable TIECAP PWM driver Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + arch/arm/boot/dts/keystone-k2g-evm.dts | 12 ++++++++++++ arch/arm/boot/dts/keystone-k2g.dtsi | 20 ++++++++++++++++++++ arch/arm/configs/keystone_defconfig | 2 ++ 4 files changed, 35 insertions(+) -- 2.13.3
[toc] | [next] | [standalone]
| From | Vignesh R <vigneshr@ti.com> |
|---|---|
| Date | 2017-08-07 14:00 +0200 |
| Subject | [PATCH 3/4] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 |
| Message-ID | <ubORt-7Id-45@gated-at.bofh.it> |
| In reply to | #1705406 |
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
[toc] | [prev] | [next] | [standalone]
| From | Vignesh R <vigneshr@ti.com> |
|---|---|
| Date | 2017-08-07 14:00 +0200 |
| Subject | [PATCH 4/4] ARM: configs: keystone: Enable TIECAP PWM driver |
| Message-ID | <ubORt-7Id-53@gated-at.bofh.it> |
| In reply to | #1705406 |
Enable PWM_TIECAP driver to support ECAP IP present in 66AK2G SoC. Signed-off-by: Vignesh R <vigneshr@ti.com> --- arch/arm/configs/keystone_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig index d47ea43d097e..445ad438b451 100644 --- a/arch/arm/configs/keystone_defconfig +++ b/arch/arm/configs/keystone_defconfig @@ -182,6 +182,8 @@ CONFIG_KEYSTONE_NAVIGATOR_DMA=y CONFIG_TI_SCI_PM_DOMAINS=y CONFIG_MEMORY=y CONFIG_TI_AEMIF=y +CONFIG_PWM=y +CONFIG_PWM_TIECAP=m CONFIG_KEYSTONE_IRQ=y CONFIG_RESET_TI_SCI=m CONFIG_RESET_TI_SYSCON=m -- 2.13.3
[toc] | [prev] | [next] | [standalone]
| From | Vignesh R <vigneshr@ti.com> |
|---|---|
| Date | 2017-08-07 14:00 +0200 |
| Subject | [PATCH 1/4] pwm: pwm-tiecap: Add TI 66AK2G SoC specific compatible |
| Message-ID | <ubORt-7Id-49@gated-at.bofh.it> |
| In reply to | #1705406 |
Add a new compatible string "ti,k2g-ecap" to support PWM ECAP IP of TI 66AK2G SoC. Signed-off-by: Vignesh R <vigneshr@ti.com> --- Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt index 8007e839a716..06a363d9ccef 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-tiecap.txt @@ -6,6 +6,7 @@ Required properties: for am4372 - compatible = "ti,am4372-ecap", "ti,am3352-ecap", "ti,am33xx-ecap"; for da850 - compatible = "ti,da850-ecap", "ti,am3352-ecap", "ti,am33xx-ecap"; for dra746 - compatible = "ti,dra746-ecap", "ti,am3352-ecap"; + for 66ak2g - compatible = "ti,k2g-ecap", "ti,am3352-ecap"; - #pwm-cells: should be 3. See pwm.txt in this directory for a description of the cells format. The PWM channel index ranges from 0 to 4. The only third cell flag supported by this binding is PWM_POLARITY_INVERTED. -- 2.13.3
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-08-10 23:00 +0200 |
| Subject | Re: [PATCH 1/4] pwm: pwm-tiecap: Add TI 66AK2G SoC specific compatible |
| Message-ID | <ud2IG-2zc-11@gated-at.bofh.it> |
| In reply to | #1705413 |
On Mon, Aug 07, 2017 at 05:19:40PM +0530, Vignesh R wrote: > Add a new compatible string "ti,k2g-ecap" to support PWM ECAP IP of > TI 66AK2G SoC. > > Signed-off-by: Vignesh R <vigneshr@ti.com> > --- > Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh@kernel.org>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web