From patchwork Thu May 23 06:06:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juerg Haefliger X-Patchwork-Id: 1938189 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VlHkV1lnQz1ydW for ; Thu, 23 May 2024 16:06:57 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sA1bF-0001jo-Ck; Thu, 23 May 2024 06:06:49 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sA1bD-0001iq-Po for kernel-team@lists.ubuntu.com; Thu, 23 May 2024 06:06:47 +0000 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 850333F5E9 for ; Thu, 23 May 2024 06:06:47 +0000 (UTC) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a59bfd32b8fso92455566b.3 for ; Wed, 22 May 2024 23:06:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716444407; x=1717049207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wB0M5GG5c/tj5T5+2kUSahTmgI24MBPZEBSTGUFkb+U=; b=gqEF4osVROSfe502s0rQhf/kNFMVM/Vmx0TYWwO8lvAlqnB68Ggj6XzUygZIyrigZb 78D4WFhiWcWROu8Ta6T4aTGLY8/OJKF6ht41Qz5WyUfZb1IQ+715HOF/yeuEq6zj9OHD tsQD4Ytp24P5DWNU/yXjx34WM8QT06FZgCZ7vidZAQgC/jFF2kvvax+S0r9WJkzOZGzu 5YtCboB/FQIfxmQXB167yj8L1/IqDvBd2laeEN5N95mYuDeWsz0WiUjSY5/H5OSiumHh 5xCU8F8yWFBsnNktm1jOToQl4hrty51xjjVfoQWMLfxIJk+yQBA90B6cKV1beiCHzCE/ 4ShA== X-Gm-Message-State: AOJu0YwNHcNRqqs6nSZJgTdfAagO6DRA/hrFZHbeRiUjEot/AcLZXbkp FjdfG3peAgd58/GXdp5gtTqkGFCZO1POmMyjymHkGEPZz3f5wpVuQmwvJv/YfaqVT6OhUSk91fS 5aGUmHf5n4WL0Aea17l99jF/kUwahhrL+fafim9KTJKRHJeynYdIrvvRhckg4WjfJTLJHs6gN2B Cxez6NBqR44A== X-Received: by 2002:a17:906:d101:b0:a5a:423:a69f with SMTP id a640c23a62f3a-a622806b4c9mr254331366b.9.1716444407235; Wed, 22 May 2024 23:06:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHquyw97FSUG2P1IDVITL+ndl1FlXWAdMTx/8R+BmbyGyBiGNdThqo2gkLfrlLpCLtr3yY0cA== X-Received: by 2002:a17:906:d101:b0:a5a:423:a69f with SMTP id a640c23a62f3a-a622806b4c9mr254326766b.9.1716444405887; Wed, 22 May 2024 23:06:45 -0700 (PDT) Received: from localhost ([81.221.247.52]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b01451sm1907277366b.149.2024.05.22.23.06.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 23:06:45 -0700 (PDT) From: Juerg Haefliger To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 2/2] UBUNTU: SAUCE: arm64: dts: qcom: sc8280xp-x13s: enable USB MP and fingerprint reader Date: Thu, 23 May 2024 08:06:42 +0200 Message-Id: <20240523060642.440794-3-juerg.haefliger@canonical.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240523060642.440794-1-juerg.haefliger@canonical.com> References: <20240523060642.440794-1-juerg.haefliger@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Johan Hovold BugLink: https://bugs.launchpad.net/bugs/2065376 Enable the multiport USB controller to which the fingerprint reader in the X13s power button is connected. Signed-off-by: Johan Hovold (cherry picked from commit 74fe8596b523462913276166ab70bfefabd2447f github.com/jhovold/linux) Signed-off-by: Juerg Haefliger --- .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 89 +++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index eb657e544961..461e7afe662d 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -416,6 +416,13 @@ vreg_s12b: smps12 { regulator-always-on; }; + vreg_l1b: ldo1 { + regulator-name = "vreg_l1b"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + vreg_l3b: ldo3 { regulator-name = "vreg_l3b"; regulator-min-microvolt = <1200000>; @@ -466,6 +473,13 @@ vreg_l1c: ldo1 { regulator-initial-mode = ; }; + vreg_l8c: ldo8 { + regulator-name = "vreg_l8c"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + vreg_l12c: ldo12 { regulator-name = "vreg_l12c"; regulator-min-microvolt = <1800000>; @@ -499,6 +513,13 @@ regulators-2 { vdd-l6-l9-l10-supply = <&vreg_s12b>; vdd-l8-supply = <&vreg_s12b>; + vreg_l2d: ldo2 { + regulator-name = "vreg_l2d"; + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3072000>; + regulator-initial-mode = ; + }; + vreg_l3d: ldo3 { regulator-name = "vreg_l3d"; regulator-min-microvolt = <1200000>; @@ -527,12 +548,26 @@ vreg_l7d: ldo7 { regulator-initial-mode = ; }; + vreg_l8d: ldo8 { + regulator-name = "vreg_l8d"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + vreg_l9d: ldo9 { regulator-name = "vreg_l9d"; regulator-min-microvolt = <912000>; regulator-max-microvolt = <912000>; regulator-initial-mode = ; }; + + vreg_l10d: ldo10 { + regulator-name = "vreg_l10d"; + regulator-min-microvolt = <912000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; }; }; @@ -1203,6 +1238,60 @@ &usb_1_role_switch { remote-endpoint = <&pmic_glink_con1_hs>; }; +&usb_2 { + status = "okay"; +}; + +&usb_2_dwc3 { + dr_mode = "host"; +}; + +&usb_2_hsphy0 { + vdda-pll-supply = <&vreg_l1b>; + vdda18-supply = <&vreg_l1c>; + vdda33-supply = <&vreg_l7d>; + + status = "okay"; +}; + +&usb_2_hsphy1 { + vdda-pll-supply = <&vreg_l8d>; + vdda18-supply = <&vreg_l1c>; + vdda33-supply = <&vreg_l7d>; + + status = "okay"; +}; + +&usb_2_hsphy2 { + vdda-pll-supply = <&vreg_l10d>; + vdda18-supply = <&vreg_l8c>; + vdda33-supply = <&vreg_l2d>; + + status = "okay"; +}; + +&usb_2_hsphy3 { + vdda-pll-supply = <&vreg_l10d>; + vdda18-supply = <&vreg_l8c>; + vdda33-supply = <&vreg_l2d>; + + status = "okay"; +}; + +&usb_2_qmpphy0 { + vdda-phy-supply = <&vreg_l1b>; + vdda-pll-supply = <&vreg_l4d>; + + status = "okay"; +}; + +&usb_2_qmpphy1 { + vdda-phy-supply = <&vreg_l8d>; + vdda-pll-supply = <&vreg_l4d>; + + status = "okay"; +}; + &vamacro { pinctrl-0 = <&dmic01_default>, <&dmic02_default>; pinctrl-names = "default";