From patchwork Sat Nov 23 12:58:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings via B4 Relay X-Patchwork-Id: 13883850 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 75B96186284; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; cv=none; b=F5wFJBb4EY8nTb0ZVljZXdnhHI6CyTPJECTfCo+BvHpWThGPSRGrbgJ0JgO2Q+zl3DPaMJJzwEZh5YZyQSHp++xGFxJT032RPJIcVQwMKodWpYhlS6/5un3NrUQu0b93+UHfJezGnFXLl+U5dJLWdFRu8eZVo5ZSLsvtdMgc8t4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; c=relaxed/simple; bh=E4I3y7xqOaJT9A85WU9bzFuhEDIjkVR1pOZnZP8SlLA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iBi627onHrRKHEnwtDwaZmfFzitMZJLNEZqSfrXMNS1BdXc6YBB3seEhhCzPya6OlxqQYuJnvNvBFKIhK4RcRHlhMmi/jEXAE2XXNUcpBlFh3zUrQaiyKqdgI+3aZ6kkUvah7EX+pazH3b3WEd0z+hML9+Vw/7kny4YCB4tx8mk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IU91tfGj; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IU91tfGj" Received: by smtp.kernel.org (Postfix) with ESMTPS id EC4C2C4CED1; Sat, 23 Nov 2024 12:58:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732366739; bh=E4I3y7xqOaJT9A85WU9bzFuhEDIjkVR1pOZnZP8SlLA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=IU91tfGjujXXaaxeYFd3zJekCTMT1lgvFFgPnimAOoJOhOCQJmAyqnB8/MZDQc24Y AnQuXPqiwA7iQ/H+EZUuHgE7Kfvt90JROxvN9e22kGrkR0MaJY4bRT2BkcOztcW57n LOEwZxSNAdFCAN8Vd7OvrDAsLb/mtmGPZvj9HWmlpwnT7qadX9yFLNCdYy2bTHAdZy GwxYI0Am76K6UOGrXuANPYkJUU87Y9nEsC+kVUvlx+qQ/BdQiq5p5B1ZLZ2aMYGHyS OV5cEuYG7y2qKLlA1bUWXAyGmN5ECc5WeI8KCcCQYLIGadB6pI6R4/mooCbPEAgmM2 XzXcnejfZOmLQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9FC1E6ADF8; Sat, 23 Nov 2024 12:58:58 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 13:58:53 +0100 Subject: [PATCH v2 1/4] dt-bindings: display: panel: samsung,atna56ac03: Document ATNA56AC03 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v2-1-a0bff8576024@hotmail.com> References: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Douglas Anderson , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1732366736; l=1104; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=IsotGGeS1hNHslMt3hu9mke2nzQXlgG9kOU5FgNZHkA=; b=7HyBJc9C5ACP1cDu8GhGgm91hamcZCsDBMMQXxeaRdJcZz4C/BeenyWQ3lTMAHtdKpjWp1YnG 7TeOpBcZb3TAPonv2fPXlooRkw8uQ/7gpZ8tC9S5lJY+l15zdD9Ko/G X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=CeFKVnZvRfX2QjB1DpdiAe2N+MEjwLEB9Yhx/OAcxRc= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20241110 with auth_id=273 X-Original-From: Maud Spierings Reply-To: maud_spierings@hotmail.com From: Maud Spierings The Samsung ATNA56AC03 panel is an AMOLED eDP panel. It is similar to the ATNA33xc20 except it is larger and has a different resolution. Signed-off-by: Maud Spierings Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml index 032f783eefc4508df35da10e53ca20ff8b1b9bdf..684c2896d2387077cf2d91cc5a025e0838c0f536 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml +++ b/Documentation/devicetree/bindings/display/panel/samsung,atna33xc20.yaml @@ -23,6 +23,8 @@ properties: - samsung,atna45af01 # Samsung 14.5" 3K (2944x1840 pixels) eDP AMOLED panel - samsung,atna45dc02 + # Samsung 15.6" 3K (2880x1620 pixels) eDP AMOLED panel + - samsung,atna56ac03 - const: samsung,atna33xc20 enable-gpios: true From patchwork Sat Nov 23 12:58:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings via B4 Relay X-Patchwork-Id: 13883848 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 7450B183CBE; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; cv=none; b=bM3iW9slPLQTXZWB/wsz+uugZgBv1Jn8PwUR0L3Rp2ddZG7NB7pP1dxz0oaHgbrGw8M+fW1NwOrIyM1b7bKbfL5/6RY3ehPe/9dsSsPkX2wtdxjHuPXdwAmxpYHiFrVQ17fps8mR/G3ykximFK4poWObYdzdAkP927PvtVqCkXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; c=relaxed/simple; bh=hCWPTU0oR6gGA6LruaUb8nCr9j4CS/MKpzMxuv9RgoA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Aqi8uZshrIqc02yynNtvJJ3v7EQbgd/vNt7hhV3T8izvznMXzRzDMSMdW63+08xAyH75+BoLU+U8/3KBmxS90y0iO2xmvmgP+ouUF0ExxUTVkGpWY1aHngk8Oz5Q40KKNnfbkN/5+2ql1NRfbsSr4zLoOMva+SSuiOPzA1fFHEw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DLpznIvL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DLpznIvL" Received: by smtp.kernel.org (Postfix) with ESMTPS id 068C3C4CED0; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732366739; bh=hCWPTU0oR6gGA6LruaUb8nCr9j4CS/MKpzMxuv9RgoA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DLpznIvLV7NMbSA+uAS6tW6qEnSHxXs5i2No064cjbBTS7Ar0+omX1CkN16bLDMeX +0yq408Xb+GmgxByJcg19NqBSt9GmEfVp7cQGDGpt/Sc43TZ9sj0lwqxfod2Bl/TAM kbKWK1QXXQHnAGS4Otd0jH2wEE92x/Vh/WeT8HBQgYj5mdCBsBX4qxtjiJHpAxvpQW qhtlZcFxWOuLG37DIcIKX7zRIhexZV5q9Q3rxyBOk7RzdaJEiAITNsDwidsMRyKzx/ uOVF31ON5PEGNhtsgPTk+59qKgL+R1l8prf8/LEZgn1jgMuGND5H3UcrlhEsPW8xsW uZO38yUgWpivA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9DF5E6ADFA; Sat, 23 Nov 2024 12:58:58 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 13:58:54 +0100 Subject: [PATCH v2 2/4] arm64: dts: qcom: x1e80100-vivobook-s15: Use the samsung,atna33xc20 panel driver Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v2-2-a0bff8576024@hotmail.com> References: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Douglas Anderson , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1732366736; l=1388; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=yLKoqyn/v9BZdCsCAd3cnvw+zKCdySrKEuedXGKA2QA=; b=LVK1rfedZZjQyDP9pf6Za4Akt4rX6yr6MkzgGksy5cuj69aICUCXWgAYpv1hEv1Jz0iRL8ZRx SSSYdVPsPMbAJ6FQUa26wr9l5HbTZQb4dldNb9y3YaK9F7PxUMZEgKZ X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=CeFKVnZvRfX2QjB1DpdiAe2N+MEjwLEB9Yhx/OAcxRc= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20241110 with auth_id=273 X-Original-From: Maud Spierings Reply-To: maud_spierings@hotmail.com From: Maud Spierings The Asus vivobook s15 uses the ATNA56AC03 panel. This panel is controlled by the atna33xc20 driver instead of the generic edp-panel driver Signed-off-by: Maud Spierings --- arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts index f25991b887de3fca0092c5f81c881c5d8bd71aac..dbc85aff50a95bfc2ac11528d1901979ec7b1501 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -407,9 +407,13 @@ &mdss_dp3 { aux-bus { panel { - compatible = "edp-panel"; + compatible = "samsung,atna56ac03", "samsung,atna33xc20"; + enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; power-supply = <&vreg_edp_3p3>; + pinctrl-0 = <&edp_bl_en>; + pinctrl-names = "default"; + port { edp_panel_in: endpoint { remote-endpoint = <&mdss_dp3_out>; @@ -475,6 +479,16 @@ &pcie6a_phy { status = "okay"; }; +&pmc8380_3_gpios { + edp_bl_en: edp-bl-en-state { + pins = "gpio4"; + function = "normal"; + power-source = <0>; + input-disable; + output-enable; + }; +}; + &qupv3_0 { status = "okay"; }; From patchwork Sat Nov 23 12:58:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings via B4 Relay X-Patchwork-Id: 13883851 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 98A6218C002; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; cv=none; b=dIB3PQeECvq5udoAnXEkwrnKcEGn5xii3ykCz1vLbuWVhvkRtA2jWMb5DDx52Nj3tDhH9+3sBJ0OFXzx9JAKYSlglzJTtW7uGYkl9g/AA2jlr5L9eCAs//Cy+tYx6RmLxWGuucTFmsn3UwI+M5bAUL99/nfTVxZH7YwppCXRmvQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; c=relaxed/simple; bh=Fv47p68wpt/Xf64OQ7Qc/POU5bqiVwR09vqaKyiQh1A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=izo32yehKIhtXeX/Bk+3CGqCGfYcAOOSqwyoPGNDymQPRXxuKm19H9e6SmPw/SOsw+hn2JV+cmXNpnK0QhiDI2mUGPGytBwuLE3reTrp4/4hihW/QXt0WSmzq2o48T0rGz2x6pfBFW+LBLpwm24AwZIt8+EYdsaRFoAewqh5CbU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q0PLgn5L; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q0PLgn5L" Received: by smtp.kernel.org (Postfix) with ESMTPS id 16068C4CED3; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732366739; bh=Fv47p68wpt/Xf64OQ7Qc/POU5bqiVwR09vqaKyiQh1A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Q0PLgn5LdlNHbyByAYqrmuBlMbciWp8jwPG3asgp69PnwTEdk41fur3R0MAM+TO4W 3yYPVKzlOqQ1pYneBH7lD1DHdYRnbyWpW49ykFBJRTG5bXgPNPLszxM98gDKuCoznJ G91tI4d0+hPYGz3FHwwokveHnpUS4YTXM6EhrsNuxyKQOEmLGPYV+S4nlK9nWiU0d9 FLtCtmU9GNYBbiko/IbjBmqNC09eijicR9RTgIdkm401+fbXLb899S9RlUuF+hgxJ0 xeo0N7K+ovuk9DvPLhLI1JwawzGGYVxxA9bv5ENSRzGHhgrUE/o5KchNS6Y+9Ftqlh RGIDOhc3U8wAA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 081F0E6ADFD; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 13:58:55 +0100 Subject: [PATCH v2 3/4] arm64: dts: qcom: x1e80100-vivobook-s15: Add lid switch Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v2-3-a0bff8576024@hotmail.com> References: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Douglas Anderson , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1732366736; l=1600; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=cDAfP1GXN5HoZNSLX9L4CXkyhwGzk7nNuUgFq5shRK8=; b=mZhyHT18WPVEJvfZGqpyMVPUQtx7mSQkX/lUI4RGOdnIZHikBcBw/YKSKINz9eXbWQ1P1P25q D2IJzN565vEAP2WACfJfCAy7pP0pzdxXpOZdCi7WnrX/KMRb427d55N X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=CeFKVnZvRfX2QjB1DpdiAe2N+MEjwLEB9Yhx/OAcxRc= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20241110 with auth_id=273 X-Original-From: Maud Spierings Reply-To: maud_spierings@hotmail.com From: Maud Spierings Add the lid switch for the Asus vivobook s15 Signed-off-by: Maud Spierings --- .../boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts index dbc85aff50a95bfc2ac11528d1901979ec7b1501..d0bee4b6fc0be6fe40d335f4d50dde495853b315 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -7,6 +7,7 @@ /dts-v1/; #include +#include #include #include "x1e80100.dtsi" @@ -17,6 +18,20 @@ / { compatible = "asus,vivobook-s15", "qcom,x1e80100"; chassis-type = "laptop"; + gpio-keys { + compatible = "gpio-keys"; + pinctrl-0 = <&hall_int_n_default>; + pinctrl-names = "default"; + + switch-lid { + gpios = <&tlmm 92 GPIO_ACTIVE_LOW>; + linux,input-type = ; + linux,code = ; + wakeup-source; + wakeup-event-action = ; + }; + }; + pmic-glink { compatible = "qcom,x1e80100-pmic-glink", "qcom,sm8550-pmic-glink", @@ -537,6 +552,12 @@ edp_reg_en: edp-reg-en-state { bias-disable; }; + hall_int_n_default: hall-int-n-state { + pins = "gpio92"; + function = "gpio"; + bias-disable; + }; + kybd_default: kybd-default-state { pins = "gpio67"; function = "gpio"; From patchwork Sat Nov 23 12:58:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings via B4 Relay X-Patchwork-Id: 13883847 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5ACC923098E; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; cv=none; b=Kq6QYCLqhtS2C2NBXEernAv5h28O+cghSGrOm7NMj1OeoRKs/am5azaEzVC1dvXb+l0MWG9AOduqfkbsc9yr4W7/e+ikEY188sAqV9cXAXDRlAEGt/YCBo6xjNrEv1o06V3RQKGPavjRkmXq4bCveYcO7P46youMevLbxelyVBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732366739; c=relaxed/simple; bh=rJ3P/EwNpRpfkOloeZcwIZCsX0PzORmTXOM1R5SR4gU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=j6tE/Q/OeWeb/ZUDrs7eJu2MbUknTD5xxl1McjmuHAjioQ9YaO8MJSxdWRST8H7oaceB5td3vvnK2cGp897hD2D+33EAwNhdTY0XCDvQwWgxcXNUSEjPCdvy6ONSqpLyXOkDPk4p/vlU4dpHQoHDmY+bT3kjRaA/QF3uBhMjGWQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LubYlHIM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LubYlHIM" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2BA45C4CEDB; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732366739; bh=rJ3P/EwNpRpfkOloeZcwIZCsX0PzORmTXOM1R5SR4gU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=LubYlHIMr5OnyMfeNHXytxf+Hr0BMlp2/kvtWYg2mp5b/Gji9qDwA82Ku0QUm85Vq Wup9CUG2gc60FI+ZowAHyx5vA7m+Giiu5jkxNaNjVE8M1356NFHWTsZ9Z5lzh6GaRY oUBXMNENXQ8y9VXpLXtz53m4z8lTEUQ8YxqAJZAaJGK+mwpvgo8XF8227K0ssDI9H4 yJh64C69ds+u5wFiJf1EdIxSn8UFxUCgGUIUtSXzkhzef10ZP3oCw5/Kxwb0D/ePR0 yCrXMcGPKSvp4hXOXubDoGYLvfW9RTogreThW34h87s642UmbwMFKNBw1AkTnMsYN8 Ghxm8A5JFWccA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19A81E6ADFF; Sat, 23 Nov 2024 12:58:59 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 13:58:56 +0100 Subject: [PATCH v2 4/4] arm64: dts: qcom: x1e80100-vivobook-s15: Add bluetooth Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v2-4-a0bff8576024@hotmail.com> References: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v2-0-a0bff8576024@hotmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Douglas Anderson , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1732366736; l=1600; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=vMJXwGXqcYHA1iOq+F9o2RBWr2fMV7IxMGdC4E6B5Pk=; b=365x96YE6AP/LybGpULNt3Vr0JG9Hmfnj6O5ZshBhwY8zwRr+XMHMUjn9K5v/i9xyCtSGfNCA g3MHJQw82pbDiDQAjwkV5+BmmzWObPa1+W1LULiSmFWb4nvQy0K9mvZ X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=CeFKVnZvRfX2QjB1DpdiAe2N+MEjwLEB9Yhx/OAcxRc= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20241110 with auth_id=273 X-Original-From: Maud Spierings Reply-To: maud_spierings@hotmail.com From: Maud Spierings Add bluetooth for the asus vivobook s15 Signed-off-by: Maud Spierings --- .../boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts index d0bee4b6fc0be6fe40d335f4d50dde495853b315..caf7509692db84c69ad375b5dd07054ac0adcb52 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -18,6 +18,11 @@ / { compatible = "asus,vivobook-s15", "qcom,x1e80100"; chassis-type = "laptop"; + aliases { + serial0 = &uart21; + serial1 = &uart14; + }; + gpio-keys { compatible = "gpio-keys"; pinctrl-0 = <&hall_int_n_default>; @@ -545,6 +550,14 @@ &tlmm { <44 4>, /* SPI (TPM) */ <238 1>; /* UFS Reset */ + bt_en_default: bt-en-sleep { + pins = "gpio116"; + function = "gpio"; + output-low; + bias-disable; + qcom,drive-strength = <16>; + }; + edp_reg_en: edp-reg-en-state { pins = "gpio70"; function = "gpio"; @@ -624,6 +637,17 @@ tpad_default: tpad-default-state { }; }; +&uart14 { + status = "okay"; + bluetooth: bt_wcn7850 { + compatible = "qcom,wcn7850-bt"; + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_default>; + enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>; + max-speed = <3200000>; + }; +}; + &usb_1_ss0_hsphy { vdd-supply = <&vreg_l3j_0p8>; vdda12-supply = <&vreg_l2j_1p2>;