From patchwork Sat Nov 23 11:05:51 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: 13883829 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 90B44E6ADF5 for ; Sat, 23 Nov 2024 11:06:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CD53010E44D; Sat, 23 Nov 2024 11:06:20 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="M7sCzzUp"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0504410E1B6 for ; Sat, 23 Nov 2024 11:06:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id AEC605C54A2; Sat, 23 Nov 2024 11:05:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 956A2C4CED1; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732359974; bh=E4I3y7xqOaJT9A85WU9bzFuhEDIjkVR1pOZnZP8SlLA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=M7sCzzUpzWsMR1Kfv47RsfjgIjdv53gajGh+GOu69p/midgjpaerwuQI5yJ3GeCLb S6Q+ScxS1D17fOyxgPGrprCTqiN92xkP17JucCkDUy6+3FPKOQ3N0UcE1ZM0TIXJz7 HlwQ0khkwZdLip6xFD5SEhI1h5Qp/EUTzPds468xlG7K+J2N4OCFykw6etJR3NYv8V e54fO3muVLo854Abd2Av4zSetpQ9Uz/zfsNutfdiK9t4BKr22vdU/i5WMKmXJSkr7u AtyGsiOH3rACMsV5oGf70+ghB02zPPl+O95/fFMpBwwTPnvuC4ZuzYszXH8rmLa3Xh NMtnJJkze9wuA== 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 81E2EE6ADF4; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 12:05:51 +0100 Subject: [PATCH 1/4] dt-bindings: display: panel: samsung,atna56ac03: Document ATNA56AC03 MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v1-1-85a9ff9240aa@hotmail.com> References: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@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=1732359972; l=1104; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=IsotGGeS1hNHslMt3hu9mke2nzQXlgG9kOU5FgNZHkA=; b=1bY5DkY93Gn2mdw2OBx6WTL8VTBKNeT3HFOhpT8r+4u8hC0+0oqU8R90hvLidqgDuSddYjwvG Ehq72DVIwbcB6gHQU7y25tEaXYlQNutH7A3Lq5VbMEosZmFmZwKnQfd 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: maud_spierings@hotmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- 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 11:05:52 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: 13883826 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2813CE6ADF4 for ; Sat, 23 Nov 2024 11:06:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A53410E436; Sat, 23 Nov 2024 11:06:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="ERPDPUi2"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1AA1410E436 for ; Sat, 23 Nov 2024 11:06:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id AF1DF5C54A7; Sat, 23 Nov 2024 11:05:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9D9AFC4CED0; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732359974; bh=hCWPTU0oR6gGA6LruaUb8nCr9j4CS/MKpzMxuv9RgoA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ERPDPUi2habuW4Fa58YZFzlQmnKH0YTjoA+uCpBdi6hsD5s0ssQzBdqf4t2ZkfssR +QRkpcf17/p+BNzUwW8ms7nd4nljffj0n7yIH+4fktTDgoaAzsJL6PK+7Z1Uivqq4X DeKF8BIyiObo/M9rKB6XAnn1eGWTWWWqgMGxBk9y5fz19OHqCRcfle6A0Lu1BNOy9S SapHeBb0NNth6umeyx8kwKL1HvHjvlu93NTFJikt/hvdfrY88eDD75QDnqGxKKK5kG sJ816ctCNzrX6f6khSwnE8kTMGtodBhCntOowS1L7h9H+RxPtNPmwIGOYRdeCNDGvt 7dEb5izK2uAfQ== 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 8F67BE6ADF3; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 12:05:52 +0100 Subject: [PATCH 2/4] arm64: dts: qcom: x1e80100-vivobook-s15: Use the samsung,atna33xc20 panel driver MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v1-2-85a9ff9240aa@hotmail.com> References: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@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=1732359972; l=1388; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=yLKoqyn/v9BZdCsCAd3cnvw+zKCdySrKEuedXGKA2QA=; b=uoCHBqf7ckxd0xmfXWvIkgvHSp97O+FFjRU3cLN+A3IzRcAdaRUf8vPZceLIgWhz9KUwxBZFU 50fBmignuwpBfka5TRx272hEUxjLmkded/cIEBFEwiLc0WqVWM7NiKF 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: maud_spierings@hotmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 11:05: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: 13883827 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C5C1E6ADF3 for ; Sat, 23 Nov 2024 11:06:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E0A310E1B6; Sat, 23 Nov 2024 11:06:20 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="uL1ifB10"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 82AA510E436 for ; Sat, 23 Nov 2024 11:06:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id DEC0D5C54FF; Sat, 23 Nov 2024 11:05:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id AC12AC4CED8; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732359974; bh=LHfsO5qRzd6WqqQsGBjv8BrVc2ugUkxtkoGwPGbCg3c=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=uL1ifB10vwZGhR+3cBk2edR6kyfFWToeNM/rIBxV4XIhQ+oyUjzP3OjsBFSu81N7p nw0x0Y/T08qPx1ZIivNY79JdD6xog4RTD9YiFSErCRpMiCcGIMLaWv3/AADk6pDKx+ J5+hp2OfijDSG7JtINDB6ItrWuPiO8xjksLbDxFx5Pmd+jcXtdg9ZCHRrHHrujUS4x t9dtojXOrJ3GQXtwdDo5vtYH8SEjR9zeaHGnOe0nQN096gdifAAywACOexurulTdPy mKB0IfOTYje+rWL3doDffXWZtzQ9szJopn/Quab5+igKLbTDt4gmNlIWVS65d3Zz4k 8lr07f9i9aB7Q== 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 A0D1EE6ADF7; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 12:05:53 +0100 Subject: [PATCH 3/4] arm64: dts: qcom: x1e80100-vivobook-s15: Add lid switch MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v1-3-85a9ff9240aa@hotmail.com> References: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@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=1732359972; l=1398; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=2Fsv6gofTnQRjFCbk36VF6plX1Xp9Ps/3F/wjNK21VE=; b=Um8NXi0h8NeArK/WBUEadfl1aT/oMvEnxcaHDshwHy+Y1tzpsA2MGi46Hw25Te+E0YS1lt1DH I4a6W+NvsPqBpY8Y/PONwP6Pyo2mTdUv0LnEHhq0qIwCqVYOpp9yznZ 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: maud_spierings@hotmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 | 19 +++++++++++++++++++ 1 file changed, 19 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..109b9d8816d26550ccfcb9906d69f2745d02f1d3 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -17,6 +17,19 @@ / { 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 +550,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 11:05: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: 13883828 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 715C5E6ADF4 for ; Sat, 23 Nov 2024 11:06:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 97B6310E448; Sat, 23 Nov 2024 11:06:20 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="ajoZpkE0"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4C9BE10E1B6 for ; Sat, 23 Nov 2024 11:06:16 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D90DE5C54C1; Sat, 23 Nov 2024 11:05:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id C0E5CC4CEDA; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732359974; bh=fclkgm9lFTykmqvFCLvJfaEh0CEb/3Poq7a5Y05RJYs=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ajoZpkE0HnrZMJgjRuU2svcm+qtPC1Dd7nnpg+oZZ7nVZ5FfnSyHgV45a1sFTmktA AlYMt8W/6OLmvBKOewcGSiPbCSj3vg3/L36Z+jYNenI7buEPqGQ/6JTE5b+cYaZJso yF6MuPYnxcA0TLVv1WQtChUpyeYg68ZJM1GeWZg8YtoHo2vV46qGkSuiw8Jzk8N1dn bNp3h311p5Pzq9CAIS1TELi2AdVygHPeBdxJBLGqkJyxAPyD4A8Slq5+BozSvBid6Y XHq/cee89lG5rWWMwJ1xXy7mrhqGvix9GyGd2ihf5ldbkxM5qUvAGFJ/CI+W1KwgdD E0p1DqrqMm2HA== 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 B5A50E6ADF4; Sat, 23 Nov 2024 11:06:14 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sat, 23 Nov 2024 12:05:54 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: x1e80100-vivobook-s15: Add bluetooth MIME-Version: 1.0 Message-Id: <20241123-asus_qcom_display-v1-4-85a9ff9240aa@hotmail.com> References: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@hotmail.com> In-Reply-To: <20241123-asus_qcom_display-v1-0-85a9ff9240aa@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=1732359972; l=1600; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=oUN077tbzsv6PE2OOQAgFBjB52brIP7ZWV3kltZu5CE=; b=hfeUUDNBuAXzWamtS2UsGNm+PTeDIrfo4pujK9iXZJDMD+Vl6urVEQw130EzWCkjPhYiebpjF VPO533gkJBaD+8NrBjTtRp5u1MzmIzYhk3o/76sQUEUEgupnQ99GoBv 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: maud_spierings@hotmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 109b9d8816d26550ccfcb9906d69f2745d02f1d3..bb22a853cf49fa2c06d0208932f8b68384e9e407 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -17,6 +17,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>; @@ -543,6 +548,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"; @@ -622,6 +635,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>;