From patchwork Fri Aug 11 21:35:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 712946 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23B74C05052 for ; Fri, 11 Aug 2023 21:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237040AbjHKVoW (ORCPT ); Fri, 11 Aug 2023 17:44:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233713AbjHKVoU (ORCPT ); Fri, 11 Aug 2023 17:44:20 -0400 Received: from out-64.mta0.migadu.com (out-64.mta0.migadu.com [IPv6:2001:41d0:1004:224b::40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 631BA30CD for ; Fri, 11 Aug 2023 14:44:17 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1691789889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RoNMB1AGdAqOSSsaEsJB8ba51EXHJnG0OfEBx58fsNI=; b=GCaFEHpNq9ixasH0GRWwEIns6jus/IVUO2CkK8Z4La5hA6rxpCd0Gu69oSkRo2CVKpSeaM 86ZQgYQrw5NMHqp8cGVdQGBRg2K3mrsQ4i5BfY199wK96us8m/0woYO3Ne8eFax574W3Wu +DMQQq3bi6+jlYiwOXKQZuS3gUvebc8= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Dominik Kobinski , Ivaylo Ivanov , Jack Matthews , Andy Gross , Bjorn Andersson , Conor Dooley , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 3/7] ARM: dts: qcom: add device tree for Nokia Lumia 630 Date: Fri, 11 Aug 2023 22:35:20 +0100 Message-ID: <20230811213728.23726-4-rayyan@ansari.sh> In-Reply-To: <20230811213728.23726-1-rayyan@ansari.sh> References: <20230811213728.23726-1-rayyan@ansari.sh> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add an initial device tree for the Nokia Lumia 630, codenamed "moneypenny". Co-authored-by: Dominik Kobinski Co-authored-by: Ivaylo Ivanov Co-authored-by: Jack Matthews Signed-off-by: Dominik Kobinski Signed-off-by: Ivaylo Ivanov Signed-off-by: Jack Matthews Signed-off-by: Rayyan Ansari --- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-msm8226-microsoft-moneypenny.dts | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index 3dfb1c8cefb8..b2569059ce8d 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq4019-ap.dk07.1-c2.dtb \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ + qcom-msm8226-microsoft-moneypenny.dtb \ qcom-msm8226-samsung-s3ve3g.dtb \ qcom-msm8660-surf.dtb \ qcom-msm8916-samsung-e5.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts new file mode 100644 index 000000000000..e13e018a6759 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews + * Copyright (c) 2023, Ivaylo Ivanov + * Copyright (c) 2023, Dominik Kobinski + * Copyright (c) 2023, Rayyan Ansari + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Nokia Lumia 630"; + compatible = "microsoft,moneypenny", "qcom,msm8226"; + chassis-type = "handset"; +}; + +&framebuffer0 { + width = <480>; + height = <854>; + stride = <(480 * 4)>; +}; From patchwork Fri Aug 11 21:35:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 712947 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B209C05051 for ; Fri, 11 Aug 2023 21:44:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237015AbjHKVoU (ORCPT ); Fri, 11 Aug 2023 17:44:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236752AbjHKVoT (ORCPT ); Fri, 11 Aug 2023 17:44:19 -0400 Received: from out-84.mta0.migadu.com (out-84.mta0.migadu.com [91.218.175.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6246273E; Fri, 11 Aug 2023 14:44:17 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1691789897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nyF/lboeJE54urgZ4vdHVyQmN8/53x9FpaSOj0w/O0o=; b=FicWzmX2AKi92cmP0wGogygW4dKu2nQbKklDpeBy+QFZgjS3tp3icKjgfOqyWPzs4gXYAM W3f8Xo5LE5qF6BIlyjifDHJlYqafAWwOp9rqvSmPNzBbUeP2c4VUxLrVbNwzKvBiqTHpzf ShTnFuIGiJrcfu5eHMsZh9h2ieOZZ0A= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Dominik Kobinski , Ivaylo Ivanov , Jack Matthews , Andy Gross , Bjorn Andersson , Conor Dooley , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 4/7] ARM: dts: qcom: add device tree for Microsoft Lumia 640 Date: Fri, 11 Aug 2023 22:35:21 +0100 Message-ID: <20230811213728.23726-5-rayyan@ansari.sh> In-Reply-To: <20230811213728.23726-1-rayyan@ansari.sh> References: <20230811213728.23726-1-rayyan@ansari.sh> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add an initial device tree for the Microsoft Lumia 640, codenamed "dempsey". Co-authored-by: Dominik Kobinski Co-authored-by: Ivaylo Ivanov Co-authored-by: Jack Matthews Signed-off-by: Dominik Kobinski Signed-off-by: Ivaylo Ivanov Signed-off-by: Jack Matthews Signed-off-by: Rayyan Ansari --- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8226-microsoft-dempsey.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index b2569059ce8d..13896c6974f6 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq4019-ap.dk07.1-c2.dtb \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ + qcom-msm8226-microsoft-dempsey.dtb \ qcom-msm8226-microsoft-moneypenny.dtb \ qcom-msm8226-samsung-s3ve3g.dtb \ qcom-msm8660-surf.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts new file mode 100644 index 000000000000..2c664b5934ec --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews + * Copyright (c) 2023, Ivaylo Ivanov + * Copyright (c) 2023, Dominik Kobinski + * Copyright (c) 2023, Rayyan Ansari + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Microsoft Lumia 640"; + compatible = "microsoft,dempsey", "qcom,msm8226"; + chassis-type = "handset"; +}; From patchwork Fri Aug 11 21:35:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 712948 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61CA1C04A6A for ; Fri, 11 Aug 2023 21:44:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236568AbjHKVoT (ORCPT ); Fri, 11 Aug 2023 17:44:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234550AbjHKVoS (ORCPT ); Fri, 11 Aug 2023 17:44:18 -0400 Received: from out-103.mta0.migadu.com (out-103.mta0.migadu.com [91.218.175.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9720271E for ; Fri, 11 Aug 2023 14:44:17 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1691789905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hpx4P9CkloCM1IMY56xcYzUyU8Bludp8fIdtxxiNtV8=; b=NaGZJSiM+ST9QdkEj2YlnMxzEr+dgfZk2X88vG7/TXMQDGYViFpXoHGKs4lm3RJqiA+d9d O0J95th/82WNiJJzpS4Y9jqidaiIr76uqTGWqXBLN5JvdvKNcHMqsxL0TRw9DCdvdw79R/ mAuXuZFQqQwTQnCwcMCoWgFRPhejR14= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Dominik Kobinski , Ivaylo Ivanov , Jack Matthews , Andy Gross , Bjorn Andersson , Conor Dooley , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 5/7] ARM: dts: qcom: add device tree for Microsoft Lumia 640 XL Date: Fri, 11 Aug 2023 22:35:22 +0100 Message-ID: <20230811213728.23726-6-rayyan@ansari.sh> In-Reply-To: <20230811213728.23726-1-rayyan@ansari.sh> References: <20230811213728.23726-1-rayyan@ansari.sh> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add an initial device tree for the Microsoft Lumia 640 XL, codenamed "makepeace". Co-authored-by: Dominik Kobinski Co-authored-by: Ivaylo Ivanov Co-authored-by: Jack Matthews Signed-off-by: Dominik Kobinski Signed-off-by: Ivaylo Ivanov Signed-off-by: Jack Matthews Signed-off-by: Rayyan Ansari --- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom/qcom-msm8226-microsoft-makepeace.dts | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index 13896c6974f6..487e0a5987ce 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -24,6 +24,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-ipq8064-ap148.dtb \ qcom-ipq8064-rb3011.dtb \ qcom-msm8226-microsoft-dempsey.dtb \ + qcom-msm8226-microsoft-makepeace.dtb \ qcom-msm8226-microsoft-moneypenny.dtb \ qcom-msm8226-samsung-s3ve3g.dtb \ qcom-msm8660-surf.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts new file mode 100644 index 000000000000..731c5c375678 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews + * Copyright (c) 2023, Ivaylo Ivanov + * Copyright (c) 2023, Dominik Kobinski + * Copyright (c) 2023, Rayyan Ansari + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Microsoft Lumia 640 XL"; + compatible = "microsoft,makepeace", "qcom,msm8226"; + chassis-type = "handset"; +}; From patchwork Fri Aug 11 21:35:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayyan Ansari X-Patchwork-Id: 712945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9F3DC07E8C for ; Fri, 11 Aug 2023 21:44:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236518AbjHKVoW (ORCPT ); Fri, 11 Aug 2023 17:44:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236959AbjHKVoU (ORCPT ); Fri, 11 Aug 2023 17:44:20 -0400 Received: from out-70.mta0.migadu.com (out-70.mta0.migadu.com [IPv6:2001:41d0:1004:224b::46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48C2630C1 for ; Fri, 11 Aug 2023 14:44:17 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ansari.sh; s=key1; t=1691789922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vdd62v8dXhwsWh4srU8BglrgORCo4Dhz1/s8VjQWwbA=; b=TmNu6WIrE4wCQ7fCoDhIU2Oy5yLuAwDcQr/SF8h+CTaj5UyR+XE6nlpOFOubJhuCylVN67 0yVMuM3wVj8uW9KIiOqcLk1LgrkZ0biqcpcANZNDBT6irrvH6kgWOQ97Zg2UXMEVcvUzHE YMMpC4gcfgsq+hkUKAeZ325Wr2/glUI= From: Rayyan Ansari To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Rayyan Ansari , Dominik Kobinski , Ivaylo Ivanov , Jack Matthews , Andy Gross , Bjorn Andersson , Conor Dooley , devicetree@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH 7/7] ARM: dts: qcom: add device tree for Nokia Lumia 830 Date: Fri, 11 Aug 2023 22:35:24 +0100 Message-ID: <20230811213728.23726-8-rayyan@ansari.sh> In-Reply-To: <20230811213728.23726-1-rayyan@ansari.sh> References: <20230811213728.23726-1-rayyan@ansari.sh> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add an initial device tree for the Nokia Lumia 830, codenamed "tesla". Co-authored-by: Dominik Kobinski Co-authored-by: Ivaylo Ivanov Co-authored-by: Jack Matthews Signed-off-by: Dominik Kobinski Signed-off-by: Ivaylo Ivanov Signed-off-by: Jack Matthews Signed-off-by: Rayyan Ansari --- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8926-microsoft-tesla.dts | 66 +++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index 7982620ec9f9..a3d293e40820 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -33,6 +33,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-serranove.dtb \ qcom-msm8926-microsoft-superman-lte.dtb \ + qcom-msm8926-microsoft-tesla.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts b/arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts new file mode 100644 index 000000000000..5a4f4687b895 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8926-microsoft-tesla.dts @@ -0,0 +1,66 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews + * Copyright (c) 2023, Ivaylo Ivanov + * Copyright (c) 2023, Dominik Kobinski + * Copyright (c) 2023, Rayyan Ansari + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Nokia Lumia 830"; + compatible = "microsoft,tesla", "qcom,msm8926"; + chassis-type = "handset"; +}; + +&blsp1_i2c1 { + status = "okay"; + + touchscreen@4b { + compatible = "syna,rmi4-i2c"; + reg = <0x4b>; + + interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; + vdd-supply = <&pm8226_l15>; + vio-supply = <&pm8226_l6>; + + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_on>; + + #address-cells = <1>; + #size-cells = <0>; + + rmi4-f01@1 { + reg = <0x01>; + syna,nosleep-mode = <1>; + }; + + rmi4-f12@12 { + reg = <0x12>; + syna,sensor-type = <1>; + }; + }; +}; + +&blsp1_i2c5 { + status = "disabled"; + + /delete-node/ touchscreen@4b; +}; + +&gpio_keys { + camera-snapshot { + label = "Camera Snapshot"; + gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; + linux,code = ; + }; + + camera-focus { + label = "Camera Focus"; + gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; + linux,code = ; + }; +};