From patchwork Tue Jul 23 11:28:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13739945 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A41C81527B6 for ; Tue, 23 Jul 2024 11:28:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734116; cv=none; b=tt7qOsb5x2XY3pHk6hqd2YG5W+R98kWZzzXiAvDQmHyPzLXL9DAEMr6DeIAeQGx02VxeIYKL+A+3M0Vpp9f6zk3zt1ZKP7CVeOesJ6zqCQYw90rxKN9i8dbt/P6Mw06cMc3bthrwU0tt1Mdw4bwhE7uC0z88FoPV2yF7k9RHRT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734116; c=relaxed/simple; bh=ES7wWrOhhkjynRF1+9BlWZ7LeDgeDZ/7LKOPoPdvMZA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A+aUYtJ4+Y2lX3DjuKmXst0cNsB6xCVnr1zRtVrZdVP34WA8WRiMr/d9eGnsp9NVFcwCjGyOu0YsNM7iLOLjur9WE2ZFm3Rc18t4uJCrouPfs5o/5j2LvJjUKp++QQXHNzq5fbdgmnewa15f2LYxu1hV+656xjkSdgVbBkPwZqI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JHQQyBG5; arc=none smtp.client-ip=209.85.208.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JHQQyBG5" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2eeb1ba0468so72872431fa.0 for ; Tue, 23 Jul 2024 04:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721734112; x=1722338912; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EBzbMSTI2xw68Bw+2TLir3SBIr1TPeDFMebcN1sCpn8=; b=JHQQyBG5t+QrNMxVOka1B8LibJc5IQiQdEyrxCSj5o2c5bU0/B281Ia9hX5xfj5scH thjBN+OZJeGJk385hjJRvaFIB992YtOSyGaVFzP2tpKRyLWCTHvMax8W68Ztag953kVO vSpjyfH0r0TkOaMlBuRpgBCReRThiM185R3jUnpSSb52cdME406kIlXAdTGqgO/IzxI9 CKIcP3i5AlycDJYo1peCS/+3uK2yYIgMjiqg+XlzjfRnoaj/C3OhrV0hst1EXSr5C4VR VyN+RoGQ7Ava3FUPOjqp5wAKgGeB23IcaWla3WnCXIjOUkeIfS1twz6BzZeno/SDAf3N mzfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721734112; x=1722338912; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EBzbMSTI2xw68Bw+2TLir3SBIr1TPeDFMebcN1sCpn8=; b=gJVpW3V2V2Vs8283wcURBW6IudupcUYA934WZ9jEZ/d7JgjmL8M92yl9/F6PXHX57i tOCtSck20MR/owjzyL1K6KMq5q1NBNIxuukTBJ22Zvp0rNKUaFppWFYvY+k6DTH8M9X9 nFzfRyBB7sJxXCgP1LPPgC/+TSaOhrLNnTesaKFwyLGOn6bJkwXl097Eei2hZNwr+Ag3 4ls886RyFl4sTBD3DfWUjt3wABhMNMi++jqvVdbrHaqB04xxTdBCZH1K5sMEvd1xqr7F Vl+/ZbqypquZW0d1eeupuM+dE44md1Xc4Es8l9X3GXYiJKIPN6WEXdvAN7jFufHNEIUj E08A== X-Forwarded-Encrypted: i=1; AJvYcCV/i03gbcUPfgFcCCu32K09noShLuPBGx+pdw7jUoXm1I3S9P10vYgLg0SCHreTA9Ag1imUR65g9QqBd7slRJ0Z0L2IcVgG0gJE1zVPxA== X-Gm-Message-State: AOJu0YzES0CQEZ+QkwHJaEcH6s1jluXCxVJWRmu4i7A1cMvdFrU85iak mH6W6mjCMpH8EQIVP5D3HpmA8uGqC4FB27hRXiMHSY05vc8q+FlYMo5wMdLiS0o= X-Google-Smtp-Source: AGHT+IFL18lLK7vMYwu6+uF/LnNLPc34++B4phx68OGmbRd11N7yB5ph4XVMRy/fIrBvldkaE2G3bA== X-Received: by 2002:a05:6512:32c6:b0:52e:9958:1a66 with SMTP id 2adb3069b0e04-52efb6356f2mr7400142e87.23.1721734111815; Tue, 23 Jul 2024 04:28:31 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f01552b43sm950871e87.286.2024.07.23.04.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:28:31 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 23 Jul 2024 14:28:28 +0300 Subject: [PATCH v2 1/5] arm64: dts: qcom: msm8998-lenovo-miix-630: enable touchscreen Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240723-miix630-support-v2-1-7d98f6047a17@linaro.org> References: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> In-Reply-To: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jeffrey Hugo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1653; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ES7wWrOhhkjynRF1+9BlWZ7LeDgeDZ/7LKOPoPdvMZA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmn5PdfmX0MSLna5RfQDOiud5GvUIB8TrDx/7g8 YScg/ylLO+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZp+T3QAKCRCLPIo+Aiko 1UORB/4zJkaO1UgTrir4/fJ1lPBnYA8z16RmLwGVqq1hdPpg6qSbZpr62ipwahb1F3xIv/ZAUzT kvbD2F0JmtlbDnpF4sZDM26+hl0zCu53RATmjBdrsh2C8eP9XtiGeY0ibkd0H7wF3pPFKDCDOch 3aUujdJieU9s+6Pp4C9MBm56720ALbXLuTy+nnw8MtcQbKQUQMOAYfyV0CpiPnM3c2DAkJqLGlo q1KyGMDEcgRw9ARmveKt7jnXrmtMP/4Hepg+m5gGeYNSu9RmgSCKkXf49SSAcZs7GtLGnabTgVt QOL6R61Mdt+uhkJoOukxWq9NGGauXWPKaZf59xuoed7WKgMt X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A There is no point in keeping touchscreen disabled, enable corresponding i2c-hid device. 04F3:2608 Touchscreen as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input1 04F3:2608 as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input2 04F3:2608 as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input3 04F3:2608 Stylus as /devices/platform/soc@0/c179000.i2c/i2c-0/0-0010/0018:04F3:2608.0001/input/input4 Signed-off-by: Dmitry Baryshkov Reviewed-by: Jeffrey Hugo --- .../boot/dts/qcom/msm8998-lenovo-miix-630.dts | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts index a105143bee4a..133999a7ed2a 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts @@ -11,6 +11,22 @@ / { chassis-type = "convertible"; }; +&blsp1_i2c5 { + clock-frequency = <400000>; + status = "okay"; + + touchscreen@10 { + compatible = "hid-over-i2c"; + reg = <0x10>; + hid-descr-addr = <0x1>; + + interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>; + + pinctrl-0 = <&i2c5_hid_active>; + pinctrl-names = "default"; + }; +}; + &blsp1_i2c6 { status = "okay"; @@ -35,3 +51,12 @@ &remoteproc_mss { &sdhc2 { cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; }; + +&tlmm { + i2c5_hid_active: i2c5-hid-active-state { + pins = "gpio125"; + function = "gpio"; + bias-pull-up; + drive-strength = <2>; + }; +}; From patchwork Tue Jul 23 11:28:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13739944 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A11A3152DE3 for ; Tue, 23 Jul 2024 11:28:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734116; cv=none; b=a1K3kDLzNqgz0gkJmmosrc/7T4/KJLtscHCQj2Bw/0RIxblVSgv3ZYkVRovlrIS4K75vxpp6bZymPhy/nOb75fZkUUxgu3xQrm888+0IeEHurDKEfddkrlN8vHzYIIYwzhweQp6H1Yt+IHtq5ecz7wH1UNvA18iRfGiYOyzOBd8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734116; c=relaxed/simple; bh=TNeB4h9ycrUiNieuk6ijYWqqH0HvXk8DnxEjo8Y8yNk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=f8oHDwstEZEs9fTC4fksMfV7U/qUZREVCvDZ18G25IXY4/LQIEENS1wBBWRhUOC8jLW5TRoVwiAkgUn7nOjcVNxKTg3h7VoaJA4LFtxkhdVwH6qBSnk4DEiZ2pOd0UqG68S+iTa4NKYu/yLvL803QrFGmOzCZMNqWQKosu6ECRI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=fgsSRuC5; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fgsSRuC5" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-52f01ec08d6so3009788e87.2 for ; Tue, 23 Jul 2024 04:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721734113; x=1722338913; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nAlHzLrPx54OlQ0HBTC8gKCozRqM910DErW7ymog2BQ=; b=fgsSRuC5ebeWrAFLooOnMCK3CniPYR9SfoodYO7e4wRNJNzC267KLRJ/Jdr7ayCnRt wf8f1Me+tPqYKUEaL4+aNOAT8lgdXu2FAnBqVIl377B38NmQDNCj2eRn/JTP44U81XQ3 pnnBHtQz5S6Cy0T3YFHi2yJxcfnHwc9ak5OHxnOTGYSvwaQjEBQyHpcbqQFeaAzb8uu8 U7I2bqlLfFDypxlCFoFpDw+ZtJtwm3GK2s0MwbmpYvU1eCC2LdZs6BGXOyBLE0i8lbFl HWU5y8Yv1gNnZ2WdP4hjlFza+TNlyNsLMqE0Otnu6R7yo/stNKSi5JNs3oZVB9NAH58A ACFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721734113; x=1722338913; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nAlHzLrPx54OlQ0HBTC8gKCozRqM910DErW7ymog2BQ=; b=iShFhYDjPfKXyLBS+O4LXQjaH4v0c0aCisxStnI7PKfJX46eD0hGi2HfqM56A++jjX QfAIx0r6nCyWJmU7reS4BBsk6aq58+wjrrX2s0ONmhNx/4VFrrtJgOtcZpRlAldDaRo/ D8bvTY8TU7tSzIBXIihaG9ETMnwhvKHzgCyUxc/TTKA+NdnaA5fFHX8lWdGegP2OR0Kn faWNAnWc2OKQ4wgJTRmssi++t0OgVJ2w4OZ0wBMLm3j8O100Xq9tqIPXLCBbq+a86Akd Z/kMR2d+zuPEVjwONjHCWCum1YDPvUaMslUqmgsHyhp3TfYHRNq5fWdtS0ahsPTeix1E B/3Q== X-Forwarded-Encrypted: i=1; AJvYcCWOGYWdivBoo04CAw+CKugWElYSkRwgPPfiCF4I6kV0FzLVmc5WFr6OEy4WhvqeaDQ29o37D6j+N/eDmLvJp5r6O0ZpASaxuC++SJIeNg== X-Gm-Message-State: AOJu0Yzoa0kTvbynz7BG66PQuG1ztcXceXzSu4jtkBSp7o0bxMOYK+3t yHwolBv4KhMd81zkb9Xnhu28qLSRCSfu+/ofOux+Ul1jN3s8iTcY/jYulGbRcXc= X-Google-Smtp-Source: AGHT+IHna/bk58GBzfxHL6ZNS/OCvnW+Y9Hnj4qheHKHUSEUYFDFtMtAHKf1vn4uCYTyQwoZJERcbw== X-Received: by 2002:a05:6512:3d90:b0:52c:896f:930d with SMTP id 2adb3069b0e04-52fc4075ba2mr1910381e87.57.1721734112792; Tue, 23 Jul 2024 04:28:32 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f01552b43sm950871e87.286.2024.07.23.04.28.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:28:32 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 23 Jul 2024 14:28:29 +0300 Subject: [PATCH v2 2/5] arm64: dts: qcom: msm8998-lenovo-miix-630: enable aDSP and SLPI Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240723-miix630-support-v2-2-7d98f6047a17@linaro.org> References: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> In-Reply-To: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jeffrey Hugo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1073; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=TNeB4h9ycrUiNieuk6ijYWqqH0HvXk8DnxEjo8Y8yNk=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmn5PdcKsCltG7dPS9m0tKoFXiB2u4NhwvdCVuX 3aY1pZGs0aJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZp+T3QAKCRCLPIo+Aiko 1Uf3B/0SRKqihsb87Ln2bk8vVi3fiyeYYJPHrIGO/VfZ0qcJWLY25iZIJOywITUK9u6iNU01bI+ zQwX3FX7gm3NqAmRHXXGOJB11UIPE8S+E7gUfBbTR+PBnmhuUavgeByWn97Ta9eqeawuf6Qkf3T vH51VzrjocRrSen9v06FmHdb6yV+DJ73Cm5Z65YVJr5XEDAAzbPlbg5l0+B3Nt2IsvVVCcZ+aH3 DQEKx4T6tUIpkYk7+ueEVDEoWrFX5XRX+MqBeTm256yT3xlyxhZMwUy9pb/QDPo3rCzjBVyUCbD u/5TDHSzVdto0DoqXZOIbvn+eRYgvuWEqjHTw3pZGmBLKFf3 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Enable two other DSP instances on this platofm, aDSP and SLPI. Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov Reviewed-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts index 133999a7ed2a..2430f17b2356 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts @@ -43,11 +43,23 @@ keyboard@3a { }; }; +&remoteproc_adsp { + firmware-name = "qcom/msm8998/LENOVO/81F1/qcadsp8998.mbn"; + + status = "okay"; +}; + &remoteproc_mss { firmware-name = "qcom/msm8998/LENOVO/81F1/qcdsp1v28998.mbn", "qcom/msm8998/LENOVO/81F1/qcdsp28998.mbn"; }; +&remoteproc_slpi { + firmware-name = "qcom/msm8998/LENOVO/81F1/qcslpi8998.mbn"; + + status = "okay"; +}; + &sdhc2 { cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; }; From patchwork Tue Jul 23 11:28:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13739946 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36CE0152E05 for ; Tue, 23 Jul 2024 11:28:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734117; cv=none; b=JYdafElHmFw/W++6TFrs61r22tPcVkd4qRRqy7Ejvxv5aMVFKpvbV9VQKyEP73vQEDz0XdI0qoFgsxua46/+1fRpUQqACWxH5Xh1YlmAGvujUfRW9Ll8nT6GE3P3/aYN6AhZpwTcZNpnqcBqMIcB33zhjqbe0xTAsCFyY+UqmeI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734117; c=relaxed/simple; bh=/WMSg+LlgRAuEa4etqLB3vJsRG6cywu5axWsmygeE5Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dOvEBNk8tAJbx3s8UgOy7dQfeMfqT7IBJb2KfaDk0FvMBBSxfI8qZYLySzvrJnni3VVMJuhBozsRoM9wiCNUQjn3EodG/R9M4Z7sLN9sCKwh/9rm4ctoZgPx3AFuhxWr9gkveDQIi9x7hsTLZDWRIpqRPyVFFXS7t/lCBi/QGJM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Vt4LDr4O; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Vt4LDr4O" Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-52f04b3cb33so3893088e87.0 for ; Tue, 23 Jul 2024 04:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721734113; x=1722338913; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=KRv8ryOt7Cujtjsq7qyqL7ux649fUM5EGhiMHj7wxS8=; b=Vt4LDr4O7S7C66enQJ30j9KO8NLcGehwCjFNzT6zybece6XCmrDpDF4B1ocCRYvYYI JXIK4zJxD5vB5EQJovvGWvADvU0YZZAu+fXPRbX03U0X/CW4tm/4R6lEHdiZeR2DT8ew 3f4YY/NWVSvipvzdERw+AWdeYDO1ELIaZS3fDtlZfKsnPqMi8CGRrVK8BUaW7KIaU19W pWaiXKwYvxhKceEj82fCFvYtbahxJKAQkqQoCEsQOHgQD5RaREGN8cyPwgOx9XNM8AlX 56nIKJJDWHSjTDyDCmc9Nyc4bDWwotqfAved65LG4clCVFvCBhMldWuqSBmP256Pvux0 iJig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721734113; x=1722338913; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KRv8ryOt7Cujtjsq7qyqL7ux649fUM5EGhiMHj7wxS8=; b=Rqf0d4jsENzhcU+20xrE7/OA8jVr+SgHJwQbf3oIQkqjwsfDIBrdMn6OXZ1Hr1Ze5Z t0EPtGMCHentPcRNPtsyOY59Gd9rcy6rAcW826VIGVYuSShSz9uKFpVTpEVODGTtO90B DPz8h9c1dQT1zO5irsoKkknqhdDwJZJ4YAgibiLeIgb0qPPTDmJfjhqPJAyh2ctsR/c5 ATgmDF4LBAGtY7w/cCvJWojKPhAH5DTJ2aRlmEok89/gRKGEhFI5wQ78ZSU/N/BwfvDM 2356pXvch7qwN1D9J891bljxlM4r3Xry8YDn2UMpK9TuwyesIqNtyTEy5qZeJY6jBOzS S8Kw== X-Forwarded-Encrypted: i=1; AJvYcCV+G4eMkHwzvEap3bwJTKRZqO0ETdvO6/TUmBeE+Jwlh7HNwrsncqj1r8SsUMXD43vta1BVdO4n+Hob8tEM7e/5aNDOXQLYIp1kEgc8xA== X-Gm-Message-State: AOJu0Yykv7geN921481By9S8cLb36mI9oSSLCjcGcMpUDDwsfFyILaU9 U9L4kHHe8OFuTbl8HAWmVzFWS68K7Ljj58E6RvtmRmFTtP9IXLdkvk3XWwTU6oDLc1On0U9zMyf d X-Google-Smtp-Source: AGHT+IGxjcctex4LhZS0msKgIdjGIEaiQCQowswJM9r6j4WS8S3n86GcEdKVnVxxA88NVtjUrLPPbA== X-Received: by 2002:a05:6512:3053:b0:52c:df83:a740 with SMTP id 2adb3069b0e04-52efb7480edmr6910800e87.30.1721734113386; Tue, 23 Jul 2024 04:28:33 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f01552b43sm950871e87.286.2024.07.23.04.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:28:33 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 23 Jul 2024 14:28:30 +0300 Subject: [PATCH v2 3/5] arm64: dts: qcom: msm8998-lenovo-miix-630: enable VolumeUp button Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240723-miix630-support-v2-3-7d98f6047a17@linaro.org> References: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> In-Reply-To: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jeffrey Hugo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1487; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=/WMSg+LlgRAuEa4etqLB3vJsRG6cywu5axWsmygeE5Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmn5PdbQUG7mmTIQQsOQJOTa91cmR4AqhCBENDc E1tOV6n7UyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZp+T3QAKCRCLPIo+Aiko 1flwB/wNnqm30tMYXP1qnVBoz/GuAUpIgtlc5DWOR0/a4kHj8ryaXAfGRpbBFz9fkC15K5/GyEy iVvAe6FUI0K4+HxLZbwxm4Xi6vQGIteYAy9vYIkccekJiWWxi6UqT9aor1hnacX8iFg3Z8mermH QLSP96U8IR0IaPmBXoxCSV/9mJSdHDYMlnrp3I8Tqs5X+p66rH28BdGCJnWX/iFH3c5kKSKNfUA 8CiadRK+cHus9ei9DD87JDIUc+ggniRr6Nau4CQAflTqX44Wf78MrV9Nnae5AiGvtLWG4mgCCEu GbmlANTS8REEiUs6INjKxlSiXq4Wn+TT96WCdQFp6yHSQBzf X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Add gpio-keys device, responsible for a single button: Volume Up. Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Reviewed-by: Jeffrey Hugo --- .../boot/dts/qcom/msm8998-lenovo-miix-630.dts | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts index 2430f17b2356..fad5f390171a 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts @@ -3,12 +3,29 @@ /dts-v1/; +#include #include "msm8998-clamshell.dtsi" / { model = "Lenovo Miix 630"; compatible = "lenovo,miix-630", "qcom,msm8998"; chassis-type = "convertible"; + + gpio-keys { + compatible = "gpio-keys"; + autorepeat; + + pinctrl-0 = <&vol_up_pin_a>; + pinctrl-names = "default"; + + key-vol-up { + label = "Volume Up"; + gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + linux,can-disable; + }; + }; }; &blsp1_i2c5 { @@ -43,6 +60,16 @@ keyboard@3a { }; }; +&pm8998_gpios { + vol_up_pin_a: vol-up-active-state { + pins = "gpio6"; + function = "normal"; + input-enable; + bias-pull-up; + qcom,drive-strength = ; + }; +}; + &remoteproc_adsp { firmware-name = "qcom/msm8998/LENOVO/81F1/qcadsp8998.mbn"; From patchwork Tue Jul 23 11:28:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13739947 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2A5A1534E1 for ; Tue, 23 Jul 2024 11:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734117; cv=none; b=OMjq9m/BRf0FpRzHteuU1TjJjUuQPdS4dKYEP9LAw5AfTCu95Ys4FSN1bdqEdNxNPemJruuUYEstcT/LWACZkpWxozf7yl+fnSk7fglcbTLc/ybStK2wmPuFd+VqAcr5OYhhGwWhydFeRPio61ZzyjjzLtcLkOl+eGwVrynFTqA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734117; c=relaxed/simple; bh=K8AEM2mcq7TRg6o3TnsmrMLLHMy2YLDrxUEl2B8ISDU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qQVgy/WKjQKy/iZGx/LUteL/Zl2lcypO+O54aexEc2g95nu4Wu1nuHeMOrKKCw3lliF0bCnTk29uRRZyyE6PoVcUEXbgjV1kQ29lasJpugpQBjMsSdhFZpGrITJKYzkM/K22R2ClKDlHRMpB8vkemCK7FpTyA/JcrYgLyzKBKk0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DlbZWANr; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DlbZWANr" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-52efbb55d24so4342335e87.1 for ; Tue, 23 Jul 2024 04:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721734114; x=1722338914; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=VZZgDyvUnfIiK6dqjIQeqQjzwpl3uL+ejXAze6MYs34=; b=DlbZWANr6X17ZZ8x2GfwDIaIkMnzYX8emXvlDMT8xs74hKAfyKUJPsB+LKF6chaiPu GY3JaumDqp6KgX9B9UaXWtZCCU26JVT+NTOBoq64IUp0L5InpruJpzmHEcOmC27w0yNj 3c/4zIpLkthofB3i9QdV1ZkcRMIkWP9vAMq9zb5JpUKG8NkZIzJyZqcXBJjNs8bF1NEB NDOnwHSn0Z0UH1qpRexeKcijPmgPvVaqm3DiFSqatvmIgdmJWYRTc1OmV9bgOQ7Fkszr Bfa7tNohuMHFG4fjLxvKUeMnf285tF6tqok00px8tNo5vmEWUPZ8OWc3yOC1YMMZ5qpi 02ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721734114; x=1722338914; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VZZgDyvUnfIiK6dqjIQeqQjzwpl3uL+ejXAze6MYs34=; b=fnqWSFu7TtCDwI/I2Xm3SbCooPLgDLgbJQ+4vlfyJMUiPais8yM3ce5NCG07nJ7jgr HmGI7Dxe4PEdiTaiCQsJopA+ILnDMWbmZo/AWxEPI/3Elr/JXDMAygxUYqOE+p00vrCO naMLo714ymy4AsbY18oIyV+o4rCECkwDMVqdig7/nVFTWseNTOtIXvIerDsz4m/NrjZK +ZfEqHT46xpjKsZntOXyKFZex8PaylbRtKuoU6J1iJJHOS3NRYLJAUCW1rBGbmc9WVun J6UmQswth1rzNckyCIxGCEj6HvoEvwxMwKndn3kro2BIBOuPZFN7jv4RgwURFV3pypYK H+zQ== X-Forwarded-Encrypted: i=1; AJvYcCUloOjXW2FTCJAfWy7h1OFm/xPiT6cpo3Utiyf3T7IquvAdP2H+wx0lSRo+E77lvNWSJ5THaUNkJ+O/PBWYq79uJk1woLnuBhvtC4mwxw== X-Gm-Message-State: AOJu0YyhHY+1+fq+/nfQUtMZ6Uro7dMnBv11foPVgP45rcLOlVEOrDwt VsRo1dAXvKWHT0dnl3/eL4h/Om1uIUCQA+exlbQfkvDx6jnu11Rua5w6LfXLFdM= X-Google-Smtp-Source: AGHT+IFVubN/sUs09LgZCr85LweF3Egl3m9RRTtlPTknXOo6pKP9yE7dJ4hjxxqhY445kGD9aO3Dig== X-Received: by 2002:a05:6512:32c2:b0:52e:9808:3f48 with SMTP id 2adb3069b0e04-52efb6324b9mr7813068e87.21.1721734114058; Tue, 23 Jul 2024 04:28:34 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f01552b43sm950871e87.286.2024.07.23.04.28.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:28:33 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 23 Jul 2024 14:28:31 +0300 Subject: [PATCH v2 4/5] arm64: dts: qcom: msm8998-clamshell: enable resin/VolDown Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240723-miix630-support-v2-4-7d98f6047a17@linaro.org> References: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> In-Reply-To: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jeffrey Hugo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=740; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=K8AEM2mcq7TRg6o3TnsmrMLLHMy2YLDrxUEl2B8ISDU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmn5PdmLn+ut8KKDLaNVqSldK+SAaGHcGmWfS1L S7AYxuFbPqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZp+T3QAKCRCLPIo+Aiko 1eoNCACCP3gWdl0izQkBVAtQDuxk5bCB+cHV7onckMf0nzTbJQeQ8P2x8iCYUS0trR4SB5Z2jVw d/48dq7n9hnL8nne9bUzKHkHXtVHAXT/X2ly4rGd+VfgDbrGviAWWAE3850a5GpaDm5tx1qdSsB 8EWy998PUbIsrBzmy64vjgRHpB45kHNFpoZNTFBdVGNGEOo2lIRFqfrXEz2YtfiIfVZkyAC4Ylf gT/1tLM6PwIUKs6TkAbQgZyxVIbcDZEMWYlg1bVIyQbMAFLtFPYU6Y9e9PgY9CaAnhFv9s43vMk NREG8kp8VtvzPbriVSqEKiVu/IMvgSO8EKWFPbPudPF/3YU4 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Let resin device generate the VolumeDown key. Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov Reviewed-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi index 3b7172aa4037..9a3fe610c937 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi @@ -128,6 +128,12 @@ pm8005_s1: s1 { /* VDD_GFX supply */ }; }; +&pm8998_resin { + linux,code = ; + + status = "okay"; +}; + &qusb2phy { status = "okay"; From patchwork Tue Jul 23 11:28:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13739948 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 965A7153506 for ; Tue, 23 Jul 2024 11:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734118; cv=none; b=HOO3neDbqjF/FhLfugCqip6+IWQgFFBmJQIQN5ZsixQ0RXD/kHPZsgfD8LPFs3Htuw78/U2mlB3W6WchISNgb93+MhPferNMahgII4+T9ZG91oVRlgh03PUHTYZWYNobBoyCsyQOrx3g7C0ExCkZBRY/ymz+zzOk1cS0dv0TT0g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721734118; c=relaxed/simple; bh=a2+EUYLCKOR6NIoaXmWAu4yyImuZlx1mXeql8U/eW/E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jImCEOiRfwyYnA5cu6dwe03L8O2jNCodds3HKKEUsNv+Ej9WoZSQev3tXz5By2keKcQyNikGiWMXUXATjfu5BQjhczFyLQ9Xs+aQ6FihY/7j4YokCHIe/YeRk7WVRAdMAB+PONErZO3KCk5og2+lrnYdzjwEVR+eFck+fP4WQmE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=FernzsGF; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FernzsGF" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52efba36802so3570160e87.2 for ; Tue, 23 Jul 2024 04:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721734115; x=1722338915; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=XN/Oo60J4+8zWx2Epgt9MKJ7ZsIFjkw3WX6j9IKX2Lw=; b=FernzsGFk2zF3s2aJ6If4HcmCytCWPDSPdyUgsn1RZwo4dsq9yG8igM3ZVhTPHTKbH v4+697O9JL8RPKMOrIITPgt8cxCGpX6eBw7bZ8Cyxt1rtzAmjcqVEqvS2HhJFIxCOijK mgutb0T7ECVMiFLfMX3NxeQU9JArfUHqd5A2vs108KeApb/8zIygTWU/7B2txntsDb16 el5jy/vB+znTLyMrtTSAWHDdYErnYIBPFR6gfIBA+tY4AxNa/iJp9WZuQGJEeP4JvPNI 77A6u/B72f2wMUsOG2+w1L/8irdj0LgTfkwKfFdciqyICrPZ5UFoCaQc4w1MUc2e9+f+ b8MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721734115; x=1722338915; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XN/Oo60J4+8zWx2Epgt9MKJ7ZsIFjkw3WX6j9IKX2Lw=; b=VW9ybwz/M+jC+coSvnLuIzUxHUM99loUObl4pEfRpgmNMSAjS3TB7hV9sn5ygzS0s3 x3xK98S+MF86bG01Gm51yy3zbARXDdXfHsL8VlLy7YTX3K47okdDv0PH1r7SkNTY9RWm tEbWNonLqXtC9bilhwMDx6Wj7z1BmKnDCS6EGGgbalLftc/yjECaINY9fkV4quY/ynnQ 1bXWRvg5yul4eAubvnREmyNVz5GRVL0G6wlUrMGYBnci8Vcr8uO9uZ0T++C7JAdWnlkj XF0RVCib1ItFnw+nBAhCUZmPsI9KjMqhwQ6uWWcqHFSXPzuOtU3gFDCifIHqGjvF3rap Ns1g== X-Forwarded-Encrypted: i=1; AJvYcCX5t19cCajz+TCDZJ2g86JnjFt1YVmsShVs1KFx/Xh/LnmsWZXBcht8OPhcZ0s9X6oWHDRlVxJzMm9cel8Qc1eGUOP1sdYZeNZy0FsK6g== X-Gm-Message-State: AOJu0Yw0tKsV08pIoFSWHIBb/j90rfPBVBnrluAmn1+YQXndKNoTgYIp O4bjz2vadYS5RzZc5VSUy+dbw6KEEDsq2aGx9J2uya+1Tqfn1+6W6OvSwrgV8oTgDIYqT0Zf3tG H X-Google-Smtp-Source: AGHT+IHZ4SNX1IJU61aqbqXVevwcuxn0D9/W7HRDjcseUylz31yjbfbqoDGMI9sbBMgOUf8EpK5u+g== X-Received: by 2002:a05:6512:3090:b0:52c:f3fa:86c with SMTP id 2adb3069b0e04-52efb63e08dmr8512771e87.18.1721734114948; Tue, 23 Jul 2024 04:28:34 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52f01552b43sm950871e87.286.2024.07.23.04.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jul 2024 04:28:34 -0700 (PDT) From: Dmitry Baryshkov Date: Tue, 23 Jul 2024 14:28:32 +0300 Subject: [PATCH v2 5/5] arm64: dts: qcom: msm8998-lenovo-miix-630: add WiFi calibration variant Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240723-miix630-support-v2-5-7d98f6047a17@linaro.org> References: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> In-Reply-To: <20240723-miix630-support-v2-0-7d98f6047a17@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jeffrey Hugo , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kalle Valo X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=886; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=a2+EUYLCKOR6NIoaXmWAu4yyImuZlx1mXeql8U/eW/E=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmn5PeXU3cP3R+6Uo//wauRJbqC6lUYsQdY7gJE gBk4EHA8+eJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZp+T3gAKCRCLPIo+Aiko 1T3IB/0e7XlZ2Mcy9jHD5ogSshyFXiLctVclq8+dfud05oRBRI4QOirixONwAE7kZMNWdXSdj3A 1WHg74uaLerSnoOKZDdfshc0CKPFknK0Gc1bMk+cVty2QL3SUYYSXfJP4yOJVYiwCOyttTudMpM 0D3+iKD5542lOWtGk6n0P+D9EMoGve1g+FqC9ey8q2bEH2Qk59AnTe5nIHZ+YXrtoQyxKq5OiF2 zLzZYqGDUnst/ZyDKNKR6atcZYHxHaPdTweZ55iRWoYR3/H7vpAOOQMi4JWU87YHfiJOlz+mt/V qgTRb7hP+Ji0pikqkzl6EDQjnDCSYaX8bLtjWuIMfa4gBwGn X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A As most other board Miix uses board-id = 0xff, so define calibration variant to distinguish it from other devices with the same chip_id. qmi chip_id 0x30214 chip_family 0x4001 board_id 0xff soc_id 0x40010002 Cc: Kalle Valo Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Reviewed-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts index fad5f390171a..901f6ac0084d 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts @@ -99,3 +99,7 @@ i2c5_hid_active: i2c5-hid-active-state { drive-strength = <2>; }; }; + +&wifi { + qcom,ath10k-calibration-variant = "Lenovo_Miix630"; +};