devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 0/3] K2G: Add support for PWM ECAP
@ 2017-09-19  6:15 Vignesh R
       [not found] ` <20170919061551.11981-1-vigneshr-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Vignesh R @ 2017-09-19  6:15 UTC (permalink / raw)
  To: Santosh Shilimkar; +Cc: linux-arm-kernel, devicetree, linux-kernel, Vignesh R


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RESEND PATCH 1/3] ARM: dts: keystone-k2g: Add ECAP PWM DT nodes
       [not found] ` <20170919061551.11981-1-vigneshr-l0cyMroinI0@public.gmane.org>
@ 2017-09-19  6:15   ` Vignesh R
  2017-09-19  6:15   ` [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Vignesh R
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Vignesh R @ 2017-09-19  6:15 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Vignesh R

Add DT nodes for PWM ECAP IP present on 66AK2G SoC.

Signed-off-by: Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/keystone-k2g.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index 826b286665e6..dace4672b1e6 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -343,5 +343,25 @@
 			clock-names = "fck", "mmchsdb_fck";
 			status = "disabled";
 		};
+
+		ecap0: pwm@21d1800 {
+			compatible = "ti,k2g-ecap", "ti,am3352-ecap";
+			#pwm-cells = <3>;
+			reg = <0x021d1800 0x60>;
+			power-domains = <&k2g_pds 0x38>;
+			clocks = <&k2g_clks 0x38 0>;
+			clock-names = "fck";
+			status = "disabled";
+		};
+
+		ecap1: pwm@21d1c00 {
+			compatible = "ti,k2g-ecap", "ti,am3352-ecap";
+			#pwm-cells = <3>;
+			reg = <0x021d1c00 0x60>;
+			power-domains = <&k2g_pds 0x39>;
+			clocks = <&k2g_clks 0x39 0x0>;
+			clock-names = "fck";
+			status = "disabled";
+		};
 	};
 };
-- 
2.14.1

--
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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0
       [not found] ` <20170919061551.11981-1-vigneshr-l0cyMroinI0@public.gmane.org>
  2017-09-19  6:15   ` [RESEND PATCH 1/3] ARM: dts: keystone-k2g: Add ECAP PWM DT nodes Vignesh R
@ 2017-09-19  6:15   ` Vignesh R
  2017-09-19  6:15   ` [RESEND PATCH 3/3] ARM: configs: keystone: Enable TIECAP PWM driver Vignesh R
  2017-10-10 12:41   ` [RESEND PATCH 0/3] K2G: Add support for PWM ECAP Vignesh R
  3 siblings, 0 replies; 5+ messages in thread
From: Vignesh R @ 2017-09-19  6:15 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Vignesh R

Enable PWM ECAP0 which will be used for display backlight.

Signed-off-by: Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org>
---
 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

--
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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [RESEND PATCH 3/3] ARM: configs: keystone: Enable TIECAP PWM driver
       [not found] ` <20170919061551.11981-1-vigneshr-l0cyMroinI0@public.gmane.org>
  2017-09-19  6:15   ` [RESEND PATCH 1/3] ARM: dts: keystone-k2g: Add ECAP PWM DT nodes Vignesh R
  2017-09-19  6:15   ` [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Vignesh R
@ 2017-09-19  6:15   ` Vignesh R
  2017-10-10 12:41   ` [RESEND PATCH 0/3] K2G: Add support for PWM ECAP Vignesh R
  3 siblings, 0 replies; 5+ messages in thread
From: Vignesh R @ 2017-09-19  6:15 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Vignesh R

Enable PWM_TIECAP driver to support ECAP IP present in 66AK2G SoC.

Signed-off-by: Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org>
---
 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 f907869e0ddc..f710c192b33a 100644
--- a/arch/arm/configs/keystone_defconfig
+++ b/arch/arm/configs/keystone_defconfig
@@ -189,6 +189,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.14.1

--
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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [RESEND PATCH 0/3] K2G: Add support for PWM ECAP
       [not found] ` <20170919061551.11981-1-vigneshr-l0cyMroinI0@public.gmane.org>
                     ` (2 preceding siblings ...)
  2017-09-19  6:15   ` [RESEND PATCH 3/3] ARM: configs: keystone: Enable TIECAP PWM driver Vignesh R
@ 2017-10-10 12:41   ` Vignesh R
  3 siblings, 0 replies; 5+ messages in thread
From: Vignesh R @ 2017-10-10 12:41 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA



On Tuesday 19 September 2017 11:45 AM, Vignesh R wrote:
> 
> 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(+)
> 

Gentle ping on the series...

-- 
Regards
Vignesh
--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-10 12:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19  6:15 [RESEND PATCH 0/3] K2G: Add support for PWM ECAP Vignesh R
     [not found] ` <20170919061551.11981-1-vigneshr-l0cyMroinI0@public.gmane.org>
2017-09-19  6:15   ` [RESEND PATCH 1/3] ARM: dts: keystone-k2g: Add ECAP PWM DT nodes Vignesh R
2017-09-19  6:15   ` [RESEND PATCH 2/3] ARM: dts: keystone-k2g-evm: Enable PWM ECAP0 Vignesh R
2017-09-19  6:15   ` [RESEND PATCH 3/3] ARM: configs: keystone: Enable TIECAP PWM driver Vignesh R
2017-10-10 12:41   ` [RESEND PATCH 0/3] K2G: Add support for PWM ECAP Vignesh R

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).