From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 513374B0C88 for ; Sat, 5 Sep 2026 15:29:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788622165; cv=none; b=LlnnPEUV+Q4Pa9D+mJGILl7igYDJBGQ/EpeNyMb6JEs5rHD+1FoBjyiKx6Um6svpd7cvkxa59vFYJ9lKBxIYZ4tmigsnC/zleWFEVq7qv/Lv/1FI15CoeMzQfF8f47/oBU7+yMZ2mbBaRWrQE+Qrrg+6tcZoedShfEShXwmO334= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788622165; c=relaxed/simple; bh=WnXZK+/CafaIjClk17Obq+5PjwYns6avlw7ViAZaMp8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZEe6DQH33Ir+V6SjjnvrP9d7gWNHVOy9WuzgefYITcZ1T2ZClrICADNDqM6hJ9y/nfQDXN1po4KzElzvFCqDrFrdNJi5bRn9WYOOGyJ1IRBb4jq/P+PrsrDkXPKdaRlcLcqU+9IyYw+wxPecAQBf1dQiZZR/zMHxBn9yOjLwaFI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=Soxe5nsu; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=aeU2LKgx; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="Soxe5nsu"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="aeU2LKgx" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 685EgQBb2626014 for ; Sat, 5 Sep 2026 15:29:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= RTWsGeOsKcKPKKrUyN9zOsyxDt3cWAghdf/v1vcKlIw=; b=Soxe5nsuE1MnuEHc H3N28K9LsUe5uFQbHRzM0VgiVJZAgTe3l6kIJsWXY5+lQqM9TGJwmF283u6/SYRw Fg5wrTXozULA55HOOnkwJ3HW9OhvRRvqiVZxwUC8l+6AOvxtu7Lmea5v9fT1aRST JZMm2kdWopNAsd4Us3dVhB3ehBn/GEgzQ8JSrk6YoYZ0gxztRxcfB8GBBVg4IFT/ GceuN/q0x/wW1Oh4XtZOdYUeY5QEKYnTmkjU3SIYliYg6DBJdiIExF1W6aU7MwMk UW0GTrDHYqn+TkiY64ha7mtDCCvhB10fLVynvZTyXb09jKOU8SNe9LZcFYGzPqRo yw7dSw== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gg8eq1xx4-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 05 Sep 2026 15:29:22 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-cbe77d6864dso2962729a12.2 for ; Sat, 05 Sep 2026 08:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1788622161; x=1789226961; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=RTWsGeOsKcKPKKrUyN9zOsyxDt3cWAghdf/v1vcKlIw=; b=aeU2LKgx5Qt6DiYuf5MLuOJLH3G0E9zIvLU+wgwquDJs2u3OE9FpOp4DPJVmQ65U9z rY7//TyOEBzvx56tlp2RPY207O42p4PLp964zlHmEdHpw8jZcRGTcbv1aAc4Zu0YnZaE qPZedzHL5jC+z+hhXOdwZgvp4GFvf0UvNeuU2VIiDkjbSASP5GVZRLP6o7oTQ9dhseKG zNxYlfnHYzVGOuM3xaSs4tYlIXuXSi4mFRA17XsJRFU+XTI2OXf0Ic3Uv7vIFYS1ulad UpT0gSRtVvfHWoNnO1kOFrJMZyujH/FMe/K1R0+XEZmSdba/nblZhJELcHIxF75uoTTY CEzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788622161; x=1789226961; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=RTWsGeOsKcKPKKrUyN9zOsyxDt3cWAghdf/v1vcKlIw=; b=a/uTrjbTgIkk/yZLmrHGQ2pk57b5BI1c5rwS/jHjZBa7eMxQUlrUiIKqZBYSxQprVh /XkhCh0AxJrAu6oyhLBnnOqrU8enYLGIJhB6roK2ffWBKvDbMWZKe3Do0nCVKht4BB5g 7xqY/BK4e3QXNHYfSY345tub/fZRd7XkdCFbvWZyJ6loNKyHpUE6WTeBk5m96ZuNr57V nBg0EA3uGrK/zFOP17wNJnlHMgA49e7aSSAE9wjXJzU56tgBh7QnKcZr0tvtXTu3d6er B5S86HCcDrWcrdMdqRSIh01neoHg5/a4CburVnTqIPayNEsptCy5zQ7yLcKqLDowgXbM 2gnQ== X-Forwarded-Encrypted: i=1; AKwUvBwpwv32s7fJu55IsRdWDaeK/H8n74maCeqh+y2gsujs99+2O6Q4AGFb5+BZ9XJ9Q0fAkYTCarYdH6NkHEw=@vger.kernel.org X-Gm-Message-State: AFuF++mh+Eq4bN0Fj4zPbwXAunWtnEYcOu9tHv8I46OqV49y+xEwQsVW zI1fnkpojFgk8JkG4cHw6+pMduWRr0vaKNjnDxtZUK8TvrvVRYMyC4uESX3XOzvumEEKDPVcEJT 6T/Va16hb9++s/v203PgwrS72FHB4CPjH06E8NTjuDth95TgYUkEVEYbF8WPEGF5qSon6b2OYT1 w= X-Gm-Gg: AYBFou1mrLZWiWUj188jWxJ46mtsPkPbPZmWobxAHfWLXY9FMlThty6T9Ho/KzY+Q5n 59pnKf4tY9nWBo3/rH7MwaG77pZGrgBcKN8QLPYlicANNBkpsW1am++PG5vwlDRouJv841TdDdE Apb+uoUcEfuC7QGWyI8O74wNNCHrfmeTqXl+64Q229qgAwa2V+Lib4lT8/CGTlHf0QZhXh3uGzE jV5i3PS/jpEAT/L7ApbW374Wd3ANP/4C6VU3NlwJ0SYn7Y0dlLItmNb6Ai6j3TH2D58Fj+kc7Uw HCXYRT9RKC/+VnZw8ZeYoreQ8UXsLphIgAnILkrX+YaDBFGyjO0abiXXiqjJHVGvXjmr5UkA8ik TjKfQU5h5OG6qYEkswR7fUY58qb6rJnWg2StRlfLUt0VxazB1b3bNWhuc6I1Ug5BlrTNHnw== X-Received: by 2002:a05:6a20:914f:b0:3d0:88f5:f813 with SMTP id adf61e73a8af0-3da39ee3852mr19354221637.11.1788622161184; Sat, 05 Sep 2026 08:29:21 -0700 (PDT) X-Received: by 2002:a05:6a20:914f:b0:3d0:88f5:f813 with SMTP id adf61e73a8af0-3da39ee3852mr19354164637.11.1788622160739; Sat, 05 Sep 2026 08:29:20 -0700 (PDT) Received: from hu-kriskura-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3339af25062sm23592635eec.16.2026.09.05.08.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Sep 2026 08:29:19 -0700 (PDT) From: Krishna Kurapati Date: Sat, 05 Sep 2026 20:59:05 +0530 Subject: [PATCH v7 1/5] dt-bindings: phy: Add PHY_TYPE_EUSB2 definition 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: 7bit Message-Id: <20260905-eusb2-interrupt-v7-v7-1-820cf5377a70@oss.qualcomm.com> References: <20260905-eusb2-interrupt-v7-v7-0-820cf5377a70@oss.qualcomm.com> In-Reply-To: <20260905-eusb2-interrupt-v7-v7-0-820cf5377a70@oss.qualcomm.com> To: Vinod Koul , Neil Armstrong , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thinh Nguyen , Greg Kroah-Hartman Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Krishna Kurapati , Krzysztof Kozlowski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788622149; l=1887; i=krishna.kurapati@oss.qualcomm.com; s=20260707; h=from:subject:message-id; bh=WnXZK+/CafaIjClk17Obq+5PjwYns6avlw7ViAZaMp8=; b=FvNIJcoQHUvV30JecgI00eVRWrAFvuhbeEqY1R2x9CkSMksgbKoVLmmcGvrUMz7mPvcbNYgvH q8fcOFQ3pynCDxp66AGyc1Vjzoq+3wzdGt7swoMB0BUtvODU1uBFOBK X-Developer-Key: i=krishna.kurapati@oss.qualcomm.com; a=ed25519; pk=6PmiuwGCdov3wRO+bdmRlRxRtmJyDKz3ED57LLPVgds= X-Authority-Analysis: v=2.4 cv=F61nsKhN c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5N7Ikd0wC9Sx24s5aEUP/v 3ohDpXE3TzEqcxl/dVw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-09-05_05,2026-09-03_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 phishscore=0 impostorscore=0 bulkscore=0 suspectscore=0 clxscore=1015 malwarescore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2609050170 eUSB2 (Embedded USB2) is a MIPI Alliance standard for chip-to-chip USB2 signaling. Unlike standard USB2, which uses 3.3V signaling, eUSB2 uses low-voltage differential signaling (~0.4V) and requires a repeater to interface with external USB2 ports. Because of these differences, eUSB2 PHY initialization sequences, voltage tuning, and register configuration are distinct from USB2. Additionally, eUSB2 targets handle wakeup interrupts differently depending on device speed when operating in host mode. According to the eUSB2 specification, remote wakeup signaling in host mode is detected via different data-line assertions based on the connected device speed: - Low-speed devices: the host repeater drives eD+ to logic '1' upon detecting a K-state on the USB lines during remote wakeup (eUSB2 spec, Section 5.5.14). - Full-speed/high-speed devices: the host repeater drives eD- to logic '1' upon detecting a K-state during remote wakeup (eUSB2 spec, Sections 5.5.15 and 5.5.18). Since the eUSB2 PHY's DP and DM lines need to be configured differently from USB2 PHYs, controllers should be able to query the PHY type and configure wakeup interrupts accordingly. Add PHY_TYPE_EUSB2 to distinguish eUSB2 PHYs from standard USB2 PHYs. Acked-by: Krzysztof Kozlowski Signed-off-by: Krishna Kurapati --- include/dt-bindings/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h index 979b5dfd8353..555a022c8c0b 100644 --- a/include/dt-bindings/phy/phy.h +++ b/include/dt-bindings/phy/phy.h @@ -24,6 +24,7 @@ #define PHY_TYPE_CPHY 11 #define PHY_TYPE_USXGMII 12 #define PHY_TYPE_XAUI 13 +#define PHY_TYPE_EUSB2 14 #define PHY_POL_NORMAL 0 #define PHY_POL_INVERT 1 -- 2.34.1