* [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns,
Marek Belisko
Add various improvements for gta04 device (wifi, backlight, irq lines for sensors)
H. Nikolaus Schaller (4):
ARM: dts: omap3-gta04: Define and use bma180 irq pin
ARM: dta: omap3-gta04: Define and use itg3200 irq pin
ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
ARM: dts: omap3-gat04: Fix wifi handling
Marek Belisko (1):
ARM: dts: omap3-gta04: Add backlight support
arch/arm/boot/dts/omap3-gta04.dtsi | 60 ++++++++++++++++++++++++++++++++++++--
1 file changed, 57 insertions(+), 3 deletions(-)
--
2.5.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: linux-arm-kernel
Add various improvements for gta04 device (wifi, backlight, irq lines for sensors)
H. Nikolaus Schaller (4):
ARM: dts: omap3-gta04: Define and use bma180 irq pin
ARM: dta: omap3-gta04: Define and use itg3200 irq pin
ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
ARM: dts: omap3-gat04: Fix wifi handling
Marek Belisko (1):
ARM: dts: omap3-gta04: Add backlight support
arch/arm/boot/dts/omap3-gta04.dtsi | 60 ++++++++++++++++++++++++++++++++++++--
1 file changed, 57 insertions(+), 3 deletions(-)
--
2.5.0
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support
2016-05-17 19:48 ` Marek Belisko
(?)
@ 2016-05-17 19:48 ` Marek Belisko
-1 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns,
Marek Belisko
Define pwm backlight node which is using dmtimer pwm.
Signed-off-by: Marek Belisko <marek@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index ab9fb8f..cef8b23 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -100,6 +100,22 @@
};
};
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm11 0 2000000 0>;
+ pwm-names = "backlight";
+ brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <9>; /* => 90 */
+ pinctrl-names = "default";
+ pinctrl-0 = <&backlight_pins>;
+ };
+
+ pwm11: dmtimer-pwm@11 {
+ compatible = "ti,omap-dmtimer-pwm";
+ ti,timers = <&timer11>;
+ #pwm-cells = <3>;
+ };
+
hsusb2_phy: hsusb2_phy {
compatible = "usb-nop-xceiv";
reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
@@ -190,6 +206,12 @@
>;
};
+ backlight_pins: backlight_pins_pimnux {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
+ >;
+ };
+
dss_dpi_pins: pinmux_dss_dpi_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: devicetree, hns, linux-kernel, Marek Belisko, linux-omap,
linux-arm-kernel
Define pwm backlight node which is using dmtimer pwm.
Signed-off-by: Marek Belisko <marek@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index ab9fb8f..cef8b23 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -100,6 +100,22 @@
};
};
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm11 0 2000000 0>;
+ pwm-names = "backlight";
+ brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <9>; /* => 90 */
+ pinctrl-names = "default";
+ pinctrl-0 = <&backlight_pins>;
+ };
+
+ pwm11: dmtimer-pwm@11 {
+ compatible = "ti,omap-dmtimer-pwm";
+ ti,timers = <&timer11>;
+ #pwm-cells = <3>;
+ };
+
hsusb2_phy: hsusb2_phy {
compatible = "usb-nop-xceiv";
reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
@@ -190,6 +206,12 @@
>;
};
+ backlight_pins: backlight_pins_pimnux {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
+ >;
+ };
+
dss_dpi_pins: pinmux_dss_dpi_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: linux-arm-kernel
Define pwm backlight node which is using dmtimer pwm.
Signed-off-by: Marek Belisko <marek@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index ab9fb8f..cef8b23 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -100,6 +100,22 @@
};
};
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm11 0 2000000 0>;
+ pwm-names = "backlight";
+ brightness-levels = <0 11 20 30 40 50 60 70 80 90 100>;
+ default-brightness-level = <9>; /* => 90 */
+ pinctrl-names = "default";
+ pinctrl-0 = <&backlight_pins>;
+ };
+
+ pwm11: dmtimer-pwm at 11 {
+ compatible = "ti,omap-dmtimer-pwm";
+ ti,timers = <&timer11>;
+ #pwm-cells = <3>;
+ };
+
hsusb2_phy: hsusb2_phy {
compatible = "usb-nop-xceiv";
reset-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
@@ -190,6 +206,12 @@
>;
};
+ backlight_pins: backlight_pins_pimnux {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x20ba, MUX_MODE3) /* gpt11/gpio57 */
+ >;
+ };
+
dss_dpi_pins: pinmux_dss_dpi_pins {
pinctrl-single,pins = <
OMAP3_CORE1_IOPAD(0x20d4, PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin
2016-05-17 19:48 ` Marek Belisko
@ 2016-05-17 19:48 ` Marek Belisko
-1 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Add pinmux and usage of bma180 irq pin.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index cef8b23..e0520cf 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -250,6 +250,12 @@
OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
>;
};
+
+ bma180_pins: pinmux_bma180_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
+ >;
+ };
};
&omap3_pmx_core2 {
@@ -320,6 +326,8 @@
bma180@41 {
compatible = "bosch,bma180";
reg = <0x41>;
+ pinctrl-names = "default";
+ pintcrl-0 = <&bma180_pins>;
interrupt-parent = <&gpio4>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
};
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: linux-arm-kernel
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Add pinmux and usage of bma180 irq pin.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index cef8b23..e0520cf 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -250,6 +250,12 @@
OMAP3_CORE1_IOPAD(0x21c6, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda.hdq */
>;
};
+
+ bma180_pins: pinmux_bma180_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
+ >;
+ };
};
&omap3_pmx_core2 {
@@ -320,6 +326,8 @@
bma180 at 41 {
compatible = "bosch,bma180";
reg = <0x41>;
+ pinctrl-names = "default";
+ pintcrl-0 = <&bma180_pins>;
interrupt-parent = <&gpio4>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; /* GPIO_115 */
};
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 3/5] ARM: dta: omap3-gta04: Define and use itg3200 irq pin
2016-05-17 19:48 ` Marek Belisko
@ 2016-05-17 19:48 ` Marek Belisko
-1 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Define pinmux and usage if irq pin + fix irq edge.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index e0520cf..094e5e1 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -256,6 +256,12 @@
OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
>;
};
+
+ itg3200_pins: pinmux_itg3200_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
+ >;
+ };
};
&omap3_pmx_core2 {
@@ -336,8 +342,10 @@
itg3200@68 {
compatible = "invensense,itg3200";
reg = <0x68>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&itg3200_pins>;
interrupt-parent = <&gpio2>;
- interrupts = <24 0>; /* GPIO_56 */
+ interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
};
/* leds */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 3/5] ARM: dta: omap3-gta04: Define and use itg3200 irq pin
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: linux-arm-kernel
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Define pinmux and usage if irq pin + fix irq edge.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index e0520cf..094e5e1 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -256,6 +256,12 @@
OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
>;
};
+
+ itg3200_pins: pinmux_itg3200_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
+ >;
+ };
};
&omap3_pmx_core2 {
@@ -336,8 +342,10 @@
itg3200 at 68 {
compatible = "invensense,itg3200";
reg = <0x68>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&itg3200_pins>;
interrupt-parent = <&gpio2>;
- interrupts = <24 0>; /* GPIO_56 */
+ interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
};
/* leds */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 4/5] ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
2016-05-17 19:48 ` Marek Belisko
@ 2016-05-17 19:48 ` Marek Belisko
-1 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Define pinmux and usage if irq pin.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 094e5e1..55b6b88 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -262,6 +262,12 @@
OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
>;
};
+
+ hmc5843_pins: pinmux_hmc5843_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
+ >;
+ };
};
&omap3_pmx_core2 {
@@ -389,6 +395,10 @@
hmc5843@1e {
compatible = "honeywell,hmc5883l";
reg = <0x1e>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hmc5843_pins>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
};
/* touchscreen */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 4/5] ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: linux-arm-kernel
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Define pinmux and usage if irq pin.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 094e5e1..55b6b88 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -262,6 +262,12 @@
OMAP3_CORE1_IOPAD(0x20b8, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio56 */
>;
};
+
+ hmc5843_pins: pinmux_hmc5843_pins {
+ pinctrl-single,pins = <
+ OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */
+ >;
+ };
};
&omap3_pmx_core2 {
@@ -389,6 +395,10 @@
hmc5843 at 1e {
compatible = "honeywell,hmc5883l";
reg = <0x1e>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&hmc5843_pins>;
+ interrupt-parent = <&gpio4>;
+ interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* gpio112 */
};
/* touchscreen */
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson, tony, robh+dt, mark.rutland, ijc+devicetree, galak, linux
Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel, hns
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Without that change wifi card isn't probed because pwrseq is necessary for
libertas chip.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 55b6b88..6349257 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -155,6 +155,11 @@
};
};
};
+
+ wifi_pwrseq: wifi_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
+ };
};
&omap3_pmx_core {
@@ -354,8 +359,8 @@
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
};
- /* leds */
- tca6507@45 {
+ /* leds + gpios */
+ tca6507: tca6507@45 {
compatible = "ti,tca6507";
#address-cells = <1>;
#size-cells = <0>;
@@ -446,6 +451,7 @@
bus-width = <4>;
ti,non-removable;
cap-power-off-card;
+ mmc-pwrseq = <&wifi_pwrseq>;
};
&mmc3 {
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: bcousson-rdvid1DuHRBWk0Htik3J/w, tony-4v6yS6AI5VpBDgjK7y7TUQ,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-I+IVW8TIWO2tmTQ+vhA3Yw
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, hns-xXXSsgcRVICgSpxsJD1C4w
From: "H. Nikolaus Schaller" <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
Without that change wifi card isn't probed because pwrseq is necessary for
libertas chip.
Signed-off-by: H. Nikolaus Schaller <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 55b6b88..6349257 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -155,6 +155,11 @@
};
};
};
+
+ wifi_pwrseq: wifi_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
+ };
};
&omap3_pmx_core {
@@ -354,8 +359,8 @@
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
};
- /* leds */
- tca6507@45 {
+ /* leds + gpios */
+ tca6507: tca6507@45 {
compatible = "ti,tca6507";
#address-cells = <1>;
#size-cells = <0>;
@@ -446,6 +451,7 @@
bus-width = <4>;
ti,non-removable;
cap-power-off-card;
+ mmc-pwrseq = <&wifi_pwrseq>;
};
&mmc3 {
--
2.5.0
--
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] 21+ messages in thread
* [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling
@ 2016-05-17 19:48 ` Marek Belisko
0 siblings, 0 replies; 21+ messages in thread
From: Marek Belisko @ 2016-05-17 19:48 UTC (permalink / raw)
To: linux-arm-kernel
From: "H. Nikolaus Schaller" <hns@goldelico.com>
Without that change wifi card isn't probed because pwrseq is necessary for
libertas chip.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 55b6b88..6349257 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -155,6 +155,11 @@
};
};
};
+
+ wifi_pwrseq: wifi_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>; /* W2CBW003 reset through tca6507 */
+ };
};
&omap3_pmx_core {
@@ -354,8 +359,8 @@
interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
};
- /* leds */
- tca6507 at 45 {
+ /* leds + gpios */
+ tca6507: tca6507 at 45 {
compatible = "ti,tca6507";
#address-cells = <1>;
#size-cells = <0>;
@@ -446,6 +451,7 @@
bus-width = <4>;
ti,non-removable;
cap-power-off-card;
+ mmc-pwrseq = <&wifi_pwrseq>;
};
&mmc3 {
--
2.5.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
2016-05-17 19:48 ` Marek Belisko
@ 2016-05-31 6:48 ` Belisko Marek
-1 siblings, 0 replies; 21+ messages in thread
From: Belisko Marek @ 2016-05-31 6:48 UTC (permalink / raw)
To: Benoit Cousson, Tony Lindgren, Rob Herring, Mark Rutland,
ijc+devicetree, Kumar Gala, linux
Cc: linux-omap, devicetree, linux-arm-kernel, LKML,
Dr. H. Nikolaus Schaller, Marek Belisko
Ping? Any objections? Thanks.
On Tue, May 17, 2016 at 9:48 PM, Marek Belisko <marek@goldelico.com> wrote:
> Add various improvements for gta04 device (wifi, backlight, irq lines for sensors)
>
> H. Nikolaus Schaller (4):
> ARM: dts: omap3-gta04: Define and use bma180 irq pin
> ARM: dta: omap3-gta04: Define and use itg3200 irq pin
> ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
> ARM: dts: omap3-gat04: Fix wifi handling
>
> Marek Belisko (1):
> ARM: dts: omap3-gta04: Add backlight support
>
> arch/arm/boot/dts/omap3-gta04.dtsi | 60 ++++++++++++++++++++++++++++++++++++--
> 1 file changed, 57 insertions(+), 3 deletions(-)
>
> --
> 2.5.0
>
Marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-05-31 6:48 ` Belisko Marek
0 siblings, 0 replies; 21+ messages in thread
From: Belisko Marek @ 2016-05-31 6:48 UTC (permalink / raw)
To: linux-arm-kernel
Ping? Any objections? Thanks.
On Tue, May 17, 2016 at 9:48 PM, Marek Belisko <marek@goldelico.com> wrote:
> Add various improvements for gta04 device (wifi, backlight, irq lines for sensors)
>
> H. Nikolaus Schaller (4):
> ARM: dts: omap3-gta04: Define and use bma180 irq pin
> ARM: dta: omap3-gta04: Define and use itg3200 irq pin
> ARM: dta: omap3-gta04: Define and use hmc5843 irq pin
> ARM: dts: omap3-gat04: Fix wifi handling
>
> Marek Belisko (1):
> ARM: dts: omap3-gta04: Add backlight support
>
> arch/arm/boot/dts/omap3-gta04.dtsi | 60 ++++++++++++++++++++++++++++++++++++--
> 1 file changed, 57 insertions(+), 3 deletions(-)
>
> --
> 2.5.0
>
Marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
2016-05-31 6:48 ` Belisko Marek
@ 2016-05-31 18:19 ` Tony Lindgren
-1 siblings, 0 replies; 21+ messages in thread
From: Tony Lindgren @ 2016-05-31 18:19 UTC (permalink / raw)
To: Belisko Marek
Cc: Benoit Cousson, Rob Herring, Mark Rutland, ijc+devicetree,
Kumar Gala, linux, linux-omap, devicetree, linux-arm-kernel,
LKML, Dr. H. Nikolaus Schaller, Marek Belisko
* Belisko Marek <marek.belisko@gmail.com> [160530 23:50]:
> Ping? Any objections? Thanks.
Looks OK to me, with v4.7-rc1 out I'll start applying patches
again once the pending fixes are out of the way. So it will be
few more days, probably around -rc2 time.
Regards,
Tony
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-05-31 18:19 ` Tony Lindgren
0 siblings, 0 replies; 21+ messages in thread
From: Tony Lindgren @ 2016-05-31 18:19 UTC (permalink / raw)
To: linux-arm-kernel
* Belisko Marek <marek.belisko@gmail.com> [160530 23:50]:
> Ping? Any objections? Thanks.
Looks OK to me, with v4.7-rc1 out I'll start applying patches
again once the pending fixes are out of the way. So it will be
few more days, probably around -rc2 time.
Regards,
Tony
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-06-10 10:53 ` Tony Lindgren
0 siblings, 0 replies; 21+ messages in thread
From: Tony Lindgren @ 2016-06-10 10:53 UTC (permalink / raw)
To: Belisko Marek
Cc: Benoit Cousson, Rob Herring, Mark Rutland, ijc+devicetree,
Kumar Gala, linux, linux-omap, devicetree, linux-arm-kernel,
LKML, Dr. H. Nikolaus Schaller, Marek Belisko
* Tony Lindgren <tony@atomide.com> [160531 11:22]:
> * Belisko Marek <marek.belisko@gmail.com> [160530 23:50]:
> > Ping? Any objections? Thanks.
>
> Looks OK to me, with v4.7-rc1 out I'll start applying patches
> again once the pending fixes are out of the way. So it will be
> few more days, probably around -rc2 time.
Applying all into omap-for-v4.8/dt finally thanks.
Tony
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-06-10 10:53 ` Tony Lindgren
0 siblings, 0 replies; 21+ messages in thread
From: Tony Lindgren @ 2016-06-10 10:53 UTC (permalink / raw)
To: Belisko Marek
Cc: Benoit Cousson, Rob Herring, Mark Rutland,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, Kumar Gala,
linux-I+IVW8TIWO2tmTQ+vhA3Yw, linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel, LKML,
Dr. H. Nikolaus Schaller, Marek Belisko
* Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> [160531 11:22]:
> * Belisko Marek <marek.belisko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [160530 23:50]:
> > Ping? Any objections? Thanks.
>
> Looks OK to me, with v4.7-rc1 out I'll start applying patches
> again once the pending fixes are out of the way. So it will be
> few more days, probably around -rc2 time.
Applying all into omap-for-v4.8/dt finally thanks.
Tony
--
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] 21+ messages in thread
* [PATCH 0/5] ARM: dts: omap3-gta04: Various updates
@ 2016-06-10 10:53 ` Tony Lindgren
0 siblings, 0 replies; 21+ messages in thread
From: Tony Lindgren @ 2016-06-10 10:53 UTC (permalink / raw)
To: linux-arm-kernel
* Tony Lindgren <tony@atomide.com> [160531 11:22]:
> * Belisko Marek <marek.belisko@gmail.com> [160530 23:50]:
> > Ping? Any objections? Thanks.
>
> Looks OK to me, with v4.7-rc1 out I'll start applying patches
> again once the pending fixes are out of the way. So it will be
> few more days, probably around -rc2 time.
Applying all into omap-for-v4.8/dt finally thanks.
Tony
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2016-06-10 10:53 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-17 19:48 [PATCH 0/5] ARM: dts: omap3-gta04: Various updates Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` [PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` [PATCH 3/5] ARM: dta: omap3-gta04: Define and use itg3200 " Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` [PATCH 4/5] ARM: dta: omap3-gta04: Define and use hmc5843 " Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-17 19:48 ` Marek Belisko
2016-05-31 6:48 ` [PATCH 0/5] ARM: dts: omap3-gta04: Various updates Belisko Marek
2016-05-31 6:48 ` Belisko Marek
2016-05-31 18:19 ` Tony Lindgren
2016-05-31 18:19 ` Tony Lindgren
2016-06-10 10:53 ` Tony Lindgren
2016-06-10 10:53 ` Tony Lindgren
2016-06-10 10:53 ` Tony Lindgren
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.