Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1281506rdg; Fri, 11 Aug 2023 16:36:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsjmfPyULjwsRzlAU9v5lOLD/2fS3Gm7z+0baDKQWiDXQ9agyXhdi6vhkzKRK3e7U7RBwg X-Received: by 2002:a05:6808:179e:b0:3a7:215c:e3a with SMTP id bg30-20020a056808179e00b003a7215c0e3amr4796408oib.34.1691796997559; Fri, 11 Aug 2023 16:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691796997; cv=none; d=google.com; s=arc-20160816; b=c2ehwuHmuTg14Fq7V/GXtTquQAcc4DUMzchZ2CpK2KwMRJFngOUDigpEn6UQaaH5ck 7Tx7jTcTpTVJeveTPdM2r9ciLnieakLiFwUxXuNp2vIOPEkieNhvxxOF0yaCkm+mVCct mzmTtf+lKNDEXEpxcYtvfp8j/ILSp4HkGWOX+t6e+1QMRWMdZ0Xh0fONf00SnB2qdaza 4qRj6tb3PuoSN+967VN8pOIcupFy6D7D02g/50yKf7Ry86J8/xNsmkKDgx2VUkGMqaIy cxHVj2VeroLcSh7/pD0gVRgzdJqfcw/lHu1eznajV1dVgp0qImaogb3VZHKjR2mJ3lyM d8BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=y2Nj9Q+jUF3n9s0S49LEtlCnC/RPAy6q3qfdqCcyvnI=; fh=adM/iHeIiuMfhZ9My3wBB6L7MJ5HET6faNes3R77GTs=; b=rQjesFMLAfAvgrv3BopHs4AgYymFaSUXYwgFYveoLMR9LCFZ5oGGW1Fn7gdNzGfQwq Kg+WslQV0ksrKOVlPkHxgrA6ABw/Rp4Q8NeBfL+QlkeQh0MuDWtuRlgQ1/IPGn6I1NS8 lTcPAGKPrxDaWAKQ+kfPUOP4rKPJEmjkoxdSJKFNTqOHUdruTRSk0WzuzPe8svVs7dZs 0axJsEkp7huMXVg30Af2Boa8VYhn644RdNOx6WNU/fNEpWWKy574cQqHyvs4TcLtr8y2 nerJUEF+OvVbxVs2VNcHYWI8CYSXUE17GNo0hnCCMXMivN2Mw+dYfvaMI4dokOKdcic5 nodQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gXTxLTMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j190-20020a6380c7000000b00563f2ec3cb5si4134156pgd.631.2023.08.11.16.36.25; Fri, 11 Aug 2023 16:36:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gXTxLTMk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237208AbjHKXHS (ORCPT + 99 others); Fri, 11 Aug 2023 19:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237145AbjHKXG7 (ORCPT ); Fri, 11 Aug 2023 19:06:59 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82D6F3A87 for ; Fri, 11 Aug 2023 16:04:58 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4fe8c16c1b4so3860172e87.2 for ; Fri, 11 Aug 2023 16:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691795097; x=1692399897; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=y2Nj9Q+jUF3n9s0S49LEtlCnC/RPAy6q3qfdqCcyvnI=; b=gXTxLTMkSo+G6VHKHlbSBxKEdzy4tQFT8TFJCpSgz83Jng9MC7HESHF/w/UbawCErs VvFm0lrK8DeOvEngrrryJITKNcXdBB7hnWSMyy1d2CfRtN8AAYVSU79JSet1eJFLC1AH LsScZv3IxO//BhfT21Pe6lkFHiQ1ZIAqH/RSGx7xZOp7KfBqmQriTX07Pn+Dqn2AwQGb 5E3VzMY8Zcb6FnaxgqyWi80wHwQw5PBJVff3/bZC+AGDvmcLEqHLqui/AsItahYdciQD Dhxp1uSl7XGOaX0pjxQL2srUHsbLX4mXqsxKwPQ9csykUihd9Snfd4QU9W+TyV/iY7yc ChZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691795097; x=1692399897; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y2Nj9Q+jUF3n9s0S49LEtlCnC/RPAy6q3qfdqCcyvnI=; b=VcgKq5uS6/sE/5v17sfopSWTiJ1V+SNESb2ALmCusSpIxiP81FelrXvQshtK5fByrk FD9L1himCiudbE9sbvrr7b24zOFU2w9AthzdExjY0pkwNoGk/uGxchTbew7r2id8DJ9T eOp15z7wDH76L6X3+DMguHd13MN8giATQT0FYsbgYHEwMfv4pW5ABR+61SNUCXvvfRaE fZQ1AcoNQkzud+xspT2u5SUPqNZ6I14XikUjDDZI0Ijf9PRa+Lt0YKXshu6a2ez5npdQ lFyX+6ocVZSWrr2stUgjdTzPAZYnwrlIoTKm29cqPy8tbY+aS05IediRHl7zhUTumKSf iNUA== X-Gm-Message-State: AOJu0YxmzvhgQKMlTBcZQ6ISEzgv+t/qbHh9J6f7mp3/xPWGNGxaP5H5 YHHOxtIE7ogOr8AAV5OW9cfoJQ== X-Received: by 2002:a05:6512:15a6:b0:4fd:bd94:e6cb with SMTP id bp38-20020a05651215a600b004fdbd94e6cbmr2838951lfb.35.1691795096697; Fri, 11 Aug 2023 16:04:56 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id c26-20020a19761a000000b004fe3512e26dsm884105lff.291.2023.08.11.16.04.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Aug 2023 16:04:56 -0700 (PDT) Message-ID: Date: Sat, 12 Aug 2023 01:04:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 7/7] ARM: dts: qcom: add device tree for Nokia Lumia 830 Content-Language: en-US To: Rayyan Ansari , linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, Dominik Kobinski , Ivaylo Ivanov , Jack Matthews , Andy Gross , Bjorn Andersson , Conor Dooley , devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org, Rob Herring References: <20230811213728.23726-1-rayyan@ansari.sh> <20230811213728.23726-8-rayyan@ansari.sh> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HG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uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20230811213728.23726-8-rayyan@ansari.sh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11.08.2023 23:35, Rayyan Ansari wrote: > 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>; flip Konrad > + > + #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 = ; > + }; > +};