All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/9] Add device nodes for am43x epos and gp evm.
@ 2013-12-19 12:33 Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support Sourav Poddar
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

The patch series adds support for enabling pwm backlight, i2c2, spi and
matrix gpio keys on am43x-epos-evm, while adding support for pwm, gpio keys
on gp evm.

Originally, this patches was divided into two seperate series,
merging them into one and rebasing them on top of Benoit for_3.14/dts 
branch so that it can be pushed at once.


Boot tested with Benoit for_3.14 +  tero clock series(1)
Tested on am43x-epos-evm, m43x-gp-evm.

There is a some bug while using regulators through backlight
driver on 3.13-rc1. So, tested pwm part with this temporary patch[2].

[1]: https://patchwork.kernel.org/patch/3009541/
[2]: http://www.spinics.net/lists/arm-kernel/msg288215.html

Patches are available at:
git://gitorious.org/linux-connectivity/linux-connectivity.git for_3.14

v1->v2:
No code change, just squash two series into one
and rebased it on benoit for_3.14/dts

Darren Etheridge (1):
  pinctrl: am43xx: dt-bindings: add MUX_MODE8

Lokesh Vutla (1):
  arm: dts: am437x-gp-evm: Add gp dts.

Sourav Poddar (6):
  arm: dts: am4372: Add pwm-cells property for ecap device.
  arm: dts: am43x-epos-evm: Add I2C2 data.
  arm: dts: am43x-epos-evm: Add SPI data.
  arm: dts: am437x-gp-evm: Add pwm backlight support.
  arm: dts: am437x-gp-evm: Enable gpio.
  arm: dts: am43x-gp-evm: Add matrix gpio keys.
  ARM: dts: am43x-epos-evm: Add pwm backlight support.

 .../devicetree/bindings/arm/omap/omap.txt          |    3 +
 arch/arm/boot/dts/Makefile                         |    1 +
 arch/arm/boot/dts/am4372.dtsi                      |    9 ++
 arch/arm/boot/dts/am437x-gp-evm.dts                |  100 ++++++++++++++++++++
 arch/arm/boot/dts/am43x-epos-evm.dts               |   67 +++++++++++++
 include/dt-bindings/pinctrl/am43xx.h               |    1 +
 6 files changed, 181 insertions(+)
 create mode 100644 arch/arm/boot/dts/am437x-gp-evm.dts

-- 
1.7.9.5


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

* [PATCHv2 1/9] arm: dts: am4372: Add pwm-cells property for ecap device.
       [not found] ` <1387456421-21379-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
@ 2013-12-19 12:33   ` Sourav Poddar
  2013-12-19 12:33   ` [PATCHv2 6/9] arm: dts: am437x-gp-evm: Add gp dts Sourav Poddar
  1 sibling, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson-rdvid1DuHRBWk0Htik3J/w
  Cc: balbi-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA,
	tony-4v6yS6AI5VpBDgjK7y7TUQ, linux-omap-u79uwXL29TY76Z2rM5mHXA,
	mark.rutland-5wv7dgnIgG8, afzal-l0cyMroinI0,
	lokeshvutla-l0cyMroinI0, Sourav Poddar

Add "pwm-cells" node for all ecap, ehrpwm in am43x dtsi files.

Signed-off-by: Sourav Poddar <sourav.poddar-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am4372.dtsi |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 974d103..c314adb 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -495,6 +495,7 @@
 
 			ecap0: ecap@48300100 {
 				compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+				#pwm-cells = <3>;
 				reg = <0x48300100 0x80>;
 				ti,hwmods = "ecap0";
 				status = "disabled";
@@ -502,6 +503,7 @@
 
 			ehrpwm0: ehrpwm@48300200 {
 				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+				#pwm-cells = <3>;
 				reg = <0x48300200 0x80>;
 				ti,hwmods = "ehrpwm0";
 				status = "disabled";
@@ -519,6 +521,7 @@
 
 			ecap1: ecap@48302100 {
 				compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+				#pwm-cells = <3>;
 				reg = <0x48302100 0x80>;
 				ti,hwmods = "ecap1";
 				status = "disabled";
@@ -526,6 +529,7 @@
 
 			ehrpwm1: ehrpwm@48302200 {
 				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+				#pwm-cells = <3>;
 				reg = <0x48302200 0x80>;
 				ti,hwmods = "ehrpwm1";
 				status = "disabled";
@@ -543,6 +547,7 @@
 
 			ecap2: ecap@48304100 {
 				compatible = "ti,am4372-ecap","ti,am33xx-ecap";
+				#pwm-cells = <3>;
 				reg = <0x48304100 0x80>;
 				ti,hwmods = "ecap2";
 				status = "disabled";
@@ -550,6 +555,7 @@
 
 			ehrpwm2: ehrpwm@48304200 {
 				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+				#pwm-cells = <3>;
 				reg = <0x48304200 0x80>;
 				ti,hwmods = "ehrpwm2";
 				status = "disabled";
@@ -567,6 +573,7 @@
 
 			ehrpwm3: ehrpwm@48306200 {
 				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+				#pwm-cells = <3>;
 				reg = <0x48306200 0x80>;
 				ti,hwmods = "ehrpwm3";
 				status = "disabled";
@@ -584,6 +591,7 @@
 
 			ehrpwm4: ehrpwm@48308200 {
 				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+				#pwm-cells = <3>;
 				reg = <0x48308200 0x80>;
 				ti,hwmods = "ehrpwm4";
 				status = "disabled";
@@ -601,6 +609,7 @@
 
 			ehrpwm5: ehrpwm@4830a200 {
 				compatible = "ti,am4372-ehrpwm","ti,am33xx-ehrpwm";
+				#pwm-cells = <3>;
 				reg = <0x4830a200 0x80>;
 				ti,hwmods = "ehrpwm5";
 				status = "disabled";
-- 
1.7.9.5

--
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] 17+ messages in thread

* [PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support.
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
@ 2013-12-19 12:33 ` Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8 Sourav Poddar
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

Add pwm backlight support for am43x epos evm.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am43x-epos-evm.dts |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index fbf9c4c..0899c5f 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -13,6 +13,7 @@
 #include "am4372.dtsi"
 #include <dt-bindings/pinctrl/am43xx.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/pwm/pwm.h>
 
 / {
 	model = "TI AM43x EPOS EVM";
@@ -79,6 +80,12 @@
 				0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* i2c0_scl.i2c0_scl */
 			>;
 		};
+
+		ecap0_pins: backlight_pins {
+			pinctrl-single,pins = <
+				0x164 MUX_MODE0         /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
+			>;
+		};
 	};
 
 	matrix_keypad: matrix_keypad@0 {
@@ -113,6 +120,13 @@
 				0x0203006c	/* DOWN */
 				0x03030069>;	/* LEFT */
 		};
+
+	backlight {
+		compatible = "pwm-backlight";
+		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
+		brightness-levels = <0 51 53 56 62 75 101 152 255>;
+		default-brightness-level = <8>;
+	};
 };
 
 &mmc1 {
@@ -184,3 +198,13 @@
 &gpio3 {
 	status = "okay";
 };
+
+&epwmss0 {
+	status = "okay";
+};
+
+&ecap0 {
+		status = "okay";
+		pinctrl-names = "default";
+		pinctrl-0 = <&ecap0_pins>;
+};
-- 
1.7.9.5


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

* [PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support Sourav Poddar
@ 2013-12-19 12:33 ` Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data Sourav Poddar
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Darren Etheridge, Sourav Poddar

From: Darren Etheridge <detheridge@ti.com>

AM43xx devices have an extra MUX_MODE for certain pins.
Updating dt include to have MUX_MODE8 which maps to 0x8.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 include/dt-bindings/pinctrl/am43xx.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/include/dt-bindings/pinctrl/am43xx.h b/include/dt-bindings/pinctrl/am43xx.h
index eb6c366a..9c2e4f8 100644
--- a/include/dt-bindings/pinctrl/am43xx.h
+++ b/include/dt-bindings/pinctrl/am43xx.h
@@ -13,6 +13,7 @@
 #define MUX_MODE5	5
 #define MUX_MODE6	6
 #define MUX_MODE7	7
+#define MUX_MODE8	8
 
 #define PULL_DISABLE		(1 << 16)
 #define PULL_UP			(1 << 17)
-- 
1.7.9.5


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

* [PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data.
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8 Sourav Poddar
@ 2013-12-19 12:33 ` Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 5/9] arm: dts: am43x-epos-evm: Add SPI data Sourav Poddar
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

Add I2C2 dts data.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am43x-epos-evm.dts |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index 0899c5f..d781a69 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -86,6 +86,13 @@
 				0x164 MUX_MODE0         /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
 			>;
 		};
+
+		i2c2_pins: pinmux_i2c2_pins {
+			pinctrl-single,pins = <
+				0x1c0 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8)    /* i2c2_sda.i2c2_sda */
+				0x1c4 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8)    /* i2c2_scl.i2c2_scl */
+			>;
+		};
 	};
 
 	matrix_keypad: matrix_keypad@0 {
@@ -183,6 +190,12 @@
 	};
 };
 
+&i2c2 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c2_pins>;
+	status = "okay";
+};
+
 &gpio0 {
 	status = "okay";
 };
-- 
1.7.9.5


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

* [PATCHv2 5/9] arm: dts: am43x-epos-evm: Add SPI data.
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
                   ` (2 preceding siblings ...)
  2013-12-19 12:33 ` [PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data Sourav Poddar
@ 2013-12-19 12:33 ` Sourav Poddar
       [not found] ` <1387456421-21379-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

Add SPI dts data.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am43x-epos-evm.dts |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index d781a69..a7d0db1 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -93,6 +93,24 @@
 				0x1c4 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8)    /* i2c2_scl.i2c2_scl */
 			>;
 		};
+
+		spi0_pins: pinmux_spi0_pins {
+			pinctrl-single,pins = <
+				0x150 (PIN_INPUT | MUX_MODE0)           /* spi0_clk.spi0_clk */
+				0x154 (PIN_OUTPUT | MUX_MODE0)           /* spi0_d0.spi0_d0 */
+				0x158 (PIN_INPUT | MUX_MODE0)           /* spi0_d1.spi0_d1 */
+				0x15c (PIN_OUTPUT | MUX_MODE0)          /* spi0_cs0.spi0_cs0 */
+			>;
+		};
+
+		spi1_pins: pinmux_spi1_pins {
+			pinctrl-single,pins = <
+				0x190 (PIN_INPUT | MUX_MODE3)           /* mcasp0_aclkx.spi1_clk */
+				0x194 (PIN_OUTPUT | MUX_MODE3)           /* mcasp0_fsx.spi1_d0 */
+				0x198 (PIN_INPUT | MUX_MODE3)           /* mcasp0_axr0.spi1_d1 */
+				0x19c (PIN_OUTPUT | MUX_MODE3)          /* mcasp0_ahclkr.spi1_cs0 */
+			>;
+		};
 	};
 
 	matrix_keypad: matrix_keypad@0 {
@@ -221,3 +239,15 @@
 		pinctrl-names = "default";
 		pinctrl-0 = <&ecap0_pins>;
 };
+
+&spi0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi0_pins>;
+	status = "okay";
+};
+
+&spi1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&spi1_pins>;
+	status = "okay";
+};
-- 
1.7.9.5


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

* [PATCHv2 6/9] arm: dts: am437x-gp-evm: Add gp dts.
       [not found] ` <1387456421-21379-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
  2013-12-19 12:33   ` [PATCHv2 1/9] arm: dts: am4372: Add pwm-cells property for ecap device Sourav Poddar
@ 2013-12-19 12:33   ` Sourav Poddar
  1 sibling, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson-rdvid1DuHRBWk0Htik3J/w
  Cc: balbi-l0cyMroinI0, devicetree-u79uwXL29TY76Z2rM5mHXA,
	tony-4v6yS6AI5VpBDgjK7y7TUQ, linux-omap-u79uwXL29TY76Z2rM5mHXA,
	mark.rutland-5wv7dgnIgG8, afzal-l0cyMroinI0,
	lokeshvutla-l0cyMroinI0, Sourav Poddar

From: Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>

AM437x GP EVM DTS with pinmux information to make I2C on
EVM usable.

Signed-off-by: Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>
Signed-off-by: Sourav Poddar <sourav.poddar-l0cyMroinI0@public.gmane.org>
Signed-off-by: Afzal Mohammed <afzal-l0cyMroinI0@public.gmane.org>
---
 .../devicetree/bindings/arm/omap/omap.txt          |    3 ++
 arch/arm/boot/dts/Makefile                         |    1 +
 arch/arm/boot/dts/am437x-gp-evm.dts                |   47 ++++++++++++++++++++
 3 files changed, 51 insertions(+)
 create mode 100644 arch/arm/boot/dts/am437x-gp-evm.dts

diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
index 808c154..be5f365 100644
--- a/Documentation/devicetree/bindings/arm/omap/omap.txt
+++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
@@ -61,5 +61,8 @@ Boards:
 - AM43x EPOS EVM
   compatible = "ti,am43x-epos-evm", "ti,am4372", "ti,am43"
 
+- AM437x GP EVM
+  compatible = "ti,am437x-gp-evm", "ti,am4372", "ti,am43"
+
 - DRA7 EVM:  Software Developement Board for DRA7XX
   compatible = "ti,dra7-evm", "ti,dra7"
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index ad155fc..aaeddf9 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -209,6 +209,7 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
 	am3517-evm.dtb \
 	am3517_mt_ventoux.dtb \
 	am43x-epos-evm.dtb \
+	am437x-gp-evm.dtb \
 	dra7-evm.dtb
 dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb
 dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
new file mode 100644
index 0000000..11d93ba
--- /dev/null
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -0,0 +1,47 @@
+/*
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* AM437x GP EVM */
+
+/dts-v1/;
+
+#include "am4372.dtsi"
+#include <dt-bindings/pinctrl/am43xx.h>
+
+/ {
+	model = "TI AM437x GP EVM";
+	compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
+};
+
+&am43xx_pinmux {
+	i2c0_pins: i2c0_pins {
+		pinctrl-single,pins = <
+			0x188 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
+			0x18c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
+		>;
+	};
+
+	i2c1_pins: i2c1_pins {
+		pinctrl-single,pins = <
+			0x15c (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2)  /* spi0_cs0.i2c1_scl */
+			0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2)  /* spi0_d1.i2c1_sda  */
+		>;
+	};
+};
+
+&i2c0 {
+        status = "okay";
+        pinctrl-names = "default";
+        pinctrl-0 = <&i2c0_pins>;
+};
+
+&i2c1 {
+        status = "okay";
+        pinctrl-names = "default";
+        pinctrl-0 = <&i2c1_pins>;
+};
-- 
1.7.9.5

--
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] 17+ messages in thread

* [PATCHv2 7/9] arm: dts: am437x-gp-evm: Add pwm backlight support.
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
                   ` (4 preceding siblings ...)
       [not found] ` <1387456421-21379-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
@ 2013-12-19 12:33 ` Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys Sourav Poddar
  7 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

Add pwm backlight support for gp evm.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am437x-gp-evm.dts |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 11d93ba..2e79bda 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -12,10 +12,18 @@
 
 #include "am4372.dtsi"
 #include <dt-bindings/pinctrl/am43xx.h>
+#include <dt-bindings/pwm/pwm.h>
 
 / {
 	model = "TI AM437x GP EVM";
 	compatible = "ti,am437x-gp-evm","ti,am4372","ti,am43";
+
+	backlight {
+		compatible = "pwm-backlight";
+		pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>;
+		brightness-levels = <0 51 53 56 62 75 101 152 255>;
+		default-brightness-level = <8>;
+	};
 };
 
 &am43xx_pinmux {
@@ -32,6 +40,12 @@
 			0x158 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE2)  /* spi0_d1.i2c1_sda  */
 		>;
 	};
+
+	ecap0_pins: backlight_pins {
+		pinctrl-single,pins = <
+			0x164 MUX_MODE0       /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */
+		>;
+	};
 };
 
 &i2c0 {
@@ -45,3 +59,13 @@
         pinctrl-names = "default";
         pinctrl-0 = <&i2c1_pins>;
 };
+
+&epwmss0 {
+	status = "okay";
+};
+
+&ecap0 {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&ecap0_pins>;
+};
-- 
1.7.9.5


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

* [PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio.
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
                   ` (5 preceding siblings ...)
  2013-12-19 12:33 ` [PATCHv2 7/9] arm: dts: am437x-gp-evm: Add pwm backlight support Sourav Poddar
@ 2013-12-19 12:33 ` Sourav Poddar
  2013-12-19 12:33 ` [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys Sourav Poddar
  7 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

Enable gpio3, gpio4, it will be used by gpio matrix keys. Also,
can be used by othe peripherals.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am437x-gp-evm.dts |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 2e79bda..0dc248d 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -69,3 +69,11 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&ecap0_pins>;
 };
+
+&gpio3 {
+	status = "okay";
+};
+
+&gpio4 {
+	status = "okay";
+};
-- 
1.7.9.5


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

* [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
                   ` (6 preceding siblings ...)
  2013-12-19 12:33 ` [PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio Sourav Poddar
@ 2013-12-19 12:33 ` Sourav Poddar
  2014-01-13 16:43   ` sourav
  7 siblings, 1 reply; 17+ messages in thread
From: Sourav Poddar @ 2013-12-19 12:33 UTC (permalink / raw)
  To: bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, afzal,
	lokeshvutla, Sourav Poddar

Add gpio keys node for am43x gp evm.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 0dc248d..4eb72b8 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -13,6 +13,7 @@
 #include "am4372.dtsi"
 #include <dt-bindings/pinctrl/am43xx.h>
 #include <dt-bindings/pwm/pwm.h>
+#include <dt-bindings/gpio/gpio.h>
 
 / {
 	model = "TI AM437x GP EVM";
@@ -24,6 +25,26 @@
 		brightness-levels = <0 51 53 56 62 75 101 152 255>;
 		default-brightness-level = <8>;
 	};
+
+	matrix_keypad: matrix_keypad@0 {
+		compatible = "gpio-matrix-keypad";
+		debounce-delay-ms = <5>;
+		col-scan-delay-us = <2>;
+
+		row-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
+				&gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
+				&gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
+
+		col-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
+				&gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
+
+		linux,keymap = <0x00000201      /* P1 */
+				0x00010202      /* P2 */
+				0x01000067      /* UP */
+				0x0101006a      /* RIGHT */
+				0x02000069      /* LEFT */
+				0x0201006c>;      /* DOWN */
+		};
 };
 
 &am43xx_pinmux {
-- 
1.7.9.5


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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2013-12-19 12:33 ` [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys Sourav Poddar
@ 2014-01-13 16:43   ` sourav
  2014-01-14 13:14     ` Felipe Balbi
  0 siblings, 1 reply; 17+ messages in thread
From: sourav @ 2014-01-13 16:43 UTC (permalink / raw)
  To: Sourav Poddar, bcousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, lokeshvutla

Benoit,

On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
> Add gpio keys node for am43x gp evm.
>
> Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
> ---
>   arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
>   1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
> index 0dc248d..4eb72b8 100644
> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
> @@ -13,6 +13,7 @@
>   #include "am4372.dtsi"
>   #include<dt-bindings/pinctrl/am43xx.h>
>   #include<dt-bindings/pwm/pwm.h>
> +#include<dt-bindings/gpio/gpio.h>
>
>   / {
>   	model = "TI AM437x GP EVM";
> @@ -24,6 +25,26 @@
>   		brightness-levels =<0 51 53 56 62 75 101 152 255>;
>   		default-brightness-level =<8>;
>   	};
> +
> +	matrix_keypad: matrix_keypad@0 {
> +		compatible = "gpio-matrix-keypad";
> +		debounce-delay-ms =<5>;
> +		col-scan-delay-us =<2>;
> +
> +		row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
> +				&gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
> +				&gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
> +
> +		col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
> +				&gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
> +
> +		linux,keymap =<0x00000201      /* P1 */
> +				0x00010202      /* P2 */
> +				0x01000067      /* UP */
> +				0x0101006a      /* RIGHT */
> +				0x02000069      /* LEFT */
> +				0x0201006c>;      /* DOWN */
> +		};
>   };
>
>   &am43xx_pinmux {

ping on this series, this series is lying for a while.
This series is based on your for_3.14 branch.


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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2014-01-13 16:43   ` sourav
@ 2014-01-14 13:14     ` Felipe Balbi
  2014-01-14 14:21       ` Benoit Cousson
  0 siblings, 1 reply; 17+ messages in thread
From: Felipe Balbi @ 2014-01-14 13:14 UTC (permalink / raw)
  To: sourav
  Cc: bcousson, balbi, devicetree, tony, linux-omap, mark.rutland, lokeshvutla

[-- Attachment #1: Type: text/plain, Size: 1943 bytes --]

On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote:
> Benoit,
> 
> On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
> >Add gpio keys node for am43x gp evm.
> >
> >Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
> >---
> >  arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
> >  1 file changed, 21 insertions(+)
> >
> >diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
> >index 0dc248d..4eb72b8 100644
> >--- a/arch/arm/boot/dts/am437x-gp-evm.dts
> >+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
> >@@ -13,6 +13,7 @@
> >  #include "am4372.dtsi"
> >  #include<dt-bindings/pinctrl/am43xx.h>
> >  #include<dt-bindings/pwm/pwm.h>
> >+#include<dt-bindings/gpio/gpio.h>
> >
> >  / {
> >  	model = "TI AM437x GP EVM";
> >@@ -24,6 +25,26 @@
> >  		brightness-levels =<0 51 53 56 62 75 101 152 255>;
> >  		default-brightness-level =<8>;
> >  	};
> >+
> >+	matrix_keypad: matrix_keypad@0 {
> >+		compatible = "gpio-matrix-keypad";
> >+		debounce-delay-ms =<5>;
> >+		col-scan-delay-us =<2>;
> >+
> >+		row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
> >+				&gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
> >+				&gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
> >+
> >+		col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
> >+				&gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
> >+
> >+		linux,keymap =<0x00000201      /* P1 */
> >+				0x00010202      /* P2 */
> >+				0x01000067      /* UP */
> >+				0x0101006a      /* RIGHT */
> >+				0x02000069      /* LEFT */
> >+				0x0201006c>;      /* DOWN */
> >+		};
> >  };
> >
> >  &am43xx_pinmux {
> 
> ping on this series, this series is lying for a while.
> This series is based on your for_3.14 branch.

Benoit, do you need us to do anything else to get this merged ? Sourav
already rebased the patches as you requested back in December 19th.

cheers

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2014-01-14 13:14     ` Felipe Balbi
@ 2014-01-14 14:21       ` Benoit Cousson
  2014-01-14 17:54         ` Felipe Balbi
  2014-02-21 14:28         ` Sourav Poddar
  0 siblings, 2 replies; 17+ messages in thread
From: Benoit Cousson @ 2014-01-14 14:21 UTC (permalink / raw)
  To: balbi, sourav; +Cc: devicetree, tony, linux-omap, mark.rutland, lokeshvutla

Hi Felipe,

On 14/01/2014 14:14, Felipe Balbi wrote:
> On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote:
>> Benoit,
>>
>> On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
>>> Add gpio keys node for am43x gp evm.
>>>
>>> Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
>>> ---
>>>   arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
>>>   1 file changed, 21 insertions(+)
>>>
>>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
>>> index 0dc248d..4eb72b8 100644
>>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>>> @@ -13,6 +13,7 @@
>>>   #include "am4372.dtsi"
>>>   #include<dt-bindings/pinctrl/am43xx.h>
>>>   #include<dt-bindings/pwm/pwm.h>
>>> +#include<dt-bindings/gpio/gpio.h>
>>>
>>>   / {
>>>   	model = "TI AM437x GP EVM";
>>> @@ -24,6 +25,26 @@
>>>   		brightness-levels =<0 51 53 56 62 75 101 152 255>;
>>>   		default-brightness-level =<8>;
>>>   	};
>>> +
>>> +	matrix_keypad: matrix_keypad@0 {
>>> +		compatible = "gpio-matrix-keypad";
>>> +		debounce-delay-ms =<5>;
>>> +		col-scan-delay-us =<2>;
>>> +
>>> +		row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
>>> +				&gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
>>> +				&gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
>>> +
>>> +		col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
>>> +				&gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
>>> +
>>> +		linux,keymap =<0x00000201      /* P1 */
>>> +				0x00010202      /* P2 */
>>> +				0x01000067      /* UP */
>>> +				0x0101006a      /* RIGHT */
>>> +				0x02000069      /* LEFT */
>>> +				0x0201006c>;      /* DOWN */
>>> +		};
>>>   };
>>>
>>>   &am43xx_pinmux {
>>
>> ping on this series, this series is lying for a while.
>> This series is based on your for_3.14 branch.
>
> Benoit, do you need us to do anything else to get this merged ? Sourav
> already rebased the patches as you requested back in December 19th.

Nope, I've just needed more BW. I'll apply it ASAP.

Thanks,
Benoit


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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2014-01-14 14:21       ` Benoit Cousson
@ 2014-01-14 17:54         ` Felipe Balbi
  2014-02-21 14:28         ` Sourav Poddar
  1 sibling, 0 replies; 17+ messages in thread
From: Felipe Balbi @ 2014-01-14 17:54 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: balbi, sourav, devicetree, tony, linux-omap, mark.rutland, lokeshvutla

[-- Attachment #1: Type: text/plain, Size: 2252 bytes --]

On Tue, Jan 14, 2014 at 03:21:41PM +0100, Benoit Cousson wrote:
> Hi Felipe,
> 
> On 14/01/2014 14:14, Felipe Balbi wrote:
> >On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote:
> >>Benoit,
> >>
> >>On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
> >>>Add gpio keys node for am43x gp evm.
> >>>
> >>>Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
> >>>---
> >>>  arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
> >>>  1 file changed, 21 insertions(+)
> >>>
> >>>diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
> >>>index 0dc248d..4eb72b8 100644
> >>>--- a/arch/arm/boot/dts/am437x-gp-evm.dts
> >>>+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
> >>>@@ -13,6 +13,7 @@
> >>>  #include "am4372.dtsi"
> >>>  #include<dt-bindings/pinctrl/am43xx.h>
> >>>  #include<dt-bindings/pwm/pwm.h>
> >>>+#include<dt-bindings/gpio/gpio.h>
> >>>
> >>>  / {
> >>>  	model = "TI AM437x GP EVM";
> >>>@@ -24,6 +25,26 @@
> >>>  		brightness-levels =<0 51 53 56 62 75 101 152 255>;
> >>>  		default-brightness-level =<8>;
> >>>  	};
> >>>+
> >>>+	matrix_keypad: matrix_keypad@0 {
> >>>+		compatible = "gpio-matrix-keypad";
> >>>+		debounce-delay-ms =<5>;
> >>>+		col-scan-delay-us =<2>;
> >>>+
> >>>+		row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
> >>>+				&gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
> >>>+				&gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
> >>>+
> >>>+		col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
> >>>+				&gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
> >>>+
> >>>+		linux,keymap =<0x00000201      /* P1 */
> >>>+				0x00010202      /* P2 */
> >>>+				0x01000067      /* UP */
> >>>+				0x0101006a      /* RIGHT */
> >>>+				0x02000069      /* LEFT */
> >>>+				0x0201006c>;      /* DOWN */
> >>>+		};
> >>>  };
> >>>
> >>>  &am43xx_pinmux {
> >>
> >>ping on this series, this series is lying for a while.
> >>This series is based on your for_3.14 branch.
> >
> >Benoit, do you need us to do anything else to get this merged ? Sourav
> >already rebased the patches as you requested back in December 19th.
> 
> Nope, I've just needed more BW. I'll apply it ASAP.

cool, thanks.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2014-01-14 14:21       ` Benoit Cousson
  2014-01-14 17:54         ` Felipe Balbi
@ 2014-02-21 14:28         ` Sourav Poddar
  2014-03-02 17:30           ` Benoit Cousson
  1 sibling, 1 reply; 17+ messages in thread
From: Sourav Poddar @ 2014-02-21 14:28 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, lokeshvutla

Hi Benoit,
On Tuesday 14 January 2014 07:51 PM, Benoit Cousson wrote:
> Hi Felipe,
>
> On 14/01/2014 14:14, Felipe Balbi wrote:
>> On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote:
>>> Benoit,
>>>
>>> On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
>>>> Add gpio keys node for am43x gp evm.
>>>>
>>>> Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
>>>> ---
>>>>   arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
>>>>   1 file changed, 21 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts 
>>>> b/arch/arm/boot/dts/am437x-gp-evm.dts
>>>> index 0dc248d..4eb72b8 100644
>>>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>>>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>>>> @@ -13,6 +13,7 @@
>>>>   #include "am4372.dtsi"
>>>>   #include<dt-bindings/pinctrl/am43xx.h>
>>>>   #include<dt-bindings/pwm/pwm.h>
>>>> +#include<dt-bindings/gpio/gpio.h>
>>>>
>>>>   / {
>>>>       model = "TI AM437x GP EVM";
>>>> @@ -24,6 +25,26 @@
>>>>           brightness-levels =<0 51 53 56 62 75 101 152 255>;
>>>>           default-brightness-level =<8>;
>>>>       };
>>>> +
>>>> +    matrix_keypad: matrix_keypad@0 {
>>>> +        compatible = "gpio-matrix-keypad";
>>>> +        debounce-delay-ms =<5>;
>>>> +        col-scan-delay-us =<2>;
>>>> +
>>>> +        row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
>>>> + &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
>>>> + &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
>>>> +
>>>> +        col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
>>>> + &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
>>>> +
>>>> +        linux,keymap =<0x00000201      /* P1 */
>>>> +                0x00010202      /* P2 */
>>>> +                0x01000067      /* UP */
>>>> +                0x0101006a      /* RIGHT */
>>>> +                0x02000069      /* LEFT */
>>>> +                0x0201006c>;      /* DOWN */
>>>> +        };
>>>>   };
>>>>
>>>> &am43xx_pinmux {
>>>
>>> ping on this series, this series is lying for a while.
>>> This series is based on your for_3.14 branch.
>>
>> Benoit, do you need us to do anything else to get this merged ? Sourav
>> already rebased the patches as you requested back in December 19th.
>
> Nope, I've just needed more BW. I'll apply it ASAP.
>
> Thanks,
> Benoit
>
Ping on this.

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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2014-02-21 14:28         ` Sourav Poddar
@ 2014-03-02 17:30           ` Benoit Cousson
  2014-03-03  5:57             ` Sourav Poddar
  0 siblings, 1 reply; 17+ messages in thread
From: Benoit Cousson @ 2014-03-02 17:30 UTC (permalink / raw)
  To: Sourav Poddar
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, lokeshvutla

Hi Sourav,

On 21/02/2014 15:28, Sourav Poddar wrote:
> Hi Benoit,
> On Tuesday 14 January 2014 07:51 PM, Benoit Cousson wrote:
>> Hi Felipe,
>>
>> On 14/01/2014 14:14, Felipe Balbi wrote:
>>> On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote:
>>>> Benoit,
>>>>
>>>> On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
>>>>> Add gpio keys node for am43x gp evm.
>>>>>
>>>>> Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
>>>>> ---
>>>>>   arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
>>>>>   1 file changed, 21 insertions(+)
>>>>>
>>>>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>> b/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>> index 0dc248d..4eb72b8 100644
>>>>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>> @@ -13,6 +13,7 @@
>>>>>   #include "am4372.dtsi"
>>>>>   #include<dt-bindings/pinctrl/am43xx.h>
>>>>>   #include<dt-bindings/pwm/pwm.h>
>>>>> +#include<dt-bindings/gpio/gpio.h>
>>>>>
>>>>>   / {
>>>>>       model = "TI AM437x GP EVM";
>>>>> @@ -24,6 +25,26 @@
>>>>>           brightness-levels =<0 51 53 56 62 75 101 152 255>;
>>>>>           default-brightness-level =<8>;
>>>>>       };
>>>>> +
>>>>> +    matrix_keypad: matrix_keypad@0 {
>>>>> +        compatible = "gpio-matrix-keypad";
>>>>> +        debounce-delay-ms =<5>;
>>>>> +        col-scan-delay-us =<2>;
>>>>> +
>>>>> +        row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
>>>>> + &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
>>>>> + &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
>>>>> +
>>>>> +        col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
>>>>> + &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
>>>>> +
>>>>> +        linux,keymap =<0x00000201      /* P1 */
>>>>> +                0x00010202      /* P2 */
>>>>> +                0x01000067      /* UP */
>>>>> +                0x0101006a      /* RIGHT */
>>>>> +                0x02000069      /* LEFT */
>>>>> +                0x0201006c>;      /* DOWN */
>>>>> +        };
>>>>>   };
>>>>>
>>>>> &am43xx_pinmux {
>>>>
>>>> ping on this series, this series is lying for a while.
>>>> This series is based on your for_3.14 branch.
>>>
>>> Benoit, do you need us to do anything else to get this merged ? Sourav
>>> already rebased the patches as you requested back in December 19th.
>>
>> Nope, I've just needed more BW. I'll apply it ASAP.
>>
>> Thanks,
>> Benoit
>>
> Ping on this.

I've just applied them. Sorry for the delay,

Regards,
Benoit

-- 
Benoît Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys.
  2014-03-02 17:30           ` Benoit Cousson
@ 2014-03-03  5:57             ` Sourav Poddar
  0 siblings, 0 replies; 17+ messages in thread
From: Sourav Poddar @ 2014-03-03  5:57 UTC (permalink / raw)
  To: Benoit Cousson
  Cc: balbi, devicetree, tony, linux-omap, mark.rutland, lokeshvutla

On Sunday 02 March 2014 11:00 PM, Benoit Cousson wrote:
> Hi Sourav,
>
> On 21/02/2014 15:28, Sourav Poddar wrote:
>> Hi Benoit,
>> On Tuesday 14 January 2014 07:51 PM, Benoit Cousson wrote:
>>> Hi Felipe,
>>>
>>> On 14/01/2014 14:14, Felipe Balbi wrote:
>>>> On Mon, Jan 13, 2014 at 10:13:13PM +0530, sourav wrote:
>>>>> Benoit,
>>>>>
>>>>> On Thursday 19 December 2013 06:03 PM, Sourav Poddar wrote:
>>>>>> Add gpio keys node for am43x gp evm.
>>>>>>
>>>>>> Signed-off-by: Sourav Poddar<sourav.poddar@ti.com>
>>>>>> ---
>>>>>>   arch/arm/boot/dts/am437x-gp-evm.dts |   21 +++++++++++++++++++++
>>>>>>   1 file changed, 21 insertions(+)
>>>>>>
>>>>>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>>> b/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>>> index 0dc248d..4eb72b8 100644
>>>>>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>>>>>> @@ -13,6 +13,7 @@
>>>>>>   #include "am4372.dtsi"
>>>>>>   #include<dt-bindings/pinctrl/am43xx.h>
>>>>>>   #include<dt-bindings/pwm/pwm.h>
>>>>>> +#include<dt-bindings/gpio/gpio.h>
>>>>>>
>>>>>>   / {
>>>>>>       model = "TI AM437x GP EVM";
>>>>>> @@ -24,6 +25,26 @@
>>>>>>           brightness-levels =<0 51 53 56 62 75 101 152 255>;
>>>>>>           default-brightness-level =<8>;
>>>>>>       };
>>>>>> +
>>>>>> +    matrix_keypad: matrix_keypad@0 {
>>>>>> +        compatible = "gpio-matrix-keypad";
>>>>>> +        debounce-delay-ms =<5>;
>>>>>> +        col-scan-delay-us =<2>;
>>>>>> +
>>>>>> +        row-gpios =<&gpio3 21 GPIO_ACTIVE_HIGH /* Bank3, pin21 */
>>>>>> + &gpio4 3 GPIO_ACTIVE_HIGH /* Bank4, pin3 */
>>>>>> + &gpio4 2 GPIO_ACTIVE_HIGH>; /* Bank4, pin2 */
>>>>>> +
>>>>>> +        col-gpios =<&gpio3 19 GPIO_ACTIVE_HIGH /* Bank3, pin19 */
>>>>>> + &gpio3 20 GPIO_ACTIVE_HIGH>; /* Bank3, pin20 */
>>>>>> +
>>>>>> +        linux,keymap =<0x00000201      /* P1 */
>>>>>> +                0x00010202      /* P2 */
>>>>>> +                0x01000067      /* UP */
>>>>>> +                0x0101006a      /* RIGHT */
>>>>>> +                0x02000069      /* LEFT */
>>>>>> +                0x0201006c>;      /* DOWN */
>>>>>> +        };
>>>>>>   };
>>>>>>
>>>>>> &am43xx_pinmux {
>>>>>
>>>>> ping on this series, this series is lying for a while.
>>>>> This series is based on your for_3.14 branch.
>>>>
>>>> Benoit, do you need us to do anything else to get this merged ? Sourav
>>>> already rebased the patches as you requested back in December 19th.
>>>
>>> Nope, I've just needed more BW. I'll apply it ASAP.
>>>
>>> Thanks,
>>> Benoit
>>>
>> Ping on this.
>
> I've just applied them. Sorry for the delay,
>
> Regards,
> Benoit
>
Thanks!

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

end of thread, other threads:[~2014-03-03  5:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8 Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 5/9] arm: dts: am43x-epos-evm: Add SPI data Sourav Poddar
     [not found] ` <1387456421-21379-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
2013-12-19 12:33   ` [PATCHv2 1/9] arm: dts: am4372: Add pwm-cells property for ecap device Sourav Poddar
2013-12-19 12:33   ` [PATCHv2 6/9] arm: dts: am437x-gp-evm: Add gp dts Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 7/9] arm: dts: am437x-gp-evm: Add pwm backlight support Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys Sourav Poddar
2014-01-13 16:43   ` sourav
2014-01-14 13:14     ` Felipe Balbi
2014-01-14 14:21       ` Benoit Cousson
2014-01-14 17:54         ` Felipe Balbi
2014-02-21 14:28         ` Sourav Poddar
2014-03-02 17:30           ` Benoit Cousson
2014-03-03  5:57             ` Sourav Poddar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.