linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: dts: Add support for the WP8548 and mangOH Board
@ 2016-06-17 10:42 Neil Armstrong
  2016-06-17 10:42 ` [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless Neil Armstrong
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Neil Armstrong @ 2016-06-17 10:42 UTC (permalink / raw)
  To: linux, mark.rutland
  Cc: Neil Armstrong, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

In order to support the Qualcomm MDM9615 in the Sierra Wireless WP8548
Modules, and on the open hardware mangOH board WP8548 DTSI, mangOH board DTS
and corresponding dt-bindings..

This patchset depends on pinctrl [1], clk [2], pmic [3], arm-soc [4],
arm-soc-dt [5], usb-hsic [6], gpio-sx150x [7] patchsets.

This patchset is part of a global SoC + Module + Board support for the
Sierra Wireless mangOH Board support with the WP8548 module.

[1] http://lkml.kernel.org/r/1466158535-17962-1-git-send-email-narmstrong@baylibre.com
[2] http://lkml.kernel.org/r/1466157875-14428-1-git-send-email-narmstrong@baylibre.com
[3] http://lkml.kernel.org/r/1466158929-19524-1-git-send-email-narmstrong@baylibre.com
[4] http://lkml.kernel.org/r/1466159484-21858-1-git-send-email-narmstrong@baylibre.com
[5] http://lkml.kernel.org/r/1466159704-22774-1-git-send-email-narmstrong@baylibre.com
[6] http://lkml.kernel.org/r/1466159119-20310-1-git-send-email-narmstrong@baylibre.com
[7] http://lkml.kernel.org/r/1466157063-10955-1-git-send-email-narmstrong@baylibre.com

Neil Armstrong (4):
  dt-bindings: vendor-prefixes: Add Sierra Wireless
  dt-bindings: arm: Add Sierra Wireless modules bindings
  ARM: dts: Add Sierra Wireless WP8548 dtsi
  ARM: dts: Add WP8548 based MangOH Green board DTS

 Documentation/devicetree/bindings/arm/swi.txt      |  12 +
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 arch/arm/boot/dts/Makefile                         |   3 +-
 arch/arm/boot/dts/swi-wp8548-mangoh-green.dts      | 290 +++++++++++++++++++++
 arch/arm/boot/dts/swi-wp8548.dtsi                  | 182 +++++++++++++
 5 files changed, 487 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/arm/swi.txt
 create mode 100644 arch/arm/boot/dts/swi-wp8548-mangoh-green.dts
 create mode 100644 arch/arm/boot/dts/swi-wp8548.dtsi

-- 
1.9.1

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

* [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless
  2016-06-17 10:42 [PATCH 0/4] ARM: dts: Add support for the WP8548 and mangOH Board Neil Armstrong
@ 2016-06-17 10:42 ` Neil Armstrong
  2016-06-20 16:28   ` Rob Herring
  2016-06-17 10:42 ` [PATCH 2/4] dt-bindings: arm: Add Sierra Wireless modules bindings Neil Armstrong
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Neil Armstrong @ 2016-06-17 10:42 UTC (permalink / raw)
  To: linux, mark.rutland
  Cc: Neil Armstrong, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

Add Sierra Wireless as swi vendor prefix.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 2c2500d..45bccd2 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -250,6 +250,7 @@ st	STMicroelectronics
 startek	Startek
 ste	ST-Ericsson
 stericsson	ST-Ericsson
+swi	Sierra Wireless
 syna	Synaptics Inc.
 synology	Synology, Inc.
 SUNW	Sun Microsystems, Inc
-- 
1.9.1

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

* [PATCH 2/4] dt-bindings: arm: Add Sierra Wireless modules bindings
  2016-06-17 10:42 [PATCH 0/4] ARM: dts: Add support for the WP8548 and mangOH Board Neil Armstrong
  2016-06-17 10:42 ` [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless Neil Armstrong
@ 2016-06-17 10:42 ` Neil Armstrong
  2016-06-17 10:42 ` [PATCH 3/4] ARM: dts: Add Sierra Wireless WP8548 dtsi Neil Armstrong
  2016-06-17 10:42 ` [PATCH 4/4] ARM: dts: Add WP8548 based MangOH Green board DTS Neil Armstrong
  3 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2016-06-17 10:42 UTC (permalink / raw)
  To: linux, mark.rutland
  Cc: Neil Armstrong, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 Documentation/devicetree/bindings/arm/swi.txt | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/swi.txt

diff --git a/Documentation/devicetree/bindings/arm/swi.txt b/Documentation/devicetree/bindings/arm/swi.txt
new file mode 100644
index 0000000..7f36960
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/swi.txt
@@ -0,0 +1,12 @@
+Sierra Wireless Modules device tree bindings
+--------------------------------------------
+
+Supported Modules :
+ - WP8548 : Includes MDM9615 and PM8018 in a module
+
+Sierra Wireless modules shall have the following properties :
+  Required root node property
+   - compatible: "swi,wp8548" for the WP8548 CF3 Module
+
+Board compatible values:
+  - "swi,mangoh-green-wp8548" for the mangOH green board with the WP8548 module
-- 
1.9.1

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

* [PATCH 3/4] ARM: dts: Add Sierra Wireless WP8548 dtsi
  2016-06-17 10:42 [PATCH 0/4] ARM: dts: Add support for the WP8548 and mangOH Board Neil Armstrong
  2016-06-17 10:42 ` [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless Neil Armstrong
  2016-06-17 10:42 ` [PATCH 2/4] dt-bindings: arm: Add Sierra Wireless modules bindings Neil Armstrong
@ 2016-06-17 10:42 ` Neil Armstrong
  2016-06-17 10:42 ` [PATCH 4/4] ARM: dts: Add WP8548 based MangOH Green board DTS Neil Armstrong
  3 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2016-06-17 10:42 UTC (permalink / raw)
  To: linux, mark.rutland
  Cc: Neil Armstrong, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

In order to support the Sierra Wireless WP8548 module based on the
Qualcomm MDM9615 SoC, add a dtsi file.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm/boot/dts/swi-wp8548.dtsi | 182 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 182 insertions(+)
 create mode 100644 arch/arm/boot/dts/swi-wp8548.dtsi

diff --git a/arch/arm/boot/dts/swi-wp8548.dtsi b/arch/arm/boot/dts/swi-wp8548.dtsi
new file mode 100644
index 0000000..7448915
--- /dev/null
+++ b/arch/arm/boot/dts/swi-wp8548.dtsi
@@ -0,0 +1,182 @@
+/*
+ * Device Tree Source for Sierra Wireless WP8548 Module
+ *
+ * Copyright (C) 2016 BayLibre, SAS.
+ * Author : Neil Armstrong <narmstrong@baylibre.com>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License as
+ *     published by the Free Software Foundation; either version 2 of the
+ *     License, or (at your option) any later version.
+ *
+ *     This file is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use,
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#include "qcom-mdm9615.dtsi"
+
+/ {
+	model = "Sierra Wireless WP8548 Module";
+	compatible = "swi,wp8548", "qcom,mdm9615";
+
+	memory {
+		reg = <0x48000000 0x7F00000>;
+	};
+};
+
+&msmgpio {
+	pinctrl-0 = <&reset_out_pins>;
+	pinctrl-names = "default";
+
+	gsbi3_pins: gsbi3_pins {
+		mux {
+			pins = "gpio8", "gpio9", "gpio10", "gpio11";
+			function = "gsbi3";
+			drive-strength = <8>;
+			bias-disable;
+		};
+	};
+
+	gsbi4_pins: gsbi4_pins {
+		mux {
+			pins = "gpio12", "gpio13", "gpio14", "gpio15";
+			function = "gsbi4";
+			drive-strength = <8>;
+			bias-disable;
+		};
+	};
+
+	gsbi5_i2c_pins: gsbi5_i2c_pins {
+		pin16 {
+			pins = "gpio16";
+			function = "gsbi5_i2c";
+			drive-strength = <8>;
+			bias-disable;
+		};
+
+		pin17 {
+			pins = "gpio17";
+			function = "gsbi5_i2c";
+			drive-strength = <2>;
+			bias-disable;
+		};
+	};
+
+	gsbi5_uart_pins: gsbi5_uart_pins {
+		mux {
+			pins = "gpio18", "gpio19";
+			function = "gsbi5_uart";
+			drive-strength = <8>;
+			bias-disable;
+		};
+	};
+
+	reset_out_pins: reset_out_pins {
+		pins {
+			pins = "gpio66";
+			function = "gpio";
+			drive-strength = <2>;
+			bias-pull-up;
+			output-high;
+		};
+	};
+};
+
+&pmicgpio {
+	usb_vbus_5v_pins: usb_vbus_5v_pins {
+		pins = "gpio4";
+		function = "normal";
+		output-high;
+		bias-disable;
+		qcom,drive-strength = <1>;
+		power-source = <2>;
+	};
+};
+
+&gsbi3 {
+	status = "ok";
+	qcom,mode = <GSBI_PROT_SPI>;
+};
+
+&gsbi3_spi {
+	status = "ok";
+	pinctrl-0 = <&gsbi3_pins>;
+	pinctrl-names = "default";
+	assigned-clocks = <&gcc GSBI3_QUP_CLK>;
+	assigned-clock-rates = <24000000>;
+};
+
+&gsbi4 {
+	status = "ok";
+	qcom,mode = <GSBI_PROT_UART_W_FC>;
+};
+
+&gsbi4_serial {
+	status = "ok";
+	pinctrl-0 = <&gsbi4_pins>;
+	pinctrl-names = "default";
+};
+
+&gsbi5 {
+	status = "ok";
+	qcom,mode = <GSBI_PROT_I2C_UART>;
+};
+
+&gsbi5_i2c {
+	status = "ok";
+	clock-frequency = <200000>;
+	pinctrl-0 = <&gsbi5_i2c_pins>;
+	pinctrl-names = "default";
+};
+
+&gsbi5_serial {
+	status = "ok";
+	pinctrl-0 = <&gsbi5_uart_pins>;
+	pinctrl-names = "default";
+};
+
+&sdcc1 {
+	status = "ok";
+};
+
+&usb1_phy {
+	status = "ok";
+};
+
+&usb1 {
+	status = "ok";
+};
+
+&gadget1 {
+	status = "ok";
+};
-- 
1.9.1

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

* [PATCH 4/4] ARM: dts: Add WP8548 based MangOH Green board DTS
  2016-06-17 10:42 [PATCH 0/4] ARM: dts: Add support for the WP8548 and mangOH Board Neil Armstrong
                   ` (2 preceding siblings ...)
  2016-06-17 10:42 ` [PATCH 3/4] ARM: dts: Add Sierra Wireless WP8548 dtsi Neil Armstrong
@ 2016-06-17 10:42 ` Neil Armstrong
  2016-06-17 16:32   ` kbuild test robot
  3 siblings, 1 reply; 8+ messages in thread
From: Neil Armstrong @ 2016-06-17 10:42 UTC (permalink / raw)
  To: linux, mark.rutland
  Cc: Neil Armstrong, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

Add support for the Sierra Wireless MangOH Green board with the
Sierra Wireless WP8548 Module.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm/boot/dts/Makefile                    |   3 +-
 arch/arm/boot/dts/swi-wp8548-mangoh-green.dts | 290 ++++++++++++++++++++++++++
 2 files changed, 292 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/swi-wp8548-mangoh-green.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 06b6c2d..5c5bcaf 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -584,7 +584,8 @@ dtb-$(CONFIG_ARCH_QCOM) += \
 	qcom-ipq8064-ap148.dtb \
 	qcom-msm8660-surf.dtb \
 	qcom-msm8960-cdp.dtb \
-	qcom-msm8974-sony-xperia-honami.dtb
+	qcom-msm8974-sony-xperia-honami.dtb \
+	swi-wp8548-mangoh-green.dtb
 dtb-$(CONFIG_ARCH_REALVIEW) += \
 	arm-realview-pb1176.dtb \
 	arm-realview-pb11mp.dtb \
diff --git a/arch/arm/boot/dts/swi-wp8548-mangoh-green.dts b/arch/arm/boot/dts/swi-wp8548-mangoh-green.dts
new file mode 100644
index 0000000..a95d0e5
--- /dev/null
+++ b/arch/arm/boot/dts/swi-wp8548-mangoh-green.dts
@@ -0,0 +1,290 @@
+/*
+ * Device Tree Source for mangOH Green Board with WP8548 Module
+ *
+ * Copyright (C) 2016 BayLibre, SAS.
+ * Author : Neil Armstrong <narmstrong@baylibre.com>
+ *
+ * This file is dual-licensed: you can use it either under the terms
+ * of the GPL or the X11 license, at your option. Note that this dual
+ * licensing only applies to this file, and not this project as a
+ * whole.
+ *
+ *  a) This file is free software; you can redistribute it and/or
+ *     modify it under the terms of the GNU General Public License as
+ *     published by the Free Software Foundation; either version 2 of the
+ *     License, or (at your option) any later version.
+ *
+ *     This file is distributed in the hope that it will be useful,
+ *     but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *     GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *  b) Permission is hereby granted, free of charge, to any person
+ *     obtaining a copy of this software and associated documentation
+ *     files (the "Software"), to deal in the Software without
+ *     restriction, including without limitation the rights to use,
+ *     copy, modify, merge, publish, distribute, sublicense, and/or
+ *     sell copies of the Software, and to permit persons to whom the
+ *     Software is furnished to do so, subject to the following
+ *     conditions:
+ *
+ *     The above copyright notice and this permission notice shall be
+ *     included in all copies or substantial portions of the Software.
+ *
+ *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ *     OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#include <dt-bindings/input/input.h>
+
+#include "swi-wp8548.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+	model = "MangOH Green with WP8548 Module";
+	compatible = "swi,mangoh-green-wp8548", "swi,wp8548", "qcom,mdm9615";
+
+	aliases {
+		spi0 = &gsbi3_spi;
+		serial0 = &gsbi4_serial;
+		serial1 = &gsbi5_serial;
+		i2c0 = &gsbi5_i2c;
+		mmc0 = &sdcc1;
+	};
+
+	chosen {
+		stdout-path = "serial1:115200n8";
+	};
+};
+
+&msmgpio {
+	/* MangOH GPIO Mapping :
+	 * - 2 : GPIOEXP_INT2
+	 * - 7 : IOT1_GPIO2
+	 * - 8 : IOT0_GPIO4
+	 * - 13: IOT0_GPIO3
+	 * - 21: IOT1_GPIO4
+	 * - 22: IOT2_GPIO1
+	 * - 23: IOT2_GPIO2
+	 * - 24: IOT2_GPIO3
+	 * - 25: IOT1_GPIO1
+	 * - 32: IOT1_GPIO3
+	 * - 33: IOT0_GPIO2
+	 * - 42: IOT0_GPIO1 and SD Card Detect
+	 */
+
+	gpioext1_pins: gpioext1_pins {
+		pins {
+			pins = "gpio2";
+			function = "gpio";
+			input-enable;
+			bias-disable;
+		};
+	};
+
+	sdc_cd_pins: sdc_cd_pins {
+		pins {
+			pins = "gpio42";
+			function = "gpio";
+			drive-strength = <2>;
+			bias-pull-up;
+		};
+	};
+};
+
+&gsbi3_spi {
+	spi@0 {
+		compatible = "swi,mangoh-iotport-spi", "spidev";
+		spi-max-frequency = <24000000>;
+		reg = <0>;
+	};
+};
+
+&gsbi5_i2c {
+	mux@71 {
+		compatible = "nxp,pca9548";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <0x71>;
+
+		i2c_iot0: i2c@0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0>;
+		};
+
+		i2c_iot1: i2c@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+		};
+
+		i2c_iot2: i2c@2 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <2>;
+		};
+
+		i2c@3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <3>;
+
+			usbhub: hub@8 {
+				compatible = "smsc,usb3503a";
+				reg = <0x8>;
+				connect-gpios = <&gpioext2 1 GPIO_ACTIVE_HIGH>;
+				intn-gpios = <&gpioext2 0 GPIO_ACTIVE_LOW>;
+				initial-mode = <1>;
+			};
+		};
+
+		i2c@4 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <4>;
+
+			gpioext0: gpio@3e {
+				/* GPIO Expander 0 Mapping :
+				 * - 0: ARDUINO_RESET_Level shift
+				 * - 1: BattChrgr_PG_N
+				 * - 2: BattGauge_GPIO
+				 * - 3: LED_ON (out active high)
+				 * - 4: ATmega_reset_GPIO
+				 * - 5: X
+				 * - 6: PCM_ANALOG_SELECT (out active high)
+				 * - 7: X
+				 * - 8: Board_rev_res1 (in)
+				 * - 9: Board_rev_res2 (in)
+				 * - 10: UART_EXP1_ENn (out active low / pull-down)
+				 * - 11: UART_EXP1_IN (out pull-down)
+				 * - 12: UART_EXP2_IN (out pull-down)
+				 * - 13: SDIO_SEL (out pull-down)
+				 * - 14: SPI_EXP1_ENn (out active low / pull-down)
+				 * - 15: SPI_EXP1_IN (out pull-down)
+				 */
+				#gpio-cells = <2>;
+				#interrupt-cells = <2>;
+				compatible = "semtech,sx1509q";
+				reg = <0x3e>;
+				interrupt-parent = <&gpioext1>;
+				interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+
+				probe-reset;
+
+				gpio-controller;
+				interrupt-controller;
+			};
+		};
+
+		i2c@5 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <5>;
+
+			gpioext1: gpio@3f {
+				/* GPIO Expander 1 Mapping :
+				 * - 0: GPIOEXP_INT1
+				 * - 1: Battery detect
+				 * - 2: GPIO_SCF3_RESET
+				 * - 3: LED_CARD_DETECT_IOT0 (in)
+				 * - 4: LED_CARD_DETECT_IOT1 (in)
+				 * - 5: LED_CARD_DETECT_IOT2 (in)
+				 * - 6: UIM2_PWM_SELECT
+				 * - 7: UIM2_M2_S_SELECT
+				 * - 8: TP900
+				 * - 9: SENSOR_INT1 (in)
+				 * - 10: SENSOR_INT2 (in)
+				 * - 11: CARD_DETECT_IOT0 (in pull-up)
+				 * - 12: CARD_DETECT_IOT2 (in pull-up)
+				 * - 13: CARD_DETECT_IOT1 (in pull-up)
+				 * - 14: GPIOEXP_INT3 (in active low / pull-up)
+				 * - 15: BattChrgr_INT_N
+				 */
+				pinctrl-0 = <&gpioext1_pins>;
+				pinctrl-names = "default";
+
+				#gpio-cells = <2>;
+				#interrupt-cells = <2>;
+				compatible = "semtech,sx1509q";
+				reg = <0x3f>;
+				interrupt-parent = <&msmgpio>;
+				interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+
+				probe-reset;
+
+				gpio-controller;
+				interrupt-controller;
+			};
+		};
+
+		i2c@6 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <6>;
+
+			gpioext2: gpio@70 {
+				/* GPIO Expander 2 Mapping :
+				 * - 0: USB_HUB_INTn
+				 * - 1: HUB_CONNECT
+				 * - 2: GPIO_IOT2_RESET (out active low / pull-up)
+				 * - 3: GPIO_IOT1_RESET (out active low / pull-up)
+				 * - 4: GPIO_IOT0_RESET (out active low / pull-up)
+				 * - 5: TP901
+				 * - 6: TP902
+				 * - 7: TP903
+				 * - 8: UART_EXP2_ENn (out active low / pull-down)
+				 * - 9: PCM_EXP1_ENn (out active low)
+				 * - 10: PCM_EXP1_SEL (out)
+				 * - 11: ARD_FTDI
+				 * - 12: TP904
+				 * - 13: TP905
+				 * - 14: TP906
+				 * - 15: RS232_Enable (out active high / pull-up)
+				 */
+				#gpio-cells = <2>;
+				#interrupt-cells = <2>;
+				compatible = "semtech,sx1509q";
+				reg = <0x70>;
+				interrupt-parent = <&gpioext1>;
+				interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
+
+				pull-down-ports = <9 10>;
+				probe-reset;
+
+				gpio-controller;
+				interrupt-controller;
+			};
+		};
+
+		i2c@7 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <7>;
+		};
+	};
+};
+
+&usb2_phy {
+	status = "ok";
+};
+
+&usb2 {
+	status = "ok";
+};
+
+&sdcc1 {
+	pinctrl-0 = <&sdc_cd_pins>;
+	pinctrl-names = "default";
+	disable-wp;
+	cd-gpios = <&msmgpio 42 GPIO_ACTIVE_LOW>; /* Active low CD */
+};
-- 
1.9.1

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

* Re: [PATCH 4/4] ARM: dts: Add WP8548 based MangOH Green board DTS
  2016-06-17 10:42 ` [PATCH 4/4] ARM: dts: Add WP8548 based MangOH Green board DTS Neil Armstrong
@ 2016-06-17 16:32   ` kbuild test robot
  0 siblings, 0 replies; 8+ messages in thread
From: kbuild test robot @ 2016-06-17 16:32 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: kbuild-all, linux, mark.rutland, Neil Armstrong, devicetree,
	linux-kernel, linux-arm-kernel, linux-soc, linux-arm-msm

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

Hi,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.7-rc3 next-20160617]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Neil-Armstrong/dt-bindings-vendor-prefixes-Add-Sierra-Wireless/20160617-185152
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   In file included from arch/arm/boot/dts/swi-wp8548-mangoh-green.dts:48:0:
>> arch/arm/boot/dts/swi-wp8548.dtsi:46:29: fatal error: qcom-mdm9615.dtsi: No such file or directory
   compilation terminated.

vim +46 arch/arm/boot/dts/swi-wp8548.dtsi

bb4ea607 Neil Armstrong 2016-06-17  30   *     Software is furnished to do so, subject to the following
bb4ea607 Neil Armstrong 2016-06-17  31   *     conditions:
bb4ea607 Neil Armstrong 2016-06-17  32   *
bb4ea607 Neil Armstrong 2016-06-17  33   *     The above copyright notice and this permission notice shall be
bb4ea607 Neil Armstrong 2016-06-17  34   *     included in all copies or substantial portions of the Software.
bb4ea607 Neil Armstrong 2016-06-17  35   *
bb4ea607 Neil Armstrong 2016-06-17  36   *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
bb4ea607 Neil Armstrong 2016-06-17  37   *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
bb4ea607 Neil Armstrong 2016-06-17  38   *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
bb4ea607 Neil Armstrong 2016-06-17  39   *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
bb4ea607 Neil Armstrong 2016-06-17  40   *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
bb4ea607 Neil Armstrong 2016-06-17  41   *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
bb4ea607 Neil Armstrong 2016-06-17  42   *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
bb4ea607 Neil Armstrong 2016-06-17  43   *     OTHER DEALINGS IN THE SOFTWARE.
bb4ea607 Neil Armstrong 2016-06-17  44   */
bb4ea607 Neil Armstrong 2016-06-17  45  
bb4ea607 Neil Armstrong 2016-06-17 @46  #include "qcom-mdm9615.dtsi"
bb4ea607 Neil Armstrong 2016-06-17  47  
bb4ea607 Neil Armstrong 2016-06-17  48  / {
bb4ea607 Neil Armstrong 2016-06-17  49  	model = "Sierra Wireless WP8548 Module";
bb4ea607 Neil Armstrong 2016-06-17  50  	compatible = "swi,wp8548", "qcom,mdm9615";
bb4ea607 Neil Armstrong 2016-06-17  51  
bb4ea607 Neil Armstrong 2016-06-17  52  	memory {
bb4ea607 Neil Armstrong 2016-06-17  53  		reg = <0x48000000 0x7F00000>;
bb4ea607 Neil Armstrong 2016-06-17  54  	};

:::::: The code at line 46 was first introduced by commit
:::::: bb4ea607e58ad6fc8b4a11295a455ba2bbe9dced ARM: dts: Add Sierra Wireless WP8548 dtsi

:::::: TO: Neil Armstrong <narmstrong@baylibre.com>
:::::: CC: 0day robot <fengguang.wu@intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 37700 bytes --]

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

* Re: [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless
  2016-06-17 10:42 ` [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless Neil Armstrong
@ 2016-06-20 16:28   ` Rob Herring
  2016-06-23  9:08     ` Neil Armstrong
  0 siblings, 1 reply; 8+ messages in thread
From: Rob Herring @ 2016-06-20 16:28 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: linux, mark.rutland, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

On Fri, Jun 17, 2016 at 12:42:09PM +0200, Neil Armstrong wrote:
> Add Sierra Wireless as swi vendor prefix.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 2c2500d..45bccd2 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -250,6 +250,7 @@ st	STMicroelectronics
>  startek	Startek
>  ste	ST-Ericsson
>  stericsson	ST-Ericsson
> +swi	Sierra Wireless

Can we use the stock ticker 'swir' here.

>  syna	Synaptics Inc.
>  synology	Synology, Inc.
>  SUNW	Sun Microsystems, Inc

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

* Re: [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless
  2016-06-20 16:28   ` Rob Herring
@ 2016-06-23  9:08     ` Neil Armstrong
  0 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2016-06-23  9:08 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux, mark.rutland, devicetree, linux-kernel, linux-arm-kernel,
	linux-soc, linux-arm-msm

On 06/20/2016 06:28 PM, Rob Herring wrote:
> On Fri, Jun 17, 2016 at 12:42:09PM +0200, Neil Armstrong wrote:
>> Add Sierra Wireless as swi vendor prefix.
>>
>> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
>> ---
>>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
>> index 2c2500d..45bccd2 100644
>> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
>> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
>> @@ -250,6 +250,7 @@ st	STMicroelectronics
>>  startek	Startek
>>  ste	ST-Ericsson
>>  stericsson	ST-Ericsson
>> +swi	Sierra Wireless
> 
> Can we use the stock ticker 'swir' here.
> 
>>  syna	Synaptics Inc.
>>  synology	Synology, Inc.
>>  SUNW	Sun Microsystems, Inc

Hi Rob,

They already use a lot the "swi" prefix for all their open source platform and SDK.

It would be simpler to stick to "swi".

Neil

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

end of thread, other threads:[~2016-06-23  9:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17 10:42 [PATCH 0/4] ARM: dts: Add support for the WP8548 and mangOH Board Neil Armstrong
2016-06-17 10:42 ` [PATCH 1/4] dt-bindings: vendor-prefixes: Add Sierra Wireless Neil Armstrong
2016-06-20 16:28   ` Rob Herring
2016-06-23  9:08     ` Neil Armstrong
2016-06-17 10:42 ` [PATCH 2/4] dt-bindings: arm: Add Sierra Wireless modules bindings Neil Armstrong
2016-06-17 10:42 ` [PATCH 3/4] ARM: dts: Add Sierra Wireless WP8548 dtsi Neil Armstrong
2016-06-17 10:42 ` [PATCH 4/4] ARM: dts: Add WP8548 based MangOH Green board DTS Neil Armstrong
2016-06-17 16:32   ` kbuild test robot

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