From patchwork Tue Jan 30 20:27:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Bambura X-Patchwork-Id: 194313 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1478836dyb; Tue, 30 Jan 2024 12:29:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5elGqIOL+3giAMBaSjVNlZ3jb/xJ/Nkxd11d7a0GHR/F0kg4OMak9A2o/dLS7RqjLvS9b X-Received: by 2002:a17:906:490e:b0:a36:4d6c:f85c with SMTP id b14-20020a170906490e00b00a364d6cf85cmr1055392ejq.16.1706646567169; Tue, 30 Jan 2024 12:29:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706646567; cv=pass; d=google.com; s=arc-20160816; b=nQy+OR4VrxaDhNDbksoKkxbH62r3dSTLgrPQo6chgfFLjNw9gPCzb8OV5WKZnvfCmY hjYa/0xtRI+dIYttYn6QMLxFRJMCGm4pXT26bqFxbRKL0dRs2NqfXAv31miLG7LF/yqw ntVK8bRkoeQK5tcEAqkuEJuYVIJAKaXu8IJ8+vUWAU7GOFoAZxCkZpY3TLo/zbqG1JJy KiBqHi+iqZXFqR/MEKVV3iTwPnFMK/LrJP/ep02MvGmVbEExHihPzXIt5r3NovRNzg8X mAqcRgGYv6PqL68XBkDrLozDKxH7OD+rRWm9zMrFYFUWhrO52TFa5e1zJ4QLoOL9IXSJ ocag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wjiLWD5T1UoAqkaS2+4BefM1F9H7t48Ue5JQPbUSApw=; fh=yHNpTrv0SZJ2XU+WpXbtPslZbkxqKeXVGLKv7+wcvTY=; b=Wky2gjU/ewVrkQJdnw/+w3iDsV6iE/gsrLZIZ1Xy9lrHmeqYlon8/Uk/4klsXB5FIm iUbvP04Grd2pJTiC/5YcCVS8YoclHUAUa6UJppMfiHrX9/Yww/mySe7us2NrDb8dId90 QBOBEcIWYbFD01DMrmQ5sTfCu+ruuIFlBEPmksSSVbD0E3k/3h0h3ZXQbnHDoc2xux+a ifIlwOYsVx1LvL2+AugYff5oY0t8Jrdn+1merweyg37HjT1aKKwkqUmqw/d/7nVQiLvn Qwza1e96ICl7+Klj0YAr99ybUZENVdjuhLo1CQJ3URi33lT5taEJkOwhH1FCmzO7SZVd +yfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=ii+Kiv4W; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p6-20020a170906b20600b00a35a793ef5bsi2375890ejz.524.2024.01.30.12.29.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:29:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=ii+Kiv4W; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45261-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45261-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C41EA1F261F5 for ; Tue, 30 Jan 2024 20:29:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F20027AE78; Tue, 30 Jan 2024 20:28:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="ii+Kiv4W" Received: from out-176.mta0.migadu.com (out-176.mta0.migadu.com [91.218.175.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCDA9762C0 for ; Tue, 30 Jan 2024 20:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646487; cv=none; b=IgsQr+b6Hs+EbU7vUFHmIonE3TaXBKes6HiZIYJerVoVoh2glupXAzfBWFW3e2wGleVsJ8v1R9PMZ4/F17uaMQtahjqaOQ5W6KchHKk977cj10eLT6SGrLIhNunJdq4n4GmlPkjKD61+uChQcP4hKIPN2mzJcjp1WpVC5sYE4Tw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646487; c=relaxed/simple; bh=vADWw5yytIupWyFxk9xl9zmpgN2AJHIwEv3Q10yQ3iI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t9qmba7OJ1IkMTfXaeSwBjIoIlqKS9CPcZZGivbSmwCTmPkT7AwIoTr0iadPJaMorOAg557sUk41h9Iu0l/TyMBA4mDOVMV4uHzBJVVaoYD8+Cx0rWb0bbgeEMKbIoe9vMuTxWTPi/HAV7kvhdX2RIUwX1XhnZpB0PlqoB5pt3U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=ii+Kiv4W; arc=none smtp.client-ip=91.218.175.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org 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=postmarketos.org; s=key1; t=1706646482; 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=wjiLWD5T1UoAqkaS2+4BefM1F9H7t48Ue5JQPbUSApw=; b=ii+Kiv4WgjKMAEzoLVwMnhv9WY04kJok21Epp6ok787bN+gJsiMPK8np9zLyvlgfsdvDUI ugN33yiXT/ZHVH8/vWKYOfBkwmDMzhjb/Bmh9wQY/mXSIiudIwXk24Tm/p5zsTx58i/Lwz vptYh4BstCA8EoWod8URYBT68WUjNE/WdySRYZhlkeKnQPKGYtqPO+R/KKn7YH/I8Ba+es P6cN32qzmO52VUaJkjJNyRzii9G3FbICdJQ4CdvC87/WaSusEddEzxB4bHhAB19Id1pBXm wvnsvjkK8KzwJ3BaK+S22OC0cpbqmIGpsdmWZFmJ2EqCSGrWHUABMSUPjEbPwQ== From: Anton Bambura To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 1/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: fix GPU firmware path Date: Tue, 30 Jan 2024 22:27:51 +0200 Message-ID: <20240130202755.2289952-2-jenneron@postmarketos.org> In-Reply-To: <20240130202755.2289952-1-jenneron@postmarketos.org> References: <20240130202755.2289952-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789548630805778636 X-GMAIL-MSGID: 1789548630805778636 Fix GPU firmware path so it uses model-specific directory. Signed-off-by: Anton Bambura Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 0c22f3efec20..49b740c54674 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -350,7 +350,7 @@ &gpu { zap-shader { memory-region = <&gpu_mem>; - firmware-name = "qcom/sc8180x/qcdxkmsuc8180.mbn"; + firmware-name = "qcom/sc8180x/LENOVO/82AK/qcdxkmsuc8180.mbn"; }; }; From patchwork Tue Jan 30 20:27:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Bambura X-Patchwork-Id: 194315 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1481842dyb; Tue, 30 Jan 2024 12:35:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKG7q9kn6jH/9kKMhjqKkMZybrcx1tQujp3/m+nQSYoch/BIfidBZoKND+JwOC1aQyO7nv X-Received: by 2002:a25:6dc4:0:b0:dc2:3b04:d7d0 with SMTP id i187-20020a256dc4000000b00dc23b04d7d0mr4849130ybc.7.1706646933150; Tue, 30 Jan 2024 12:35:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706646933; cv=pass; d=google.com; s=arc-20160816; b=uuxcpxD7XOcNEsTpKGekHnfOGrVqlBmTuwUwqakDIEVcHTyFx21J/z6ijPfz679T0j arSAS1Lx7FKYG9U9ghMc8SLLdkZ3Tgd/6pefRhZ5JwJzYEfFf9WBVX1AmEQLhZtsbDag aLmanR6HyA+5jfG1VOGcqSKn2MHNnX2Xt5mwtCf2cyGTJlTaMikYmxlwAhjHV6/ysFdw nO23GNPwipyOmknHdCb+Q1wSYNfRHvGHXRQfAGZXiX3p9HxebwNaTCyAPrh3vvsG8iTs lX/3SlpG5LXhqGDq7fm0CiVRn8QleBbeEHq3rDQXaqtAdoMYNQlzOqUEFSnzH+ilrZqw GPRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WieXiP6jVeaikwGFs5GYfcOQ5pozF8PL5Bu9LGVOFGQ=; fh=yHNpTrv0SZJ2XU+WpXbtPslZbkxqKeXVGLKv7+wcvTY=; b=CtmXkBgw1Gje7MVf3Uw3iROQ3SiQsBsEadTGRMV33mJc3xT1j3Ke4P0wmo2AbO12k/ dwbHodpuem/7tetS2i6Wlpvk7GBNnYEsAlx0lVI63WFdXlwxOBt6NQyystdt1qRBReFm pqs28i7KUZXNlV4dE583yFhWUYkdTCHEPNgKtjzDUz5I42Mud4Ioh0gzQyeI6/CwH631 Ow2xV+VlbU01gKCEEyFy2dm0rZtaQ8RrTqIZbBbfdWx0VBls4rLD2F1AEUgWbyneOsFm np0Mr+Tjdp7XJcJgJjyMRex71sBhMPYUYdEjKRXt/IGKM7GIMEGIffPFmu6IlwHqFUCB y+7Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=S4iB3nDX; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45262-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45262-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j23-20020ae9c217000000b007830ac5d3f0si10899226qkg.438.2024.01.30.12.35.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:35:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45262-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=S4iB3nDX; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45262-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45262-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id C55B81C24BF7 for ; Tue, 30 Jan 2024 20:29:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57131128388; Tue, 30 Jan 2024 20:28:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="S4iB3nDX" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16A9C762D6 for ; Tue, 30 Jan 2024 20:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646487; cv=none; b=frQYZPiA0dcK6EE1V6ztUwWx7izbBQYSQNP5/c1OtOZHPdJvk165gb4qXB4YrB5HgLGSpDe2BZYi7L167rULidvrbSLaudVd5iIe5IkBoJmqw/EB2zVPeU3rKbe/G7cvtTlWNlMJ64n40PbVxSPKM/nkv21Krwlh5jgkYtd9FG8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646487; c=relaxed/simple; bh=Q7ic03v6VHuiP/aRPG6jSBwO/tENYk51lrKm6ckZSQs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gIKNMEfkhvjt/xxp5UYwPTVxAmZd/Wo+CsT7jXNqUL/TxJFPCit6jkEyZcFule9uGJx5LAuTbslgGtEUm7iMwQaTA9R2DNrzZmvuXCy3sjwPVUHmqKAD2PfCgJJiRM8JeWMAK7mipXOkjy3dxxCv5b99yAGktmqNcgoQXdwHVDM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=S4iB3nDX; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org 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=postmarketos.org; s=key1; t=1706646483; 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=WieXiP6jVeaikwGFs5GYfcOQ5pozF8PL5Bu9LGVOFGQ=; b=S4iB3nDXplv8yBGTkl/ieJySLopMfXUX0msq0il16ZJVQv5RQzfR4eDyY2Jcst4jWNVE/e 5RSRbmO6gzNDGbZnlkILPWjOmNRkrQRfGFfFwI+zW+HkWn+4GVksEgtnIfEqzxfpXeSmU/ HexPxAqUo51R+GJnRztzSqlu4V7DZBx6LI0765Ysdlgm7icgI9iKKzAGx21popa6qCCbAl Ay7CoSdScO9tvxOJ5P9egTW9Ee9GWyis+iYCkdPkd836QtOgwGovTS5R9rdC7PhKrb0ebQ y0VzbVOnG07tYMGPRYsfaQsxuBioCPidXl0Q6++Hd+qndRdxqjzBNpfheX7RVA== From: Anton Bambura To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: set names for i2c hid nodes Date: Tue, 30 Jan 2024 22:27:52 +0200 Message-ID: <20240130202755.2289952-3-jenneron@postmarketos.org> In-Reply-To: <20240130202755.2289952-1-jenneron@postmarketos.org> References: <20240130202755.2289952-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789549014759815343 X-GMAIL-MSGID: 1789549014759815343 Set names, so they correspond to devices connected to these interfaces. Signed-off-by: Anton Bambura Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 49b740c54674..af61acf58d68 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -362,7 +362,7 @@ &i2c1 { status = "okay"; - hid@10 { + touchscreen@10 { compatible = "hid-over-i2c"; reg = <0x10>; hid-descr-addr = <0x1>; @@ -379,7 +379,7 @@ &i2c7 { status = "okay"; - hid@5 { + keyboard@5 { compatible = "hid-over-i2c"; reg = <0x5>; hid-descr-addr = <0x20>; @@ -387,7 +387,7 @@ hid@5 { interrupts-extended = <&tlmm 37 IRQ_TYPE_LEVEL_LOW>; }; - hid@2c { + touchpad@2c { compatible = "hid-over-i2c"; reg = <0x2c>; hid-descr-addr = <0x20>; From patchwork Tue Jan 30 20:27:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Bambura X-Patchwork-Id: 194324 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1486806dyb; Tue, 30 Jan 2024 12:47:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEd+jfzU0YYR/4zEf81OnUkITJgCibtppHQCfIgKV8J8tHFdCoumz0WAKgMC3D5GRQnc+gz X-Received: by 2002:a17:903:110d:b0:1d7:6c77:a6e7 with SMTP id n13-20020a170903110d00b001d76c77a6e7mr8092324plh.109.1706647623156; Tue, 30 Jan 2024 12:47:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706647623; cv=pass; d=google.com; s=arc-20160816; b=BlgyfxhtFX8R8mufFSSNRAaQAJ4dpaohaX4hV5OVSvSstkbayk6FdzacCdjQ03wPnu g1Tzzlda18XRv9OA6S5O1BNmYTtwyJCkI+rSg9xiqk8B4iH9qgDp69jAJWIB2tIS4WtC wt9+n3iiwyUHj6YrI3Jm4tVvp6fur3K56bBABFMtoCOVEZygo2e7PX04gQx20/wlhw+j nFUMyOCdmOd5zZrYsxvzf9Uv52kTzy3WnAKGy8KLZtSQB8XPZuzuhfNFEl5AULU5+FPn xgSf+ZhjaX9vqZueH2Z6nc7l1XVH1tDWA6jbJSZ8yXFCcU/PCCGKAlWPGqYzfGY3lR02 vSGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=0Ck8zt2HdoRVrChrqjQW7h2A5x3YqJ1hRCsTUEcHsKo=; fh=yHNpTrv0SZJ2XU+WpXbtPslZbkxqKeXVGLKv7+wcvTY=; b=yZ/jNeemeNrHX1p0LceMT70UniNpTUnpPiR2EozcZHBchFhQO3r8w3ru95vtnubL8a /XLgUOmNGAKwKXiskDlnuCbVsTofBkxNkCnpglnOwvbnu1yEp2baFmp8DbAQHJU1Opbu 4uAhK1JsAvi1KIw8vL8OcAaju0eZ2yUSUalb5LcVH/hm0Bn6Wuil9HDQjLYa9FfQUXp6 Dwmgq5Qu7zoHuGBgaKjH02VjMXGYHsy0X7lhwj5Y9ZAORy2R+InLQK5lBJXCQ1eMuhyr Re4GtBqhRIxacasSy9E0ideqRmoumDe3WUHCex4rqSbzclRrfAriRPPTb/bm5F566+c6 02xg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=SczYw9xJ; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45264-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45264-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i6-20020a17090acf8600b00294cdbe2dd3si6736770pju.52.2024.01.30.12.47.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:47:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45264-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=SczYw9xJ; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45264-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45264-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 19789B241A1 for ; Tue, 30 Jan 2024 20:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 247A579DB2; Tue, 30 Jan 2024 20:28:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="SczYw9xJ" Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C867C762EA for ; Tue, 30 Jan 2024 20:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646489; cv=none; b=qQsYY8uRMkYhSV6gh7TweXsuBCJTBkqBl5MvjED7IxYzyGCW4j0WpMyQ4Jps5C7Ah9O9a+du71d18AskYEkMT5fnk5ydG+D1cgEI5+0bCrBkNIhmTO14y+dT2xNsV9T+gBPH4dzV132ZeWNMwl4z0ZqHvQQRy7c9kj69SJhfAP0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646489; c=relaxed/simple; bh=O7J52DPIrE7Oy12cOq/hTpYx7w8Xbf9lXcXsC7ZnwJw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ACpFAMZ21unDEBZo74k6wbTQzM/+eObxSKQac6Go41b0yqfNz8KLoFieAZBOHfr4yaYaxoPgWSTOUrraZdao4hAKSv9CHfEFBs/EUU6PWTa8xT+aRURyPUy3WuTfDHq62jxc90ydNtfBACQbhUGddy8/P71ZXWngbsojnNkdTPE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=SczYw9xJ; arc=none smtp.client-ip=91.218.175.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org 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=postmarketos.org; s=key1; t=1706646485; 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=0Ck8zt2HdoRVrChrqjQW7h2A5x3YqJ1hRCsTUEcHsKo=; b=SczYw9xJGEW2JliUBPe7g0cDPmM1uJs0n8PUnKxka+aai6TlaZoTZOtf2QCseQ+M/yOiWK DNznst/0gd52bP2FKbUjg4iHhgpmhGexkAmxARv3sxCwi7w5zslJa53tl2B1YgwmA9OSSm dqYxzzJPG5FZUnpAyyQleg3ttizG3lTqM/7x9Q1DYLK/AHzOwCm62HZRxe7tsHuF1sD9ZQ 29ceUSm0i3+21X5TjDqmKOyL1Xk0K/acU65uUqOIONuHJXttWJvQGseDHTRE/4+lpGJJtw vss5hn8sC4tuldw1rqnSl3xXFic3LIACgkjLTL1rvgzE/Ako2qo8nt1k6a+eBQ== From: Anton Bambura To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 3/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: enable touchscreen Date: Tue, 30 Jan 2024 22:27:53 +0200 Message-ID: <20240130202755.2289952-4-jenneron@postmarketos.org> In-Reply-To: <20240130202755.2289952-1-jenneron@postmarketos.org> References: <20240130202755.2289952-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789549737829561048 X-GMAIL-MSGID: 1789549737829561048 Set regulators, reset gpio and delays according to ACPI tables. Signed-off-by: Anton Bambura --- .../boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index af61acf58d68..8e8e1fca11c0 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -271,6 +271,12 @@ vreg_l3c_1p2: ldo3 { regulator-initial-mode = ; }; + vreg_l4c_3p3: ldo4 { + regulator-min-microvolt = <3296000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + vreg_l10c_3p3: ldo10 { regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3312000>; @@ -337,6 +343,12 @@ vreg_l10e_2p9: ldo10 { regulator-initial-mode = ; }; + vreg_l12e_1p8: ldo12 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + vreg_l16e_3p0: ldo16 { regulator-min-microvolt = <3072000>; regulator-max-microvolt = <3072000>; @@ -357,7 +369,7 @@ zap-shader { &i2c1 { clock-frequency = <100000>; - pinctrl-0 = <&i2c1_active>, <&i2c1_hid_active>; + pinctrl-0 = <&i2c1_active>, <&i2c1_hid_active>, <&ts_reset>; pinctrl-names = "default"; status = "okay"; @@ -365,9 +377,17 @@ &i2c1 { touchscreen@10 { compatible = "hid-over-i2c"; reg = <0x10>; + hid-descr-addr = <0x1>; + reset-gpios = <&tlmm 54 GPIO_ACTIVE_LOW>; + + vdd-supply = <&vreg_l4c_3p3>; + vddl-supply = <&vreg_l12e_1p8>; - interrupts-extended = <&tlmm 122 IRQ_TYPE_LEVEL_LOW>; + post-power-on-delay-ms = <3>; + post-reset-deassert-delay-ms = <200>; + + interrupts-extended = <&tlmm 122 IRQ_TYPE_EDGE_FALLING>; }; }; @@ -718,6 +738,14 @@ wake-n-pins { }; }; + ts_reset: ts-reset-state { + pins = "gpio54"; + function = "gpio"; + + bias-disable; + drive-strength = <16>; + }; + usbprim_sbu_default: usbprim-sbu-state { oe-n-pins { pins = "gpio152"; From patchwork Tue Jan 30 20:27:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Bambura X-Patchwork-Id: 194325 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1487052dyb; Tue, 30 Jan 2024 12:47:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9jh8TCfWu3EIsHMm0YX/lG1fExJBeDoshhpnsrg0IVy8NUNLGTgGedun7W8zvpxVadBDL X-Received: by 2002:a05:6359:2182:b0:178:640b:38d1 with SMTP id lr2-20020a056359218200b00178640b38d1mr6731660rwb.22.1706647657709; Tue, 30 Jan 2024 12:47:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706647657; cv=pass; d=google.com; s=arc-20160816; b=uU4O13OioyeqAEabQlttZ2W53LIIhiSXmjUo7PctAq6pagA8qnjtnVB30sLWFiRgkv KtkDAkg9GphmEUuTrMm1aIsYQb6YqD/dx4m9FEqbvM8CuXxeT2qTHtf8dUrHieEY8TQg jJyFPptRDWRhS0Ci1MhPykL8TyO7pxqODU6mhwAeZuG2rK4IVxirdVNHcxvAwF8YlIqp BR6qyM1sSSDNNfQMhi6znIMVv4BBUCuk1GwECj5uGdi0H2wSG/d2biTptVTyFarvNqJ2 kZCOr8pUBdFCGhnxOCiPDzkKGTYjiFY6MOCoYkXl7wOv9D6Crp/1VptM624hUDlaP69a 4bIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=l3vOiuOqt9TDvwN9BP7L45s+X6J46YstAyZSD8xBADQ=; fh=yHNpTrv0SZJ2XU+WpXbtPslZbkxqKeXVGLKv7+wcvTY=; b=VHR9J+pKqcDwa7cZ+2yM+jurw9xVqz4HSLH6X90nQKnafXsR/Fnhlww9I9jIbnIDSb wg+Lc3L5lhbZtkcOCvckVSf09YiMiI8jUfSv8598usX9bEgbrnYePGiBZ7x6mqC4mNpf jtX5oWPoRUtsq0w7PLM+RneW8g1rMu7YNwno7zMsCRLSdUy5ek73CCT07iVTsjaFIIJI PoCpzfRyEIyiVSiyHtkFzqIkuNjWCDsVt+lUOb3htRjLpPMpV5o25gg/Il13JoNzwyzw hRVHU/Kn8Z1R5WIszOGA6BkA9VGP7dFQzPd9MgawFzD9icRGVnp+Kq/vzB4EiOpfyJcP Lztw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=LsPAcHKh; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45263-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45263-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a9-20020a634d09000000b005db38f3524bsi1307479pgb.52.2024.01.30.12.47.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:47:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45263-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=LsPAcHKh; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45263-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45263-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B1840B244FD for ; Tue, 30 Jan 2024 20:29:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B180579DA9; Tue, 30 Jan 2024 20:28:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="LsPAcHKh" Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3474762FC for ; Tue, 30 Jan 2024 20:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646489; cv=none; b=VsiFO2FaI8CNP9ACsMBnXMgTtysnoiW+cfy47+qRKPJ2+jIu9fexGS8MHWYqqV2V6EkWOMlRmiSY1rg4sqPeZU89mbfCYJu8M1rnpy4voGYYsbJ6iLRZkjnmEtRRr+KijwzFrOcke0/ArZr2ANoeTxxEDZeVgOhMTH0vWKolBKA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646489; c=relaxed/simple; bh=tIshaH/wG7+F7fysCqp2VwCqah3ZG8cEyzEYuEn46tM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WhRZUIRjJ4x4xUVbQBlOk6qYMafbMStAT7G8TKZH613zMwoDkKTy2bDPRAVBgITG9pfFwjyXrr5Kgwdhu6boOL1nOoL/qq/SkBMNXhiGK2e9dkjmxvpgdnYwCSx0fsS2Hrxl4U8mcuNt6kPrPCHklXOeB799ddVg17+uZYFOXHo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=LsPAcHKh; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org 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=postmarketos.org; s=key1; t=1706646485; 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=l3vOiuOqt9TDvwN9BP7L45s+X6J46YstAyZSD8xBADQ=; b=LsPAcHKhksYkMmT6BWwaWod3g582fH7CnOV253HRADRG7nN3TUqg3PYfkbWFDy8K356Tvc yS+iCjRuOqMCu5Gvqie9cd87EgAfZYcYAp8ILXHyDuKPbJCTghRWaPk6yi/nG5CAYvEk/n jRAA5EyCxOf+gwMf4GS8smbzKMya5uaNj4KLWBXUHdgQW3okrIWa3TDIADT9kJLIc4kIXe +lXFKBCAqNrPNvEyqsX0Mgq1I5vFOd/pxf4GrK59Vkb8nUagt0q2LKNkiQUQgO8AGl6nbX 1FyomSh7Iq/ohApuxJ10yQ/1hwTDRmlRNow00tv7aGDPdpPLV3llqEWdZv9NEw== From: Anton Bambura To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: set touchpad i2c frequency to 10 kHz Date: Tue, 30 Jan 2024 22:27:54 +0200 Message-ID: <20240130202755.2289952-5-jenneron@postmarketos.org> In-Reply-To: <20240130202755.2289952-1-jenneron@postmarketos.org> References: <20240130202755.2289952-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789549774319233177 X-GMAIL-MSGID: 1789549774319233177 This solves the issue when touchpad gets stuck on right or middle click. This also makes touchpad working smoother. Signed-off-by: Anton Bambura --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 8e8e1fca11c0..a8816ff0ba51 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -392,7 +392,7 @@ touchscreen@10 { }; &i2c7 { - clock-frequency = <100000>; + clock-frequency = <1000000>; pinctrl-0 = <&i2c7_active>, <&i2c7_hid_active>; pinctrl-names = "default"; From patchwork Tue Jan 30 20:27:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Bambura X-Patchwork-Id: 194323 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1486580dyb; Tue, 30 Jan 2024 12:46:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYErO9ADU1a25Pu4ATV3OX+4zbtT0JeI9wnzqXNQ5JqKY0KUg5RNVqedjrsVEynGp9pTkf X-Received: by 2002:a17:906:acb:b0:a31:1907:2fe8 with SMTP id z11-20020a1709060acb00b00a3119072fe8mr7287285ejf.48.1706647590997; Tue, 30 Jan 2024 12:46:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706647590; cv=pass; d=google.com; s=arc-20160816; b=Q4srUtgoBVUh6SxyF83sIvMCnw4o2unTn8FhpmHs12R6QGJ+6hDCITI/OjKSShp90/ zhIwTXEeSQ596HT05sKD0eduaOBQGSweFOkk242a5N6GBYMDto8bQJs/7Ii6OavCb/rK VY/bpaMRM4+osLVPSeLdtt2JC4zv+PsInbT3y9c3pad7TrsYsF0UNfiX/BkEzopWHptH MMmE2BhwSmr9cXJFRIOZF3gHb+kVV71eAMU/beFJ30nyn6XBnsuOBJXEwBZHefVZOsRW jBDZCESBQFCZPsZo3jeLghnEGYKLVtdznVODtLWDT1Z0EqGwZqkvwpVsSvtGwhthg0Zz WJ+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LY7BZBo3VlQecSfrnmuFqqqhq78U/T+UoPgqaF/JIr8=; fh=yHNpTrv0SZJ2XU+WpXbtPslZbkxqKeXVGLKv7+wcvTY=; b=C1v1llOdWrVHK0NWGxN9dmjp/sPT++iJbFFGI3L5w+pQLCYNNoRUVSPOrkw32rhKMX vALMTkMxzXEEggl9WOEdqoM54oI9m+UWKlkeu8wxDfo5RMZZXhwbFZXlgFyy1+hZGPun uksyGlNKrH0jGrsVbufoRTpqYpw4fp+ag6ezuFqTvHpLhyP7CfUg9cx893pYRV/LGdzS M2DQDtPzqPHNcIiqu2MZHlsh02obODXIHW+MLyPlYwvfD3TGkFSHBzaBn41pGtt3Njpn sGyt4I1Ty1Xhp3EDGZYURMZ9vj+z8HODC5uoz3KzXTRh2HOWNBUVMHMnN+lPFwwIZdrs M24A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=KhhfVz3z; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45265-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45265-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id s9-20020a170906354900b00a3582cb0b54si2954545eja.441.2024.01.30.12.46.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:46:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45265-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@postmarketos.org header.s=key1 header.b=KhhfVz3z; arc=pass (i=1 spf=pass spfdomain=postmarketos.org dkim=pass dkdomain=postmarketos.org dmarc=pass fromdomain=postmarketos.org); spf=pass (google.com: domain of linux-kernel+bounces-45265-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45265-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=postmarketos.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 459201F26E5A for ; Tue, 30 Jan 2024 20:29:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A6DC79DB9; Tue, 30 Jan 2024 20:28:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b="KhhfVz3z" Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 53B3578B63 for ; Tue, 30 Jan 2024 20:28:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646490; cv=none; b=K0Wzjq1Zn5EJH7oMufrBRT6xswlpW0SgrFSOqpWma1Z+MAicnpZR/oIxZukmaGlKnnt5kTa9hz/VLHwBmbaja3uuemcq7r9swlJAoNwxO22pxY8qndP+vxA1gi9PSC6tkfTPdEsto6RLUH5hKTkOLGCuPDZrlXgeUV2XXDbHbbU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706646490; c=relaxed/simple; bh=Dy2zvMNDx5j4KB9kQs25V4h/C+Rr0lg4r5Kq3B7dEIs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EkXn2gVhf7WGg5XoMzoGirHBa3aSQwryP/q9vuQBGPhPvhSZC8uwCoOhQuiTngKuldYgeAWt7PN4zQbcG7DKncH7BNvlAmQuZrU2cRNl11jmrvmWD8VAcxuOazWbRi6aW8kjhOtpkjQdR05wCQDA2DNCawANEznkR3BySKzs/sU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org; spf=pass smtp.mailfrom=postmarketos.org; dkim=pass (2048-bit key) header.d=postmarketos.org header.i=@postmarketos.org header.b=KhhfVz3z; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=postmarketos.org 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=postmarketos.org; s=key1; t=1706646486; 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=LY7BZBo3VlQecSfrnmuFqqqhq78U/T+UoPgqaF/JIr8=; b=KhhfVz3zGmjntxGbSDKile4pyQ8koKwKatxN/dPsoxL8Uxbla5w8qdPykcYQiGC8ZcdtfK 4az9dYu8Om3vDFEmGtxsX4bFHZBcZavfWD0lKf6w2ncvKGsgiIDoQkxtRwxBZNp9uUcXAJ DFwDlBqTIXFJUgq3AIZ8t0rzijySRKKRbFwoSEcVMUp0acXQMCNU/my1G9HLqQB/4EAA+R EMZ1NVUnSIuhTuQ6lantMNIwX0Qzn+8v/nRNZ/kY9j5bYRn8STPVb44uuyFlG07ATnkPh4 Hrd99Rdi+Lx8LoqFdQL33KJFL8IOTIakY04qizdeUGmMGn3xt3LvszVxYQib7A== From: Anton Bambura To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 5/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: Allow UFS regulators load/mode setting Date: Tue, 30 Jan 2024 22:27:55 +0200 Message-ID: <20240130202755.2289952-6-jenneron@postmarketos.org> In-Reply-To: <20240130202755.2289952-1-jenneron@postmarketos.org> References: <20240130202755.2289952-1-jenneron@postmarketos.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789549704799383353 X-GMAIL-MSGID: 1789549704799383353 The UFS driver expects to be able to set load (and by extension, mode) on the supplied regulators. Add the necessary properties to make that possible. Based on https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-6-421904863006@linaro.org Signed-off-by: Anton Bambura Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index a8816ff0ba51..3e2c7846d95e 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -335,12 +335,18 @@ vreg_l7e_1p8: ldo7 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-allowed-modes = ; + regulator-allow-set-load; }; vreg_l10e_2p9: ldo10 { regulator-min-microvolt = <2904000>; regulator-max-microvolt = <2904000>; regulator-initial-mode = ; + regulator-allowed-modes = ; + regulator-allow-set-load; }; vreg_l12e_1p8: ldo12 {