Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1656185rwe; Sat, 15 Apr 2023 03:43:15 -0700 (PDT) X-Google-Smtp-Source: AKy350bwS+pIdCc7gJF4MCsGtFgl5MTicIWNMyXCoW12tNViNIj1aDEV/1ueEyCWrXL7lJlao+EL X-Received: by 2002:a17:902:c949:b0:1a6:87d8:b8fd with SMTP id i9-20020a170902c94900b001a687d8b8fdmr7445283pla.5.1681555395182; Sat, 15 Apr 2023 03:43:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681555395; cv=none; d=google.com; s=arc-20160816; b=MH9aK3XZKGRoZGopnv07uldGshVsx3VocdsT284l6MeeubtVu28mm+7ksr1uJa1Yw9 fYLhwYWcGtreYcnO4mKidUTxsYcMMLB9tFFtiwDpCuAxTVHcICCdFLXW9S810Vf1iXqZ XGCwsdFelb2e8K4207R0IsYC6kt5pbecpQ7a3S+Y5oxBDVb4Lj4YJHt7a2mlfA4B4vPH IUElY4degOY+rtUfLX0hE+r/r6tfqVJ+miokgbwDBU8jdminGxyGp17iwWy/XrILwLv1 djJDPZlkO06eEcBkHGbO6Gk8ESCHVmDnmrfOxGEBv006654voxYNYqyFnTJEnN4n3nTL baUA== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=0OE0tiBedvvvMl7tGzJDJSOxX+DvzTjuV5LZpnvcNSA=; b=EJBGMfT5rai2T5JAwpJDCn3BSflPedu5SoM6wC6EQ0Su28rhnQ0Wj2dZl/s5xsURSF 0PtANHzWgZXJi+/xwodvTTpujB7eRSY/zWgZ+K4AsJxFQA6w3jKosP7VDumlpNO37e0Y KK9Z3csCwWUzfrKGUVDI7All2ElHJxGvCH/tlcn8S88n8Pp/KzeaQe6u+pDcQC7EVw7F xYQfzy/TZhcMEYmQwKTbmxsqhj/2m2WiCefcl/8uGPgOspjKtGKiUegv87iEkEAzXCcX OpHKyQHVb6G2Pc3m7zaliayIT3LsIskqBhgFYzmJS5tQgQedzuWnUdKUDqQahYZQAJu3 5Vyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BTN6+yht; 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 p3-20020a170902bd0300b00192bac60af2si6423970pls.473.2023.04.15.03.43.04; Sat, 15 Apr 2023 03:43:15 -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=BTN6+yht; 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 S230034AbjDOKmD (ORCPT + 99 others); Sat, 15 Apr 2023 06:42:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230070AbjDOKlu (ORCPT ); Sat, 15 Apr 2023 06:41:50 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5857A93D1 for ; Sat, 15 Apr 2023 03:41:36 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2a8ba5f1d6bso1546501fa.2 for ; Sat, 15 Apr 2023 03:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681555294; x=1684147294; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=0OE0tiBedvvvMl7tGzJDJSOxX+DvzTjuV5LZpnvcNSA=; b=BTN6+yhtvhXDPIzJuF1zJSeIWVBMAs90iKQ6yQz0rBheHMw/XHG536+/6Fij0xIJHF iwsJhezVlfZ+NUj4X0IrOtddXKlTIEGtKAdnGJvv4xNfXaKOYdrgbTwPy/WkRT/bExG7 gBHBcAPOL/BVFvq8Lvfe1xQ6kqAW8JiGxac3GddmiTBgdvfex85w3ewzLEC+qNl1HMOW lTDjJs9SfKkCXpoeZx6cKHaFukaVfW17p4dH+MXW60sSLa1bXT1z8zrp8EFeXZkAcelt jnYJbOOKXKrwJonOjgLOxF3ZS6Paxl/uC1UKpqC5Kr/O3hFuC8/j4Fey6Y0C0wjIVeqa 60sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681555294; x=1684147294; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0OE0tiBedvvvMl7tGzJDJSOxX+DvzTjuV5LZpnvcNSA=; b=OTSl32rx1U0NXwMUk/4rli+UaWZTmf47qx3nz1hGCHc/Fq/+xsmAkgcdsqTrVpsS0f sZVWMbrXd1pnxZVIW/MnbfFw4mNGXOavqdFTQJw+GeYi6L2xyPKFLdk7r0J8SAOWOD6p wdQyXoPSfm6UBxLQv1r5yMkpfYnKkX6UCO3n+kIKh2hYcLO+FlCJXkZH7nCWTveMGy7f RMBCO6jZA4DE5QmizcGvZPGekO+vY0YYSHe/fScc1wmwL+CozeQmjmGqzppu0+2FzjSC ozIp3c2NsiYcId4Rwq9csUritGABYK29iEPGB4zeEAMBA4sPeaZl0uTCoccS+vXwpXI8 GhtQ== X-Gm-Message-State: AAQBX9eCVnsFLgJz6ugBDRt8yFbqtinD2qY8SeWm4dV4TZ0QpYDNHezm QYPW402xns9LnLz9qnTrFxqZuQ== X-Received: by 2002:ac2:5633:0:b0:4ec:8853:136 with SMTP id b19-20020ac25633000000b004ec88530136mr405409lff.12.1681555294309; Sat, 15 Apr 2023 03:41:34 -0700 (PDT) Received: from [192.168.1.101] (abyk99.neoplus.adsl.tpnet.pl. [83.9.30.99]) by smtp.gmail.com with ESMTPSA id s21-20020a2e2c15000000b002a76e690aa9sm1266974ljs.73.2023.04.15.03.41.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Apr 2023 03:41:33 -0700 (PDT) Message-ID: <1125104e-802a-b582-e279-fd4e9dd1bf97@linaro.org> Date: Sat, 15 Apr 2023 12:41:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v3 3/5] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: add touchscreen related nodes To: Joel Selvaraj , Caleb Connolly , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Henrik Rydberg , Arnd Bergmann , Robert Jarzmik , Jeff LaBundy , Markuss Broks , Jean Delvare , Max Krummenacher , Chris Morgan , Job Noorman , Alistair Francis , Hans de Goede , Maxime Ripard Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20230415020222.216232-1-joelselvaraj.oss@gmail.com> <20230415020222.216232-4-joelselvaraj.oss@gmail.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20230415020222.216232-4-joelselvaraj.oss@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 15.04.2023 04:02, Joel Selvaraj wrote: > Enable qupv3_id_1 and gpi_dma1 as they are required for configuring > touchscreen. Also add pinctrl configurations needed for touchscreen. > These are common for both the tianma and ebbg touchscreen variant. > In the subsequent patch, we will initially enable support for the focaltech > touchscreen used in the EBBG variant. This is done in preparation for that. > > Signed-off-by: Joel Selvaraj > --- Bit weird to add everything except the touchscreen, but okay.. Reviewed-by: Konrad Dybcio Konrad > .../qcom/sdm845-xiaomi-beryllium-common.dtsi | 37 +++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi > index 5ed975cc6ecb..b34ba46080ce 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi > @@ -268,6 +268,10 @@ &gmu { > status = "okay"; > }; > > +&gpi_dma1 { > + status = "okay"; > +}; > + > &gpu { > status = "okay"; > > @@ -376,6 +380,10 @@ &qupv3_id_0 { > status = "okay"; > }; > > +&qupv3_id_1 { > + status = "okay"; > +}; > + > &sdhc_2 { > status = "okay"; > > @@ -481,6 +489,35 @@ sdc2_card_det_n: sd-card-det-n-state { > function = "gpio"; > bias-pull-up; > }; > + > + ts_int_default: ts-int-default-state { > + pins = "gpio31"; > + function = "gpio"; > + drive-strength = <16>; > + bias-pull-down; > + }; > + > + ts_reset_default: ts-reset-default-state { > + pins = "gpio32"; > + function = "gpio"; > + drive-strength = <16>; > + output-high; > + }; > + > + ts_int_sleep: ts-int-sleep-state { > + pins = "gpio31"; > + function = "gpio"; > + drive-strength = <2>; > + bias-pull-down; > + }; > + > + ts_reset_sleep: ts-reset-sleep-state { > + pins = "gpio32"; > + function = "gpio"; > + drive-strength = <2>; > + bias-disable; > + output-low; > + }; > }; > > &uart6 {