From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 94CCE2063E7; Sat, 22 Feb 2025 09:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.61.82.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215247; cv=none; b=RxUWyeOTO+No/m8Hktal7VvvtVUE+UgtyJVop/n7Y1KnOWmF7Q14UIGBhV0bF1F6nJMyj8hIwXu8ntV2E0gh+By6n3BTY/2OhRQlg0bLvZI4z09ydBxYqFac/f1Ilzc8weXrAyAKE8VvNOx38YTMeFNeh3O9ZRsGFo5FuLX5NM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215247; c=relaxed/simple; bh=5EY9HpyIuQABG4j53qlaMFIN+YKWLpZLZ4Jo5hzCpfA=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=egnL8wH0nSaNkTrzttSUeNY4f9DHnFhm5V68S1eIH0XVxn00bK7QZ4d/VO7xQn8LjnWt9bIme5g4p5y7oUEvFP3s2ryABsfFN4UvE/1VsZGbhPZ0E8FI0ZwjeGn1sCEgTc+oxVbJGny2lX1I77fS9lPhzjE62kK/EUdl4cnW0OM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=Jd3tF8+m; arc=none smtp.client-ip=210.61.82.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Jd3tF8+m" X-UUID: 6c168c3af0fc11ef8eb9c36241bbb6fb-20250222 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=stz6pdIahgDWX6QV3ulAYE6wZ3yOMng0YXsvEBbEO9M=; b=Jd3tF8+mQD8rJQIYfr4AlydBGAh5CMQZ9NZioNrOwZxMWaShlLP5zB7Y5nDIfbiYypvMsHn2TKb8Iqqi4w1M+UKszMdeEw6CLwR99P6wrWoaxMoANPL2mZMr0VPe3A/0fZt2DYkvVbpt6uzA8fKpxjvzMy3xK6mvN48qJ84CFRE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.46,REQID:3ceb12d8-3edc-4892-bc0e-060869375e31,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:60aa074,CLOUDID:15f070b5-a2a1-4ef3-9ef9-e116773da0a7,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0|50,EDM:-3,IP:ni l,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES :1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 6c168c3af0fc11ef8eb9c36241bbb6fb-20250222 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 474051764; Sat, 22 Feb 2025 17:07:20 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by MTKMBS09N2.mediatek.inc (172.21.101.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Sat, 22 Feb 2025 17:07:19 +0800 Received: from mhfsdcap04.gcn.mediatek.inc (10.17.3.154) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1258.28 via Frontend Transport; Sat, 22 Feb 2025 17:07:18 +0800 From: Chunfeng Yun To: Vinod Koul , Rob Herring , Conor Dooley CC: Chunfeng Yun , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , , , , , Subject: [PATCH v2 1/2] dt-bindings: phy: mediatek,xsphy: add property to set disconnect threshold Date: Sat, 22 Feb 2025 17:07:09 +0800 Message-ID: <20250222090710.10909-1-chunfeng.yun@mediatek.com> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-MTK: N Add a property to tune usb2 phy's disconnect threshold. And add a compatible for mt8196. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Chunfeng Yun --- v2: change property name --- Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml index a9e3139fd421..98faa823234d 100644 --- a/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml +++ b/Documentation/devicetree/bindings/phy/mediatek,xsphy.yaml @@ -49,6 +49,7 @@ properties: - enum: - mediatek,mt3611-xsphy - mediatek,mt3612-xsphy + - mediatek,mt8196-xsphy - const: mediatek,xsphy reg: @@ -129,6 +130,13 @@ patternProperties: minimum: 1 maximum: 7 + mediatek,disconnect-threshold: + description: + The selection of disconnect threshold (U2 phy) + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 15 + mediatek,efuse-intr: description: The selection of Internal Resistor (U2/U3 phy) -- 2.46.0