arch/arm64/boot/dts/qcom/x1-crd.dtsi | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+)
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 <stephan.gerhold@linaro.org>
---
Changes in v2:
- Describe all PHYs, also the unused ones (Johan)
- Put #phy-cells property last (Johan)
- Sort supplies alphabetically (Johan)
- Johan suggested dropping output-low, but together with bias-disable this
would leave the line temporarily floating until the driver probes.
Perhaps dropping bias-disable would be better since it shouldn't make a
difference for output-only GPIOs(?), but for now keep it as-is to match
all other X1E devices.
- Drop defconfig patch since Bjorn sent a different one that was applied
- Link to v1: https://lore.kernel.org/r/20241118-x1e80100-crd-fp-v1-0-ec6b553a2e53@linaro.org
---
arch/arm64/boot/dts/qcom/x1-crd.dtsi | 64 ++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/x1-crd.dtsi b/arch/arm64/boot/dts/qcom/x1-crd.dtsi
index c9f0d505267081af66b0973fe6c1e33832a2c86b..730b27c878fc7bebc9d8c0d055cbd7e635140d83 100644
--- a/arch/arm64/boot/dts/qcom/x1-crd.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1-crd.dtsi
@@ -1016,6 +1016,27 @@ retimer_ss0_con_sbu_out: endpoint {
};
};
+&i2c5 {
+ clock-frequency = <400000>;
+
+ status = "okay";
+
+ eusb6_repeater: redriver@4f {
+ compatible = "nxp,ptn3222";
+ reg = <0x4f>;
+
+ vdd1v8-supply = <&vreg_l4b_1p8>;
+ vdd3v3-supply = <&vreg_l13b_3p0>;
+
+ reset-gpios = <&tlmm 184 GPIO_ACTIVE_LOW>;
+
+ pinctrl-0 = <&eusb6_reset_n>;
+ pinctrl-names = "default";
+
+ #phy-cells = <0>;
+ };
+};
+
&i2c7 {
clock-frequency = <400000>;
@@ -1466,6 +1487,14 @@ edp_reg_en: edp-reg-en-state {
bias-disable;
};
+ eusb6_reset_n: eusb6-reset-n-state {
+ pins = "gpio184";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ output-low;
+ };
+
hall_int_n_default: hall-int-n-state {
pins = "gpio92";
function = "gpio";
@@ -1747,3 +1776,38 @@ &usb_1_ss2_dwc3_hs {
&usb_1_ss2_qmpphy_out {
remote-endpoint = <&retimer_ss2_ss_in>;
};
+
+&usb_mp {
+ /* Only second port is used with USB 2.0 maximum speed */
+ status = "okay";
+};
+
+&usb_mp_hsphy0 {
+ vdd-supply = <&vreg_l2e_0p8>;
+ vdda12-supply = <&vreg_l3e_1p2>;
+
+ status = "okay";
+};
+
+&usb_mp_hsphy1 {
+ vdd-supply = <&vreg_l2e_0p8>;
+ vdda12-supply = <&vreg_l3e_1p2>;
+
+ phys = <&eusb6_repeater>;
+
+ status = "okay";
+};
+
+&usb_mp_qmpphy0 {
+ vdda-phy-supply = <&vreg_l3e_1p2>;
+ vdda-pll-supply = <&vreg_l3c_0p8>;
+
+ status = "okay";
+};
+
+&usb_mp_qmpphy1 {
+ vdda-phy-supply = <&vreg_l3e_1p2>;
+ vdda-pll-supply = <&vreg_l3c_0p8>;
+
+ status = "okay";
+};
---
base-commit: 0672fe83ed07387afb88653ab3b5dae4c84cf3ce
change-id: 20241115-x1e80100-crd-fp-8828cca97d66
Best regards,
--
Stephan Gerhold <stephan.gerhold@linaro.org>
On Mon, 14 Jul 2025 13:48:15 +0200, Stephan Gerhold wrote: > 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. > > > [...] Applied, thanks! [1/1] arm64: dts: qcom: x1e80100-crd: Add USB multiport fingerprint reader commit: ad9abc9ba4046360f23a410f74ef78e646c08aa1 Best regards, -- Bjorn Andersson <andersson@kernel.org>
On Mon, Jul 14, 2025 at 01:48:15PM +0200, Stephan Gerhold wrote: > 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 <stephan.gerhold@linaro.org> > --- > Changes in v2: > - Describe all PHYs, also the unused ones (Johan) > - Put #phy-cells property last (Johan) > - Sort supplies alphabetically (Johan) > - Johan suggested dropping output-low, but together with bias-disable this > would leave the line temporarily floating until the driver probes. > Perhaps dropping bias-disable would be better since it shouldn't make a > difference for output-only GPIOs(?), but for now keep it as-is to match > all other X1E devices. > - Drop defconfig patch since Bjorn sent a different one that was applied > - Link to v1: https://lore.kernel.org/r/20241118-x1e80100-crd-fp-v1-0-ec6b553a2e53@linaro.org Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Tested-by: Johan Hovold <johan+linaro@kernel.org>
On 7/14/25 1:48 PM, Stephan Gerhold wrote: > 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 <stephan.gerhold@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad
© 2016 - 2025 Red Hat, Inc.