All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/5] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone
@ 2017-10-11 11:02 Luca Weiss
  2017-10-11 11:02 ` [PATCH v2 2/5] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes Luca Weiss
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Luca Weiss @ 2017-10-11 11:02 UTC (permalink / raw)
  To: linux-arm-msm; +Cc: Luca Weiss

This DTS has support for the Fairphone 2 (codenamed FP2).
This first version of the DTS supports just the serial console via the MSM UART
pins.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 .../devicetree/bindings/vendor-prefixes.txt        |  1 +
 arch/arm/boot/dts/Makefile                         |  1 +
 arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts   | 22 ++++++++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 69183f0fbc78..d5e423cad16a 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -113,6 +113,7 @@ everspin	Everspin Technologies, Inc.
 exar	Exar Corporation
 excito	Excito
 ezchip	EZchip Semiconductor
+fairphone	Fairphone B.V.
 faraday	Faraday Technology Corporation
 fcs	Fairchild Semiconductor
 firefly	Firefly
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index faf46abaa4a2..549afb6ed13c 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -700,6 +700,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
 	qcom-ipq8064-ap148.dtb \
 	qcom-msm8660-surf.dtb \
 	qcom-msm8960-cdp.dtb \
+	qcom-msm8974-fairphone-fp2.dtb \
 	qcom-msm8974-lge-nexus5-hammerhead.dtb \
 	qcom-msm8974-sony-xperia-honami.dtb \
 	qcom-mdm9615-wp8548-mangoh-green.dtb
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
new file mode 100644
index 000000000000..79a5aa8b856a
--- /dev/null
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -0,0 +1,22 @@
+#include "qcom-msm8974.dtsi"
+#include "qcom-pm8841.dtsi"
+#include "qcom-pm8941.dtsi"
+
+/ {
+	model = "Fairphone 2";
+	compatible = "fairphone,fp2", "qcom,msm8974";
+
+	aliases {
+		serial0 = &blsp1_uart2;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&soc {
+	serial@f991e000 {
+		status = "ok";
+	};
+};
-- 
2.14.2

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* Re: [PATCH v2 2/5] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes
@ 2017-10-11 17:17 Rishi Bhattacharya
  0 siblings, 0 replies; 11+ messages in thread
From: Rishi Bhattacharya @ 2017-10-11 17:17 UTC (permalink / raw)
  To: Luca Weiss; +Cc: linux-arm-msm@vger.kernel.org



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

end of thread, other threads:[~2017-10-11 17:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 11:02 [PATCH v2 1/5] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Luca Weiss
2017-10-11 11:02 ` [PATCH v2 2/5] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes Luca Weiss
2017-10-11 17:12   ` Bjorn Andersson
2017-10-11 11:02 ` [PATCH v2 3/5] ARM: dts: msm8974-FP2: Add regulator nodes for FP2 Luca Weiss
2017-10-11 17:20   ` Bjorn Andersson
2017-10-11 11:02 ` [PATCH v2 4/5] ARM: dts: msm8974-FP2: Add sdhci1 node Luca Weiss
2017-10-11 17:20   ` Bjorn Andersson
2017-10-11 11:02 ` [PATCH v2 5/5] ARM: dts: msm8974-FP2: Add USB node Luca Weiss
2017-10-11 17:21   ` Bjorn Andersson
2017-10-11 17:11 ` [PATCH v2 1/5] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Bjorn Andersson
  -- strict thread matches above, loose matches on Subject: below --
2017-10-11 17:17 [PATCH v2 2/5] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes Rishi Bhattacharya

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.