From nobody Tue Oct 7 18:45:08 2025 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.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 2446F19415D for ; Mon, 18 Nov 2024 10:34:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731926079; cv=none; b=nxWwJjUlqBwfQT7GJxdCoRHLzo2g+6pCeWNPFFBBnE1qaH+5d67secBE0x/sJcz6sjJ4jl8q1yXMPXd9XisHJc+oJ7Zh8vxGGio7qO2YQ6iYf6YrlvIB32pk1Fp1lFqOgq34zBMM1485tKfBiN/hoQeifI+q+jmWiiQAygF5Z5Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731926079; c=relaxed/simple; bh=5thSI/c+7QWY6iWfYvRFqJwPPVssjzSrSi0OiLmYH9g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=SNN4FT1Zt86iZ6DwtrjmaMAiPsiYR4XuyDHlQ5wqV4/+b99JcH8I3siNejdsnnG8vJLOhL+cumtdrKpAn5bm2CA6INpFNhW4PJatUhtqs4kHMy/BkimG/TRri35zSNhonmSAVGmahNtoUmuKSrLhsE+jlFEOnlm0KTLJZaRtxe4= 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=KQYO5aWb; arc=none smtp.client-ip=209.85.128.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="KQYO5aWb" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4315eac969aso22403065e9.1 for ; Mon, 18 Nov 2024 02:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731926076; x=1732530876; 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=Yr1292EdCuKFfiA+4ZvZQTerR4Z3UgKV6lwrmxEoxeo=; b=KQYO5aWbQY/a9ge/YJ/80N2rNibzGaGArJLYJIJLdUpdxoU+eylLoQ40Sy/oXvMyM2 2+RaIMUFBqiSDcrNq0q5RqLbCXJc7CRtmLXbZd75ty73C3FQbMF2PYDcWRt98nzOldHN bCBs3JKnFX7kehsgl5cgeu288FqemX76pBoA5JZPfXFqHVSKMH6wnhM4logJDrJ1Xqsw BSzks2+2aOL+SCxiTPuihQgu0ZUtohL9ROMORIubgd9aUdGopuOc+r2mts/VYfF1/paM dBtbTguSe9jQzr5W2znx0JBhoiELQ0/M/dzpH+yOvB8JHbU++rZbwTAdPIUnvIcEffGM 8pZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731926076; x=1732530876; 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=Yr1292EdCuKFfiA+4ZvZQTerR4Z3UgKV6lwrmxEoxeo=; b=mzdvbwNT6VsejfkNYMUVkwBD6911kUnulNy5eZcNiz8pK/8t5wmEDY6sFCWCvGoqp1 45DG7cAVvmL3mTgdriDTzRLdJVPfpRW/fov5pB+6ZRDEY7o52TzSd2eQCVPhJCQUL6Z6 c0rKp5uwPRkFTp2nj3Z9KxWeA7HNN3eI8TYxl2tmugNaAlAfgZ9K5c64kUESx+u4HaXk N9YFTY1kHYt5o/0xlWwolb8Sfyi6tnxLF+pK0YE/vP/uata+SPvhS046MP/Zlp9qIwwH sXRGRtpXTr3nyO2uGecRdxiPstGnwxRRsn8a81Yn9qkMjcO5udv+PgI+WLX34syMd1TP 56Ig== X-Forwarded-Encrypted: i=1; AJvYcCWyLVKnK5xM/kXTch4MtAhOYrnQgARNEUW7Jm9C+us3f28h+57yR6aJ/bJLtYn2TOW7sqlfnRjtsNg+9PM=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0YYrjLJ6LQuXQDQpPlEWe2ryNqUPP0uFU31uHvdF1OBRWHIiJ k1UMwyKHuywNWllNgyLiPJOXpPrj+irHVxkf3JnAhih2CMIcXyz9FfrwmqRKMKw= X-Google-Smtp-Source: AGHT+IEpR027bQwqgL+gWsLc+SHyyXqlwdyiwrb5NhXy2pdUH//X/toKtnp1aDwfHxO74fzhk6rBZg== X-Received: by 2002:a05:600c:1d1d:b0:431:3b80:6ca7 with SMTP id 5b1f17b1804b1-432d9767819mr147645655e9.13.1731926076147; Mon, 18 Nov 2024 02:34:36 -0800 (PST) Received: from [127.0.0.2] ([2a02:2454:ff21:ef40:5b7a:75b3:1e72:6e3d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38245e95925sm3162979f8f.111.2024.11.18.02.34.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2024 02:34:35 -0800 (PST) From: Stephan Gerhold Date: Mon, 18 Nov 2024 11:34:29 +0100 Subject: [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Add USB multiport fingerprint reader Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241118-x1e80100-crd-fp-v1-1-ec6b553a2e53@linaro.org> References: <20241118-x1e80100-crd-fp-v1-0-ec6b553a2e53@linaro.org> In-Reply-To: <20241118-x1e80100-crd-fp-v1-0-ec6b553a2e53@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abel Vesa , Johan Hovold X-Mailer: b4 0.13.0 The X1E80100 CRD has a Goodix fingerprint reader connected to the USB multiport controller on eUSB6. All other ports (including USB super-speed pins) are unused. Set it up in the device tree together with the NXP PTN3222 repeater. Signed-off-by: Stephan Gerhold Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 48 +++++++++++++++++++++++++++= ++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dt= s/qcom/x1e80100-crd.dts index 39f9d9cdc10d..44942931c18f 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -735,6 +735,26 @@ keyboard@3a { }; }; =20 +&i2c5 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + eusb6_repeater: redriver@4f { + compatible =3D "nxp,ptn3222"; + reg =3D <0x4f>; + #phy-cells =3D <0>; + + vdd3v3-supply =3D <&vreg_l13b_3p0>; + vdd1v8-supply =3D <&vreg_l4b_1p8>; + + reset-gpios =3D <&tlmm 184 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&eusb6_reset_n>; + pinctrl-names =3D "default"; + }; +}; + &i2c8 { clock-frequency =3D <400000>; =20 @@ -1047,6 +1067,14 @@ edp_reg_en: edp-reg-en-state { bias-disable; }; =20 + eusb6_reset_n: eusb6-reset-n-state { + pins =3D "gpio184"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + output-low; + }; + hall_int_n_default: hall-int-n-state { pins =3D "gpio92"; function =3D "gpio"; @@ -1260,3 +1288,23 @@ &usb_1_ss2_dwc3_hs { &usb_1_ss2_qmpphy_out { remote-endpoint =3D <&pmic_glink_ss2_ss_in>; }; + +&usb_mp { + status =3D "okay"; +}; + +&usb_mp_dwc3 { + /* Limit to USB 2.0 and single port */ + maximum-speed =3D "high-speed"; + phys =3D <&usb_mp_hsphy1>; + phy-names =3D "usb2-1"; +}; + +&usb_mp_hsphy1 { + vdd-supply =3D <&vreg_l2e_0p8>; + vdda12-supply =3D <&vreg_l3e_1p2>; + + phys =3D <&eusb6_repeater>; + + status =3D "okay"; +}; --=20 2.44.2 From nobody Tue Oct 7 18:45:08 2025 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 9EFD01946A8 for ; Mon, 18 Nov 2024 10:34:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731926080; cv=none; b=LrrLdeOqjQcFCC+as5EPmcGmKalQ9MLBZyUkgBQUY7vGiXHJHzDzcKdgVve+QiOXf934DqRX49knhFRJ+5+3sxByliYaLPcN/Hufg62BE3430/G2BtFV7/jHp+gkZHfm4NscugL28SK3GG4ekc92IfCHNEDvJri9pPhYwjL04ko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731926080; c=relaxed/simple; bh=XQsDyuRiau3IHO4Li1+Y+cuAubOEwOYf9EOJSmEbkBs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UbEdvCfVXBXrMtWP1PAwnuknzzPw69m/mMU5Pgyc5Fn26q0CTTU6tInkNt+wgFGBmR81n/cmfbBcgQ18z9v6SGOq2EBG3xdU1aErHcUutQXwWI/c5e6VYMQAqyAPB38HyoGNq4SPS5lNbrx5VHT753dDA4dTAFrsEIP8UgxzYa0= 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=RkEEcc/M; arc=none smtp.client-ip=209.85.221.47 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="RkEEcc/M" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3823f1ed492so583970f8f.1 for ; Mon, 18 Nov 2024 02:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731926077; x=1732530877; 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=W7YU9L/ihohCgSGV7XFCQCDHEXAXKVeCUTFSk43kuSs=; b=RkEEcc/MdVc4XeuUxPrXW7gCWcStT2vFV3AHdcGUqiXJptxZuuuGCD8zjAgqONl28D e8764lltzpNaZR02Tbvh9uIWYnkANSyvmdmekBT+i19iLfjKmbsl+p933o8UYR/kuOlR M+C0as/esy84Ww13qSH5cpRWqA+aY852nIh4f023ydNjXOX150eJmLoRreTrxmq1BzIf FOFvI74QfOABwlCtUhhOCm8PAigqzUYb8/x+Zww6aS3TsZOiU6FE6OsvIFrNdNp9ia7W 4/l9lPCfZ+un6D6S8+CDo84yTHK38NCKU+E4LwW2tiyH5vmL2iQD0mOzAFcRNIJNFgVi 7u2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731926077; x=1732530877; 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=W7YU9L/ihohCgSGV7XFCQCDHEXAXKVeCUTFSk43kuSs=; b=wJeHPJF6j3V5MhGXUXdNi2w70lLwsZs3opYO+vQfClpyex4NcFq51No4BDQ5CkzkNX 3+lu7pvXHFyC2CWny18nwwRwBEg9b8GxEW8qOi64ZRDDeWMPRcyo5XBFCBBekYqLkfcw w+Oxovn9qeCSAMd962e3JBY9W8rPTgQiM89ZPR9HMYUYyzFsspIOnfdn+trS45eAXQrB PxPDiDs2Jr7n6ip0/6ei5BzZNlRtKBFwFMrV5mb8y8+FCZLrI9D8X4B+sMaguYS8AQ9W Mb/FyRq0bEqUcE8HNo3nygAsNZLvxWFKoHYfZCR2iCsKajwRbdmjXZjWZEdHOc6Bfo7c l6QA== X-Forwarded-Encrypted: i=1; AJvYcCUe/FBXcnOSCSudjveYHCBEerE29VKvZpuq5VOBjXX2YvToNEsRxCz1SiiR1Pauo3nM7efLYI3ZCGiwmFA=@vger.kernel.org X-Gm-Message-State: AOJu0Yzj9EkWop+SuqAFQgfsQlSfZmh8JevFzx04F9pNwj9BXTd1zPz8 7mwd4q+nxws0WzzFzytl0Xpd8XmIVbvOlsVhIPOqJfcai9maP3l31sfJ1F/lrfE= X-Google-Smtp-Source: AGHT+IGwcJJL68jiIs4CpOJY91QszYJvr1I5b9vVKUwSfS1kEIk0ygwL6xoo18htvJHm4mOKTYcF8g== X-Received: by 2002:a5d:6d8a:0:b0:382:484d:45da with SMTP id ffacd0b85a97d-382484d4782mr2179017f8f.6.1731926076817; Mon, 18 Nov 2024 02:34:36 -0800 (PST) Received: from [127.0.0.2] ([2a02:2454:ff21:ef40:5b7a:75b3:1e72:6e3d]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38245e95925sm3162979f8f.111.2024.11.18.02.34.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2024 02:34:36 -0800 (PST) From: Stephan Gerhold Date: Mon, 18 Nov 2024 11:34:30 +0100 Subject: [PATCH 2/2] arm64: defconfig: enable NXP PTN3222 eUSB2 to USB2 redriver driver Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241118-x1e80100-crd-fp-v1-2-ec6b553a2e53@linaro.org> References: <20241118-x1e80100-crd-fp-v1-0-ec6b553a2e53@linaro.org> In-Reply-To: <20241118-x1e80100-crd-fp-v1-0-ec6b553a2e53@linaro.org> To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abel Vesa , Johan Hovold X-Mailer: b4 0.13.0 It is used in many of the Qualcomm X1 Elite laptops for additional USB-A ports, USB fingerprint readers or similar peripherals. Signed-off-by: Stephan Gerhold --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0b8303eb498d..8b17d70b3b58 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1530,6 +1530,7 @@ CONFIG_RESET_RZG2L_USBPHY_CTRL=3Dy CONFIG_RESET_TI_SCI=3Dy CONFIG_PHY_XGENE=3Dy CONFIG_PHY_CAN_TRANSCEIVER=3Dm +CONFIG_PHY_NXP_PTN3222=3Dm CONFIG_PHY_SUN4I_USB=3Dy CONFIG_PHY_CADENCE_TORRENT=3Dm CONFIG_PHY_CADENCE_DPHY_RX=3Dm --=20 2.44.2